@ama-sdk/create 10.1.4 → 10.1.6

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.
Files changed (3) hide show
  1. package/README.md +2 -1
  2. package/index.js +2 -1
  3. package/package.json +8 -8
package/README.md CHANGED
@@ -32,7 +32,8 @@ npm create @ama-sdk typescript <project-name> -- --package-manager=yarn [...opti
32
32
 
33
33
  - `--spec-path`: Path to the swagger/open-api specification used to generate the SDK
34
34
  - `--package-manager`: Node package manager to be used (`npm` and `yarn` are available).
35
- - `--debug`: Enable schematics debug mode (including dry run).
35
+ - `--debug --no-dry-run`: Enable schematics debug mode (dry-run is not currently supported).
36
+ - `--o3r-metrics`: Enable or disable the collection of anonymous data for Otter
36
37
  - `--exact-o3r-version` : use a pinned version for [otter packages](https://github.com/AmadeusITGroup/otter/blob/main/docs/README.md).
37
38
 
38
39
  > [!NOTE]
package/index.js CHANGED
@@ -59,7 +59,8 @@ const schematicArgs = [
59
59
  '--package', pck,
60
60
  '--package-manager', packageManager,
61
61
  ...(argv['exact-o3r-version'] ? ['--exact-o3r-version'] : []),
62
- ...(typeof argv['o3r-metrics'] !== 'undefined' ? [`--${!argv['o3r-metrics'] ? 'no-' : ''}o3r-metrics`] : [])
62
+ ...(typeof argv['dry-run'] !== 'undefined' ? [`--${!argv['dry-run'] || argv['dry-run'] === 'false' ? 'no-' : ''}dry-run`] : []),
63
+ ...(typeof argv['o3r-metrics'] !== 'undefined' ? [`--${!argv['o3r-metrics'] || argv['o3r-metrics'] === 'false' ? 'no-' : ''}o3r-metrics`] : [])
63
64
  ];
64
65
  const resolveTargetDirectory = (0, node_path_1.resolve)(process.cwd(), targetDirectory);
65
66
  const run = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ama-sdk/create",
3
- "version": "10.1.4",
3
+ "version": "10.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -17,13 +17,13 @@
17
17
  "prepare:publish": "prepare-publish ./dist"
18
18
  },
19
19
  "dependencies": {
20
- "@ama-sdk/core": "10.1.4",
21
- "@ama-sdk/schematics": "10.1.4",
20
+ "@ama-sdk/core": "10.1.6",
21
+ "@ama-sdk/schematics": "10.1.6",
22
22
  "@angular-devkit/core": "~17.2.0",
23
23
  "@angular-devkit/schematics": "~17.2.0",
24
24
  "@angular-devkit/schematics-cli": "~17.2.0",
25
25
  "@angular/cli": "~17.2.0",
26
- "@o3r/schematics": "10.1.4",
26
+ "@o3r/schematics": "10.1.6",
27
27
  "@openapitools/openapi-generator-cli": "~2.10.0",
28
28
  "@schematics/angular": "~17.2.0",
29
29
  "minimist": "^1.2.6",
@@ -37,10 +37,10 @@
37
37
  "@nx/eslint-plugin": "~18.0.2",
38
38
  "@nx/jest": "~18.0.2",
39
39
  "@nx/js": "~18.0.2",
40
- "@o3r/build-helpers": "^10.1.4",
41
- "@o3r/eslint-config-otter": "^10.1.4",
42
- "@o3r/eslint-plugin": "^10.1.4",
43
- "@o3r/test-helpers": "^10.1.4",
40
+ "@o3r/build-helpers": "^10.1.6",
41
+ "@o3r/eslint-config-otter": "^10.1.6",
42
+ "@o3r/eslint-plugin": "^10.1.6",
43
+ "@o3r/test-helpers": "^10.1.6",
44
44
  "@stylistic/eslint-plugin-ts": "^1.5.4",
45
45
  "@types/jest": "~29.5.2",
46
46
  "@types/minimist": "^1.2.2",