@procore/core-scripts 11.0.0-rc.4 → 11.1.1

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 CHANGED
@@ -17,7 +17,7 @@ $ npm install -g @procore/core-scripts
17
17
  $ core-scripts COMMAND
18
18
  running command...
19
19
  $ core-scripts (-v|--version|version)
20
- @procore/core-scripts/11.0.0-rc.4 linux-x64 node-v16.14.0
20
+ @procore/core-scripts/11.1.1 linux-x64 node-v16.16.0
21
21
  $ core-scripts --help [COMMAND]
22
22
  USAGE
23
23
  $ core-scripts COMMAND
@@ -28,7 +28,7 @@ OPTIONS
28
28
  --sourceMapPublicPath=sourceMapPublicPath Base path for all the sourcemap.
29
29
  ```
30
30
 
31
- _See code: [dist/commands/app/build.js](https://github.com/procore/frontend-tooling/blob/v11.0.0-rc.4/dist/commands/app/build.js)_
31
+ _See code: [dist/commands/app/build.js](https://github.com/procore/frontend-tooling/blob/v11.1.1/dist/commands/app/build.js)_
32
32
 
33
33
  ## `core-scripts app:clean`
34
34
 
@@ -39,7 +39,7 @@ USAGE
39
39
  $ core-scripts app:clean
40
40
  ```
41
41
 
42
- _See code: [dist/commands/app/clean.js](https://github.com/procore/frontend-tooling/blob/v11.0.0-rc.4/dist/commands/app/clean.js)_
42
+ _See code: [dist/commands/app/clean.js](https://github.com/procore/frontend-tooling/blob/v11.1.1/dist/commands/app/clean.js)_
43
43
 
44
44
  ## `core-scripts app:gen`
45
45
 
@@ -50,7 +50,7 @@ USAGE
50
50
  $ core-scripts app:gen
51
51
  ```
52
52
 
53
- _See code: [dist/commands/app/gen.js](https://github.com/procore/frontend-tooling/blob/v11.0.0-rc.4/dist/commands/app/gen.js)_
53
+ _See code: [dist/commands/app/gen.js](https://github.com/procore/frontend-tooling/blob/v11.1.1/dist/commands/app/gen.js)_
54
54
 
55
55
  ## `core-scripts app:start`
56
56
 
@@ -72,4 +72,4 @@ OPTIONS
72
72
  --socketHost=socketHost [default: 0.0.0.0] HMR websocket host
73
73
  ```
74
74
 
75
- _See code: [dist/commands/app/start.js](https://github.com/procore/frontend-tooling/blob/v11.0.0-rc.4/dist/commands/app/start.js)_
75
+ _See code: [dist/commands/app/start.js](https://github.com/procore/frontend-tooling/blob/v11.1.1/dist/commands/app/start.js)_
@@ -20,4 +20,4 @@ OPTIONS
20
20
  --all see all commands in CLI
21
21
  ```
22
22
 
23
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.3.1/src/commands/help.ts)_
23
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.18/src/commands/help.ts)_
@@ -14,4 +14,4 @@ USAGE
14
14
  $ core-scripts info
15
15
  ```
16
16
 
17
- _See code: [dist/commands/info.js](https://github.com/procore/frontend-tooling/blob/v11.0.0-rc.4/dist/commands/info.js)_
17
+ _See code: [dist/commands/info.js](https://github.com/procore/frontend-tooling/blob/v11.1.1/dist/commands/info.js)_
@@ -19,7 +19,7 @@ OPTIONS
19
19
  --analyze Run webpack bundle analyzer.
20
20
  ```
21
21
 
22
- _See code: [dist/commands/lib/build.js](https://github.com/procore/frontend-tooling/blob/v11.0.0-rc.4/dist/commands/lib/build.js)_
22
+ _See code: [dist/commands/lib/build.js](https://github.com/procore/frontend-tooling/blob/v11.1.1/dist/commands/lib/build.js)_
23
23
 
24
24
  ## `core-scripts lib:clean`
25
25
 
@@ -30,7 +30,7 @@ USAGE
30
30
  $ core-scripts lib:clean
31
31
  ```
32
32
 
33
- _See code: [dist/commands/lib/clean.js](https://github.com/procore/frontend-tooling/blob/v11.0.0-rc.4/dist/commands/lib/clean.js)_
33
+ _See code: [dist/commands/lib/clean.js](https://github.com/procore/frontend-tooling/blob/v11.1.1/dist/commands/lib/clean.js)_
34
34
 
35
35
  ## `core-scripts lib:start`
36
36
 
@@ -41,4 +41,4 @@ USAGE
41
41
  $ core-scripts lib:start
42
42
  ```
43
43
 
44
- _See code: [dist/commands/lib/start.js](https://github.com/procore/frontend-tooling/blob/v11.0.0-rc.4/dist/commands/lib/start.js)_
44
+ _See code: [dist/commands/lib/start.js](https://github.com/procore/frontend-tooling/blob/v11.1.1/dist/commands/lib/start.js)_
@@ -22,7 +22,7 @@ OPTIONS
22
22
  --fixTypes=layout|problem|suggestion The types of lint errors/warnings to fix.
23
23
  ```
24
24
 
25
- _See code: [dist/commands/lint/eslint.js](https://github.com/procore/frontend-tooling/blob/v11.0.0-rc.4/dist/commands/lint/eslint.js)_
25
+ _See code: [dist/commands/lint/eslint.js](https://github.com/procore/frontend-tooling/blob/v11.1.1/dist/commands/lint/eslint.js)_
26
26
 
27
27
  ## `core-scripts lint:stylelint [FILES]`
28
28
 
@@ -39,4 +39,4 @@ OPTIONS
39
39
  --fix Automatically fix problems.
40
40
  ```
41
41
 
42
- _See code: [dist/commands/lint/stylelint.js](https://github.com/procore/frontend-tooling/blob/v11.0.0-rc.4/dist/commands/lint/stylelint.js)_
42
+ _See code: [dist/commands/lint/stylelint.js](https://github.com/procore/frontend-tooling/blob/v11.1.1/dist/commands/lint/stylelint.js)_
@@ -22,4 +22,4 @@ OPTIONS
22
22
  -y, --yes Automatically answer 'Yes' to the question.
23
23
  ```
24
24
 
25
- _See code: [dist/commands/rm.js](https://github.com/procore/frontend-tooling/blob/v11.0.0-rc.4/dist/commands/rm.js)_
25
+ _See code: [dist/commands/rm.js](https://github.com/procore/frontend-tooling/blob/v11.1.1/dist/commands/rm.js)_
@@ -17,4 +17,4 @@ OPTIONS
17
17
  --config=config The path to a Jest config file specifying how to find and execute tests.
18
18
  ```
19
19
 
20
- _See code: [dist/commands/test.js](https://github.com/procore/frontend-tooling/blob/v11.0.0-rc.4/dist/commands/test.js)_
20
+ _See code: [dist/commands/test.js](https://github.com/procore/frontend-tooling/blob/v11.1.1/dist/commands/test.js)_
@@ -1 +1 @@
1
- {"version":"11.0.0-rc.4","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.1.1","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.0.0-rc.4",
3
+ "version": "11.1.1",
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",
@@ -25,20 +25,6 @@
25
25
  "publishConfig": {
26
26
  "access": "public"
27
27
  },
28
- "scripts": {
29
- "dev": "yarn start",
30
- "cli": "yarn build && bin/core-scripts",
31
- "clean": "rimraf dist",
32
- "lint": "yarn cli lint",
33
- "test": "yarn cli test --passWithNoTests",
34
- "prebuild": "yarn clean",
35
- "build": "tsc",
36
- "start": "tsc -w",
37
- "prepack": "yarn build && yarn oclif:manifest && yarn oclif:readme",
38
- "postpack": "rm -f oclif.manifest.json",
39
- "oclif:manifest": "oclif-dev manifest",
40
- "oclif:readme": "oclif-dev readme --multi --dir=docs/commands"
41
- },
42
28
  "engines": {
43
29
  "node": ">=10.16.1"
44
30
  },
@@ -90,10 +76,11 @@
90
76
  "@babel/preset-typescript": "7.17.12",
91
77
  "@oclif/command": "1.8.0",
92
78
  "@oclif/config": "1.17.0",
79
+ "@oclif/errors": "^1.3.5",
93
80
  "@oclif/plugin-autocomplete": "0.3.0",
94
81
  "@oclif/plugin-plugins": "1.10.1",
95
82
  "@procore/cdn": "2.0.0",
96
- "@procore/eslint-config": "^10.1.0-rc.1",
83
+ "@procore/eslint-config": "10.3.0",
97
84
  "@svgr/webpack": "5.5.0",
98
85
  "@typescript-eslint/eslint-plugin": "3.6.0",
99
86
  "@typescript-eslint/parser": "3.6.1",
@@ -238,7 +225,18 @@
238
225
  "@types/validate-npm-package-name": "3.0.3",
239
226
  "@types/webpack-bugsnag-plugins": "1.4.3",
240
227
  "@types/webpack-dev-server": "3.11.5",
241
- "@types/webpack-manifest-plugin": "3.0.5"
228
+ "@types/webpack-manifest-plugin": "3.0.5",
229
+ "rimraf": "^3.0.2"
242
230
  },
243
- "gitHead": "530436cbdcc574ca701bcdf552cfad3d89ad8c93"
244
- }
231
+ "scripts": {
232
+ "dev": "pnpm start",
233
+ "cli": "pnpm build && bin/core-scripts",
234
+ "clean": "rimraf dist",
235
+ "lint": "pnpm cli lint",
236
+ "test": "pnpm cli test --passWithNoTests",
237
+ "build": "pnpm clean && tsc",
238
+ "start": "tsc -w",
239
+ "oclif:manifest": "oclif-dev manifest",
240
+ "oclif:readme": "oclif-dev readme --multi --dir=docs/commands"
241
+ }
242
+ }