@airfleet/generator-init 0.31.0 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,6 +12,8 @@ jobs:
12
12
  steps:
13
13
  - name: 🚚 Get latest code
14
14
  uses: actions/checkout@v3
15
+ with:
16
+ token: ${{ secrets.CI_WRITE_TOKEN }}
15
17
 
16
18
  - name: ⚙️ Setup PHP
17
19
  uses: shivammathur/setup-php@v2
@@ -19,7 +21,7 @@ jobs:
19
21
  php-version: "8.2"
20
22
  ini-values: short_open_tag=1
21
23
  env:
22
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24
+ GITHUB_TOKEN: ${{ secrets.CI_WRITE_TOKEN }}
23
25
 
24
26
  - name: ⚙️ Setup Node
25
27
  uses: actions/setup-node@v3
@@ -95,6 +97,7 @@ jobs:
95
97
  --hooks.before:release='cp -R $RUNNER_TEMP/.release-dist dist/.release-dist'
96
98
  --git.pushArgs='--follow-tags'
97
99
  --git.pushArgs='-o ci.skip'
100
+ --git.commitMessage='Release ${version} [skip ci]'
98
101
  --no-npm.publish
99
102
  --github.release
100
103
  --github.assets='dist/.release-dist/**/*'
@@ -106,7 +109,7 @@ jobs:
106
109
  --plugins.@release-it/bumper.out.file=*.php
107
110
  --plugins.@release-it/bumper.out.type=text/php
108
111
  env:
109
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
112
+ GITHUB_TOKEN: ${{ secrets.CI_WRITE_TOKEN }}
110
113
 
111
114
  - name: ⚒️ Build plugin.json
112
115
  run: |
@@ -190,4 +193,4 @@ jobs:
190
193
  - name: 🚀 Upload updated plugins list to AWS
191
194
  run: |
192
195
  BUCKET="${{ secrets.AWS_S3_BUCKET }}"
193
- aws s3 cp $RUNNER_TEMP/plugins_updated.json s3://$BUCKET/plugins.json
196
+ aws s3 cp $RUNNER_TEMP/plugins_updated.json s3://$BUCKET/plugins.json
@@ -20,8 +20,6 @@ jobs:
20
20
  with:
21
21
  php-version: "8.2"
22
22
  ini-values: short_open_tag=1
23
- env:
24
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25
23
 
26
24
  - name: ⚙️ Setup Node
27
25
  uses: actions/setup-node@v3
@@ -12,11 +12,14 @@
12
12
  **/.airfleet-release
13
13
  **/.deployignore
14
14
  **/.editorconfig
15
+ .editorconfig
15
16
  **/.env
16
17
  **/.eslintcache
17
18
  **/.eslintrc.js
18
19
  **/.gitattributes
20
+ .gitattributes
19
21
  **/.gitignore
22
+ .gitignore
20
23
  **/.gitkeep
21
24
  **/.gitlab-ci.yml
22
25
  **/.parcelrc
@@ -39,4 +42,5 @@
39
42
  **/phpcs.xml
40
43
  **/README
41
44
  **/README.md
45
+ README.md
42
46
  **/yarn.lock
@@ -24,8 +24,6 @@ jobs:
24
24
  with:
25
25
  php-version: "8.2"
26
26
  ini-values: short_open_tag=1
27
- env:
28
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
27
 
30
28
  - name: ⚙️ Setup Node
31
29
  uses: actions/setup-node@v3
@@ -174,7 +174,8 @@ export default class extends Generator {
174
174
  "package.json.ejs",
175
175
  "phpcs.xml.ejs",
176
176
  "README.md.ejs",
177
- "scoper.custom.php.ejs",
177
+ "scoper.custom.php.ejs",
178
+ ".deployignore",
178
179
  ];
179
180
  const templates = [
180
181
  ...mapFilesToTemplates(files),
@@ -0,0 +1,54 @@
1
+ **/.cache-loader/**
2
+ **/.composer-cache/**
3
+ **/.husky/**
4
+ **/.imagemin-cache/**
5
+ **/.gitlab/**
6
+ **/.github/**
7
+ **/.parcel-cache/**
8
+ **/.vscode/**
9
+ **/.yarn/**
10
+ **/node_modules/**
11
+ **/*.scss
12
+ **/.airfleet-release
13
+ .airfleet-release
14
+ **/.deployignore
15
+ **/.editorconfig
16
+ .editorconfig
17
+ **/.env
18
+ .env
19
+ **/.eslintcache
20
+ **/.eslintrc.js
21
+ **/.gitattributes
22
+ .gitattributes
23
+ **/.parcelrc
24
+ .parcelrc
25
+ **/.prettierignore
26
+ .prettierignore
27
+ **/CHANGELOG.md
28
+ CHANGELOG.md
29
+ **/LICENSE
30
+ LICENSE
31
+ **/README.md
32
+ README.md
33
+ **/.gitignore
34
+ .gitignore
35
+ **/package.json
36
+ package.json
37
+ **/composer-scoped.json
38
+ composer-scoped.json
39
+ **/composer-scoped.lock
40
+ composer-scoped.lock
41
+ **/composer.json
42
+ composer.json
43
+ **/composer.lock
44
+ composer.lock
45
+ **/package-lock.json
46
+ package-lock.json
47
+ **/phpcs.xml
48
+ phpcs.xml
49
+ **/scoper.custom.php
50
+ scoper.custom.php
51
+
52
+
53
+
54
+
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@airfleet/generator-init",
3
3
  "description": "A Yeoman generator to scaffold common Airfleet features",
4
- "version": "0.31.0",
4
+ "version": "0.32.0",
5
5
  "scripts": {},
6
6
  "publishConfig": {
7
7
  "access": "public"