@procore/core-scripts 11.4.2-beta.0 → 11.4.3

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/oclif.manifest.json +1 -1
  2. package/package.json +37 -39
@@ -1 +1 @@
1
- {"version":"11.4.2-beta.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}]}}}
1
+ {"version":"11.4.3","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}]}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procore/core-scripts",
3
- "version": "11.4.2-beta.0",
3
+ "version": "11.4.3",
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,35 +42,20 @@
42
42
  "engines": {
43
43
  "node": ">=10.16.1"
44
44
  },
45
- "scripts": {
46
- "build": "tsc",
47
- "clean": "rimraf dist",
48
- "cli": "bin/core-scripts",
49
- "dev": "pnpm start",
50
- "format": "prettier --ignore-unknown --write .",
51
- "format:check": "prettier --cache --ignore-unknown --check .",
52
- "lint": "eslint .",
53
- "oclif:manifest": "oclif-dev manifest",
54
- "oclif:readme": "oclif-dev readme --multi --dir=docs/commands",
55
- "postpack": "rm -f oclif.manifest.json",
56
- "prepack": "pnpm build && pnpm oclif:manifest",
57
- "start": "tsc -w",
58
- "test": "pnpm cli test --passWithNoTests"
59
- },
60
45
  "peerDependencies": {
61
46
  "react": ">=16.8.0",
62
47
  "react-dom": ">=16.8.0"
63
48
  },
64
49
  "dependencies": {
65
50
  "@babel/cli": "^7.21.0",
66
- "@babel/core": "^7.21.0",
51
+ "@babel/core": "^7.21.4",
67
52
  "@babel/plugin-proposal-class-properties": "^7.18.6",
68
53
  "@babel/plugin-proposal-export-default-from": "^7.18.10",
69
54
  "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
70
- "@babel/plugin-transform-runtime": "^7.21.0",
71
- "@babel/preset-env": "^7.20.2",
55
+ "@babel/plugin-transform-runtime": "^7.21.4",
56
+ "@babel/preset-env": "^7.21.4",
72
57
  "@babel/preset-react": "^7.18.6",
73
- "@babel/preset-typescript": "^7.21.0",
58
+ "@babel/preset-typescript": "^7.21.4",
74
59
  "@oclif/command": "^1.8.22",
75
60
  "@oclif/core": "^1.26.2",
76
61
  "@oclif/errors": "^1.3.6",
@@ -78,7 +63,6 @@
78
63
  "@oclif/plugin-help": "~5.1.23",
79
64
  "@oclif/plugin-plugins": "^1.10.11",
80
65
  "@procore/cdn": "^2.0.0",
81
- "@procore/eslint-config": "workspace:*",
82
66
  "@svgr/webpack": "^6.5.1",
83
67
  "assert": "^2.0.0",
84
68
  "babel-jest": "^26.6.3",
@@ -102,15 +86,15 @@
102
86
  "css-loader": "^6.7.3",
103
87
  "css-minimizer-webpack-plugin": "^4.2.2",
104
88
  "debug": "^4.3.4",
105
- "deepmerge": "^4.3.0",
89
+ "deepmerge": "^4.3.1",
106
90
  "del": "^6.1.1",
107
91
  "domain-browser": "^4.22.0",
108
92
  "dotenv": "^16.0.3",
109
93
  "dotenv-expand": "^9.0.0",
110
- "ejs": "^3.1.8",
94
+ "ejs": "^3.1.9",
111
95
  "enquirer": "^2.3.6",
112
96
  "envinfo": "^7.8.1",
113
- "eslint": "^8.35.0",
97
+ "eslint": "^8.37.0",
114
98
  "events": "^3.3.0",
115
99
  "file-loader": "^6.2.0",
116
100
  "fs-extra": "^10.1.0",
@@ -124,17 +108,17 @@
124
108
  "jest-watch-typeahead": "^0.6.5",
125
109
  "levenary": "^1.1.1",
126
110
  "make-dir": "^3.1.0",
127
- "mini-css-extract-plugin": "^2.7.2",
111
+ "mini-css-extract-plugin": "^2.7.5",
128
112
  "os-browserify": "^0.3.0",
129
113
  "path-browserify": "^1.0.1",
130
114
  "path-is-inside": "^1.0.2",
131
115
  "pnp-webpack-plugin": "^1.7.0",
132
116
  "postcss": "^8.4.21",
133
117
  "postcss-flexbugs-fixes": "^5.0.2",
134
- "postcss-loader": "^7.0.2",
118
+ "postcss-loader": "^7.1.0",
135
119
  "postcss-normalize": "^10.0.1",
136
120
  "postcss-preset-env": "^7.8.3",
137
- "prettier": "^2.8.4",
121
+ "prettier": "^2.8.7",
138
122
  "process": "^0.11.10",
139
123
  "punycode": "^2.3.0",
140
124
  "querystring-es3": "^0.2.1",
@@ -144,21 +128,21 @@
144
128
  "readable-stream": "^4.3.0",
145
129
  "resolve": "^1.22.1",
146
130
  "resolve-url-loader": "^5.0.0",
147
- "sass": "^1.58.3",
131
+ "sass": "^1.60.0",
148
132
  "sass-loader": "^11.1.1",
149
133
  "sockjs-client": "^1.6.1",
150
134
  "stream-browserify": "^3.0.0",
151
135
  "stream-http": "^3.2.0",
152
136
  "string_decoder": "^1.3.0",
153
137
  "strip-ansi": "^6.0.1",
154
- "style-loader": "^3.3.1",
138
+ "style-loader": "^3.3.2",
155
139
  "stylelint": "^14.16.1",
156
140
  "stylelint-config-standard": "^28.0.0",
157
141
  "stylelint-config-styled-components": "^0.1.1",
158
142
  "stylelint-prettier": "^2.0.0",
159
143
  "stylelint-processor-styled-components": "^1.10.0",
160
- "terser": "^5.16.5",
161
- "terser-webpack-plugin": "^5.3.6",
144
+ "terser": "^5.16.8",
145
+ "terser-webpack-plugin": "^5.3.7",
162
146
  "thread-loader": "^3.0.4",
163
147
  "timers-browserify": "^2.0.12",
164
148
  "ts-pnp": "^1.2.0",
@@ -171,39 +155,40 @@
171
155
  "util": "^0.12.5",
172
156
  "validate-npm-package-name": "^4.0.0",
173
157
  "vm-browserify": "^1.1.2",
174
- "webpack": "^5.75.0",
158
+ "webpack": "^5.77.0",
175
159
  "webpack-bugsnag-plugins": "^1.8.0",
176
160
  "webpack-bundle-analyzer": "^4.8.0",
177
161
  "webpack-chain": "^6.5.1",
178
162
  "webpack-dev-server": "^3.11.3",
179
163
  "webpack-manifest-plugin": "^5.0.0",
180
164
  "workbox-webpack-plugin": "^6.5.4",
181
- "worker-loader": "^3.0.8"
165
+ "worker-loader": "^3.0.8",
166
+ "@procore/eslint-config": "13.0.0"
182
167
  },
183
168
  "devDependencies": {
184
169
  "@babel/helper-call-delegate": "^7.12.13",
185
170
  "@oclif/dev-cli": "^1.26.10",
186
- "@procore/prettier-config": "workspace:*",
187
171
  "@types/case-sensitive-paths-webpack-plugin": "^2.1.6",
188
172
  "@types/cross-spawn": "^6.0.2",
189
173
  "@types/debug": "^4.1.7",
190
174
  "@types/ejs": "^3.1.2",
191
- "@types/eslint": "^8.21.1",
175
+ "@types/eslint": "^8.37.0",
192
176
  "@types/fs-extra": "^9.0.13",
193
177
  "@types/html-webpack-plugin": "^3.2.6",
194
178
  "@types/jest": "^26.0.24",
195
- "@types/node": "^18.14.2",
179
+ "@types/node": "^18.15.11",
196
180
  "@types/resolve": "^1.20.2",
197
181
  "@types/validate-npm-package-name": "^4.0.0",
198
182
  "@types/webpack-bugsnag-plugins": "^1.4.3",
199
183
  "@types/webpack-dev-server": "^3.11.6",
200
184
  "@types/webpack-manifest-plugin": "^3.0.5",
201
- "lint-staged": "^13.1.2",
185
+ "lint-staged": "^13.2.0",
202
186
  "react": "^18.2.0",
203
187
  "react-dom": "^18.2.0",
204
188
  "react-is": "^18.2.0",
205
189
  "rimraf": "^3.0.2",
206
- "styled-components": "^5.3.6"
190
+ "styled-components": "^5.3.9",
191
+ "@procore/prettier-config": "1.0.0"
207
192
  },
208
193
  "oclif": {
209
194
  "commands": "./dist/commands",
@@ -224,5 +209,18 @@
224
209
  "description": "linting commands"
225
210
  }
226
211
  }
212
+ },
213
+ "scripts": {
214
+ "build": "tsc",
215
+ "clean": "rimraf dist",
216
+ "cli": "bin/core-scripts",
217
+ "dev": "pnpm start",
218
+ "format": "prettier --ignore-unknown --write .",
219
+ "format:check": "prettier --cache --ignore-unknown --check .",
220
+ "lint": "eslint .",
221
+ "oclif:manifest": "oclif-dev manifest",
222
+ "oclif:readme": "oclif-dev readme --multi --dir=docs/commands",
223
+ "start": "tsc -w",
224
+ "test": "pnpm cli test --passWithNoTests"
227
225
  }
228
- }
226
+ }