Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New compilation process #24

Open
wants to merge 33 commits into
base: feature/modernization
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
92b03b6
changed dir structure for assets
dpanta94 Oct 12, 2022
3a38377
directory structure and removal of old npm packages
dpanta94 Oct 12, 2022
4edfd2c
new compilation process
dpanta94 Oct 12, 2022
9392881
update composer and npm json files
dpanta94 Oct 12, 2022
534b239
npm scripts fixes
dpanta94 Oct 12, 2022
25cc8ab
fixed a duplicate hook
dpanta94 Oct 12, 2022
d8aa779
fix admin assets
dpanta94 Oct 12, 2022
9a4f5b6
final lock files modifications
dpanta94 Oct 12, 2022
3db2300
added gitattributes to control whats archived
dpanta94 Oct 12, 2022
9a6cf2d
ignore auto-generated pot file
dpanta94 Oct 12, 2022
e484b33
update script variables from config object
dpanta94 Oct 12, 2022
b19b03d
added cross-var package
dpanta94 Oct 12, 2022
e642a59
make variables windows compatible
dpanta94 Oct 12, 2022
d7c7698
renamed admin css and js file
dpanta94 Oct 12, 2022
ce112a3
Producing min and not css files
dpanta94 Oct 17, 2022
04791d1
Add script to remove empty scripts
msaggiorato Oct 17, 2022
9c36f46
No need to cleanup now
msaggiorato Oct 17, 2022
1f7b270
Empty line at the end 🧐
msaggiorato Oct 17, 2022
47d040f
Implement glob for lookups
msaggiorato Oct 18, 2022
304c907
Adds way to produce a ready to upload zip
dpanta94 Nov 24, 2022
a546b62
ignore further files from composer archive
dpanta94 Feb 28, 2023
80be4f3
keep the build command consistent across projects
dpanta94 Feb 28, 2023
4a7eaf5
fixing phpcs
dpanta94 Feb 28, 2023
f0e10db
avoid avoidable phpcs ignores and adjust phpcs.xml
dpanta94 Feb 28, 2023
fe3eec5
added rest_api_request to frontend request check
dpanta94 Apr 11, 2023
1cb3409
Lock node version
dpanta94 May 17, 2023
10fdc7c
Update watch Script
dpanta94 May 17, 2023
9742dcc
fix typos and add script dependencies if they exist
dpanta94 May 17, 2023
2029d62
update node to latest LTS version since it appears working without is…
dpanta94 May 17, 2023
98cd50a
replaced rm -rf with rimraf package
dpanta94 May 18, 2023
6f33805
Add support for multisite activation differentiation
msaggiorato Dec 26, 2024
91ab01c
Merge branch 'feature/multisite-support'
msaggiorato Dec 26, 2024
cb18bb4
Merge branch 'master' into feature/cross-platform-complition
msaggiorato Jan 2, 2025
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
33 changes: 33 additions & 0 deletions plugin-name/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.gitattributes export-ignore
.gitmodules export-ignore
.gitignore export-ignore
.github export-ignore
bin export-ignore
docker export-ignore
tests export-ignore
README.md export-ignore
DEVELOPER.md export-ignore
package.json export-ignore
phpunit.xml.dist export-ignore
.babelrc export-ignore
.eslintrc export-ignore
.eslintrc.js export-ignore
.eslintignore export-ignore
.jshintrc export-ignore
.tx export-ignore
webpack.config.js export-ignore
postcss.config.js export-ignore
phpcs.xml export-ignore
package-lock.json export-ignore
composer.json export-ignore
composer.lock export-ignore
babel.config.js export-ignore
.travis.yml export-ignore
.editorconfig export-ignore
phpunit.xml export-ignore
jest-puppeteer.config.js export-ignore
default.env export-ignore
docker-compose.yml export-ignore
docs/DOCKER.md export-ignore
wordpress_org_assets export-ignore
src export-ignore
4 changes: 4 additions & 0 deletions plugin-name/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.log
.htaccess
*.zip

# Ignore compiled assets
assets/css*
Expand All @@ -11,6 +12,9 @@ node_modules
# Ignore composer everywhere
vendor

# Ignore generated assets
assets

# Editors
*.esproj
*.tmproj
Expand Down
1 change: 0 additions & 1 deletion plugin-name/assets/index.php

This file was deleted.

4 changes: 2 additions & 2 deletions plugin-name/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
},
"scripts": {
"phpcs": [
"phpcs --extensions=php -s -p"
"phpcs . --ignore=vendor,node_modules,assets --extensions=php -s -p"
],
"phpcbf": [
"phpcbf -p"
"phpcbf . --ignore=vendor,node_modules,assets --extensions=php -p"
]
},
"extra": {
Expand Down
Loading