create-awesome-node-app 0.6.2 → 0.6.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.
- package/dist/index.cjs +5 -4
- package/dist/index.js +5 -4
- package/package.json +4 -3
package/dist/index.cjs
CHANGED
|
@@ -1925,7 +1925,7 @@ var getCnaOptions = async (options) => {
|
|
|
1925
1925
|
// package.json
|
|
1926
1926
|
var package_default = {
|
|
1927
1927
|
name: "create-awesome-node-app",
|
|
1928
|
-
version: "0.6.
|
|
1928
|
+
version: "0.6.6",
|
|
1929
1929
|
type: "module",
|
|
1930
1930
|
description: "Command line tool to create Node apps with a lot of different templates and extensions.",
|
|
1931
1931
|
license: "MIT",
|
|
@@ -1953,7 +1953,8 @@ var package_default = {
|
|
|
1953
1953
|
exports: {
|
|
1954
1954
|
".": {
|
|
1955
1955
|
types: "./dist/index.d.ts",
|
|
1956
|
-
import: "./index.js"
|
|
1956
|
+
import: "./index.js",
|
|
1957
|
+
require: "./dist/index.cjs"
|
|
1957
1958
|
}
|
|
1958
1959
|
},
|
|
1959
1960
|
files: [
|
|
@@ -1977,7 +1978,7 @@ var package_default = {
|
|
|
1977
1978
|
test: "node --test tests/**/*.test.mjs"
|
|
1978
1979
|
},
|
|
1979
1980
|
dependencies: {
|
|
1980
|
-
"@create-node-app/core": "
|
|
1981
|
+
"@create-node-app/core": "^0.5.5",
|
|
1981
1982
|
axios: "^1.12.2",
|
|
1982
1983
|
"ci-info": "^4.3.0",
|
|
1983
1984
|
commander: "^14.0.1",
|
|
@@ -2117,7 +2118,7 @@ We recommend always using the latest version of create-awesome-node-app if possi
|
|
|
2117
2118
|
}
|
|
2118
2119
|
const { useYarn, usePnpm, ...restOpts } = opts;
|
|
2119
2120
|
const packageManager = useYarn ? "yarn" : usePnpm ? "pnpm" : "npm";
|
|
2120
|
-
const templatesOrExtensions = [restOpts.template].filter(Boolean).reduce((acc, templateOrExtension) => {
|
|
2121
|
+
const templatesOrExtensions = [restOpts.template].concat(Array.isArray(restOpts.extend) ? restOpts.extend : []).filter(Boolean).reduce((acc, templateOrExtension) => {
|
|
2121
2122
|
if (!templateOrExtension) return acc;
|
|
2122
2123
|
return acc.concat({ url: templateOrExtension });
|
|
2123
2124
|
}, []);
|
package/dist/index.js
CHANGED
|
@@ -1934,7 +1934,7 @@ var getCnaOptions = async (options) => {
|
|
|
1934
1934
|
// package.json
|
|
1935
1935
|
var package_default = {
|
|
1936
1936
|
name: "create-awesome-node-app",
|
|
1937
|
-
version: "0.6.
|
|
1937
|
+
version: "0.6.6",
|
|
1938
1938
|
type: "module",
|
|
1939
1939
|
description: "Command line tool to create Node apps with a lot of different templates and extensions.",
|
|
1940
1940
|
license: "MIT",
|
|
@@ -1962,7 +1962,8 @@ var package_default = {
|
|
|
1962
1962
|
exports: {
|
|
1963
1963
|
".": {
|
|
1964
1964
|
types: "./dist/index.d.ts",
|
|
1965
|
-
import: "./index.js"
|
|
1965
|
+
import: "./index.js",
|
|
1966
|
+
require: "./dist/index.cjs"
|
|
1966
1967
|
}
|
|
1967
1968
|
},
|
|
1968
1969
|
files: [
|
|
@@ -1986,7 +1987,7 @@ var package_default = {
|
|
|
1986
1987
|
test: "node --test tests/**/*.test.mjs"
|
|
1987
1988
|
},
|
|
1988
1989
|
dependencies: {
|
|
1989
|
-
"@create-node-app/core": "
|
|
1990
|
+
"@create-node-app/core": "^0.5.5",
|
|
1990
1991
|
axios: "^1.12.2",
|
|
1991
1992
|
"ci-info": "^4.3.0",
|
|
1992
1993
|
commander: "^14.0.1",
|
|
@@ -2126,7 +2127,7 @@ We recommend always using the latest version of create-awesome-node-app if possi
|
|
|
2126
2127
|
}
|
|
2127
2128
|
const { useYarn, usePnpm, ...restOpts } = opts;
|
|
2128
2129
|
const packageManager = useYarn ? "yarn" : usePnpm ? "pnpm" : "npm";
|
|
2129
|
-
const templatesOrExtensions = [restOpts.template].filter(Boolean).reduce((acc, templateOrExtension) => {
|
|
2130
|
+
const templatesOrExtensions = [restOpts.template].concat(Array.isArray(restOpts.extend) ? restOpts.extend : []).filter(Boolean).reduce((acc, templateOrExtension) => {
|
|
2130
2131
|
if (!templateOrExtension) return acc;
|
|
2131
2132
|
return acc.concat({ url: templateOrExtension });
|
|
2132
2133
|
}, []);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-awesome-node-app",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
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",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
30
30
|
"types": "./dist/index.d.ts",
|
|
31
|
-
"import": "./index.js"
|
|
31
|
+
"import": "./index.js",
|
|
32
|
+
"require": "./dist/index.cjs"
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
35
|
"files": [
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
"test": "node --test tests/**/*.test.mjs"
|
|
53
54
|
},
|
|
54
55
|
"dependencies": {
|
|
55
|
-
"@create-node-app/core": "
|
|
56
|
+
"@create-node-app/core": "^0.5.5",
|
|
56
57
|
"axios": "^1.12.2",
|
|
57
58
|
"ci-info": "^4.3.0",
|
|
58
59
|
"commander": "^14.0.1",
|