itee-tasks 1.0.9 → 1.0.10
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.
- package/.reports/web_test_runner_report.json +252 -0
- package/CHANGELOG.md +2 -0
- package/package.json +1 -1
- package/.czrc +0 -6
- package/.github/workflows/publish.yml +0 -59
- package/.releaserc.mjs +0 -98
- package/gulpfile.mjs +0 -28
- package/tests/benchmarks/default/default.bench.js +0 -1
- package/tests/benchmarks/itee-tasks.benchmarks.js +0 -8
- package/tests/units/default/default.unit.mjs +0 -1
- package/tests/units/itee-tasks.units.mjs +0 -1
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
{
|
|
2
|
+
"config": {
|
|
3
|
+
"browsers": [
|
|
4
|
+
{
|
|
5
|
+
"name": "Chromium",
|
|
6
|
+
"type": "playwright"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"name": "Webkit",
|
|
10
|
+
"type": "playwright"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "Firefox",
|
|
14
|
+
"type": "playwright"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"browserLogs": true,
|
|
18
|
+
"browserStartTimeout": 30000,
|
|
19
|
+
"concurrency": 2,
|
|
20
|
+
"concurrentBrowsers": 2,
|
|
21
|
+
"coverage": false,
|
|
22
|
+
"coverageConfig": {
|
|
23
|
+
"exclude": [
|
|
24
|
+
"**/node_modules/**/*",
|
|
25
|
+
"**/web_modules/**/*"
|
|
26
|
+
],
|
|
27
|
+
"threshold": {
|
|
28
|
+
"statements": 0,
|
|
29
|
+
"functions": 0,
|
|
30
|
+
"branches": 0,
|
|
31
|
+
"lines": 0
|
|
32
|
+
},
|
|
33
|
+
"report": true,
|
|
34
|
+
"reportDir": "coverage",
|
|
35
|
+
"reporters": [
|
|
36
|
+
"lcov"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"debug": false,
|
|
40
|
+
"files": [
|
|
41
|
+
"tests/benchmarks/**/*.bench.js",
|
|
42
|
+
"!tests/benchmarks/builds/**"
|
|
43
|
+
],
|
|
44
|
+
"hostname": "localhost",
|
|
45
|
+
"logger": "TestRunnerLogger",
|
|
46
|
+
"middleware": [],
|
|
47
|
+
"nodeResolve": true,
|
|
48
|
+
"plugins": [
|
|
49
|
+
{
|
|
50
|
+
"name": "set-viewport-command",
|
|
51
|
+
"injectWebSocket": false
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "emulate-media-command",
|
|
55
|
+
"injectWebSocket": false
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "set-user-agent-command",
|
|
59
|
+
"injectWebSocket": false
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "select-option-command",
|
|
63
|
+
"injectWebSocket": false
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "file-commands",
|
|
67
|
+
"injectWebSocket": false
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "send-keys-command",
|
|
71
|
+
"injectWebSocket": false
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "send-mouse-command",
|
|
75
|
+
"injectWebSocket": false
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "file-commands",
|
|
79
|
+
"injectWebSocket": false
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "syntax-checker",
|
|
83
|
+
"injectWebSocket": false
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "node-resolve",
|
|
87
|
+
"injectWebSocket": false
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"port": 8001,
|
|
91
|
+
"protocol": "http:",
|
|
92
|
+
"reporters": 1,
|
|
93
|
+
"rootDir": "/home/itee/Documents/Programmation/@Itee/itee-tasks",
|
|
94
|
+
"testFramework": "node_modules/@itee/benchmarks-framework/benchmarks-framework.js",
|
|
95
|
+
"testRunnerHtml": "testRunnerHtml",
|
|
96
|
+
"testsFinishTimeout": 120000,
|
|
97
|
+
"testsStartTimeout": 20000,
|
|
98
|
+
"watch": false,
|
|
99
|
+
"http2": null,
|
|
100
|
+
"sslKey": null,
|
|
101
|
+
"sslCert": null,
|
|
102
|
+
"manual": false,
|
|
103
|
+
"open": false,
|
|
104
|
+
"mimeTypes": null
|
|
105
|
+
},
|
|
106
|
+
"sessions": {
|
|
107
|
+
"CTSRjGoOW8gxSFTzgdzQL": {
|
|
108
|
+
"id": "CTSRjGoOW8gxSFTzgdzQL",
|
|
109
|
+
"group": {
|
|
110
|
+
"name": "default",
|
|
111
|
+
"testFiles": [
|
|
112
|
+
"/home/itee/Documents/Programmation/@Itee/itee-tasks/tests/benchmarks/default/default.bench.js"
|
|
113
|
+
],
|
|
114
|
+
"browsers": [
|
|
115
|
+
{
|
|
116
|
+
"name": "Chromium",
|
|
117
|
+
"type": "playwright"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "Webkit",
|
|
121
|
+
"type": "playwright"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "Firefox",
|
|
125
|
+
"type": "playwright"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"sessionIds": [
|
|
129
|
+
"CTSRjGoOW8gxSFTzgdzQL",
|
|
130
|
+
"Z7JCN7cHOdqqhlm42qXHb",
|
|
131
|
+
"pQE1D8iPVwjh6JPpuGIb3"
|
|
132
|
+
]
|
|
133
|
+
},
|
|
134
|
+
"browser": {
|
|
135
|
+
"name": "Chromium",
|
|
136
|
+
"type": "playwright"
|
|
137
|
+
},
|
|
138
|
+
"testFile": "/home/itee/Documents/Programmation/@Itee/itee-tasks/tests/benchmarks/default/default.bench.js",
|
|
139
|
+
"testRun": 0,
|
|
140
|
+
"status": "FINISHED",
|
|
141
|
+
"passed": false,
|
|
142
|
+
"errors": [
|
|
143
|
+
{
|
|
144
|
+
"message": "browserType.launch: Executable doesn't exist at /home/itee/.cache/ms-playwright/chromium_headless_shell-1200/chrome-headless-shell-linux64/chrome-headless-shell\n╔═════════════════════════════════════════════════════════════════════════╗\n║ Looks like Playwright Test or Playwright was just installed or updated. ║\n║ Please run the following command to download new browsers: ║\n║ ║\n║ npx playwright install ║\n║ ║\n║ <3 Playwright Team ║\n╚═════════════════════════════════════════════════════════════════════════╝",
|
|
145
|
+
"stack": "browserType.launch: Executable doesn't exist at /home/itee/.cache/ms-playwright/chromium_headless_shell-1200/chrome-headless-shell-linux64/chrome-headless-shell\n╔═════════════════════════════════════════════════════════════════════════╗\n║ Looks like Playwright Test or Playwright was just installed or updated. ║\n║ Please run the following command to download new browsers: ║\n║ ║\n║ npx playwright install ║\n║ ║\n║ <3 Playwright Team ║\n╚═════════════════════════════════════════════════════════════════════════╝\n at /home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:94:74\n at PlaywrightLauncher.getOrStartBrowser (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:96:15)\n at PlaywrightLauncher.startSession (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:41:36)\n at TestScheduler.startSession (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-core/dist/runner/TestScheduler.js:103:70)\n at TestScheduler.runNextScheduled (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-core/dist/runner/TestScheduler.js:83:30)\n at TestScheduler.schedule (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-core/dist/runner/TestScheduler.js:47:14)\n at TestRunner.runTests (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-core/dist/runner/TestRunner.js:92:28)\n at TestRunner.start (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-core/dist/runner/TestRunner.js:65:22)\n at async startTestRunner (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner/dist/startTestRunner.js:46:9)\n at async file:///home/itee/Documents/Programmation/@Itee/itee-tasks/sources/tests/benchmarks/run-benchmarks-for-frontend.task.mjs:22:31"
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"logs": [],
|
|
149
|
+
"request404s": []
|
|
150
|
+
},
|
|
151
|
+
"Z7JCN7cHOdqqhlm42qXHb": {
|
|
152
|
+
"id": "Z7JCN7cHOdqqhlm42qXHb",
|
|
153
|
+
"group": {
|
|
154
|
+
"name": "default",
|
|
155
|
+
"testFiles": [
|
|
156
|
+
"/home/itee/Documents/Programmation/@Itee/itee-tasks/tests/benchmarks/default/default.bench.js"
|
|
157
|
+
],
|
|
158
|
+
"browsers": [
|
|
159
|
+
{
|
|
160
|
+
"name": "Chromium",
|
|
161
|
+
"type": "playwright"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "Webkit",
|
|
165
|
+
"type": "playwright"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "Firefox",
|
|
169
|
+
"type": "playwright"
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"sessionIds": [
|
|
173
|
+
"CTSRjGoOW8gxSFTzgdzQL",
|
|
174
|
+
"Z7JCN7cHOdqqhlm42qXHb",
|
|
175
|
+
"pQE1D8iPVwjh6JPpuGIb3"
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
"browser": {
|
|
179
|
+
"name": "Webkit",
|
|
180
|
+
"type": "playwright"
|
|
181
|
+
},
|
|
182
|
+
"testFile": "/home/itee/Documents/Programmation/@Itee/itee-tasks/tests/benchmarks/default/default.bench.js",
|
|
183
|
+
"testRun": 0,
|
|
184
|
+
"status": "FINISHED",
|
|
185
|
+
"passed": false,
|
|
186
|
+
"errors": [
|
|
187
|
+
{
|
|
188
|
+
"message": "browserType.launch: Executable doesn't exist at /home/itee/.cache/ms-playwright/webkit-2227/pw_run.sh\n╔═════════════════════════════════════════════════════════════════════════╗\n║ Looks like Playwright Test or Playwright was just installed or updated. ║\n║ Please run the following command to download new browsers: ║\n║ ║\n║ npx playwright install ║\n║ ║\n║ <3 Playwright Team ║\n╚═════════════════════════════════════════════════════════════════════════╝",
|
|
189
|
+
"stack": "browserType.launch: Executable doesn't exist at /home/itee/.cache/ms-playwright/webkit-2227/pw_run.sh\n╔═════════════════════════════════════════════════════════════════════════╗\n║ Looks like Playwright Test or Playwright was just installed or updated. ║\n║ Please run the following command to download new browsers: ║\n║ ║\n║ npx playwright install ║\n║ ║\n║ <3 Playwright Team ║\n╚═════════════════════════════════════════════════════════════════════════╝\n at /home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:94:74\n at PlaywrightLauncher.getOrStartBrowser (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:96:15)\n at PlaywrightLauncher.startSession (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:41:36)\n at TestScheduler.startSession (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-core/dist/runner/TestScheduler.js:103:70)\n at TestScheduler.runNextScheduled (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-core/dist/runner/TestScheduler.js:83:30)\n at TestScheduler.schedule (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-core/dist/runner/TestScheduler.js:47:14)\n at TestRunner.runTests (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-core/dist/runner/TestRunner.js:92:28)\n at TestRunner.start (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-core/dist/runner/TestRunner.js:65:22)\n at async startTestRunner (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner/dist/startTestRunner.js:46:9)\n at async file:///home/itee/Documents/Programmation/@Itee/itee-tasks/sources/tests/benchmarks/run-benchmarks-for-frontend.task.mjs:22:31"
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
"logs": [],
|
|
193
|
+
"request404s": []
|
|
194
|
+
},
|
|
195
|
+
"pQE1D8iPVwjh6JPpuGIb3": {
|
|
196
|
+
"id": "pQE1D8iPVwjh6JPpuGIb3",
|
|
197
|
+
"group": {
|
|
198
|
+
"name": "default",
|
|
199
|
+
"testFiles": [
|
|
200
|
+
"/home/itee/Documents/Programmation/@Itee/itee-tasks/tests/benchmarks/default/default.bench.js"
|
|
201
|
+
],
|
|
202
|
+
"browsers": [
|
|
203
|
+
{
|
|
204
|
+
"name": "Chromium",
|
|
205
|
+
"type": "playwright"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "Webkit",
|
|
209
|
+
"type": "playwright"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "Firefox",
|
|
213
|
+
"type": "playwright"
|
|
214
|
+
}
|
|
215
|
+
],
|
|
216
|
+
"sessionIds": [
|
|
217
|
+
"CTSRjGoOW8gxSFTzgdzQL",
|
|
218
|
+
"Z7JCN7cHOdqqhlm42qXHb",
|
|
219
|
+
"pQE1D8iPVwjh6JPpuGIb3"
|
|
220
|
+
]
|
|
221
|
+
},
|
|
222
|
+
"browser": {
|
|
223
|
+
"name": "Firefox",
|
|
224
|
+
"type": "playwright"
|
|
225
|
+
},
|
|
226
|
+
"testFile": "/home/itee/Documents/Programmation/@Itee/itee-tasks/tests/benchmarks/default/default.bench.js",
|
|
227
|
+
"testRun": 0,
|
|
228
|
+
"status": "FINISHED",
|
|
229
|
+
"passed": false,
|
|
230
|
+
"errors": [
|
|
231
|
+
{
|
|
232
|
+
"message": "browserType.launch: Executable doesn't exist at /home/itee/.cache/ms-playwright/firefox-1497/firefox/firefox\n╔═════════════════════════════════════════════════════════════════════════╗\n║ Looks like Playwright Test or Playwright was just installed or updated. ║\n║ Please run the following command to download new browsers: ║\n║ ║\n║ npx playwright install ║\n║ ║\n║ <3 Playwright Team ║\n╚═════════════════════════════════════════════════════════════════════════╝",
|
|
233
|
+
"stack": "browserType.launch: Executable doesn't exist at /home/itee/.cache/ms-playwright/firefox-1497/firefox/firefox\n╔═════════════════════════════════════════════════════════════════════════╗\n║ Looks like Playwright Test or Playwright was just installed or updated. ║\n║ Please run the following command to download new browsers: ║\n║ ║\n║ npx playwright install ║\n║ ║\n║ <3 Playwright Team ║\n╚═════════════════════════════════════════════════════════════════════════╝\n at /home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:94:74\n at PlaywrightLauncher.getOrStartBrowser (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:96:15)\n at PlaywrightLauncher.startSession (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-playwright/dist/PlaywrightLauncher.js:41:36)\n at TestScheduler.startSession (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-core/dist/runner/TestScheduler.js:103:70)\n at TestScheduler.runNextScheduled (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-core/dist/runner/TestScheduler.js:83:30)\n at Timeout._onTimeout (/home/itee/Documents/Programmation/@Itee/itee-tasks/node_modules/@web/test-runner-core/dist/runner/TestScheduler.js:34:26)"
|
|
234
|
+
}
|
|
235
|
+
],
|
|
236
|
+
"logs": [],
|
|
237
|
+
"request404s": []
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"testCoverage": null,
|
|
241
|
+
"testFiles": [
|
|
242
|
+
"tests/benchmarks/default/default.bench.js"
|
|
243
|
+
],
|
|
244
|
+
"browserNames": [
|
|
245
|
+
"Chromium",
|
|
246
|
+
"Webkit",
|
|
247
|
+
"Firefox"
|
|
248
|
+
],
|
|
249
|
+
"focusedTestFile": null,
|
|
250
|
+
"startTime": 1768301621699,
|
|
251
|
+
"endTime": 1768301621804
|
|
252
|
+
}
|
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
package/.czrc
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
|
2
|
-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
|
3
|
-
|
|
4
|
-
name: Itee-Tasks CI
|
|
5
|
-
|
|
6
|
-
on:
|
|
7
|
-
push:
|
|
8
|
-
branches: [ master ]
|
|
9
|
-
pull_request:
|
|
10
|
-
branches: [ master ]
|
|
11
|
-
|
|
12
|
-
jobs:
|
|
13
|
-
test:
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
env:
|
|
16
|
-
MOZ_HEADLESS: 1
|
|
17
|
-
strategy:
|
|
18
|
-
matrix:
|
|
19
|
-
node-version: [ 20.x, 22.x, 24.x ]
|
|
20
|
-
firefox: [ 'latest' ]
|
|
21
|
-
steps:
|
|
22
|
-
- name: Checkout ${{ env.GITHUB_REPOSITORY }}
|
|
23
|
-
uses: actions/checkout@v4
|
|
24
|
-
with:
|
|
25
|
-
fetch-depth: 0
|
|
26
|
-
- name: Setup Node.js ${{ matrix.node-version }}
|
|
27
|
-
uses: actions/setup-node@v4
|
|
28
|
-
with:
|
|
29
|
-
node-version: ${{ matrix.node-version }}
|
|
30
|
-
- name: Setup Firefox ${{ matrix.firefox }}
|
|
31
|
-
uses: browser-actions/setup-firefox@latest
|
|
32
|
-
with:
|
|
33
|
-
firefox-version: ${{ matrix.firefox }}
|
|
34
|
-
- name: Install dependencies
|
|
35
|
-
run: npm clean-install
|
|
36
|
-
- name: Tests
|
|
37
|
-
run: npm run build && npm run lint && npm run tests:run
|
|
38
|
-
|
|
39
|
-
publish:
|
|
40
|
-
needs: test
|
|
41
|
-
runs-on: ubuntu-latest
|
|
42
|
-
permissions:
|
|
43
|
-
id-token: write
|
|
44
|
-
contents: write
|
|
45
|
-
steps:
|
|
46
|
-
- name: Checkout ${{ env.GITHUB_REPOSITORY }}
|
|
47
|
-
uses: actions/checkout@v4
|
|
48
|
-
- name: Setup Node.js ${{ matrix.node-version }}
|
|
49
|
-
uses: actions/setup-node@v4
|
|
50
|
-
with:
|
|
51
|
-
node-version: "lts/*"
|
|
52
|
-
- name: Install dependencies
|
|
53
|
-
run: npm clean-install
|
|
54
|
-
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
|
|
55
|
-
run: npm audit signatures
|
|
56
|
-
- name: Semantic Release
|
|
57
|
-
env:
|
|
58
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
59
|
-
run: npm run lint && npm run doc && npm run build && npx semantic-release
|
package/.releaserc.mjs
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { execSync } from 'node:child_process'
|
|
2
|
-
|
|
3
|
-
// Git utils
|
|
4
|
-
|
|
5
|
-
function getLocalRepoUrl() {
|
|
6
|
-
const topLevelDir = execSync( 'git rev-parse --show-toplevel' )
|
|
7
|
-
.toString()
|
|
8
|
-
.trim()
|
|
9
|
-
|
|
10
|
-
return `file://${ topLevelDir }/.git`
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
function getCurrentBranch() {
|
|
14
|
-
return execSync( 'git rev-parse --abbrev-ref HEAD' )
|
|
15
|
-
.toString()
|
|
16
|
-
.trim()
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// Plugins sub-configs
|
|
20
|
-
|
|
21
|
-
function getGitmojiPlugin() {
|
|
22
|
-
return [
|
|
23
|
-
'semantic-release-gitmoji', {
|
|
24
|
-
'releaseRules': {
|
|
25
|
-
'major': [
|
|
26
|
-
':boom:'
|
|
27
|
-
],
|
|
28
|
-
'minor': [
|
|
29
|
-
':sparkles:'
|
|
30
|
-
],
|
|
31
|
-
'patch': [
|
|
32
|
-
':art:', ':zap:', ':fire:', ':bug:', ':ambulance:', ':pencil:', ':rocket:', ':lipstick:', ':white_check_mark:', ':lock:', ':apple:', ':penguin:', ':checkered_flag:', ':robot:',
|
|
33
|
-
':green_apple:', ':rotating_light:', ':green_heart:', ':arrow_down:', ':pushpin:', ':construction_worker:', ':chart_with_upwards_trend:', ':recycle:', ':whale:',
|
|
34
|
-
':heavy_plus_sign:', ':heavy_minus_sign:', ':wrench:', ':globe_with_meridians:', ':pencil2:', ':poop:', ':rewind:', ':package:', ':alien:', ':truck:', ':page_facing_up:',
|
|
35
|
-
':bento:', ':ok_hand:', ':wheelchair:', ':bulb:', ':beers:', ':speech_balloon:', ':card_file_box:', ':loud_sound:', ':mute:', ':busts_in_silhouette:', ':children_crossing:',
|
|
36
|
-
':building_construction:', ':iphone:', ':clown_face:', ':see_no_evil:', ':camera_flash:', ':alembic:', ':mag:', ':wheel_of_dharma:', ':label:', ':seedling:', ':dizzy:',
|
|
37
|
-
':wastebasket:', ':passport_control:', ':adhesive_bandage:', ':monocle_face:', ':coffin:', ':test_tube:', ':necktie:', ':stethoscope:', ':bricks:', ':technologist:'
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
function getChangelogPlugin() {
|
|
45
|
-
return '@semantic-release/changelog'
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
function getNpmPlugin() {
|
|
49
|
-
return '@semantic-release/npm'
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
function getGithubPlugin() {
|
|
53
|
-
return '@semantic-release/github'
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
function getGitPlugin() {
|
|
57
|
-
return [
|
|
58
|
-
'@semantic-release/git', {
|
|
59
|
-
'assets': [
|
|
60
|
-
'builds/**', 'docs/**', 'package.json', 'CHANGELOG.md'
|
|
61
|
-
],
|
|
62
|
-
'message': 'chore(release): v${nextRelease.version}'
|
|
63
|
-
}
|
|
64
|
-
]
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// Configuration selection
|
|
68
|
-
|
|
69
|
-
function isDryRun() {
|
|
70
|
-
return process.argv.includes( '--dry-run' )
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
function getDryRunConfig() {
|
|
74
|
-
return {
|
|
75
|
-
repositoryUrl: getLocalRepoUrl(),
|
|
76
|
-
branches: getCurrentBranch(),
|
|
77
|
-
plugins: [
|
|
78
|
-
getGitmojiPlugin()
|
|
79
|
-
],
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
function getCIConfig() {
|
|
84
|
-
return {
|
|
85
|
-
branch: 'master',
|
|
86
|
-
plugins: [
|
|
87
|
-
getGitmojiPlugin(),
|
|
88
|
-
getChangelogPlugin(),
|
|
89
|
-
getNpmPlugin(),
|
|
90
|
-
getGithubPlugin(),
|
|
91
|
-
getGitPlugin()
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Module
|
|
97
|
-
|
|
98
|
-
export default isDryRun() ? getDryRunConfig() : getCIConfig()
|
package/gulpfile.mjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is auto-generated by internal gulp command.
|
|
3
|
-
* If you want to customize the available gulp tasks, create your own in .tasks folder
|
|
4
|
-
* and run "gulp refresh"
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
// Default Itee tasks
|
|
8
|
-
export * from './sources/tests/run-tests.task.mjs'
|
|
9
|
-
export * from './sources/tests/units/run-unit-tests.task.mjs'
|
|
10
|
-
export * from './sources/tests/units/run-unit-tests-for-frontend.task.mjs'
|
|
11
|
-
export * from './sources/tests/units/run-unit-tests-for-backend.task.mjs'
|
|
12
|
-
export * from './sources/tests/units/compute-unit-tests.task.mjs'
|
|
13
|
-
export * from './sources/tests/bundlings/check-bundling.task.mjs'
|
|
14
|
-
export * from './sources/tests/bundlings/check-bundling-from-esm-files-import.task.mjs'
|
|
15
|
-
export * from './sources/tests/bundlings/check-bundling-from-esm-files-direct.task.mjs'
|
|
16
|
-
export * from './sources/tests/bundlings/check-bundling-from-esm-build-import.task.mjs'
|
|
17
|
-
export * from './sources/tests/benchmarks/run-benchmarks.task.mjs'
|
|
18
|
-
export * from './sources/tests/benchmarks/run-benchmarks-for-frontend.task.mjs'
|
|
19
|
-
export * from './sources/tests/benchmarks/run-benchmarks-for-backend.task.mjs'
|
|
20
|
-
export * from './sources/tests/benchmarks/compute-benchmarks.task.mjs'
|
|
21
|
-
export * from './sources/releases/release.task.mjs'
|
|
22
|
-
export * from './sources/lints/lint.task.mjs'
|
|
23
|
-
export * from './sources/helps/help.task.mjs'
|
|
24
|
-
export * from './sources/docs/doc.task.mjs'
|
|
25
|
-
export * from './sources/cleans/clean.task.mjs'
|
|
26
|
-
export * from './sources/builds/build.task.mjs'
|
|
27
|
-
|
|
28
|
-
// User defined tasks
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// Avoid web test runner crash on empty benches
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// Avoid web test runner crash on empty benches
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
describe( 'Itee#Tasks', function() {} )
|