@o3r/create 10.0.0-next.22 → 10.0.0-next.24
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/index.js +2 -2
- package/package.json +11 -11
package/index.js
CHANGED
|
@@ -110,7 +110,7 @@ const createNgProject = () => {
|
|
|
110
110
|
process.exit(1);
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
|
-
const
|
|
113
|
+
const addOtterFramework = (relativeDirectory = '.') => {
|
|
114
114
|
const cwd = (0, node_path_1.resolve)(process.cwd(), relativeDirectory);
|
|
115
115
|
const { error } = (0, node_child_process_1.spawnSync)(process.execPath, [binPath, 'add', `@o3r/core@${version || 'latest'}`, ...args.filter((arg) => arg.startsWith('-'))], {
|
|
116
116
|
stdio: 'inherit',
|
|
@@ -125,4 +125,4 @@ const addOtterCore = (relativeDirectory = '.') => {
|
|
|
125
125
|
const projectFolder = argv._[0]?.replaceAll(' ', '-').toLowerCase() || '.';
|
|
126
126
|
console.info(logo);
|
|
127
127
|
createNgProject();
|
|
128
|
-
|
|
128
|
+
addOtterFramework(projectFolder);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/create",
|
|
3
|
-
"version": "10.0.0-next.
|
|
3
|
+
"version": "10.0.0-next.24",
|
|
4
4
|
"description": "Create a new Otter based application",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"create",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@angular-eslint/eslint-plugin": "~16.2.0",
|
|
24
24
|
"@angular-eslint/eslint-plugin-template": "~16.2.0",
|
|
25
|
-
"@nx/eslint-plugin": "~16.
|
|
26
|
-
"@nx/jest": "~16.
|
|
27
|
-
"@nx/js": "~16.
|
|
28
|
-
"@nx/linter": "~16.
|
|
29
|
-
"@o3r/build-helpers": "^10.0.0-next.
|
|
30
|
-
"@o3r/dev-tools": "^10.0.0-next.
|
|
31
|
-
"@o3r/eslint-config-otter": "^10.0.0-next.
|
|
32
|
-
"@o3r/eslint-plugin": "^10.0.0-next.
|
|
25
|
+
"@nx/eslint-plugin": "~16.10.0",
|
|
26
|
+
"@nx/jest": "~16.10.0",
|
|
27
|
+
"@nx/js": "~16.10.0",
|
|
28
|
+
"@nx/linter": "~16.10.0",
|
|
29
|
+
"@o3r/build-helpers": "^10.0.0-next.24",
|
|
30
|
+
"@o3r/dev-tools": "^10.0.0-next.24",
|
|
31
|
+
"@o3r/eslint-config-otter": "^10.0.0-next.24",
|
|
32
|
+
"@o3r/eslint-plugin": "^10.0.0-next.24",
|
|
33
33
|
"@types/jest": "~29.5.2",
|
|
34
34
|
"@types/minimist": "^1.2.2",
|
|
35
35
|
"@types/node": "^18.0.0",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"eslint-plugin-unicorn": "^47.0.0",
|
|
45
45
|
"jest": "~29.7.0",
|
|
46
46
|
"jest-junit": "~16.0.0",
|
|
47
|
-
"jsonc-eslint-parser": "~2.
|
|
48
|
-
"nx": "~16.
|
|
47
|
+
"jsonc-eslint-parser": "~2.4.0",
|
|
48
|
+
"nx": "~16.10.0",
|
|
49
49
|
"rimraf": "^5.0.1",
|
|
50
50
|
"rxjs": "^7.8.1",
|
|
51
51
|
"ts-jest": "~29.1.1",
|