@ama-sdk/schematics 11.3.0-prerelease.9 → 11.4.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/README.md CHANGED
@@ -127,7 +127,7 @@ Please note that revivers are generated for SDKs that use:
127
127
 
128
128
  If your specification file includes dates, there are multiple options for the generation of your SDK involving the global property option `stringifyDate`:
129
129
 
130
- - By default, the option `stringifyDate` is set to `true`. Set it to `false` if you want date-time objects to be generated
130
+ - By default, the option `stringifyDate` is set to `true`. Set it to `false` if you want date-time objects to be generated
131
131
  as `Date` and date objects to be generated as `utils.Date`.
132
132
  For more information related to these types, check out this [documentation](https://github.com/AmadeusITGroup/otter/tree/main/packages/%40ama-sdk/schematics/schematics/typescript/shell/templates/base#manage-dates).
133
133
  This can be done by adding `--global-property stringifyDate=false` to the generator command or by adding the global property
@@ -297,3 +297,14 @@ yarn schematics @ama-sdk/schematics:java-client-core --spec-path ./swagger-spec.
297
297
  ```
298
298
 
299
299
  [Default swagger config](schematics/java/client-core/swagger-codegen-java-client/config/swagger-codegen-config.json) will be used if `--swagger-config-path` is not provided.
300
+
301
+ ## Command Line Interface
302
+
303
+ This package also comes with CLI scripts that can facilitate the upgrade and publication of an SDK.
304
+ Use `--help` on each command for more information
305
+
306
+ | Script | Description |
307
+ | --------------------------- | ---------------------------------------------------------------------------------------------- |
308
+ | amasdk-clear-index | Remove the index files that are no longer necessary after the deletion of the associated model |
309
+ | amasdk-files-pack | Prepare the dist folder for publication |
310
+ | amasdk-update-spec-from-npm | Update the OpenAPI spec from an NPM package |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ama-sdk/schematics",
3
- "version": "11.3.0-prerelease.9",
3
+ "version": "11.4.0-prerelease.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -57,12 +57,12 @@
57
57
  }
58
58
  },
59
59
  "peerDependencies": {
60
- "@ama-sdk/core": "^11.3.0-prerelease.9",
60
+ "@ama-sdk/core": "^11.4.0-prerelease.0",
61
61
  "@angular-devkit/core": "~18.2.0",
62
62
  "@angular-devkit/schematics": "~18.2.0",
63
63
  "@angular-devkit/schematics-cli": "^18.0.5",
64
64
  "@angular/cli": "~18.2.0",
65
- "@o3r/schematics": "^11.3.0-prerelease.9",
65
+ "@o3r/schematics": "^11.4.0-prerelease.0",
66
66
  "@openapitools/openapi-generator-cli": "~2.13.0",
67
67
  "@schematics/angular": "~18.2.0"
68
68
  },
@@ -79,16 +79,16 @@
79
79
  "tslib": "^2.6.2"
80
80
  },
81
81
  "devDependencies": {
82
- "@ama-sdk/core": "^11.3.0-prerelease.9",
82
+ "@ama-sdk/core": "^11.4.0-prerelease.0",
83
83
  "@angular-devkit/schematics-cli": "^18.0.5",
84
84
  "@angular-eslint/eslint-plugin": "~18.3.0",
85
85
  "@angular/cli": "~18.2.0",
86
86
  "@nx/eslint-plugin": "~19.5.0",
87
87
  "@nx/jest": "~19.5.0",
88
- "@o3r/build-helpers": "^11.3.0-prerelease.9",
89
- "@o3r/eslint-plugin": "^11.3.0-prerelease.9",
90
- "@o3r/schematics": "^11.3.0-prerelease.9",
91
- "@o3r/test-helpers": "^11.3.0-prerelease.9",
88
+ "@o3r/build-helpers": "^11.4.0-prerelease.0",
89
+ "@o3r/eslint-plugin": "^11.4.0-prerelease.0",
90
+ "@o3r/schematics": "^11.4.0-prerelease.0",
91
+ "@o3r/test-helpers": "^11.4.0-prerelease.0",
92
92
  "@openapitools/openapi-generator-cli": "~2.13.0",
93
93
  "@schematics/angular": "~18.2.0",
94
94
  "@stylistic/eslint-plugin-ts": "~2.4.0",
@@ -62,6 +62,9 @@
62
62
  "peerDependenciesMeta": {
63
63
  "isomorphic-fetch": {
64
64
  "optional": true
65
+ },
66
+ "@ama-sdk/client-fetch": {
67
+ "optional": true
65
68
  }
66
69
  },
67
70
  "devDependencies": {
@@ -77,6 +80,7 @@
77
80
  "@schematics/angular": "<%= angularVersion %>",
78
81
  "@commitlint/config-conventional": "<%= versions['@commitlint/config-conventional'] %>",
79
82
  "@ama-sdk/schematics": "<%= sdkCoreRange %>",
83
+ "@ama-sdk/client-fetch": "<%= sdkCoreRange %>",
80
84
  "@ama-sdk/core": "<%= sdkCoreRange %>",
81
85
  "@o3r/eslint-config-otter": "<%= sdkCoreRange %>",
82
86
  "@o3r/eslint-plugin": "<%= sdkCoreRange %>",
@@ -116,6 +120,7 @@
116
120
  "@o3r/schematics": "<%= sdkCoreRange %>"
117
121
  },<% } %>
118
122
  "peerDependencies": {
123
+ "@ama-sdk/client-fetch": "<%= sdkCoreRange %>",
119
124
  "@ama-sdk/core": "~<%= sdkCoreVersion %>",
120
125
  "isomorphic-fetch": "<%= versions['isomorphic-fetch'] %>"
121
126
  },