@procore/core-scripts 10.3.0-rc.30 → 11.0.0-rc.33
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/README.md +1 -2
- package/dist/BaseCommand.js +1 -1
- package/dist/BaseCommand.js.map +1 -1
- package/dist/Generator.js +4 -4
- package/dist/Generator.js.map +1 -1
- package/dist/Workspace.js +1 -1
- package/dist/Workspace.js.map +1 -1
- package/dist/babel/config.js +2 -2
- package/dist/babel/config.js.map +1 -1
- package/dist/commands/app/build.js +8 -8
- package/dist/commands/app/build.js.map +1 -1
- package/dist/commands/app/clean.js +1 -1
- package/dist/commands/app/clean.js.map +1 -1
- package/dist/commands/app/gen.js +5 -5
- package/dist/commands/app/gen.js.map +1 -1
- package/dist/commands/app/start.js +6 -6
- package/dist/commands/app/start.js.map +1 -1
- package/dist/commands/lib/build.js +2 -2
- package/dist/commands/lib/build.js.map +1 -1
- package/dist/commands/lib/clean.js +1 -1
- package/dist/commands/lib/clean.js.map +1 -1
- package/dist/commands/lib/start.js +2 -2
- package/dist/commands/lib/start.js.map +1 -1
- package/dist/commands/lint/eslint.js +1 -4
- package/dist/commands/lint/eslint.js.map +1 -1
- package/dist/commands/lint/stylelint.js +1 -1
- package/dist/commands/lint/stylelint.js.map +1 -1
- package/dist/commands/rm.js +2 -2
- package/dist/commands/rm.js.map +1 -1
- package/dist/commands/test.js +2 -2
- package/dist/commands/test.js.map +1 -1
- package/dist/jest/transforms/reactSvg.js +1 -1
- package/dist/jest/transforms/reactSvg.js.map +1 -1
- package/dist/paths.js +2 -2
- package/dist/paths.js.map +1 -1
- package/dist/webpack/app/devServerConfig.js +4 -4
- package/dist/webpack/app/devServerConfig.js.map +1 -1
- package/dist/webpack/app/index.js +2 -2
- package/dist/webpack/app/index.js.map +1 -1
- package/dist/webpack/app/setupWebpack.js +15 -13
- package/dist/webpack/app/setupWebpack.js.map +1 -1
- package/dist/webpack/library/index.js +1 -1
- package/dist/webpack/library/index.js.map +1 -1
- package/dist/webpack/library/index.test.js +11 -11
- package/dist/webpack/library/index.test.js.map +1 -1
- package/dist/webpack/library/setupWebpack.js +2 -2
- package/dist/webpack/library/setupWebpack.js.map +1 -1
- package/docs/commands/app.md +4 -4
- package/docs/commands/info.md +1 -1
- package/docs/commands/lib.md +3 -3
- package/docs/commands/lint.md +2 -2
- package/docs/commands/rm.md +1 -1
- package/docs/commands/test.md +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +38 -46
- package/templates/app/gen/README.md.ejs +0 -1
- package/types/app.d.ts +3 -3
- package/configs/tsconfig.e2e.json +0 -7
- package/dist/commands/e2e/gen.js +0 -105
- package/dist/commands/e2e/gen.js.map +0 -1
- package/dist/commands/e2e/start.js +0 -77
- package/dist/commands/e2e/start.js.map +0 -1
- package/dist/cypress/loggerSupport.js +0 -6
- package/dist/cypress/loggerSupport.js.map +0 -1
- package/dist/cypress/plugins.js +0 -20
- package/dist/cypress/plugins.js.map +0 -1
- package/dist/cypress/preprocessor.js +0 -32
- package/dist/cypress/preprocessor.js.map +0 -1
- package/docs/commands/e2e.md +0 -35
- package/templates/e2e/gen/create.e2e.ejs +0 -0
- package/templates/e2e/gen/gitignore.ejs +0 -4
- package/templates/e2e/gen/globals.d.ts.ejs +0 -10
- package/templates/e2e/gen/supportIndex.ejs +0 -0
- package/templates/e2e/gen/tsconfig.json.ejs +0 -4
- package/types/e2e.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@procore/core-scripts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.0.0-rc.33+0652313",
|
|
4
4
|
"description": "A CLI to enhance your development experience",
|
|
5
5
|
"author": "Procore Technologies",
|
|
6
6
|
"homepage": "https://github.com/procore/frontend-tooling#readme",
|
|
@@ -75,46 +75,40 @@
|
|
|
75
75
|
},
|
|
76
76
|
"lint": {
|
|
77
77
|
"description": "linting commands"
|
|
78
|
-
},
|
|
79
|
-
"e2e": {
|
|
80
|
-
"description": "end-to-end testing commands"
|
|
81
78
|
}
|
|
82
79
|
}
|
|
83
80
|
},
|
|
84
81
|
"dependencies": {
|
|
85
|
-
"@babel/cli": "7.
|
|
86
|
-
"@babel/core": "7.
|
|
87
|
-
"@babel/plugin-proposal-class-properties": "7.
|
|
88
|
-
"@babel/plugin-proposal-export-default-from": "7.
|
|
89
|
-
"@babel/plugin-proposal-object-rest-spread": "7.
|
|
90
|
-
"@babel/plugin-transform-runtime": "7.
|
|
91
|
-
"@babel/preset-env": "7.
|
|
92
|
-
"@babel/preset-react": "7.
|
|
93
|
-
"@babel/preset-typescript": "7.
|
|
94
|
-
"@
|
|
95
|
-
"@
|
|
96
|
-
"@module-federation/dashboard-plugin": "2.3.0",
|
|
97
|
-
"@oclif/command": "1.8.0",
|
|
98
|
-
"@oclif/config": "1.17.0",
|
|
82
|
+
"@babel/cli": "7.17.10",
|
|
83
|
+
"@babel/core": "7.18.2",
|
|
84
|
+
"@babel/plugin-proposal-class-properties": "7.17.12",
|
|
85
|
+
"@babel/plugin-proposal-export-default-from": "7.17.12",
|
|
86
|
+
"@babel/plugin-proposal-object-rest-spread": "7.18.0",
|
|
87
|
+
"@babel/plugin-transform-runtime": "7.18.2",
|
|
88
|
+
"@babel/preset-env": "7.18.2",
|
|
89
|
+
"@babel/preset-react": "7.17.12",
|
|
90
|
+
"@babel/preset-typescript": "7.17.12",
|
|
91
|
+
"@oclif/command": "1.8.16",
|
|
92
|
+
"@oclif/config": "1.18.3",
|
|
99
93
|
"@oclif/plugin-autocomplete": "0.3.0",
|
|
100
94
|
"@oclif/plugin-plugins": "1.10.1",
|
|
101
95
|
"@procore/cdn": "2.0.0",
|
|
102
|
-
"@procore/eslint-config": "
|
|
96
|
+
"@procore/eslint-config": "11.0.0-rc.33+0652313",
|
|
103
97
|
"@svgr/webpack": "5.5.0",
|
|
104
|
-
"@types/css-minimizer-webpack-plugin": "3.0.2",
|
|
105
98
|
"@typescript-eslint/eslint-plugin": "3.6.0",
|
|
106
99
|
"@typescript-eslint/parser": "3.6.1",
|
|
107
100
|
"assert": "2.0.0",
|
|
108
101
|
"babel-core": "7.0.0-bridge.0",
|
|
109
102
|
"babel-eslint": "10.1.0",
|
|
110
103
|
"babel-jest": "26.6.3",
|
|
111
|
-
"babel-loader": "8.2.
|
|
104
|
+
"babel-loader": "8.2.5",
|
|
112
105
|
"babel-plugin-named-asset-import": "0.3.8",
|
|
113
106
|
"babel-plugin-styled-components": "1.13.2",
|
|
114
107
|
"babel-plugin-transform-builtin-extend": "1.1.2",
|
|
115
108
|
"babel-plugin-transform-class-properties": "6.24.1",
|
|
116
109
|
"babel-preset-react-app": "10.0.1",
|
|
117
110
|
"browserify-zlib": "0.2.0",
|
|
111
|
+
"browserslist": "4.20.4",
|
|
118
112
|
"buffer": "6.0.3",
|
|
119
113
|
"camelcase": "6.2.0",
|
|
120
114
|
"case-sensitive-paths-webpack-plugin": "2.4.0",
|
|
@@ -126,27 +120,24 @@
|
|
|
126
120
|
"cross-spawn": "7.0.3",
|
|
127
121
|
"crypto-browserify": "3.12.0",
|
|
128
122
|
"css-loader": "5.2.4",
|
|
129
|
-
"css-minimizer-webpack-plugin": "3.
|
|
130
|
-
"
|
|
131
|
-
"cypress-terminal-report": "3.4.1",
|
|
132
|
-
"debug": "4.3.2",
|
|
123
|
+
"css-minimizer-webpack-plugin": "3.4.1",
|
|
124
|
+
"debug": "4.3.4",
|
|
133
125
|
"deepmerge": "4.2.2",
|
|
134
|
-
"del": "6.
|
|
126
|
+
"del": "6.1.1",
|
|
135
127
|
"domain-browser": "4.22.0",
|
|
136
128
|
"dotenv": "8.2.0",
|
|
137
129
|
"dotenv-expand": "5.1.0",
|
|
138
|
-
"ejs": "3.1.
|
|
130
|
+
"ejs": "3.1.8",
|
|
139
131
|
"enquirer": "2.3.6",
|
|
140
132
|
"envinfo": "7.8.1",
|
|
141
133
|
"eslint": "7.32.0",
|
|
142
134
|
"eslint-config-airbnb": "18.2.1",
|
|
143
135
|
"eslint-config-prettier": "6.11.0",
|
|
144
|
-
"eslint-plugin-
|
|
145
|
-
"eslint-plugin-
|
|
146
|
-
"eslint-plugin-jsx-a11y": "6.4.1",
|
|
136
|
+
"eslint-plugin-import": "2.26.0",
|
|
137
|
+
"eslint-plugin-jsx-a11y": "6.5.1",
|
|
147
138
|
"eslint-plugin-prettier": "3.4.1",
|
|
148
|
-
"eslint-plugin-react": "7.
|
|
149
|
-
"eslint-plugin-react-hooks": "4.
|
|
139
|
+
"eslint-plugin-react": "7.30.0",
|
|
140
|
+
"eslint-plugin-react-hooks": "4.5.0",
|
|
150
141
|
"events": "3.3.0",
|
|
151
142
|
"execa": "5.1.1",
|
|
152
143
|
"file-loader": "6.2.0",
|
|
@@ -160,6 +151,7 @@
|
|
|
160
151
|
"jest-environment-jsdom-sixteen": "2.0.0",
|
|
161
152
|
"jest-pnp-resolver": "1.2.2",
|
|
162
153
|
"jest-watch-typeahead": "0.6.4",
|
|
154
|
+
"levenary": "1.1.1",
|
|
163
155
|
"make-dir": "3.1.0",
|
|
164
156
|
"mini-css-extract-plugin": "1.5.0",
|
|
165
157
|
"mocha": "9.1.3",
|
|
@@ -169,26 +161,26 @@
|
|
|
169
161
|
"path-browserify": "1.0.1",
|
|
170
162
|
"path-is-inside": "1.0.2",
|
|
171
163
|
"pnp-webpack-plugin": "1.7.0",
|
|
172
|
-
"postcss": "8.4.
|
|
164
|
+
"postcss": "8.4.14",
|
|
173
165
|
"postcss-flexbugs-fixes": "5.0.2",
|
|
174
166
|
"postcss-loader": "6.2.1",
|
|
175
167
|
"postcss-normalize": "10.0.1",
|
|
176
168
|
"postcss-preset-env": "6.7.0",
|
|
177
169
|
"precss": "4.0.0",
|
|
178
|
-
"prettier": "2.
|
|
170
|
+
"prettier": "2.6.2",
|
|
179
171
|
"process": "0.11.10",
|
|
180
172
|
"punycode": "2.1.1",
|
|
181
173
|
"querystring-es3": "0.2.1",
|
|
182
174
|
"ramda": "0.27.1",
|
|
183
175
|
"react-app-polyfill": "2.0.0",
|
|
184
176
|
"react-dev-utils": "11.0.4",
|
|
185
|
-
"react-error-overlay": "6.0.
|
|
177
|
+
"react-error-overlay": "6.0.11",
|
|
186
178
|
"readable-stream": "3.6.0",
|
|
187
|
-
"resolve": "1.
|
|
179
|
+
"resolve": "1.22.0",
|
|
188
180
|
"resolve-url-loader": "3.1.2",
|
|
189
|
-
"sass": "1.
|
|
181
|
+
"sass": "1.52.2",
|
|
190
182
|
"sass-loader": "11.0.1",
|
|
191
|
-
"sockjs-client": "1.
|
|
183
|
+
"sockjs-client": "1.6.1",
|
|
192
184
|
"stream-browserify": "3.0.0",
|
|
193
185
|
"stream-http": "3.2.0",
|
|
194
186
|
"string_decoder": "1.3.0",
|
|
@@ -199,14 +191,14 @@
|
|
|
199
191
|
"stylelint-config-styled-components": "0.1.1",
|
|
200
192
|
"stylelint-prettier": "1.2.0",
|
|
201
193
|
"stylelint-processor-styled-components": "1.10.0",
|
|
202
|
-
"terser-webpack-plugin": "5.
|
|
194
|
+
"terser-webpack-plugin": "5.3.3",
|
|
203
195
|
"thread-loader": "3.0.4",
|
|
204
196
|
"timers-browserify": "2.0.12",
|
|
205
197
|
"ts-pnp": "1.2.0",
|
|
206
198
|
"tsconfig": "7.0.0",
|
|
207
|
-
"tslib": "2.
|
|
199
|
+
"tslib": "2.4.0",
|
|
208
200
|
"tty-browserify": "0.0.1",
|
|
209
|
-
"typescript": "4.
|
|
201
|
+
"typescript": "4.7.3",
|
|
210
202
|
"url": "0.11.0",
|
|
211
203
|
"url-loader": "4.1.1",
|
|
212
204
|
"util": "0.12.4",
|
|
@@ -218,7 +210,7 @@
|
|
|
218
210
|
"webpack-chain": "6.5.1",
|
|
219
211
|
"webpack-dev-server": "3.11.2",
|
|
220
212
|
"webpack-manifest-plugin": "3.1.1",
|
|
221
|
-
"workbox-webpack-plugin": "6.
|
|
213
|
+
"workbox-webpack-plugin": "6.5.3",
|
|
222
214
|
"worker-loader": "3.0.8"
|
|
223
215
|
},
|
|
224
216
|
"devDependencies": {
|
|
@@ -229,9 +221,9 @@
|
|
|
229
221
|
"@types/cross-spawn": "6.0.2",
|
|
230
222
|
"@types/debug": "4.1.7",
|
|
231
223
|
"@types/dotenv": "8.2.0",
|
|
232
|
-
"@types/ejs": "3.1.
|
|
224
|
+
"@types/ejs": "3.1.1",
|
|
233
225
|
"@types/eslint": "7.28.1",
|
|
234
|
-
"@types/fs-extra": "9.0.
|
|
226
|
+
"@types/fs-extra": "9.0.13",
|
|
235
227
|
"@types/html-webpack-plugin": "3.2.6",
|
|
236
228
|
"@types/jest": "26.0.24",
|
|
237
229
|
"@types/jest-cli": "24.3.0",
|
|
@@ -239,12 +231,12 @@
|
|
|
239
231
|
"@types/node": "14.14.41",
|
|
240
232
|
"@types/npm-packlist": "1.1.2",
|
|
241
233
|
"@types/ramda": "0.27.60",
|
|
242
|
-
"@types/resolve": "1.20.
|
|
234
|
+
"@types/resolve": "1.20.2",
|
|
243
235
|
"@types/stylelint": "9.10.1",
|
|
244
236
|
"@types/validate-npm-package-name": "3.0.3",
|
|
245
237
|
"@types/webpack-bugsnag-plugins": "1.4.3",
|
|
246
238
|
"@types/webpack-dev-server": "3.11.5",
|
|
247
239
|
"@types/webpack-manifest-plugin": "3.0.5"
|
|
248
240
|
},
|
|
249
|
-
"gitHead": "
|
|
241
|
+
"gitHead": "0652313b8a5ba17eebb4c26cf92db22a0756ac2f"
|
|
250
242
|
}
|
|
@@ -26,4 +26,3 @@ You should also consider using the VSCode [ESLint extension](https://marketplace
|
|
|
26
26
|
## Testing
|
|
27
27
|
|
|
28
28
|
Run unit/integration tests with `yarn test`. The optional `--watch` flag will re-run your tests as files change, for continuous feedback
|
|
29
|
-
Place any relevant unit/integration/e2e testing information here for this specific hydra client
|
package/types/app.d.ts
CHANGED
|
@@ -50,9 +50,9 @@ declare module '*.webp' {
|
|
|
50
50
|
declare module '*.svg' {
|
|
51
51
|
import * as React from 'react'
|
|
52
52
|
|
|
53
|
-
export const ReactComponent: React.FunctionComponent<
|
|
54
|
-
SVGSVGElement
|
|
55
|
-
|
|
53
|
+
export const ReactComponent: React.FunctionComponent<
|
|
54
|
+
React.SVGProps<SVGSVGElement>
|
|
55
|
+
>
|
|
56
56
|
|
|
57
57
|
const src: string
|
|
58
58
|
export default src
|
package/dist/commands/e2e/gen.js
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
5
|
-
const enquirer_1 = require("enquirer");
|
|
6
|
-
const path_1 = tslib_1.__importDefault(require("path"));
|
|
7
|
-
const BaseCommand_1 = require("../../BaseCommand");
|
|
8
|
-
const Generator_1 = require("../../Generator");
|
|
9
|
-
class End2EndGenCommand extends BaseCommand_1.BaseCommand {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.templatePath = path_1.default.resolve(__dirname, '..', '..', '..', 'templates', 'e2e', 'gen');
|
|
13
|
-
}
|
|
14
|
-
async run() {
|
|
15
|
-
const fileExt = await this.askForFileExt();
|
|
16
|
-
this.generator = new Generator_1.Generator({
|
|
17
|
-
env: this.env,
|
|
18
|
-
workspace: this.workspace,
|
|
19
|
-
templatePath: this.templatePath,
|
|
20
|
-
destPath: this.workspace.resolve('e2e'),
|
|
21
|
-
});
|
|
22
|
-
await this.generate(fileExt);
|
|
23
|
-
}
|
|
24
|
-
printFailedGeneration(error) {
|
|
25
|
-
this.newline();
|
|
26
|
-
this.log(chalk_1.default.red(error.message));
|
|
27
|
-
this.newline();
|
|
28
|
-
this.log(chalk_1.default.red([
|
|
29
|
-
'Project creation failed. Use the following command if you would ',
|
|
30
|
-
'like to remove failed generation:',
|
|
31
|
-
].join('')));
|
|
32
|
-
this.newline();
|
|
33
|
-
this.log(chalk_1.default.red(` $ cores-scripts rm ${this.generator.destPath}`));
|
|
34
|
-
this.newline();
|
|
35
|
-
this.exit(1);
|
|
36
|
-
}
|
|
37
|
-
async askForFileExt() {
|
|
38
|
-
const response = await enquirer_1.prompt({
|
|
39
|
-
type: 'select',
|
|
40
|
-
name: 'fileExt',
|
|
41
|
-
message: 'Which initial language would you like to use?',
|
|
42
|
-
choices: [
|
|
43
|
-
{ name: 'ts', message: 'TypeScript' },
|
|
44
|
-
{ name: 'js', message: 'JavaScript' },
|
|
45
|
-
],
|
|
46
|
-
});
|
|
47
|
-
return response.fileExt;
|
|
48
|
-
}
|
|
49
|
-
async generate(fileExt) {
|
|
50
|
-
try {
|
|
51
|
-
this.newline();
|
|
52
|
-
await this.createFolders();
|
|
53
|
-
await this.generateGlobalsTs();
|
|
54
|
-
await this.generateTsConfig();
|
|
55
|
-
await this.generateGitIgnore();
|
|
56
|
-
await this.generateSupportIndex(fileExt);
|
|
57
|
-
await this.generateCreateTestFile(fileExt);
|
|
58
|
-
await this.addScriptCommand();
|
|
59
|
-
this.printHelp();
|
|
60
|
-
}
|
|
61
|
-
catch (error) {
|
|
62
|
-
this.printFailedGeneration(error);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
addScriptCommand() {
|
|
66
|
-
var _a, _b;
|
|
67
|
-
const scripts = (_b = (_a = this.workspace.packageJson) === null || _a === void 0 ? void 0 : _a.scripts) !== null && _b !== void 0 ? _b : {};
|
|
68
|
-
this.workspace.packageJson.scripts = {
|
|
69
|
-
...scripts,
|
|
70
|
-
'e2e:start': 'core-scripts e2e:start',
|
|
71
|
-
};
|
|
72
|
-
this.workspace.savePackageJson();
|
|
73
|
-
}
|
|
74
|
-
generateCreateTestFile(fileExt) {
|
|
75
|
-
return this.generator.render('create.e2e.ejs', `src/create.e2e.${fileExt}`);
|
|
76
|
-
}
|
|
77
|
-
generateSupportIndex(fileExt) {
|
|
78
|
-
return this.generator.render('supportIndex.ejs', `src/support/index.${fileExt}`);
|
|
79
|
-
}
|
|
80
|
-
generateTsConfig() {
|
|
81
|
-
return this.generator.render('tsconfig.json.ejs', 'tsconfig.json');
|
|
82
|
-
}
|
|
83
|
-
generateGitIgnore() {
|
|
84
|
-
return this.generator.render('gitignore.ejs', '.gitignore');
|
|
85
|
-
}
|
|
86
|
-
generateGlobalsTs() {
|
|
87
|
-
return this.generator.render('globals.d.ts.ejs', 'src/@types/globals.d.ts');
|
|
88
|
-
}
|
|
89
|
-
printHelp() {
|
|
90
|
-
this.newline();
|
|
91
|
-
this.log(chalk_1.default.green(`End-to-End Scaffold Generated`));
|
|
92
|
-
this.newline();
|
|
93
|
-
this.log(chalk_1.default.gray(` $ yarn e2e:start`));
|
|
94
|
-
this.newline();
|
|
95
|
-
this.log(chalk_1.default.blue(`Happy testing!`));
|
|
96
|
-
this.newline();
|
|
97
|
-
}
|
|
98
|
-
async createFolders() {
|
|
99
|
-
await this.generator.makeDir('src', '@types');
|
|
100
|
-
await this.generator.makeDir('src', 'support');
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
exports.default = End2EndGenCommand;
|
|
104
|
-
End2EndGenCommand.description = 'Generates end-to-end scaffolding.';
|
|
105
|
-
//# sourceMappingURL=gen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gen.js","sourceRoot":"","sources":["../../../src/commands/e2e/gen.ts"],"names":[],"mappings":";;;AAAA,0DAAyB;AACzB,uCAAiC;AACjC,wDAAuB;AACvB,mDAA+C;AAC/C,+CAA2C;AAE3C,MAAqB,iBAAkB,SAAQ,yBAAW;IAA1D;;QAGU,iBAAY,GAAG,cAAI,CAAC,OAAO,CACjC,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,IAAI,EACJ,WAAW,EACX,KAAK,EACL,KAAK,CACN,CAAA;IAiHH,CAAC;IA7GC,KAAK,CAAC,GAAG;QACP,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,aAAa,EAAE,CAAA;QAE1C,IAAI,CAAC,SAAS,GAAG,IAAI,qBAAS,C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AC,eAAe,EAAE,YAAY,CAAC,CAAA;IAC9D,CAAC;IAEO,iBAAiB;QACvB,OAAO,IAAI,CAAC,SAAU,CAAC,MAAM,CAAC,kBAAkB,EAAE,yBAAyB,CAAC,CAAA;IAC9E,CAAC;IAEO,SAAS;QACf,IAAI,CAAC,OAAO,EAAE,CAAA;QACd,IAAI,CAAC,GAAG,CAAC,eAAK,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC,CAAA;QACtD,IAAI,CAAC,OAAO,EAAE,CAAA;QACd,IAAI,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAA;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAA;QACd,IAAI,CAAC,GAAG,CAAC,eAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAA;QACtC,IAAI,CAAC,OAAO,EAAE,CAAA;IAChB,CAAC;IAEO,KAAK,CAAC,aAAa;QACzB,MAAM,IAAI,CAAC,SAAU,CAAC,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;QAC9C,MAAM,IAAI,CAAC,SAAU,CAAC,OAAO,CAAC,KAAK,EAAE,SAAS,CAAC,CAAA;IACjD,CAAC;;AA3HH,oCA4HC;AA3HQ,6BAAW,GAAG,mCAAmC,CAAA"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const command_1 = require("@oclif/command");
|
|
5
|
-
const cypress_1 = tslib_1.__importDefault(require("cypress"));
|
|
6
|
-
const fs_1 = tslib_1.__importDefault(require("fs"));
|
|
7
|
-
const path_1 = tslib_1.__importDefault(require("path"));
|
|
8
|
-
const BaseCommand_1 = require("../../BaseCommand");
|
|
9
|
-
class End2EndStartCommand extends BaseCommand_1.BaseCommand {
|
|
10
|
-
async run() {
|
|
11
|
-
// eslint-disable-next-line no-shadow
|
|
12
|
-
const { flags } = this.parse(End2EndStartCommand);
|
|
13
|
-
const config = {
|
|
14
|
-
fileServerFolder: this.workspace.resolve('e2e'),
|
|
15
|
-
integrationFolder: this.workspace.resolve('e2e', 'src'),
|
|
16
|
-
screenshotsFolder: this.workspace.resolve('e2e', 'screenshots'),
|
|
17
|
-
videosFolder: this.workspace.resolve('e2e', 'videos'),
|
|
18
|
-
fixturesFolder: this.workspace.resolve('e2e', 'src', 'fixtures'),
|
|
19
|
-
pluginsFile: path_1.default.resolve(__dirname, '..', '..', 'cypress', 'plugins.js'),
|
|
20
|
-
supportFile: this.getSupportFile(),
|
|
21
|
-
testFiles: '**/*.e2e.*',
|
|
22
|
-
};
|
|
23
|
-
// TODO: Use the following type spec when Cypress fixes their issues
|
|
24
|
-
// Partial<CypressOpenOptions | CypressRunOptions>
|
|
25
|
-
const cypressConfig = {
|
|
26
|
-
config,
|
|
27
|
-
project: this.workspace.resolve('e2e'),
|
|
28
|
-
spec: flags.spec,
|
|
29
|
-
env: flags.env,
|
|
30
|
-
reporter: this.isCI
|
|
31
|
-
? require.resolve('mocha-allure-reporter')
|
|
32
|
-
: flags.reporter,
|
|
33
|
-
};
|
|
34
|
-
return this.isCI || flags.headless
|
|
35
|
-
? await this.runHeadlessCypress(cypressConfig)
|
|
36
|
-
: await this.openCypressGui(cypressConfig);
|
|
37
|
-
}
|
|
38
|
-
// TODO: Use the following type spec when Cypress fixes their issues
|
|
39
|
-
// Partial<CypressRunOptions>
|
|
40
|
-
async runHeadlessCypress(cypressConfig) {
|
|
41
|
-
const results = await cypress_1.default.run(cypressConfig);
|
|
42
|
-
if ('failures' in results ||
|
|
43
|
-
('totalFailed' in results && results.totalFailed !== 0)) {
|
|
44
|
-
this.exit(1);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
// TODO: Use the following type spec when Cypress fixes their issues
|
|
48
|
-
// Partial<CypressOpenOptions>
|
|
49
|
-
async openCypressGui(cypressConfig) {
|
|
50
|
-
await cypress_1.default.open(cypressConfig);
|
|
51
|
-
}
|
|
52
|
-
getSupportFile() {
|
|
53
|
-
return ['js', 'jsx', 'ts', 'tsx']
|
|
54
|
-
.map((ext) => this.workspace.resolve('e2e', 'src', 'support', `index.${ext}`))
|
|
55
|
-
.find(fs_1.default.existsSync);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
exports.default = End2EndStartCommand;
|
|
59
|
-
End2EndStartCommand.description = 'Runs Cypress end-to-end tests.';
|
|
60
|
-
End2EndStartCommand.flags = {
|
|
61
|
-
spec: command_1.flags.string({
|
|
62
|
-
description: 'Specify the tests to run.',
|
|
63
|
-
}),
|
|
64
|
-
headless: command_1.flags.boolean({
|
|
65
|
-
default: false,
|
|
66
|
-
description: 'Runs the tests in headless mode. Useful for CI/CD.',
|
|
67
|
-
}),
|
|
68
|
-
env: command_1.flags.string({
|
|
69
|
-
description: 'Pass in environment variables as options',
|
|
70
|
-
}),
|
|
71
|
-
reporter: command_1.flags.string({
|
|
72
|
-
default: 'mocha-allure-reporter',
|
|
73
|
-
description: 'Specify the reporter',
|
|
74
|
-
}),
|
|
75
|
-
};
|
|
76
|
-
End2EndStartCommand.strict = false;
|
|
77
|
-
//# sourceMappingURL=start.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"start.js","sourceRoot":"","sources":["../../../src/commands/e2e/start.ts"],"names":[],"mappings":";;;AAAA,4CAAsC;AACtC,8DAA6B;AAC7B,oDAAmB;AACnB,wDAAuB;AACvB,mDAA+C;AAE/C,MAAqB,mBAAoB,SAAQ,yBAAW;IAsB1D,KAAK,CAAC,GAAG;QACP,qCAAqC;QACrC,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAA;QAEjD,MAAM,MAAM,GAAG;YACb,gBAAgB,EAAE,IAAI,CAAC,SAAU,CAAC,OAAO,CAAC,KAAK,CAAC;YAChD,iBAAiB,EAAE,IAAI,CAAC,SAAU,CA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C,WAAW,KAAK,CAAC,CAAC,EACvD;YACA,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;SACb;IACH,CAAC;IAED,oEAAoE;IACpE,8BAA8B;IACtB,KAAK,CAAC,cAAc,CAAC,aAAkB;QAC7C,MAAM,iBAAO,CAAC,IAAI,CAAC,aAAa,CAAC,CAAA;IACnC,CAAC;IAEO,cAAc;QACpB,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC;aAC9B,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CACX,IAAI,CAAC,SAAU,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,GAAG,EAAE,CAAC,CACjE;aACA,IAAI,CAAC,YAAE,CAAC,UAAU,CAAC,CAAA;IACxB,CAAC;;AA/EH,sCAgFC;AA/EQ,+BAAW,GAAG,gCAAgC,CAAA;AAE9C,yBAAK,GAAG;IACb,IAAI,EAAE,eAAK,CAAC,MAAM,CAAC;QACjB,WAAW,EAAE,2BAA2B;KACzC,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,OAAO,CAAC;QACtB,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,oDAAoD;KAClE,CAAC;IACF,GAAG,EAAE,eAAK,CAAC,MAAM,CAAC;QAChB,WAAW,EAAE,0CAA0C;KACxD,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACrB,OAAO,EAAE,uBAAuB;QAChC,WAAW,EAAE,sBAAsB;KACpC,CAAC;CACH,CAAA;AAEM,0BAAM,GAAG,KAAK,CAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
const installLogsCollector_1 = tslib_1.__importDefault(require("cypress-terminal-report/src/installLogsCollector"));
|
|
5
|
-
exports.default = installLogsCollector_1.default;
|
|
6
|
-
//# sourceMappingURL=loggerSupport.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loggerSupport.js","sourceRoot":"","sources":["../../src/cypress/loggerSupport.ts"],"names":[],"mappings":";;;AAAA,oHAAmF;AAEnF,kBAAe,8BAAoB,CAAA"}
|
package/dist/cypress/plugins.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const preprocessor_1 = require("./preprocessor");
|
|
3
|
-
const path = require('path');
|
|
4
|
-
module.exports = function cypressPlugins(on, config) {
|
|
5
|
-
on('file:preprocessor', preprocessor_1.preprocessWebpack());
|
|
6
|
-
const options = {
|
|
7
|
-
outputRoot: config.projectRoot,
|
|
8
|
-
// Used to trim the base path of specs and reduce nesting in the
|
|
9
|
-
// generated output directory.
|
|
10
|
-
specRoot: path.relative(config.fileServerFolder, config.integrationFolder),
|
|
11
|
-
outputTarget: {
|
|
12
|
-
'logs|txt': 'txt',
|
|
13
|
-
},
|
|
14
|
-
printLogsToFile: 'always',
|
|
15
|
-
};
|
|
16
|
-
require('cypress-terminal-report/src/installLogsPrinter')(on, options);
|
|
17
|
-
require('@cypress/code-coverage/task')(on, config);
|
|
18
|
-
return config;
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=plugins.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/cypress/plugins.ts"],"names":[],"mappings":";AAAA,iDAAkD;AAClD,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;AAE5B,iBAAS,SAAS,cAAc,CAAC,EAAO,EAAE,MAAW;IACnD,EAAE,CAAC,mBAAmB,EAAE,gCAAiB,EAAE,CAAC,CAAA;IAC5C,MAAM,OAAO,GAAG;QACd,UAAU,EAAE,MAAM,CAAC,WAAW;QAC9B,gEAAgE;QAChE,8BAA8B;QAC9B,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,iBAAiB,CAAC;QAC1E,YAAY,EAAE;YACZ,UAAU,EAAE,KAAK;SAClB;QACD,eAAe,EAAE,QAAQ;KAC1B,CAAA;IAED,OAAO,CAAC,gDAAgD,CAAC,CAAC,EAAE,EAAE,OAAO,CAAC,CAAA;IACtE,OAAO,CAAC,6BAA6B,CAAC,CAAC,EAAE,EAAE,MAAM,CAAC,CAAA;IAClD,OAAO,MAAM,CAAA;AACf,CAAC,CAAA"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.preprocessWebpack = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const webpack_preprocessor_1 = tslib_1.__importDefault(require("@cypress/webpack-preprocessor"));
|
|
6
|
-
const config_1 = require("../babel/config");
|
|
7
|
-
function preprocessWebpack() {
|
|
8
|
-
return webpack_preprocessor_1.default({
|
|
9
|
-
webpackOptions: {
|
|
10
|
-
mode: 'development',
|
|
11
|
-
resolve: {
|
|
12
|
-
extensions: ['.mjs', '.ts', '.tsx', '.js', '.jsx', '.json'],
|
|
13
|
-
},
|
|
14
|
-
module: {
|
|
15
|
-
rules: [
|
|
16
|
-
{
|
|
17
|
-
exclude: [/node_modules\/*/],
|
|
18
|
-
test: /\.(js|mjs|jsx|ts|tsx|json)$/,
|
|
19
|
-
use: [
|
|
20
|
-
{
|
|
21
|
-
loader: require.resolve('babel-loader'),
|
|
22
|
-
options: config_1.createConfigForLib('development'),
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
},
|
|
26
|
-
],
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
exports.preprocessWebpack = preprocessWebpack;
|
|
32
|
-
//# sourceMappingURL=preprocessor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"preprocessor.js","sourceRoot":"","sources":["../../src/cypress/preprocessor.ts"],"names":[],"mappings":";;;;AAAA,iGAA8C;AAC9C,4CAAoD;AAEpD,SAAgB,iBAAiB;IAC/B,OAAO,8BAAE,CAAC;QACR,cAAc,EAAE;YACd,IAAI,EAAE,aAAa;YACnB,OAAO,EAAE;gBACP,UAAU,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC;aAC5D;YACD,MAAM,EAAE;gBACN,KAAK,EAAE;oBACL;wBACE,OAAO,EAAE,CAAC,iBAAiB,CAAC;wBAC5B,IAAI,EAAE,6BAA6B;wBACnC,GAAG,EAAE;4BACH;gCACE,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC;gCACvC,OAAO,EAAE,2BAAkB,CAAC,aAAa,CAAC;6BAC3C;yBACF;qBACF;iBACF;aACF;SACF;KACF,CAAC,CAAA;AACJ,CAAC;AAvBD,8CAuBC"}
|
package/docs/commands/e2e.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
`core-scripts e2e`
|
|
2
|
-
==================
|
|
3
|
-
|
|
4
|
-
end-to-end testing commands
|
|
5
|
-
|
|
6
|
-
* [`core-scripts e2e:gen`](#core-scripts-e2egen)
|
|
7
|
-
* [`core-scripts e2e:start`](#core-scripts-e2estart)
|
|
8
|
-
|
|
9
|
-
## `core-scripts e2e:gen`
|
|
10
|
-
|
|
11
|
-
Generates end-to-end scaffolding.
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
USAGE
|
|
15
|
-
$ core-scripts e2e:gen
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
_See code: [dist/commands/e2e/gen.js](https://github.com/procore/frontend-tooling/blob/v10.3.0-rc.30+a898f47/dist/commands/e2e/gen.js)_
|
|
19
|
-
|
|
20
|
-
## `core-scripts e2e:start`
|
|
21
|
-
|
|
22
|
-
Runs Cypress end-to-end tests.
|
|
23
|
-
|
|
24
|
-
```
|
|
25
|
-
USAGE
|
|
26
|
-
$ core-scripts e2e:start
|
|
27
|
-
|
|
28
|
-
OPTIONS
|
|
29
|
-
--env=env Pass in environment variables as options
|
|
30
|
-
--headless Runs the tests in headless mode. Useful for CI/CD.
|
|
31
|
-
--reporter=reporter [default: mocha-allure-reporter] Specify the reporter
|
|
32
|
-
--spec=spec Specify the tests to run.
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
_See code: [dist/commands/e2e/start.js](https://github.com/procore/frontend-tooling/blob/v10.3.0-rc.30+a898f47/dist/commands/e2e/start.js)_
|
|
File without changes
|
|
File without changes
|
package/types/e2e.d.ts
DELETED