Skip to content

Commit

Permalink
Removed _dev and node_modules references
Browse files Browse the repository at this point in the history
  • Loading branch information
L3RAZ committed Feb 11, 2025
1 parent 25cf4d2 commit 7a95335
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 34 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/checkout-cd-inte.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ jobs:
- name: Build module
run: |
composer install
cd _dev
yarn
- name: Delete old module
uses: appleboy/ssh-action@master
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/checkout-cd-prod-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:
- name: Build module
run: |
composer install
cd _dev
yarn
- name: Delete old module
uses: appleboy/ssh-action@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- run: composer install

- name: Run Header Stamp in Dry Run mode
run: php vendor/bin/header-stamp --license=vendor/prestashop/header-stamp/assets/afl.txt --exclude=.github,node_modules,vendor,tests,_dev --dry-run
run: php vendor/bin/header-stamp --license=vendor/prestashop/header-stamp/assets/afl.txt --exclude=.github,vendor,tests --dry-run

php-linter:
name: PHP Syntax check 7.2|7.3|7.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-to-bucket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Prepare zip for push 👷
run: |
cd ${{ inputs.repository-name }}
zip -r ../${{ needs.bucket-zip-name.outputs[inputs.env-lower] }} . -x '*.DS_Store*' '*.git*' '*/.php_cs.*' '*__MACOSX*' '*/node_modules' '*/.npmrc' '*/composer.*' '*/package.*' '*/.editorconfig' '*_dev*' '*test*' '*/tests/*' '*/Test/*' '*/Tests/*' '*/gha-creds-*.json'
zip -r ../${{ needs.bucket-zip-name.outputs[inputs.env-lower] }} . -x '*.DS_Store*' '*.git*' '*/.php_cs.*' '*__MACOSX*' '*/.npmrc' '*/composer.*' '*/package.*' '*/.editorconfig' '*test*' '*/tests/*' '*/Test/*' '*/Tests/*' '*/gha-creds-*.json'
- name: Push to GCP bucket storage 🛩️
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Prepare zip for release 👷
run: |
cd ${{ github.event.repository.name }}
zip -r ../${{ env.ZIP_NAME }} . -x '*.DS_Store*' '*.git*' '*/.php_cs.*' '*__MACOSX*' '*/node_modules' '*/.npmrc' '*/composer.*' '*/package.*' '*/.editorconfig' '*_dev*' '*test*' '*/tests/*' '*/Test/*' '*/Tests/*' '*/gha-creds-*.json'
zip -r ../${{ env.ZIP_NAME }} . -x '*.DS_Store*' '*.git*' '*/.php_cs.*' '*__MACOSX*' '*/.npmrc' '*/composer.*' '*/package.*' '*/.editorconfig' '*test*' '*/tests/*' '*/Test/*' '*/Tests/*' '*/gha-creds-*.json'
- name: Publish to GitHub Release 🛩️
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Prepare zip for release 👷
run: |
cd ${{ inputs.repository-name }}
zip -r ../${{ env.ZIP_NAME }} . -x '*.DS_Store*' '*.git*' '*/.php_cs.*' '*__MACOSX*' '*/node_modules' '*/.npmrc' '*/composer.*' '*/package.*' '*/.editorconfig' '*_dev*' '*test*' '*/tests/*' '*/Test/*' '*/Tests/*' '*/gha-creds-*.json'
zip -r ../${{ env.ZIP_NAME }} . -x '*.DS_Store*' '*.git*' '*/.php_cs.*' '*__MACOSX*' '*/.npmrc' '*/composer.*' '*/package.*' '*/.editorconfig' '*test*' '*/tests/*' '*/Test/*' '*/Tests/*' '*/gha-creds-*.json'
- name: Publish to GitHub Release 🛩️
uses: actions/[email protected]
Expand Down
23 changes: 0 additions & 23 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,6 @@
### PrestaShop cache
config_*.xml

### NPM
/node_modules/

### Vuejs ignore build files ###
/views/js/back/
/views/js/app.js
/views/js/app.js.map
/views/js/front.js
/views/js/front.js.LICENSE.txt
/views/img/almost-ready.png
/views/img/paypal-logo.png
/views/img/brush.png
/views/img/ps-services-account.png
/views/img/paypal-logo-thumbnail.png
/views/img/pscheckout.png

### Composer ###
composer.phar
/vendor/
Expand Down Expand Up @@ -272,13 +256,6 @@ tags
# Ignore all local history of files
.history

### Vuejs ###
# Recommended template: Node.gitignore

node_modules/
npm-debug.log
yarn-error.log

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Expand Down
1 change: 0 additions & 1 deletion .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ $config
->setUsingCache(true)
->getFinder()
->in(__DIR__)
->exclude('_dev')
->exclude('vendor');

return $config;
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@php -d date.timezone=UTC ./vendor/bin/phpunit -c tests/Unit/phpunit.xml"
],
"set-license-header": [
"@php ./vendor/bin/header-stamp --license=vendor/prestashop/header-stamp/assets/afl.txt --exclude=.github,node_modules,vendor,tests,_dev"
"@php ./vendor/bin/header-stamp --license=vendor/prestashop/header-stamp/assets/afl.txt --exclude=.github,vendor,tests"
],
"php-cs-fixer:check": [
"@php ./vendor/bin/php-cs-fixer fix --dry-run --diff"
Expand All @@ -69,7 +69,7 @@
"@php ./vendor/bin/php-cs-fixer fix"
],
"auto-index": [
"@php ./vendor/bin/autoindex --exclude=_dev,vendor,tests"
"@php ./vendor/bin/autoindex --exclude=vendor,tests"
]
},
"author": "PrestaShop"
Expand Down

0 comments on commit 7a95335

Please sign in to comment.