@ama-sdk/schematics 9.4.0-alpha.12 → 9.4.0-alpha.14
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/package.json +10 -10
- package/schematics/java/client-core/swagger-codegen-java-client/target/javaClient-swagger-codegen-tests.jar +0 -0
- package/schematics/java/client-core/swagger-codegen-java-client/target/javaClient-swagger-codegen.jar +0 -0
- package/schematics/typescript/core/openapi-codegen-typescript/target/typescriptFetch-openapi-generator-tests.jar +0 -0
- package/schematics/typescript/core/openapi-codegen-typescript/target/typescriptFetch-openapi-generator.jar +0 -0
- package/schematics/typescript/shell/templates/base/CONTRIBUTING.md +1 -1
- package/schematics/typescript/shell/templates/base/jest.config.js +3 -3
- package/schematics/typescript/shell/templates/base/package.json.template +2 -2
- package/schematics/typescript/shell/templates/base/readme.md +1 -1
- package/schematics/typescript/shell/templates/base/scripts/override-readme.js +1 -1
- package/schematics/typescript/shell/templates/base/src/fixtures/jest/package.json +1 -1
- package/schematics/typescript/shell/templates/base/src/helpers/package.json +1 -1
- package/schematics/typescript/shell/templates/base/src/spec/package.json +1 -1
- package/schematics/typescript/shell/templates/base/tsconfig.build.json +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ama-sdk/schematics",
|
|
3
|
-
"version": "9.4.0-alpha.
|
|
3
|
+
"version": "9.4.0-alpha.14",
|
|
4
4
|
"description": "Swagger specification SDK Generator by schematics",
|
|
5
5
|
"typings": "./src/public_api.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@ama-sdk/core": "^9.4.0-alpha.
|
|
39
|
+
"@ama-sdk/core": "^9.4.0-alpha.14",
|
|
40
40
|
"@angular-devkit/core": "^16.0.5",
|
|
41
41
|
"@angular-devkit/schematics": "^16.0.5",
|
|
42
42
|
"@angular-devkit/schematics-cli": "^16.0.5",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@angular-devkit/core": "~16.2.0",
|
|
48
48
|
"@angular-devkit/schematics": "~16.2.0",
|
|
49
|
-
"@o3r/dev-tools": "^9.4.0-alpha.
|
|
49
|
+
"@o3r/dev-tools": "^9.4.0-alpha.14",
|
|
50
50
|
"js-yaml": "^4.1.0",
|
|
51
51
|
"minimatch": "~9.0.3",
|
|
52
52
|
"rxjs": "^7.8.1",
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"tslib": "^2.5.3"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@ama-sdk/core": "^9.4.0-alpha.
|
|
58
|
+
"@ama-sdk/core": "^9.4.0-alpha.14",
|
|
59
59
|
"@angular-devkit/schematics-cli": "~16.2.0",
|
|
60
60
|
"@angular-eslint/eslint-plugin": "~16.2.0",
|
|
61
61
|
"@angular/cli": "~16.2.0",
|
|
62
|
-
"@nx/eslint-plugin": "~16.
|
|
63
|
-
"@nx/jest": "~16.
|
|
64
|
-
"@o3r/build-helpers": "^9.4.0-alpha.
|
|
65
|
-
"@o3r/eslint-plugin": "^9.4.0-alpha.
|
|
66
|
-
"@o3r/schematics": "^9.4.0-alpha.
|
|
62
|
+
"@nx/eslint-plugin": "~16.10.0",
|
|
63
|
+
"@nx/jest": "~16.10.0",
|
|
64
|
+
"@o3r/build-helpers": "^9.4.0-alpha.14",
|
|
65
|
+
"@o3r/eslint-plugin": "^9.4.0-alpha.14",
|
|
66
|
+
"@o3r/schematics": "^9.4.0-alpha.14",
|
|
67
67
|
"@openapitools/openapi-generator-cli": "~2.7.0",
|
|
68
68
|
"@schematics/angular": "~16.2.0",
|
|
69
69
|
"@types/jest": "~29.5.2",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"jsonc-eslint-parser": "~2.3.0",
|
|
89
89
|
"mem-fs": "^2.2.1",
|
|
90
90
|
"npm-run-all": "^4.1.5",
|
|
91
|
-
"nx": "~16.
|
|
91
|
+
"nx": "~16.10.0",
|
|
92
92
|
"onchange": "^7.0.2",
|
|
93
93
|
"pid-from-port": "^1.1.3",
|
|
94
94
|
"semver": "^7.5.2",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -6,11 +6,11 @@ module.exports = {
|
|
|
6
6
|
roots: ['<rootDir>/src/'],
|
|
7
7
|
reporters: [
|
|
8
8
|
'default',
|
|
9
|
-
['jest-junit', { outputDirectory: '<rootDir>/dist-test', suiteName: '
|
|
9
|
+
['jest-junit', { outputDirectory: '<rootDir>/dist-test', suiteName: '<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%> unit tests' }]
|
|
10
10
|
],
|
|
11
11
|
moduleNameMapper: {
|
|
12
|
-
'
|
|
13
|
-
'
|
|
12
|
+
'^<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>$': ['<rootDir>/src'],
|
|
13
|
+
'^<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>/(.*)$': ['<rootDir>/src/$1'],
|
|
14
14
|
},
|
|
15
15
|
transform: {
|
|
16
16
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>",
|
|
3
3
|
"version": "0.0.0-placeholder",
|
|
4
4
|
"description": "<%=projectPackageName%> - SDK",
|
|
5
5
|
"source": "src/index.ts",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@o3r/eslint-plugin": "^<%= sdkCoreVersion %>",
|
|
84
84
|
"@openapitools/openapi-generator-cli": "<%= versions['@openapitools/openapi-generator-cli'] %>",
|
|
85
85
|
"@swc/cli": "^0.1.57",
|
|
86
|
-
"@swc/core": "^1.3.
|
|
86
|
+
"@swc/core": "^1.3.85",
|
|
87
87
|
"@types/jest": "<%= versions['@types/jest'] %>",
|
|
88
88
|
"@types/node": "<%= versions['@types/node'] %>",
|
|
89
89
|
"@typescript-eslint/eslint-plugin": "<%= versions['@typescript-eslint/eslint-plugin'] %>",
|
|
@@ -7,7 +7,7 @@ const copyFile = util.promisify(cpx.copy);
|
|
|
7
7
|
|
|
8
8
|
const root = path.resolve(__dirname, '..');
|
|
9
9
|
const argv = minimist(process.argv.slice(2));
|
|
10
|
-
const folderName = argv.folderName || '
|
|
10
|
+
const folderName = argv.folderName || '<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>';
|
|
11
11
|
|
|
12
12
|
(async () => {
|
|
13
13
|
await copyFile(path.join(root, 'readme.md'), path.join(root, '.readme-backup'));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>/jest",
|
|
3
3
|
"main": "../../cjs/api/fixtures.jest.js",
|
|
4
4
|
"module": "../../esm2020/api/fixtures.jest.js",
|
|
5
5
|
"es2020": "../../esm2020/api/fixtures.jest.js",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>/helpers",
|
|
3
3
|
"main": "../cjs/helpers/index.js",
|
|
4
4
|
"module": "../esm2020/helpers/index.js",
|
|
5
5
|
"es2020": "../esm2020/helpers/index.js",
|
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
"rootDir": "./src",
|
|
25
25
|
"baseUrl": ".",
|
|
26
26
|
"paths": {
|
|
27
|
-
"
|
|
27
|
+
"<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>/helpers/*": [
|
|
28
28
|
"./src/helpers/*"
|
|
29
29
|
],
|
|
30
|
-
"
|
|
30
|
+
"<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>/helpers": [
|
|
31
31
|
"./src/helpers/index"
|
|
32
32
|
],
|
|
33
|
-
"
|
|
33
|
+
"<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>": [
|
|
34
34
|
"./src/index"
|
|
35
35
|
],
|
|
36
|
-
"
|
|
36
|
+
"<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>/*": [
|
|
37
37
|
"./src/*"
|
|
38
38
|
],
|
|
39
|
-
"
|
|
39
|
+
"<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>/spec": [
|
|
40
40
|
"./src/spec/index"
|
|
41
41
|
]
|
|
42
42
|
}
|