@ama-sdk/create 11.0.0-prerelease.32 → 11.0.0-prerelease.34

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 (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +8 -8
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 core_1 = require("@ama-sdk/core");
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' ? `.${core_1.SPEC_JSON_EXTENSION}` : `.${core_1.SPEC_YAML_EXTENSION}`;
64
- localFilePathToBeCreated = `./${core_1.LOCAL_SPEC_FILENAME}${localSpecFileComputedExtension}`;
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.0.0-prerelease.32",
3
+ "version": "11.0.0-prerelease.34",
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": "11.0.0-prerelease.32",
21
- "@ama-sdk/schematics": "11.0.0-prerelease.32",
20
+ "@ama-sdk/core": "11.0.0-prerelease.34",
21
+ "@ama-sdk/schematics": "11.0.0-prerelease.34",
22
22
  "@angular-devkit/core": "~17.3.0",
23
23
  "@angular-devkit/schematics": "~17.3.0",
24
24
  "@angular-devkit/schematics-cli": "~17.3.0",
25
25
  "@angular/cli": "~17.3.0",
26
- "@o3r/schematics": "11.0.0-prerelease.32",
26
+ "@o3r/schematics": "11.0.0-prerelease.34",
27
27
  "@openapitools/openapi-generator-cli": "~2.13.0",
28
28
  "@schematics/angular": "~17.3.0",
29
29
  "minimist": "^1.2.6",
@@ -37,10 +37,10 @@
37
37
  "@nx/eslint-plugin": "~18.3.0",
38
38
  "@nx/jest": "~18.3.0",
39
39
  "@nx/js": "~18.3.0",
40
- "@o3r/build-helpers": "^11.0.0-prerelease.32",
41
- "@o3r/eslint-config-otter": "^11.0.0-prerelease.32",
42
- "@o3r/eslint-plugin": "^11.0.0-prerelease.32",
43
- "@o3r/test-helpers": "^11.0.0-prerelease.32",
40
+ "@o3r/build-helpers": "^11.0.0-prerelease.34",
41
+ "@o3r/eslint-config-otter": "^11.0.0-prerelease.34",
42
+ "@o3r/eslint-plugin": "^11.0.0-prerelease.34",
43
+ "@o3r/test-helpers": "^11.0.0-prerelease.34",
44
44
  "@stylistic/eslint-plugin-ts": "^1.5.4",
45
45
  "@types/jest": "~29.5.2",
46
46
  "@types/minimist": "^1.2.2",