@o3r/create 12.0.0-next.2 → 12.0.0-next.20
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 +49 -57
- package/package.json +26 -26
package/index.js
CHANGED
|
@@ -12,64 +12,43 @@ const optionsList = [
|
|
|
12
12
|
'yarn-version'
|
|
13
13
|
];
|
|
14
14
|
const logo = `
|
|
15
|
+
.. .
|
|
16
|
+
-+=-=*-:-==+++++++++++==-::*+-=+=
|
|
17
|
+
:*:::--===================+*=-:::*:
|
|
18
|
+
**--==========================-+*
|
|
19
|
+
+*=============================++
|
|
20
|
+
:#=================================*:
|
|
21
|
+
-*=======++=====-------======+=======*=
|
|
22
|
+
-*:::..::+##--::.*@@@@@+.:--+#%=-:::::-+=
|
|
23
|
+
.#....-:..........:=##*=............=....*:
|
|
24
|
+
:#-....*:.............:..............#....:%:
|
|
25
|
+
-%:::::-*-......:-=========-:......:*-::::.#-.
|
|
26
|
+
+-.::::.-==-===-:.........:-==--===.::::.:*
|
|
27
|
+
.-*:...............:====--...............:*-.
|
|
28
|
+
==...................................=+.
|
|
29
|
+
-+=:...........................:=+=.
|
|
30
|
+
****- -*=++=.................::::..-++=*=
|
|
31
|
+
+*++++*. ++=====:.....:===+++===:.....:=====++
|
|
32
|
+
+**++++#=-+=====++...-=**%@@@@@%**=-...++=====+=
|
|
33
|
+
:%**++++*#========*+*+%@@#****#@@@%+*+*========#.
|
|
34
|
+
*****++#+===========*#%@+---: .%@#*============*
|
|
35
|
+
#****+%===+*==========#@##** .#==========++===%
|
|
36
|
+
.#****#=====***++++++**..=== %*++++++*#*+====#:
|
|
37
|
+
*#**#=======:-=#*%@@: =##* *@@%**==========#.
|
|
38
|
+
=%*%======-...:++%@%=---+=-#@%++...-=======#
|
|
39
|
+
.+@+=====-.....=+*#%@@@@@%#*==....-======+*
|
|
40
|
+
-=++**+=======-......:===+++===:.....-========+**++=-
|
|
41
|
+
*+===============-:::.............::-================+*
|
|
42
|
+
*++====================---------====================++%
|
|
43
|
+
.**++++++=====+++****+++++++===++++++**++=======++++*#.
|
|
44
|
+
:==+++++==--:.. .::-==++++++=:
|
|
15
45
|
|
|
16
|
-
&BPPPB & &BPGB&
|
|
17
|
-
#Y7!!!!!J# &#BGP5YYJJ??????????JJYY5PG#& P7!!!!7JG
|
|
18
|
-
#!!!!!!!!!7Y5J?7!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JPB5!!!!!!!!!G
|
|
19
|
-
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!~5
|
|
20
|
-
BJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?5
|
|
21
|
-
&?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7B
|
|
22
|
-
G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75&
|
|
23
|
-
#J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?B
|
|
24
|
-
P7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Y&
|
|
25
|
-
&Y!!!!!!!!!!!!7??!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!777!!!!!!!!!!!!!?#
|
|
26
|
-
&?!!!!!!!!!!!!J&J!!!!!!!!7?Y5PPPP55J7!!!!!!!!!5B?&P!!!!!!!!!!!!!7B
|
|
27
|
-
&?!!!!!!!!!!!!!?B##P!!!!!!!!!5 &?!!!!!!!!Y&&&P!!!!!!!!!!!!!!!B
|
|
28
|
-
J!!!!!!!!J7!!!!!!7!!!!!!!!!!!7YB& BY!!!!!!!!!!777!!!!!!!?7!!!!!!!7#
|
|
29
|
-
P!!!!!!!!YB!!!!!!!!!!!!!!!!!!!!!!7JY5YJ?!!!!!!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##&& &&#BBGGPPPGGB#
|
|
65
46
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
'|. || || || || ||
|
|
72
|
-
''|...|' '|.' '|.' '|...' .||.
|
|
47
|
+
..|''|| . .
|
|
48
|
+
.|' || .||. .||. .... ... ..
|
|
49
|
+
|| || || || .|...|| ||' ''
|
|
50
|
+
'|. || || || || ||
|
|
51
|
+
''|...|' '|.' '|.' '|...' .||.
|
|
73
52
|
`;
|
|
74
53
|
const binPath = (0, node_path_1.join)(require.resolve('@angular/cli/package.json'), '../bin/ng.js');
|
|
75
54
|
const args = process.argv.slice(2).filter((a) => a !== '--create-application');
|
|
@@ -205,6 +184,17 @@ const prepareWorkspace = (relativeDirectory = '.', projectPackageManager = 'npm'
|
|
|
205
184
|
exitProcessIfErrorInSpawnSync(YARN_CONFIG_REGISTRY_ERROR_CODE, (0, node_child_process_1.spawnSync)(runner, ['config', 'set', 'npmRegistryServer', registry], spawnSyncOpts));
|
|
206
185
|
}
|
|
207
186
|
}
|
|
187
|
+
(0, node_fs_1.writeFileSync)((0, node_path_1.resolve)(cwd, '.gitattributes'), [
|
|
188
|
+
'* text eol=lf',
|
|
189
|
+
'',
|
|
190
|
+
'# Binary files',
|
|
191
|
+
'*.png binary',
|
|
192
|
+
'*.jpg binary',
|
|
193
|
+
'*.gif binary',
|
|
194
|
+
'*.jar binary',
|
|
195
|
+
'*.ico binary',
|
|
196
|
+
''
|
|
197
|
+
].join('\n'));
|
|
208
198
|
exitProcessIfErrorInSpawnSync(INSTALL_PROCESS_ERROR_CODE, (0, node_child_process_1.spawnSync)(runner, ['install'], spawnSyncOpts));
|
|
209
199
|
};
|
|
210
200
|
const addOtterFramework = (relativeDirectory = '.', projectPackageManager = 'npm') => {
|
|
@@ -240,5 +230,7 @@ void (async () => {
|
|
|
240
230
|
catch {
|
|
241
231
|
// Do not throw if `@o3r/telemetry` is not installed
|
|
242
232
|
}
|
|
243
|
-
|
|
233
|
+
await wrapper(run, '@o3r/create:create')();
|
|
234
|
+
console.info(`Initialization completed, project generated in ${(0, node_path_1.join)('.', projectFolder)}`);
|
|
235
|
+
process.exit(0);
|
|
244
236
|
})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o3r/create",
|
|
3
|
-
"version": "12.0.0-next.
|
|
3
|
+
"version": "12.0.0-next.20",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"prepare:publish": "prepare-publish ./dist"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@o3r/telemetry": "^12.0.0-next.
|
|
21
|
+
"@o3r/telemetry": "^12.0.0-next.20"
|
|
22
22
|
},
|
|
23
23
|
"peerDependenciesMeta": {
|
|
24
24
|
"@o3r/telemetry": {
|
|
@@ -26,34 +26,34 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@angular/cli": "~
|
|
30
|
-
"@schematics/angular": "~
|
|
29
|
+
"@angular/cli": "~19.0.0",
|
|
30
|
+
"@schematics/angular": "~19.0.0",
|
|
31
31
|
"minimist": "^1.2.6",
|
|
32
32
|
"shell-quote": "^1.8.1",
|
|
33
33
|
"tslib": "^2.6.2",
|
|
34
|
-
"type-fest": "^4.
|
|
34
|
+
"type-fest": "^4.30.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@angular-devkit/architect": "~0.
|
|
38
|
-
"@angular-devkit/core": "~
|
|
39
|
-
"@angular-devkit/schematics": "~
|
|
37
|
+
"@angular-devkit/architect": "~0.1900.0",
|
|
38
|
+
"@angular-devkit/core": "~19.0.0",
|
|
39
|
+
"@angular-devkit/schematics": "~19.0.0",
|
|
40
40
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
41
|
-
"@nx/eslint": "~
|
|
42
|
-
"@nx/eslint-plugin": "~
|
|
43
|
-
"@nx/jest": "~
|
|
44
|
-
"@nx/js": "~
|
|
45
|
-
"@o3r/build-helpers": "^12.0.0-next.
|
|
46
|
-
"@o3r/eslint-config": "^12.0.0-next.
|
|
47
|
-
"@o3r/eslint-plugin": "^12.0.0-next.
|
|
48
|
-
"@o3r/schematics": "^12.0.0-next.
|
|
49
|
-
"@o3r/test-helpers": "^12.0.0-next.
|
|
50
|
-
"@stylistic/eslint-plugin": "~
|
|
41
|
+
"@nx/eslint": "~20.2.0",
|
|
42
|
+
"@nx/eslint-plugin": "~20.2.0",
|
|
43
|
+
"@nx/jest": "~20.2.0",
|
|
44
|
+
"@nx/js": "~20.2.0",
|
|
45
|
+
"@o3r/build-helpers": "^12.0.0-next.20",
|
|
46
|
+
"@o3r/eslint-config": "^12.0.0-next.20",
|
|
47
|
+
"@o3r/eslint-plugin": "^12.0.0-next.20",
|
|
48
|
+
"@o3r/schematics": "^12.0.0-next.20",
|
|
49
|
+
"@o3r/test-helpers": "^12.0.0-next.20",
|
|
50
|
+
"@stylistic/eslint-plugin": "~3.0.0",
|
|
51
51
|
"@types/jest": "~29.5.2",
|
|
52
52
|
"@types/minimist": "^1.2.2",
|
|
53
53
|
"@types/node": "^20.0.0",
|
|
54
54
|
"@types/shell-quote": "^1.7.5",
|
|
55
|
-
"@typescript-eslint/parser": "~8.
|
|
56
|
-
"angular-eslint": "~
|
|
55
|
+
"@typescript-eslint/parser": "~8.21.0",
|
|
56
|
+
"angular-eslint": "~19.0.0",
|
|
57
57
|
"cpy-cli": "^5.0.0",
|
|
58
58
|
"eslint": "~9.17.0",
|
|
59
59
|
"eslint-import-resolver-node": "^0.3.9",
|
|
@@ -69,15 +69,15 @@
|
|
|
69
69
|
"jest": "~29.7.0",
|
|
70
70
|
"jest-junit": "~16.0.0",
|
|
71
71
|
"jsonc-eslint-parser": "~2.4.0",
|
|
72
|
-
"nx": "~
|
|
72
|
+
"nx": "~20.2.0",
|
|
73
73
|
"pid-from-port": "^1.1.3",
|
|
74
|
-
"rimraf": "^
|
|
74
|
+
"rimraf": "^6.0.1",
|
|
75
75
|
"rxjs": "^7.8.1",
|
|
76
76
|
"semver": "^7.5.2",
|
|
77
|
-
"ts-jest": "~29.2.
|
|
78
|
-
"type-fest": "^4.
|
|
79
|
-
"typescript": "~5.
|
|
80
|
-
"typescript-eslint": "~8.
|
|
77
|
+
"ts-jest": "~29.2.5",
|
|
78
|
+
"type-fest": "^4.30.1",
|
|
79
|
+
"typescript": "~5.6.2",
|
|
80
|
+
"typescript-eslint": "~8.21.0"
|
|
81
81
|
},
|
|
82
82
|
"engines": {
|
|
83
83
|
"node": "^18.19.1 || ^20.11.1 || >=22.0.0",
|