@procore/core-scripts 12.1.3 → 12.2.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.
- package/CHANGELOG.md +21 -0
- package/dist/jest/transforms/babel.js +17 -13
- package/dist/jest/transforms/babel.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 12.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- bcf9175: Upgrades jest to version 27 (27.5.1).
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 42a2ed2: Upgrades `babel-preset-react-app` to `10.1.0`. This fixes the "unmaintianed" warning that occurs during test execution.
|
|
12
|
+
|
|
13
|
+
### Installation Notes
|
|
14
|
+
|
|
15
|
+
No resolutions should be necessary in order to use this version of `core-scripts`. Please remove any resolutions in your project that target `core-scripts`.
|
|
16
|
+
|
|
3
17
|
## 12.1.3
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -11,6 +25,13 @@
|
|
|
11
25
|
- `stylelint-processor-styled-components`
|
|
12
26
|
- `@types/postcss-normalize`
|
|
13
27
|
|
|
28
|
+
### Installation Notes
|
|
29
|
+
|
|
30
|
+
This release still includes a "high" vulnerability, that, while not impacting your production code (it's a Jest dependency), it can be annoying. You can add the following entry to the "resolutions" on your project in order to address the vulnerability:
|
|
31
|
+
|
|
32
|
+
- `"@procore/core-scripts/**/sane": "^5.0.1"` (for Yarn 1 projects)
|
|
33
|
+
- `"jest-haste-map@npm:26.6.2/sane": "^5.0.1"` (for Yarn 4 projects)
|
|
34
|
+
|
|
14
35
|
## 12.1.2
|
|
15
36
|
|
|
16
37
|
### Patch Changes
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const tslib_1 = require("tslib");
|
|
3
3
|
const babel_jest_1 = tslib_1.__importDefault(require("babel-jest"));
|
|
4
|
-
module.exports = babel_jest_1.default.createTransformer
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
module.exports = babel_jest_1.default.createTransformer
|
|
5
|
+
? // TODO: Use plain presets when the environment is not React.
|
|
6
|
+
// Blocked by https://github.com/facebook/jest/pull/7288
|
|
7
|
+
babel_jest_1.default.createTransformer({
|
|
8
|
+
presets: [
|
|
9
|
+
[
|
|
10
|
+
require.resolve('babel-preset-react-app'),
|
|
11
|
+
{
|
|
12
|
+
flow: false,
|
|
13
|
+
typescript: true,
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
],
|
|
17
|
+
babelrc: false,
|
|
18
|
+
configFile: false,
|
|
19
|
+
})
|
|
20
|
+
: babel_jest_1.default;
|
|
17
21
|
//# sourceMappingURL=babel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"babel.js","sourceRoot":"","sources":["../../../src/jest/transforms/babel.ts"],"names":[],"mappings":";;AAAA,oEAAkC;
|
|
1
|
+
{"version":3,"file":"babel.js","sourceRoot":"","sources":["../../../src/jest/transforms/babel.ts"],"names":[],"mappings":";;AAAA,oEAAkC;AAElC,iBAAS,oBAAS,CAAC,iBAAiB;IAClC,CAAC,CAAC,6DAA6D;QAC7D,wDAAwD;QACxD,oBAAS,CAAC,iBAAiB,CAAC;YAC1B,OAAO,EAAE;gBACP;oBACE,OAAO,CAAC,OAAO,CAAC,wBAAwB,CAAC;oBACzC;wBACE,IAAI,EAAE,KAAK;wBACX,UAAU,EAAE,IAAI;qBACjB;iBACF;aACF;YACD,OAAO,EAAE,KAAK;YACd,UAAU,EAAE,KAAK;SAClB,CAAC;IACJ,CAAC,CAAC,oBAAS,CAAA"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"12.
|
|
1
|
+
{"version":"12.2.0","commands":{"info":{"id":"info","description":"Gathers relevant information about the CLI.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{},"args":[]},"rm":{"id":"rm","description":"Removes things.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{"yes":{"name":"yes","type":"boolean","char":"y","description":"Automatically answer 'Yes' to the question.","allowNo":false},"dryRun":{"name":"dryRun","type":"boolean","char":"d","description":"List what would be deleted instead of deleting.","allowNo":false},"force":{"name":"force","type":"boolean","char":"f","description":"Allow deleting the current working directory and outside.","allowNo":false}},"args":[{"name":"path","description":"Path that will be remove.","required":true}]},"test":{"id":"test","description":"Runs Jest. Visit https://jestjs.io/docs/en/cli for more information about available options, only --config is documented.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{"config":{"name":"config","type":"option","description":"The path to a Jest config file specifying how to find and execute tests."}},"args":[]},"app:build":{"id":"app:build","description":"Compiles the application.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{"analyze":{"name":"analyze","type":"boolean","description":"Run webpack bundle analyzer.","allowNo":false},"railsMode":{"name":"railsMode","type":"boolean","description":"Enables Procore Rails integration.","allowNo":false},"inspect":{"name":"inspect","type":"boolean","description":"Prints the Webpack configuration.","allowNo":false},"sourceMapPublicPath":{"name":"sourceMapPublicPath","type":"option","description":"Base path for all the sourcemap."},"publicPath":{"name":"publicPath","type":"option","description":"Allows you to specify the base path for all the assets within your application."}},"args":[]},"app:clean":{"id":"app:clean","description":"Cleans the distribution folder (/build).","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{},"args":[]},"app:gen":{"id":"app:gen","description":"Generates application scaffolding.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{},"args":[]},"app:start":{"id":"app:start","description":"Starts the development server.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{"railsMode":{"name":"railsMode","type":"boolean","description":"Enables Procore Rails integration.","allowNo":false},"inspect":{"name":"inspect","type":"boolean","description":"Prints the Webpack configuration.","allowNo":false},"openBrowser":{"name":"openBrowser","type":"boolean","description":"Open browser after initializing the server.","allowNo":false},"https":{"name":"https","type":"boolean","description":"Use HTTPS.","allowNo":false},"dangerouslyDisableHostCheck":{"name":"dangerouslyDisableHostCheck","type":"boolean","description":"Disable host checking.","allowNo":false},"port":{"name":"port","type":"option","description":"Server port.","default":"5000"},"host":{"name":"host","type":"option","description":"Server host.","default":"0.0.0.0"},"socketHost":{"name":"socketHost","type":"option","description":"HMR websocket host","default":"0.0.0.0"},"publicPath":{"name":"publicPath","type":"option","description":"Public asset path."}},"args":[]},"lib:build":{"id":"lib:build","description":"Compiles the library in production mode.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{"analyze":{"name":"analyze","type":"boolean","description":"Run webpack bundle analyzer.","allowNo":false},"inspect":{"name":"inspect","type":"boolean","description":"Prints the Webpack configuration.","allowNo":false}},"args":[]},"lib:clean":{"id":"lib:clean","description":"Cleans the distribution folder (/dist).","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{},"args":[]},"lib:start":{"id":"lib:start","description":"Compiles the library in development mode.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{},"args":[]},"lint:eslint":{"id":"lint:eslint","description":"Runs the ESLint linter.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{"fix":{"name":"fix","type":"boolean","description":"Automatically fix problems.","allowNo":false},"fixTypes":{"name":"fixTypes","type":"option","description":"The types of lint errors/warnings to fix.","options":["layout","problem","suggestion"]}},"args":[{"name":"input","description":"Comma-delimited list of file and/or folder paths that the linter will run against.","required":false}]},"lint:stylelint":{"id":"lint:stylelint","description":"Runs the stylelint linter.","pluginName":"@procore/core-scripts","pluginType":"core","aliases":[],"flags":{"fix":{"name":"fix","type":"boolean","description":"Automatically fix problems.","allowNo":false}},"args":[{"name":"files","description":"Path to the file or folder that the linter will run against.","required":false}]}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@procore/core-scripts",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.2.0",
|
|
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",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"format": "prettier --ignore-unknown --write .",
|
|
49
49
|
"format:check": "prettier --cache --ignore-unknown --check .",
|
|
50
50
|
"lint": "eslint .",
|
|
51
|
+
"lint:types": "tsc --noEmit",
|
|
51
52
|
"oclif:manifest": "oclif-dev manifest",
|
|
52
53
|
"oclif:readme": "oclif-dev readme --multi --dir=docs/commands",
|
|
53
54
|
"postpack": "rm -f oclif.manifest.json",
|
|
@@ -78,11 +79,11 @@
|
|
|
78
79
|
"@procore/eslint-config": "^15.2.1",
|
|
79
80
|
"@svgr/webpack": "^6.5.1",
|
|
80
81
|
"assert": "^2.1.0",
|
|
81
|
-
"babel-jest": "^
|
|
82
|
+
"babel-jest": "^27.5.1",
|
|
82
83
|
"babel-loader": "^8.3.0",
|
|
83
84
|
"babel-plugin-named-asset-import": "^0.3.8",
|
|
84
85
|
"babel-plugin-styled-components": "^2.1.4",
|
|
85
|
-
"babel-preset-react-app": "^10.0
|
|
86
|
+
"babel-preset-react-app": "^10.1.0",
|
|
86
87
|
"browserify-zlib": "^0.2.0",
|
|
87
88
|
"browserslist": "^4.22.1",
|
|
88
89
|
"buffer": "^6.0.3",
|
|
@@ -113,10 +114,10 @@
|
|
|
113
114
|
"html-webpack-plugin": "^5.5.3",
|
|
114
115
|
"https-browserify": "^1.0.0",
|
|
115
116
|
"identity-obj-proxy": "^3.0.0",
|
|
116
|
-
"jest": "^
|
|
117
|
-
"jest-cli": "^
|
|
117
|
+
"jest": "^27.5.1",
|
|
118
|
+
"jest-cli": "^27.5.1",
|
|
118
119
|
"jest-pnp-resolver": "^1.2.3",
|
|
119
|
-
"jest-watch-typeahead": "
|
|
120
|
+
"jest-watch-typeahead": "1.0.0",
|
|
120
121
|
"levenary": "^1.1.1",
|
|
121
122
|
"make-dir": "^3.1.0",
|
|
122
123
|
"mini-css-extract-plugin": "^2.7.6",
|
|
@@ -184,7 +185,7 @@
|
|
|
184
185
|
"@types/eslint": "^8.56.10",
|
|
185
186
|
"@types/fs-extra": "^9.0.13",
|
|
186
187
|
"@types/html-webpack-plugin": "^3.2.9",
|
|
187
|
-
"@types/jest": "^
|
|
188
|
+
"@types/jest": "^27.5.2",
|
|
188
189
|
"@types/node": "^18.18.9",
|
|
189
190
|
"@types/postcss-flexbugs-fixes": "^5.0.3",
|
|
190
191
|
"@types/postcss-preset-env": "^7.7.0",
|