Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahat89 committed Feb 27, 2024
0 parents commit c6f8ca1
Show file tree
Hide file tree
Showing 1,325 changed files with 222,750 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["@babel/preset-env", "@babel/preset-react"]
}
76 changes: 76 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# A set of files you probably don't want in your WordPress.org distribution
.babelrc
.deployignore
.distignore
.editorconfig
.eslintignore
.eslintrc
.git
.github
.gitignore
.gitlab-ci.yml
.env
.env.example
docker-compose.yml
.travis.yml
.DS_Store
Thumbs.db
behat.yml
bitbucket-pipelines.yml
bin
.circleci/config.yml
composer.json
composer.lock
dependencies.yml
Gruntfile.js
package.json
package-lock.json
phpunit.xml
phpunit.xml.dist
multisite.xml
multisite.xml.dist
.phpcs.xml
phpcs.xml
.phpcs.xml.dist
phpcs.xml.dist
README.md
webpack.config.js
wp-cli.local.yml
yarn.lock
tests
node_modules
*.sql
*.tar.gz
*.zip
.wordpress-org
admin/index.js.map
admin/style.css.map
controls
.gitmodules
.gitattributes
gulpfile.js
webpack.dev.js
config

# Ignore Blocks src
# blocks/**/src/*
#Ignore End


dist/index.js.map
dist/modules.js.map
dist/style.css.map
lib/enable-disable-blocks/index.js.map
lib/style-handler/.gitignore
lib/style-handler/README.md
lib/style-handler/style-handler.js
lib/style-handler/dist/index.js.map
vendor-bundle/index.js.LICENSE.txt
vendor-bundle/index.js.map
vendor-bundle/style.css
verdor-bundle/style.css.map

.wordpress-org
# dev tools
tools
*.log
54 changes: 54 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
.DS_Store
phpcs.xml
phpunit.xml
Thumbs.db
wp-cli.local.yml
.env
node_modules/
*.sql
*.map
*.tar.gz
*.zip
.tags*
.log/
.vscode/
package-lock.json
yarn.lock
admin/index.asset.php
admin/index.js
admin/index.js.LICENSE.txt
admin/block-controls/index.asset.php
admin/block-controls/index.js.map
admin/editor-css/index.js
admin/editor-css/style.css
admin/all-utils-in-window/index.js
admin/style.css
admin/index.asset.php
admin/**.map

blocks/**/index.js
blocks/**/index.js.map
blocks/**/index.asset.php
blocks/**/index.js.LICENSE.txt
blocks/**/frontend/
!blocks/**/src/index.js
!blocks/**/src/constants/index.js
vendor-bundle/
lib/update-category-icon/index.js
lib/update-category-icon/index.js.map
lib/update-category-icon/index.asset.php
lib/enable-disable-blocks/index.js
lib/enable-disable-blocks/index.js.map
lib/enable-disable-blocks/index.asset.php

dist/index.js
dist/index.asset.php
dist/style.css
dist/index.js.map
dist/style.css.map

style-blocks/
blocks/**/index.js.LICENSE.txt
*.log

.prettierrc
56 changes: 56 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
module.exports = function( grunt ) {

'use strict';

// Project configuration
grunt.initConfig( {

pkg: grunt.file.readJSON( 'package.json' ),

addtextdomain: {
options: {
textdomain: 'eb',
},
update_all_domains: {
options: {
updateDomains: true
},
src: [ '*.php', '**/*.php', '!\.git/**/*', '!bin/**/*', '!node_modules/**/*', '!tests/**/*' ]
}
},

wp_readme_to_markdown: {
your_target: {
files: {
'README.md': 'readme.txt'
}
},
},

makepot: {
target: {
options: {
domainPath: '/languages',
exclude: [ '\.git/*', 'bin/*', 'node_modules/*', 'tests/*' ],
mainFile: 'eb.php',
potFilename: 'eb.pot',
potHeaders: {
poedit: true,
'x-poedit-keywordslist': true
},
type: 'wp-plugin',
updateTimestamp: true
}
}
},
} );

grunt.loadNpmTasks( 'grunt-wp-i18n' );
grunt.loadNpmTasks( 'grunt-wp-readme-to-markdown' );
grunt.registerTask( 'default', [ 'i18n','readme' ] );
grunt.registerTask( 'i18n', ['addtextdomain', 'makepot'] );
grunt.registerTask( 'readme', ['wp_readme_to_markdown'] );

grunt.util.linefeed = '\n';

};
Loading

0 comments on commit c6f8ca1

Please sign in to comment.