@o3r/create 12.3.0-prerelease.9 → 12.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 +4 -0
- package/package.json +16 -16
package/index.js
CHANGED
@@ -103,6 +103,7 @@ const ADD_O3R_CORE_ERROR_CODE = 3;
|
|
103
103
|
const NPM_CONFIG_REGISTRY_ERROR_CODE = 4;
|
104
104
|
const YARN_CONFIG_REGISTRY_ERROR_CODE = 5;
|
105
105
|
const INSTALL_PROCESS_ERROR_CODE = 6;
|
106
|
+
const YARN_SET_PACKAGE_EXTENSIONS = 7;
|
106
107
|
const exitProcessIfErrorInSpawnSync = (exitCode, { error, status }) => {
|
107
108
|
if (error || status !== 0) {
|
108
109
|
if (error) {
|
@@ -175,6 +176,9 @@ const prepareWorkspace = (relativeDirectory = '.', projectPackageManager = 'npm'
|
|
175
176
|
if (projectPackageManager === 'yarn') {
|
176
177
|
const yarnVersion = (0, shell_quote_1.quote)([argv['yarn-version'] || 'stable']);
|
177
178
|
exitProcessIfErrorInSpawnSync(YARN_SET_VERSION_ERROR_CODE, (0, node_child_process_1.spawnSync)(runner, ['set', 'version', yarnVersion], spawnSyncOpts));
|
179
|
+
exitProcessIfErrorInSpawnSync(YARN_SET_PACKAGE_EXTENSIONS, (0, node_child_process_1.spawnSync)(runner,
|
180
|
+
// TODO temporarily fixed until https://github.com/listr2/listr2/pull/719 is merged
|
181
|
+
['config', 'set', 'packageExtensions["@listr2/prompt-adapter-inquirer@*"].peerDependencies.listr2', '"*"'], spawnSyncOpts));
|
178
182
|
}
|
179
183
|
const registry = process.env.npm_config_registry || (argv.registry && (0, shell_quote_1.quote)([argv.registry]));
|
180
184
|
if (registry) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@o3r/create",
|
3
|
-
"version": "12.
|
3
|
+
"version": "12.4.0-prerelease.0",
|
4
4
|
"publishConfig": {
|
5
5
|
"access": "public"
|
6
6
|
},
|
@@ -17,7 +17,7 @@
|
|
17
17
|
"postbuild": "cpy package.json dist/"
|
18
18
|
},
|
19
19
|
"peerDependencies": {
|
20
|
-
"@o3r/telemetry": "^12.
|
20
|
+
"@o3r/telemetry": "^12.4.0-prerelease.0"
|
21
21
|
},
|
22
22
|
"peerDependenciesMeta": {
|
23
23
|
"@o3r/telemetry": {
|
@@ -37,24 +37,24 @@
|
|
37
37
|
"@angular-devkit/core": "~19.2.0",
|
38
38
|
"@angular-devkit/schematics": "~19.2.0",
|
39
39
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
40
|
-
"@nx/eslint": "~20.
|
41
|
-
"@nx/eslint-plugin": "~20.
|
42
|
-
"@nx/jest": "~20.
|
43
|
-
"@nx/js": "~20.
|
44
|
-
"@o3r/build-helpers": "^12.
|
45
|
-
"@o3r/eslint-config": "^12.
|
46
|
-
"@o3r/eslint-plugin": "^12.
|
47
|
-
"@o3r/schematics": "^12.
|
48
|
-
"@o3r/test-helpers": "^12.
|
40
|
+
"@nx/eslint": "~20.8.0",
|
41
|
+
"@nx/eslint-plugin": "~20.8.0",
|
42
|
+
"@nx/jest": "~20.8.0",
|
43
|
+
"@nx/js": "~20.8.0",
|
44
|
+
"@o3r/build-helpers": "^12.4.0-prerelease.0",
|
45
|
+
"@o3r/eslint-config": "^12.4.0-prerelease.0",
|
46
|
+
"@o3r/eslint-plugin": "^12.4.0-prerelease.0",
|
47
|
+
"@o3r/schematics": "^12.4.0-prerelease.0",
|
48
|
+
"@o3r/test-helpers": "^12.4.0-prerelease.0",
|
49
49
|
"@stylistic/eslint-plugin": "~3.1.0",
|
50
50
|
"@types/jest": "~29.5.2",
|
51
51
|
"@types/minimist": "^1.2.2",
|
52
52
|
"@types/node": "^20.0.0",
|
53
53
|
"@types/shell-quote": "^1.7.5",
|
54
|
-
"@typescript-eslint/parser": "~8.
|
55
|
-
"angular-eslint": "~19.
|
54
|
+
"@typescript-eslint/parser": "~8.32.0",
|
55
|
+
"angular-eslint": "~19.4.0",
|
56
56
|
"cpy-cli": "^5.0.0",
|
57
|
-
"eslint": "~9.
|
57
|
+
"eslint": "~9.26.0",
|
58
58
|
"eslint-import-resolver-node": "~0.3.9",
|
59
59
|
"eslint-import-resolver-typescript": "~3.10.0",
|
60
60
|
"eslint-plugin-import": "~2.31.0",
|
@@ -68,7 +68,7 @@
|
|
68
68
|
"jest": "~29.7.0",
|
69
69
|
"jest-junit": "~16.0.0",
|
70
70
|
"jsonc-eslint-parser": "~2.4.0",
|
71
|
-
"nx": "~20.
|
71
|
+
"nx": "~20.8.0",
|
72
72
|
"pid-from-port": "^1.1.3",
|
73
73
|
"rimraf": "^6.0.1",
|
74
74
|
"rxjs": "^7.8.1",
|
@@ -76,7 +76,7 @@
|
|
76
76
|
"ts-jest": "~29.3.0",
|
77
77
|
"type-fest": "^4.30.1",
|
78
78
|
"typescript": "~5.8.2",
|
79
|
-
"typescript-eslint": "~8.
|
79
|
+
"typescript-eslint": "~8.32.0"
|
80
80
|
},
|
81
81
|
"engines": {
|
82
82
|
"node": "^20.11.1 || >=22.0.0",
|