@corva/create-app 0.63.0-0 → 0.63.0-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/bin/create-corva-app.cjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
const { sync: spawnSync } = require('cross-spawn');
|
|
4
|
-
const { resolve } = require('path');
|
|
5
4
|
|
|
6
5
|
const cmd = 'node';
|
|
7
6
|
const originalCwd = process.cwd();
|
|
@@ -13,7 +12,7 @@ const preparedOriginalArgs = process.argv
|
|
|
13
12
|
// after changing the cwd need to pass the original path
|
|
14
13
|
.concat(['--original-cwd', originalCwd])
|
|
15
14
|
// leave spaces in place for arguments
|
|
16
|
-
.map(a => (a.includes(' ') ? `"${a}"` : a));
|
|
15
|
+
.map((a) => (a.includes(' ') ? `"${a}"` : a));
|
|
17
16
|
|
|
18
17
|
const args = ['--no-warnings', '--experimental-json-modules', 'cca.js'].concat(preparedOriginalArgs);
|
|
19
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corva/create-app",
|
|
3
|
-
"version": "0.63.0-
|
|
3
|
+
"version": "0.63.0-1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Create an app to use it in CORVA.AI",
|
|
6
6
|
"keywords": [
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
"lint": "eslint . --resolve-plugins-relative-to $(pwd) --max-warnings 0",
|
|
34
34
|
"lint:fix": "eslint . --fix",
|
|
35
35
|
"release": "git add -A && standard-version -a",
|
|
36
|
-
"release-rc": "npm run release -- --prerelease"
|
|
36
|
+
"release-rc": "npm run release -- --prerelease",
|
|
37
|
+
"test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest"
|
|
37
38
|
},
|
|
38
39
|
"lint-staged": {
|
|
39
40
|
"*.js": "npm run lint:fix"
|
|
@@ -69,6 +70,7 @@
|
|
|
69
70
|
"@corva/eslint-config-node": "^5.1.1",
|
|
70
71
|
"@corva/node-sdk": "^8.0.1",
|
|
71
72
|
"@types/cross-spawn": "^6.0.2",
|
|
73
|
+
"@types/jest": "^29.5.4",
|
|
72
74
|
"@typescript-eslint/eslint-plugin": "^5.42.1",
|
|
73
75
|
"@typescript-eslint/parser": "^5.42.1",
|
|
74
76
|
"conventional-changelog-cli": "^2.1.0",
|
|
@@ -83,11 +85,12 @@
|
|
|
83
85
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
84
86
|
"eslint-plugin-require-sort": "^1.3.0",
|
|
85
87
|
"husky": "^8.0.2",
|
|
86
|
-
"jest": "^29.
|
|
88
|
+
"jest": "^29.6.4",
|
|
87
89
|
"prettier": "^2.0.0",
|
|
88
90
|
"prettier-plugin-packagejson": "^2.3.0",
|
|
89
91
|
"standard-version": "^9.0.0",
|
|
90
|
-
"typescript": "^4.8.4"
|
|
92
|
+
"typescript": "^4.8.4",
|
|
93
|
+
"zx": "^7.2.3"
|
|
91
94
|
},
|
|
92
95
|
"engines": {
|
|
93
96
|
"node": ">=16"
|