create-nx-plugin 13.4.5-beta.6 → 13.4.5

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.
@@ -14,8 +14,8 @@ const detect_invoked_package_manager_1 = require("./detect-invoked-package-manag
14
14
  const enquirer = require("enquirer");
15
15
  const yargsParser = require("yargs-parser");
16
16
  const tsVersion = '~4.4.3';
17
- const cliVersion = '13.4.5-beta.6';
18
- const nxVersion = '13.4.5-beta.6';
17
+ const cliVersion = '13.4.5';
18
+ const nxVersion = '13.4.5';
19
19
  const prettierVersion = '2.3.2';
20
20
  const parsedArgs = yargsParser(process.argv, {
21
21
  string: ['pluginName', 'packageManager', 'importPath'],
@@ -1,5 +1,4 @@
1
- declare const packageManagerList: readonly ["pnpm", "yarn", "npm"];
2
- export declare type PackageManager = typeof packageManagerList[number];
1
+ export declare type PackageManager = 'yarn' | 'pnpm' | 'npm';
3
2
  /**
4
3
  * Detects which package manager was used to invoke create-nx-{plugin|workspace} command
5
4
  * based on the main Module process that invokes the command
@@ -10,4 +9,3 @@ export declare type PackageManager = typeof packageManagerList[number];
10
9
  * Default to 'npm'
11
10
  */
12
11
  export declare function detectInvokedPackageManager(): PackageManager;
13
- export {};
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.detectInvokedPackageManager = void 0;
4
- const packageManagerList = ['pnpm', 'yarn', 'npm'];
5
4
  /**
6
5
  * Detects which package manager was used to invoke create-nx-{plugin|workspace} command
7
6
  * based on the main Module process that invokes the command
@@ -19,7 +18,7 @@ function detectInvokedPackageManager() {
19
18
  if (!invoker) {
20
19
  return detectedPackageManager;
21
20
  }
22
- for (const pkgManager of packageManagerList) {
21
+ for (const pkgManager of ['pnpm', 'yarn', 'npm']) {
23
22
  if (invoker.path.includes(pkgManager)) {
24
23
  detectedPackageManager = pkgManager;
25
24
  break;
@@ -1 +1 @@
1
- {"version":3,"file":"detect-invoked-package-manager.js","sourceRoot":"","sources":["../../../../packages/create-nx-plugin/bin/detect-invoked-package-manager.ts"],"names":[],"mappings":";;;AAAA,MAAM,kBAAkB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAU,CAAC;AAI5D;;;;;;;;GAQG;AACH,SAAgB,2BAA2B;IACzC,IAAI,sBAAsB,GAAmB,KAAK,CAAC;IACnD,sEAAsE;IACtE,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC;IAEtD,mBAAmB;IACnB,IAAI,CAAC,OAAO,EAAE;QACZ,OAAO,sBAAsB,CAAC;KAC/B;IAED,KAAK,MAAM,UAAU,IAAI,kBAAkB,EAAE;QAC3C,IAAI,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YACrC,sBAAsB,GAAG,UAAU,CAAC;YACpC,MAAM;SACP;KACF;IAED,OAAO,sBAAsB,CAAC;AAChC,CAAC;AAlBD,kEAkBC"}
1
+ {"version":3,"file":"detect-invoked-package-manager.js","sourceRoot":"","sources":["../../../../packages/create-nx-plugin/bin/detect-invoked-package-manager.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;GAQG;AACH,SAAgB,2BAA2B;IACzC,IAAI,sBAAsB,GAAmB,KAAK,CAAC;IACnD,sEAAsE;IACtE,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,IAAI,OAAO,CAAC,YAAY,CAAC,CAAC;IAEtD,mBAAmB;IACnB,IAAI,CAAC,OAAO,EAAE;QACZ,OAAO,sBAAsB,CAAC;KAC/B;IAED,KAAK,MAAM,UAAU,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAU,EAAE;QACzD,IAAI,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YACrC,sBAAsB,GAAG,UAAU,CAAC;YACpC,MAAM;SACP;KACF;IAED,OAAO,sBAAsB,CAAC;AAChC,CAAC;AAlBD,kEAkBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nx-plugin",
3
- "version": "13.4.5-beta.6",
3
+ "version": "13.4.5",
4
4
  "description": "Smart, Fast and Extensible Build System",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,10 +28,11 @@
28
28
  },
29
29
  "homepage": "https://nx.dev",
30
30
  "dependencies": {
31
- "@nrwl/workspace": "13.4.5-beta.6",
31
+ "@nrwl/workspace": "13.4.5",
32
32
  "enquirer": "~2.3.6",
33
33
  "fs-extra": "^9.1.0",
34
34
  "tmp": "~0.2.1",
35
+ "yargs": "15.4.1",
35
36
  "yargs-parser": "20.0.0"
36
37
  },
37
38
  "main": "./bin/create-nx-plugin.js",