@o3r/create 10.3.0-prerelease.9 → 10.4.0-prerelease.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.
- package/index.js +6 -2
- package/package.json +11 -11
package/index.js
CHANGED
|
@@ -128,8 +128,9 @@ const createNgProject = () => {
|
|
|
128
128
|
const options = schematicsCliOptions
|
|
129
129
|
.filter(([key]) => isNgNewOptions(key))
|
|
130
130
|
.flat();
|
|
131
|
-
exitProcessIfErrorInSpawnSync(1, (0, node_child_process_1.spawnSync)(process.execPath
|
|
132
|
-
stdio: 'inherit'
|
|
131
|
+
exitProcessIfErrorInSpawnSync(1, (0, node_child_process_1.spawnSync)(`"${process.execPath}"`, [binPath, 'new', ...argv._, ...options], {
|
|
132
|
+
stdio: 'inherit',
|
|
133
|
+
shell: true
|
|
133
134
|
}));
|
|
134
135
|
};
|
|
135
136
|
const prepareWorkspace = (relativeDirectory = '.', projectPackageManager = 'npm') => {
|
|
@@ -170,11 +171,13 @@ const prepareWorkspace = (relativeDirectory = '.', projectPackageManager = 'npm'
|
|
|
170
171
|
if (projectPackageManager === 'yarn') {
|
|
171
172
|
exitProcessIfErrorInSpawnSync(2, (0, node_child_process_1.spawnSync)(runner, ['set', 'version', argv['yarn-version'] || 'stable'], {
|
|
172
173
|
stdio: 'inherit',
|
|
174
|
+
shell: true,
|
|
173
175
|
cwd
|
|
174
176
|
}));
|
|
175
177
|
}
|
|
176
178
|
exitProcessIfErrorInSpawnSync(2, (0, node_child_process_1.spawnSync)(runner, ['install'], {
|
|
177
179
|
stdio: 'inherit',
|
|
180
|
+
shell: true,
|
|
178
181
|
cwd
|
|
179
182
|
}));
|
|
180
183
|
};
|
|
@@ -186,6 +189,7 @@ const addOtterFramework = (relativeDirectory = '.', projectPackageManager = 'npm
|
|
|
186
189
|
exitProcessIfErrorInSpawnSync(3, (0, node_child_process_1.spawnSync)(runner, ['exec', 'ng', 'add', `@o3r/core@${exactO3rVersion ? '' : '~'}${version}`, ...(projectPackageManager === 'npm' ? ['--'] : []), ...options], {
|
|
187
190
|
stdio: 'inherit',
|
|
188
191
|
cwd,
|
|
192
|
+
shell: true,
|
|
189
193
|
env: exactO3rVersion && projectPackageManager === 'npm' ? {
|
|
190
194
|
...process.env,
|
|
191
195
|
// eslint-disable-next-line @typescript-eslint/naming-convention, camelcase
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/create",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.4.0-prerelease.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,15 +30,15 @@
|
|
|
30
30
|
"@angular-devkit/schematics": "~17.3.0",
|
|
31
31
|
"@angular-eslint/eslint-plugin": "~17.3.0",
|
|
32
32
|
"@angular-eslint/eslint-plugin-template": "~17.3.0",
|
|
33
|
-
"@nx/eslint": "~18.
|
|
34
|
-
"@nx/eslint-plugin": "~18.
|
|
35
|
-
"@nx/jest": "~18.
|
|
36
|
-
"@nx/js": "~18.
|
|
37
|
-
"@o3r/build-helpers": "^10.
|
|
38
|
-
"@o3r/eslint-config-otter": "^10.
|
|
39
|
-
"@o3r/eslint-plugin": "^10.
|
|
40
|
-
"@o3r/schematics": "^10.
|
|
41
|
-
"@o3r/test-helpers": "^10.
|
|
33
|
+
"@nx/eslint": "~18.3.0",
|
|
34
|
+
"@nx/eslint-plugin": "~18.3.0",
|
|
35
|
+
"@nx/jest": "~18.3.0",
|
|
36
|
+
"@nx/js": "~18.3.0",
|
|
37
|
+
"@o3r/build-helpers": "^10.4.0-prerelease.0",
|
|
38
|
+
"@o3r/eslint-config-otter": "^10.4.0-prerelease.0",
|
|
39
|
+
"@o3r/eslint-plugin": "^10.4.0-prerelease.0",
|
|
40
|
+
"@o3r/schematics": "^10.4.0-prerelease.0",
|
|
41
|
+
"@o3r/test-helpers": "^10.4.0-prerelease.0",
|
|
42
42
|
"@stylistic/eslint-plugin-ts": "^1.5.4",
|
|
43
43
|
"@types/jest": "~29.5.2",
|
|
44
44
|
"@types/minimist": "^1.2.2",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"jest": "~29.7.0",
|
|
56
56
|
"jest-junit": "~16.0.0",
|
|
57
57
|
"jsonc-eslint-parser": "~2.4.0",
|
|
58
|
-
"nx": "~18.
|
|
58
|
+
"nx": "~18.3.0",
|
|
59
59
|
"rimraf": "^5.0.1",
|
|
60
60
|
"rxjs": "^7.8.1",
|
|
61
61
|
"ts-jest": "~29.1.2",
|