create-awesome-node-app 0.4.10 → 0.4.12

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/dist/index.cjs CHANGED
@@ -3576,7 +3576,7 @@ var getCnaOptions = async (options) => {
3576
3576
  appConfig.templatesOrExtensions = [];
3577
3577
  appConfig.extend = [];
3578
3578
  const extensionsGroupedByCategory = await getExtensionsGroupedByCategory([
3579
- templateInput.template,
3579
+ (existingTemplate == null ? void 0 : existingTemplate.type) || "custom",
3580
3580
  "all"
3581
3581
  ]);
3582
3582
  for (const [category, extensions] of Object.entries(
@@ -3640,7 +3640,7 @@ var getCnaOptions = async (options) => {
3640
3640
  // package.json
3641
3641
  var package_default = {
3642
3642
  name: "create-awesome-node-app",
3643
- version: "0.4.10",
3643
+ version: "0.4.12",
3644
3644
  type: "module",
3645
3645
  description: "Command line tool to create Node apps with a lot of different templates and extensions.",
3646
3646
  license: "MIT",
@@ -3680,7 +3680,7 @@ var package_default = {
3680
3680
  scripts: {
3681
3681
  build: "tsup src/index.ts --format cjs,esm --dts",
3682
3682
  dev: "tsup src/index.ts --watch --format cjs,esm --dts",
3683
- typecheck: "tsc --noEmit",
3683
+ "type-check": "tsc --noEmit",
3684
3684
  lint: "eslint .",
3685
3685
  "lint:fix": "eslint . --fix"
3686
3686
  },
package/dist/index.js CHANGED
@@ -3586,7 +3586,7 @@ var getCnaOptions = async (options) => {
3586
3586
  appConfig.templatesOrExtensions = [];
3587
3587
  appConfig.extend = [];
3588
3588
  const extensionsGroupedByCategory = await getExtensionsGroupedByCategory([
3589
- templateInput.template,
3589
+ (existingTemplate == null ? void 0 : existingTemplate.type) || "custom",
3590
3590
  "all"
3591
3591
  ]);
3592
3592
  for (const [category, extensions] of Object.entries(
@@ -3650,7 +3650,7 @@ var getCnaOptions = async (options) => {
3650
3650
  // package.json
3651
3651
  var package_default = {
3652
3652
  name: "create-awesome-node-app",
3653
- version: "0.4.10",
3653
+ version: "0.4.12",
3654
3654
  type: "module",
3655
3655
  description: "Command line tool to create Node apps with a lot of different templates and extensions.",
3656
3656
  license: "MIT",
@@ -3690,7 +3690,7 @@ var package_default = {
3690
3690
  scripts: {
3691
3691
  build: "tsup src/index.ts --format cjs,esm --dts",
3692
3692
  dev: "tsup src/index.ts --watch --format cjs,esm --dts",
3693
- typecheck: "tsc --noEmit",
3693
+ "type-check": "tsc --noEmit",
3694
3694
  lint: "eslint .",
3695
3695
  "lint:fix": "eslint . --fix"
3696
3696
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-awesome-node-app",
3
- "version": "0.4.10",
3
+ "version": "0.4.12",
4
4
  "type": "module",
5
5
  "description": "Command line tool to create Node apps with a lot of different templates and extensions.",
6
6
  "license": "MIT",
@@ -40,7 +40,7 @@
40
40
  "scripts": {
41
41
  "build": "tsup src/index.ts --format cjs,esm --dts",
42
42
  "dev": "tsup src/index.ts --watch --format cjs,esm --dts",
43
- "typecheck": "tsc --noEmit",
43
+ "type-check": "tsc --noEmit",
44
44
  "lint": "eslint .",
45
45
  "lint:fix": "eslint . --fix"
46
46
  },