@ama-sdk/schematics 10.0.0-next.22 → 10.0.0-next.24

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/migration.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/angular/angular-cli/master/packages/angular_devkit/schematics/collection-schema.json",
3
3
  "schematics": {
4
4
  "migration-v10_0": {
5
- "version": "10.0.0-rc.0",
5
+ "version": "10.0.0-alpha.0",
6
6
  "description": "Updates of the Otter Library to v10.0.*",
7
7
  "factory": "./schematics/ng-update/index#updateV10_0"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ama-sdk/schematics",
3
- "version": "10.0.0-next.22",
3
+ "version": "10.0.0-next.24",
4
4
  "description": "Swagger specification SDK Generator by schematics",
5
5
  "typings": "./src/public_api.d.ts",
6
6
  "scripts": {
@@ -42,7 +42,7 @@
42
42
  }
43
43
  },
44
44
  "peerDependencies": {
45
- "@ama-sdk/core": "^10.0.0-next.22",
45
+ "@ama-sdk/core": "^10.0.0-next.24",
46
46
  "@angular-devkit/core": "^16.0.5",
47
47
  "@angular-devkit/schematics": "^16.0.5",
48
48
  "@angular-devkit/schematics-cli": "^16.0.5",
@@ -52,7 +52,7 @@
52
52
  "dependencies": {
53
53
  "@angular-devkit/core": "~16.2.0",
54
54
  "@angular-devkit/schematics": "~16.2.0",
55
- "@o3r/dev-tools": "^10.0.0-next.22",
55
+ "@o3r/dev-tools": "^10.0.0-next.24",
56
56
  "js-yaml": "^4.1.0",
57
57
  "minimatch": "~9.0.3",
58
58
  "rxjs": "^7.8.1",
@@ -61,15 +61,15 @@
61
61
  "tslib": "^2.5.3"
62
62
  },
63
63
  "devDependencies": {
64
- "@ama-sdk/core": "^10.0.0-next.22",
64
+ "@ama-sdk/core": "^10.0.0-next.24",
65
65
  "@angular-devkit/schematics-cli": "~16.2.0",
66
66
  "@angular-eslint/eslint-plugin": "~16.2.0",
67
67
  "@angular/cli": "~16.2.0",
68
- "@nx/eslint-plugin": "~16.8.0",
69
- "@nx/jest": "~16.8.0",
70
- "@o3r/build-helpers": "^10.0.0-next.22",
71
- "@o3r/eslint-plugin": "^10.0.0-next.22",
72
- "@o3r/schematics": "^10.0.0-next.22",
68
+ "@nx/eslint-plugin": "~16.10.0",
69
+ "@nx/jest": "~16.10.0",
70
+ "@o3r/build-helpers": "^10.0.0-next.24",
71
+ "@o3r/eslint-plugin": "^10.0.0-next.24",
72
+ "@o3r/schematics": "^10.0.0-next.24",
73
73
  "@openapitools/openapi-generator-cli": "~2.7.0",
74
74
  "@schematics/angular": "~16.2.0",
75
75
  "@types/jest": "~29.5.2",
@@ -93,10 +93,10 @@
93
93
  "isomorphic-fetch": "~3.0.0",
94
94
  "jest": "~29.7.0",
95
95
  "jest-junit": "~16.0.0",
96
- "jsonc-eslint-parser": "~2.3.0",
96
+ "jsonc-eslint-parser": "~2.4.0",
97
97
  "mem-fs": "^2.2.1",
98
98
  "npm-run-all": "^4.1.5",
99
- "nx": "~16.8.0",
99
+ "nx": "~16.10.0",
100
100
  "onchange": "^7.0.2",
101
101
  "pid-from-port": "^1.1.3",
102
102
  "semver": "^7.5.2",
@@ -65,7 +65,7 @@
65
65
  {
66
66
  "matchPackageNames": [
67
67
  "@ama-sdk/core",
68
- "@ama-sdk/generator-sdk"
68
+ "@ama-sdk/schematics"
69
69
  ],
70
70
  "rangeStrategy": "bump",
71
71
  "groupName": "SDK Core and Generator dependencies",
@@ -1,4 +1,4 @@
1
- # <%=projectName%> <%=projectPackageName%> - How to contribute
1
+ # <% if (projectName) { %><%=projectName%><% } %> <%=projectPackageName%> - How to contribute
2
2
 
3
3
  This file has been generated.
4
4
  You should fill it with your own contribution process.
@@ -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: '@<%=projectName%>/<%=projectPackageName%> unit tests' }]
9
+ ['jest-junit', { outputDirectory: '<rootDir>/dist-test', suiteName: '<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%> unit tests' }]
10
10
  ],
11
11
  moduleNameMapper: {
12
- '^@<%=projectName%>/<%=projectPackageName%>$': ['<rootDir>/src'],
13
- '^@<%=projectName%>/<%=projectPackageName%>/(.*)$': ['<rootDir>/src/$1'],
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": "@<%=projectName%>/<%=projectPackageName%>",
2
+ "name": "<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>",
3
3
  "version": "0.0.0-placeholder",
4
4
  "description": "<%=projectPackageName%> - SDK",
5
5
  "source": "src/index.ts",
@@ -82,7 +82,7 @@
82
82
  "@o3r/eslint-plugin": "^<%= sdkCoreVersion %>",
83
83
  "@openapitools/openapi-generator-cli": "<%= versions['@openapitools/openapi-generator-cli'] %>",
84
84
  "@swc/cli": "^0.1.57",
85
- "@swc/core": "^1.3.66",
85
+ "@swc/core": "^1.3.85",
86
86
  "@types/jest": "<%= versions['@types/jest'] %>",
87
87
  "@types/node": "<%= versions['@types/node'] %>",
88
88
  "@typescript-eslint/eslint-plugin": "<%= versions['@typescript-eslint/eslint-plugin'] %>",
@@ -1,4 +1,4 @@
1
- # <%=projectDescription%>
1
+ <% if (projectDescription) { %># <%=projectDescription%><% } %>
2
2
 
3
3
  ### Based on Swagger spec 0.0.0
4
4
 
@@ -20,7 +20,7 @@ The following folders contain the generated code:
20
20
  The Code can be regenerated by running the following command:
21
21
 
22
22
  ```shell
23
- yarn schematics @ama-sdk/sdk:typescript-core --spec-path [path to your swagger file]
23
+ yarn create @ama-sdk typescript --spec-path [path to your swagger file]
24
24
  ```
25
25
  Note that you can use ```npm exec``` instead of ```yarn``` for every command specified in this documentation.
26
26
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "@<%=projectName%>/<%=projectPackageName%>/jest",
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": "@<%=projectName%>/<%=projectPackageName%>/helpers",
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",
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "@<%=projectName%>/<%=projectPackageName%>/spec",
2
+ "name": "<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>/spec",
3
3
  "main": "../cjs/spec/index.js",
4
4
  "module": "../esm2020/spec/index.js",
5
5
  "es2020": "../esm2020/spec/index.js",
@@ -24,19 +24,19 @@
24
24
  "rootDir": "./src",
25
25
  "baseUrl": ".",
26
26
  "paths": {
27
- "@<%=projectName%>/<%=projectPackageName%>/helpers/*": [
27
+ "<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>/helpers/*": [
28
28
  "./src/helpers/*"
29
29
  ],
30
- "@<%=projectName%>/<%=projectPackageName%>/helpers": [
30
+ "<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>/helpers": [
31
31
  "./src/helpers/index"
32
32
  ],
33
- "@<%=projectName%>/<%=projectPackageName%>": [
33
+ "<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>": [
34
34
  "./src/index"
35
35
  ],
36
- "@<%=projectName%>/<%=projectPackageName%>/*": [
36
+ "<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>/*": [
37
37
  "./src/*"
38
38
  ],
39
- "@<%=projectName%>/<%=projectPackageName%>/spec": [
39
+ "<% if (projectName) { %>@<%=projectName%>/<% } %><%=projectPackageName%>/spec": [
40
40
  "./src/spec/index"
41
41
  ]
42
42
  }