Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 94 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Exclude from WordPress.org distribution

# Git/Version Control
.git/
.github/
.gitignore

# Development Configuration
.browserslistrc
.editorconfig
.eslintignore
.eslintrc
.eslintrc.json
.husky/
.jscsrc
.jshintignore
.lintstagedrc.js
.npmrc
.nvmrc
.packagejsonignore
.stylelintignore
.stylelintrc.json
babel.config.js
commitlint.config.js
jest.config.js
Makefile
phpcs.xml
phpcs.xml.dist
phpstan.neon
phpstan.neon.dist
phpunit.xml
phpunit.xml.dist
postcss.config.js
tailwind.config.js
tsconfig.json
tsconfig.tsbuildinfo
webpack.config.js

# Source files (build output is included)
src/
assets/src/

# Tests
tests/
__tests__/
bin/

# Documentation
docs/
DEVELOPMENT.md
CONTRIBUTING.md
README.md

# WordPress.org assets (separate from plugin)
wp-assets/

# Dependencies
node_modules/
vendor/bin
vendor/antecedent
vendor/brain
vendor/hamcrest
vendor/mockery
vendor/myclabs
vendor/nikic
vendor/phar-io
vendor/phpcompatibility
vendor/phpcsstandards
vendor/phpstan
vendor/phpunit
vendor/sebastian
vendor/sirbrillig
vendor/slevomat
vendor/squizlabs
vendor/staabm
vendor/szepeviktor
vendor/theseer
vendor/wpackagist-plugin
vendor/yoast

# Package files
package.json
package-lock.json
composer.json
composer.lock
blueprint.json

# Other
*.log
*.map
*.zip
.distignore
.DS_Store
Thumbs.db
4 changes: 3 additions & 1 deletion carousel-kit.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@
* Author: rtCamp
* Author URI: https://rtcamp.com
* Contributors: iamdanih17, immasud
* License: GPL2
* License: GPL-2.0-or-later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Version: 1.0.3
* Text Domain: carousel-kit
*
* @package carousel-kit
*/

defined( 'ABSPATH' ) || exit;

define( 'CAROUSEL_KIT_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
define( 'CAROUSEL_KIT_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
define( 'CAROUSEL_KIT_BUILD_PATH', CAROUSEL_KIT_PATH . '/build' );
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
}
],
"require": {
"php": "^8.2",
"scrivo/highlight.php": "^9.18"
"php": "^8.2"
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
Expand Down
83 changes: 2 additions & 81 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php
/**
* Silence is golden.
*
* @package carousel-kit
*/

96 changes: 96 additions & 0 deletions languages/carousel-kit.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
# Copyright (C) 2026 rtCamp
# This file is distributed under the GPL-2.0-or-later.
msgid ""
msgstr ""
"Project-Id-Version: Carousel Kit 1.0.2\n"
"Report-Msgid-Bugs-To: https://github.com/rtCamp/carousel-kit/issues\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2026-02-24T08:22:25+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.12.0\n"
"X-Domain: carousel-kit\n"

#. Plugin Name of the plugin
#: carousel-kit.php
#: inc/Plugin.php:71
#: inc/Plugin.php:121
msgid "Carousel Kit"
msgstr ""

#. Plugin URI of the plugin
#: carousel-kit.php
msgid "https://github.com/rtCamp/carousel-kit"
msgstr ""

#. Description of the plugin
#: carousel-kit.php
msgid "Carousel block using Embla and WordPress Interactivity API."
msgstr ""

#. Author of the plugin
#: carousel-kit.php
msgid "rtCamp"
msgstr ""

#. Author URI of the plugin
#: carousel-kit.php
msgid "https://rtcamp.com"
msgstr ""

#: inc/Plugin.php:122
msgid "Pre-configured carousel patterns for various use cases."
msgstr ""

#: src/blocks/carousel/block.json
msgctxt "block title"
msgid "Carousel"
msgstr ""

#: src/blocks/carousel/block.json
msgctxt "block description"
msgid "Carousel container using Embla and Interactivity API."
msgstr ""

#: src/blocks/carousel/controls/block.json
msgctxt "block title"
msgid "Carousel Controls"
msgstr ""

#: src/blocks/carousel/controls/block.json
msgctxt "block description"
msgid "Navigation buttons for the carousel."
msgstr ""

#: src/blocks/carousel/dots/block.json
msgctxt "block title"
msgid "Carousel Dots"
msgstr ""

#: src/blocks/carousel/dots/block.json
msgctxt "block description"
msgid "Navigation dots for the carousel."
msgstr ""

#: src/blocks/carousel/slide/block.json
msgctxt "block title"
msgid "Carousel Slide"
msgstr ""

#: src/blocks/carousel/slide/block.json
msgctxt "block description"
msgid "A single slide within the carousel."
msgstr ""

#: src/blocks/carousel/viewport/block.json
msgctxt "block title"
msgid "Carousel Viewport"
msgstr ""

#: src/blocks/carousel/viewport/block.json
msgctxt "block description"
msgid "Viewport container for carousel slides."
msgstr ""
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"node": "^22.0.0",
"npm": "^10.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/rtCamp/carousel-kit"
},
"bugs": {
"url": "https://github.com/rtCamp/carousel-kit/issues"
},
"scripts": {
"build": "wp-scripts build --experimental-modules --webpack-src-dir=./src --output-path=./build",
"start": "wp-scripts start --experimental-modules --webpack-src-dir=./src --output-path=./build",
Expand All @@ -20,6 +27,7 @@
"lint:php:fix": "composer run-script format",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"version": "npm run changelog && git add CHANGELOG.md",
"i18n:pot": "wp i18n make-pot . languages/carousel-kit.pot --domain=carousel-kit --exclude=node_modules,vendor,tests --headers='{\"Report-Msgid-Bugs-To\":\"https://github.com/rtCamp/carousel-kit/issues\"}'",
"test:actions": "act",
"test:js": "wp-scripts test-unit-js",
"test:js:watch": "wp-scripts test-unit-js --watch",
Expand Down
Loading