@ama-sdk/create 11.0.0-prerelease.9 → 11.1.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 +3 -3
- package/package.json +31 -26
package/index.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
const node_child_process_1 = require("node:child_process");
|
|
6
6
|
const node_path_1 = require("node:path");
|
|
7
7
|
const minimist = require("minimist");
|
|
8
|
-
const
|
|
8
|
+
const schematics_1 = require("@ama-sdk/schematics");
|
|
9
9
|
const packageManagerEnv = process.env.npm_config_user_agent?.split('/')[0];
|
|
10
10
|
const binPath = (0, node_path_1.resolve)(require.resolve('@angular-devkit/schematics-cli/package.json'), '../bin/schematics.js');
|
|
11
11
|
const args = process.argv.slice(2);
|
|
@@ -60,8 +60,8 @@ if (argv['spec-path'] && argv['spec-package-name']) {
|
|
|
60
60
|
/* The local file (path) which will be created in case of generation using specs from an npm module */
|
|
61
61
|
let localFilePathToBeCreated;
|
|
62
62
|
if (argv['spec-package-name']) {
|
|
63
|
-
const localSpecFileComputedExtension = argv['spec-package-path'] && (0, node_path_1.extname)(argv['spec-package-path']) === '.json' ? `.${
|
|
64
|
-
localFilePathToBeCreated = `./${
|
|
63
|
+
const localSpecFileComputedExtension = argv['spec-package-path'] && (0, node_path_1.extname)(argv['spec-package-path']) === '.json' ? `.${schematics_1.SPEC_JSON_EXTENSION}` : `.${schematics_1.SPEC_YAML_EXTENSION}`;
|
|
64
|
+
localFilePathToBeCreated = `./${schematics_1.LOCAL_SPEC_FILENAME}${localSpecFileComputedExtension}`;
|
|
65
65
|
}
|
|
66
66
|
const commonSchematicArgs = [
|
|
67
67
|
argv.debug !== undefined ? `--debug=${argv.debug}` : '--debug=false', // schematics enable debug mode per default when using schematics with relative path
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ama-sdk/create",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.1.0-prerelease.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -17,31 +17,31 @@
|
|
|
17
17
|
"prepare:publish": "prepare-publish ./dist"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@ama-sdk/core": "11.
|
|
21
|
-
"@ama-sdk/schematics": "11.
|
|
22
|
-
"@angular-devkit/core": "~
|
|
23
|
-
"@angular-devkit/schematics": "~
|
|
24
|
-
"@angular-devkit/schematics-cli": "
|
|
25
|
-
"@angular/cli": "~
|
|
26
|
-
"@o3r/schematics": "11.
|
|
20
|
+
"@ama-sdk/core": "11.1.0-prerelease.0",
|
|
21
|
+
"@ama-sdk/schematics": "11.1.0-prerelease.0",
|
|
22
|
+
"@angular-devkit/core": "~18.0.0",
|
|
23
|
+
"@angular-devkit/schematics": "~18.0.0",
|
|
24
|
+
"@angular-devkit/schematics-cli": "^18.0.5",
|
|
25
|
+
"@angular/cli": "~18.0.0",
|
|
26
|
+
"@o3r/schematics": "11.1.0-prerelease.0",
|
|
27
27
|
"@openapitools/openapi-generator-cli": "~2.13.0",
|
|
28
|
-
"@schematics/angular": "~
|
|
28
|
+
"@schematics/angular": "~18.0.0",
|
|
29
29
|
"minimist": "^1.2.6",
|
|
30
30
|
"rxjs": "^7.8.1",
|
|
31
31
|
"typescript": "~5.4.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@angular-eslint/eslint-plugin": "~
|
|
35
|
-
"@angular-eslint/eslint-plugin-template": "~
|
|
36
|
-
"@nx/eslint": "~
|
|
37
|
-
"@nx/eslint-plugin": "~
|
|
38
|
-
"@nx/jest": "~
|
|
39
|
-
"@nx/js": "~
|
|
40
|
-
"@o3r/build-helpers": "^11.
|
|
41
|
-
"@o3r/eslint-config-otter": "^11.
|
|
42
|
-
"@o3r/eslint-plugin": "^11.
|
|
43
|
-
"@o3r/test-helpers": "^11.
|
|
44
|
-
"@stylistic/eslint-plugin-ts": "^
|
|
34
|
+
"@angular-eslint/eslint-plugin": "~18.0.0",
|
|
35
|
+
"@angular-eslint/eslint-plugin-template": "~18.0.0",
|
|
36
|
+
"@nx/eslint": "~19.3.0",
|
|
37
|
+
"@nx/eslint-plugin": "~19.3.0",
|
|
38
|
+
"@nx/jest": "~19.3.0",
|
|
39
|
+
"@nx/js": "~19.3.0",
|
|
40
|
+
"@o3r/build-helpers": "^11.1.0-prerelease.0",
|
|
41
|
+
"@o3r/eslint-config-otter": "^11.1.0-prerelease.0",
|
|
42
|
+
"@o3r/eslint-plugin": "^11.1.0-prerelease.0",
|
|
43
|
+
"@o3r/test-helpers": "^11.1.0-prerelease.0",
|
|
44
|
+
"@stylistic/eslint-plugin-ts": "^2.0.0",
|
|
45
45
|
"@types/jest": "~29.5.2",
|
|
46
46
|
"@types/minimist": "^1.2.2",
|
|
47
47
|
"@types/node": "^20.0.0",
|
|
@@ -49,17 +49,18 @@
|
|
|
49
49
|
"@types/semver": "^7.3.13",
|
|
50
50
|
"@typescript-eslint/eslint-plugin": "^7.2.0",
|
|
51
51
|
"@typescript-eslint/parser": "^7.2.0",
|
|
52
|
+
"@typescript-eslint/utils": "~7.14.1",
|
|
52
53
|
"cpy-cli": "^5.0.0",
|
|
53
54
|
"eslint": "^8.57.0",
|
|
54
55
|
"eslint-import-resolver-node": "^0.3.9",
|
|
55
|
-
"eslint-plugin-jest": "~
|
|
56
|
-
"eslint-plugin-jsdoc": "~48.
|
|
56
|
+
"eslint-plugin-jest": "~28.6.0",
|
|
57
|
+
"eslint-plugin-jsdoc": "~48.4.0",
|
|
57
58
|
"eslint-plugin-prefer-arrow": "~1.2.3",
|
|
58
|
-
"eslint-plugin-unicorn": "^
|
|
59
|
+
"eslint-plugin-unicorn": "^54.0.0",
|
|
59
60
|
"jest": "~29.7.0",
|
|
60
61
|
"jest-junit": "~16.0.0",
|
|
61
62
|
"jsonc-eslint-parser": "~2.4.0",
|
|
62
|
-
"nx": "~
|
|
63
|
+
"nx": "~19.3.0",
|
|
63
64
|
"pid-from-port": "^1.1.3",
|
|
64
65
|
"rimraf": "^5.0.1",
|
|
65
66
|
"rxjs": "^7.8.1",
|
|
@@ -69,7 +70,7 @@
|
|
|
69
70
|
"type-fest": "^4.10.2"
|
|
70
71
|
},
|
|
71
72
|
"engines": {
|
|
72
|
-
"node": "
|
|
73
|
+
"node": "^18.19.1 || ^20.11.1 || >=22.0.0",
|
|
73
74
|
"yarn": "<2.0.0",
|
|
74
75
|
"npm": "*"
|
|
75
76
|
},
|
|
@@ -101,6 +102,7 @@
|
|
|
101
102
|
},
|
|
102
103
|
{
|
|
103
104
|
"name": "Stephane Dalle",
|
|
105
|
+
"url": "https://github.com/sdalle-1A",
|
|
104
106
|
"email": "sdalle-1A@users.noreply.github.com"
|
|
105
107
|
},
|
|
106
108
|
{
|
|
@@ -135,7 +137,10 @@
|
|
|
135
137
|
}
|
|
136
138
|
],
|
|
137
139
|
"bugs": "https://github.com/AmadeusITGroup/otter/issues",
|
|
138
|
-
"repository":
|
|
140
|
+
"repository": {
|
|
141
|
+
"type": "git",
|
|
142
|
+
"url": "git+https://github.com/AmadeusITGroup/otter.git"
|
|
143
|
+
},
|
|
139
144
|
"license": "BSD-3-Clause",
|
|
140
145
|
"homepage": "https://amadeusitgroup.github.io/otter/"
|
|
141
146
|
}
|