@o3r/create 12.5.0-prerelease.23 → 12.5.0-prerelease.3

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.
Files changed (2) hide show
  1. package/index.js +0 -16
  2. package/package.json +12 -12
package/index.js CHANGED
@@ -104,7 +104,6 @@ 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
106
  const YARN_SET_PACKAGE_EXTENSIONS = 7;
107
- const NPM_CONFIG_PEER_LEGACY_ERROR_CODE = 8;
108
107
  const exitProcessIfErrorInSpawnSync = (exitCode, { error, status }) => {
109
108
  if (error || status !== 0) {
110
109
  if (error) {
@@ -189,9 +188,6 @@ const prepareWorkspace = (relativeDirectory = '.', projectPackageManager = 'npm'
189
188
  exitProcessIfErrorInSpawnSync(YARN_CONFIG_REGISTRY_ERROR_CODE, (0, node_child_process_1.spawnSync)(runner, ['config', 'set', 'npmRegistryServer', registry], spawnSyncOpts));
190
189
  }
191
190
  }
192
- if (projectPackageManager === 'npm') {
193
- exitProcessIfErrorInSpawnSync(NPM_CONFIG_PEER_LEGACY_ERROR_CODE, (0, node_child_process_1.spawnSync)(runner, ['config', 'set', '-L', 'project', 'legacy-peer-deps', 'true'], spawnSyncOpts));
194
- }
195
191
  (0, node_fs_1.writeFileSync)((0, node_path_1.resolve)(cwd, '.gitattributes'), [
196
192
  '* text eol=lf',
197
193
  '',
@@ -221,18 +217,6 @@ const addOtterFramework = (relativeDirectory = '.', projectPackageManager = 'npm
221
217
  }
222
218
  : undefined
223
219
  }));
224
- if (projectPackageManager === 'npm') {
225
- exitProcessIfErrorInSpawnSync(NPM_CONFIG_PEER_LEGACY_ERROR_CODE, (0, node_child_process_1.spawnSync)(runner, ['config', 'set', '-L', 'project', 'legacy-peer-deps', 'false'], {
226
- stdio: 'inherit',
227
- shell: true,
228
- cwd
229
- }));
230
- exitProcessIfErrorInSpawnSync(INSTALL_PROCESS_ERROR_CODE, (0, node_child_process_1.spawnSync)(runner, ['install'], {
231
- stdio: 'inherit',
232
- cwd,
233
- shell: true
234
- }));
235
- }
236
220
  };
237
221
  const projectFolder = argv._[0]?.replaceAll(' ', '-').toLowerCase() || '.';
238
222
  console.info(logo);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@o3r/create",
3
- "version": "12.5.0-prerelease.23",
3
+ "version": "12.5.0-prerelease.3",
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.5.0-prerelease.23"
20
+ "@o3r/telemetry": "^12.5.0-prerelease.3"
21
21
  },
22
22
  "peerDependenciesMeta": {
23
23
  "@o3r/telemetry": {
@@ -41,25 +41,25 @@
41
41
  "@nx/eslint-plugin": "~20.8.0",
42
42
  "@nx/jest": "~20.8.0",
43
43
  "@nx/js": "~20.8.0",
44
- "@o3r/build-helpers": "^12.5.0-prerelease.23",
45
- "@o3r/eslint-config": "^12.5.0-prerelease.23",
46
- "@o3r/eslint-plugin": "^12.5.0-prerelease.23",
47
- "@o3r/schematics": "^12.5.0-prerelease.23",
48
- "@o3r/test-helpers": "^12.5.0-prerelease.23",
44
+ "@o3r/build-helpers": "^12.5.0-prerelease.3",
45
+ "@o3r/eslint-config": "^12.5.0-prerelease.3",
46
+ "@o3r/eslint-plugin": "^12.5.0-prerelease.3",
47
+ "@o3r/schematics": "^12.5.0-prerelease.3",
48
+ "@o3r/test-helpers": "^12.5.0-prerelease.3",
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.35.0",
54
+ "@typescript-eslint/parser": "~8.34.0",
55
55
  "angular-eslint": "~19.4.0",
56
56
  "cpy-cli": "^5.0.0",
57
- "eslint": "~9.30.0",
57
+ "eslint": "~9.28.0",
58
58
  "eslint-import-resolver-node": "~0.3.9",
59
59
  "eslint-import-resolver-typescript": "~3.10.0",
60
- "eslint-plugin-import": "~2.32.0",
60
+ "eslint-plugin-import": "~2.31.0",
61
61
  "eslint-plugin-import-newlines": "~1.4.0",
62
- "eslint-plugin-jest": "~28.14.0",
62
+ "eslint-plugin-jest": "~28.13.0",
63
63
  "eslint-plugin-jsdoc": "~50.8.0",
64
64
  "eslint-plugin-prefer-arrow": "~1.2.3",
65
65
  "eslint-plugin-unicorn": "~56.0.0",
@@ -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.35.0"
79
+ "typescript-eslint": "~8.34.0"
80
80
  },
81
81
  "engines": {
82
82
  "node": "^20.11.1 || >=22.0.0",