@procore/core-scripts 11.5.0 → 11.6.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.
Files changed (2) hide show
  1. package/package.json +38 -37
  2. package/oclif.manifest.json +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procore/core-scripts",
3
- "version": "11.5.0",
3
+ "version": "11.6.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",
@@ -42,33 +42,49 @@
42
42
  "engines": {
43
43
  "node": ">=10.16.1"
44
44
  },
45
+ "scripts": {
46
+ "build": "tsc",
47
+ "build:release": "yarn build && yarn oclif:manifest",
48
+ "clean": "rimraf dist",
49
+ "cli": "bin/core-scripts",
50
+ "dev": "yarn start",
51
+ "format": "prettier --ignore-unknown --write .",
52
+ "format:check": "prettier --cache --ignore-unknown --check .",
53
+ "lint": "eslint .",
54
+ "oclif:manifest": "oclif-dev manifest",
55
+ "oclif:readme": "oclif-dev readme --multi --dir=docs/commands",
56
+ "postpack": "rm -f oclif.manifest.json",
57
+ "start": "tsc -w",
58
+ "test": "vitest run --passWithNoTests --coverage"
59
+ },
45
60
  "peerDependencies": {
46
61
  "react": ">=16.8.0",
47
62
  "react-dom": ">=16.8.0"
48
63
  },
49
64
  "dependencies": {
50
- "@babel/cli": "^7.22.5",
51
- "@babel/core": "^7.22.5",
65
+ "@babel/cli": "^7.22.9",
66
+ "@babel/core": "^7.22.9",
52
67
  "@babel/plugin-proposal-class-properties": "^7.18.6",
53
68
  "@babel/plugin-proposal-export-default-from": "^7.22.5",
54
69
  "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
55
- "@babel/plugin-transform-runtime": "^7.22.5",
56
- "@babel/preset-env": "^7.22.5",
70
+ "@babel/plugin-transform-runtime": "^7.22.9",
71
+ "@babel/preset-env": "^7.22.9",
57
72
  "@babel/preset-react": "^7.22.5",
58
73
  "@babel/preset-typescript": "^7.22.5",
59
- "@oclif/command": "^1.8.28",
74
+ "@oclif/command": "^1.8.34",
60
75
  "@oclif/core": "^1.26.2",
61
76
  "@oclif/errors": "^1.3.6",
62
77
  "@oclif/plugin-autocomplete": "~1.3.10",
63
78
  "@oclif/plugin-help": "~5.1.23",
64
79
  "@oclif/plugin-plugins": "^1.10.11",
65
80
  "@procore/cdn": "^2.0.0",
81
+ "@procore/eslint-config": "14.1.0",
66
82
  "@svgr/webpack": "^6.5.1",
67
83
  "assert": "^2.0.0",
68
84
  "babel-jest": "^26.6.3",
69
85
  "babel-loader": "^8.3.0",
70
86
  "babel-plugin-named-asset-import": "^0.3.8",
71
- "babel-plugin-styled-components": "^2.1.3",
87
+ "babel-plugin-styled-components": "^2.1.4",
72
88
  "babel-plugin-transform-builtin-extend": "^1.1.2",
73
89
  "babel-plugin-transform-class-properties": "^6.24.1",
74
90
  "babel-preset-react-app": "^10.0.1",
@@ -93,8 +109,8 @@
93
109
  "dotenv-expand": "^9.0.0",
94
110
  "ejs": "^3.1.9",
95
111
  "enquirer": "^2.3.6",
96
- "envinfo": "^7.9.0",
97
- "eslint": "^8.43.0",
112
+ "envinfo": "^7.10.0",
113
+ "eslint": "^8.45.0",
98
114
  "events": "^3.3.0",
99
115
  "file-loader": "^6.2.0",
100
116
  "fs-extra": "^10.1.0",
@@ -113,7 +129,7 @@
113
129
  "path-browserify": "^1.0.1",
114
130
  "path-is-inside": "^1.0.2",
115
131
  "pnp-webpack-plugin": "^1.7.0",
116
- "postcss": "^8.4.24",
132
+ "postcss": "^8.4.27",
117
133
  "postcss-flexbugs-fixes": "^5.0.2",
118
134
  "postcss-loader": "^7.3.3",
119
135
  "postcss-normalize": "^10.0.1",
@@ -125,10 +141,10 @@
125
141
  "react-app-polyfill": "^3.0.0",
126
142
  "react-dev-utils": "^12.0.1",
127
143
  "react-error-overlay": "^6.0.11",
128
- "readable-stream": "^4.4.0",
144
+ "readable-stream": "^4.4.2",
129
145
  "resolve": "^1.22.2",
130
146
  "resolve-url-loader": "^5.0.0",
131
- "sass": "^1.63.4",
147
+ "sass": "^1.64.1",
132
148
  "sass-loader": "^11.1.1",
133
149
  "sockjs-client": "^1.6.1",
134
150
  "stream-browserify": "^3.0.0",
@@ -141,13 +157,13 @@
141
157
  "stylelint-config-styled-components": "^0.1.1",
142
158
  "stylelint-prettier": "^2.0.0",
143
159
  "stylelint-processor-styled-components": "^1.10.0",
144
- "terser": "^5.18.1",
160
+ "terser": "^5.19.2",
145
161
  "terser-webpack-plugin": "^5.3.9",
146
162
  "thread-loader": "^3.0.4",
147
163
  "timers-browserify": "^2.0.12",
148
164
  "ts-pnp": "^1.2.0",
149
165
  "tsconfig": "^7.0.0",
150
- "tslib": "^2.5.3",
166
+ "tslib": "^2.6.1",
151
167
  "tty-browserify": "^0.0.1",
152
168
  "typescript": "^4.9.5",
153
169
  "url": "^0.11.1",
@@ -155,44 +171,42 @@
155
171
  "util": "^0.12.5",
156
172
  "validate-npm-package-name": "^4.0.0",
157
173
  "vm-browserify": "^1.1.2",
158
- "webpack": "^5.87.0",
174
+ "webpack": "^5.88.2",
159
175
  "webpack-bugsnag-plugins": "^1.8.0",
160
176
  "webpack-bundle-analyzer": "^4.9.0",
161
177
  "webpack-chain": "^6.5.1",
162
178
  "webpack-dev-server": "^3.11.3",
163
179
  "webpack-manifest-plugin": "^5.0.0",
164
180
  "workbox-webpack-plugin": "6.5.4",
165
- "worker-loader": "^3.0.8",
166
- "@procore/eslint-config": "14.0.1"
181
+ "worker-loader": "^3.0.8"
167
182
  },
168
183
  "devDependencies": {
169
184
  "@babel/helper-call-delegate": "^7.12.13",
170
185
  "@oclif/dev-cli": "^1.26.10",
186
+ "@procore/prettier-config": "1.0.0",
171
187
  "@types/case-sensitive-paths-webpack-plugin": "^2.1.6",
172
188
  "@types/cross-spawn": "^6.0.2",
173
189
  "@types/debug": "^4.1.8",
174
190
  "@types/ejs": "^3.1.2",
175
- "@types/eslint": "^8.40.2",
191
+ "@types/eslint": "^8.44.1",
176
192
  "@types/fs-extra": "^9.0.13",
177
193
  "@types/html-webpack-plugin": "^3.2.6",
178
194
  "@types/jest": "^26.0.24",
179
- "@types/node": "^18.16.18",
195
+ "@types/node": "^18.17.0",
180
196
  "@types/react-dev-utils": "^9.0.11",
181
197
  "@types/resolve": "^1.20.2",
182
198
  "@types/validate-npm-package-name": "^4.0.0",
183
- "@types/webpack": "^5.28.1",
184
199
  "@types/webpack-bugsnag-plugins": "^1.4.3",
185
200
  "@types/webpack-dev-server": "^3.11.6",
186
201
  "@types/webpack-manifest-plugin": "^3.0.5",
187
202
  "@vitest/coverage-c8": "^0.31.4",
188
- "lint-staged": "^13.2.2",
203
+ "lint-staged": "^13.2.3",
189
204
  "react": "^18.2.0",
190
205
  "react-dom": "^18.2.0",
191
206
  "react-is": "^18.2.0",
192
207
  "rimraf": "^3.0.2",
193
208
  "styled-components": "^5.3.11",
194
- "vitest": "^0.31.4",
195
- "@procore/prettier-config": "1.0.0"
209
+ "vitest": "^0.31.4"
196
210
  },
197
211
  "oclif": {
198
212
  "commands": "./dist/commands",
@@ -213,18 +227,5 @@
213
227
  "description": "linting commands"
214
228
  }
215
229
  }
216
- },
217
- "scripts": {
218
- "build": "tsc",
219
- "clean": "rimraf dist",
220
- "cli": "bin/core-scripts",
221
- "dev": "pnpm start",
222
- "format": "prettier --ignore-unknown --write .",
223
- "format:check": "prettier --cache --ignore-unknown --check .",
224
- "lint": "eslint .",
225
- "oclif:manifest": "oclif-dev manifest",
226
- "oclif:readme": "oclif-dev readme --multi --dir=docs/commands",
227
- "start": "tsc -w",
228
- "test": "vitest run --passWithNoTests --coverage"
229
230
  }
230
- }
231
+ }
@@ -1 +0,0 @@
1
- {"version":"11.5.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}},"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}]}}}