create-awesome-node-app 0.6.5 → 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 +3 -3
- package/dist/index.js +3 -3
- package/package.json +2 -2
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",
|
|
@@ -1978,7 +1978,7 @@ var package_default = {
|
|
|
1978
1978
|
test: "node --test tests/**/*.test.mjs"
|
|
1979
1979
|
},
|
|
1980
1980
|
dependencies: {
|
|
1981
|
-
"@create-node-app/core": "^0.5.
|
|
1981
|
+
"@create-node-app/core": "^0.5.5",
|
|
1982
1982
|
axios: "^1.12.2",
|
|
1983
1983
|
"ci-info": "^4.3.0",
|
|
1984
1984
|
commander: "^14.0.1",
|
|
@@ -2118,7 +2118,7 @@ We recommend always using the latest version of create-awesome-node-app if possi
|
|
|
2118
2118
|
}
|
|
2119
2119
|
const { useYarn, usePnpm, ...restOpts } = opts;
|
|
2120
2120
|
const packageManager = useYarn ? "yarn" : usePnpm ? "pnpm" : "npm";
|
|
2121
|
-
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) => {
|
|
2122
2122
|
if (!templateOrExtension) return acc;
|
|
2123
2123
|
return acc.concat({ url: templateOrExtension });
|
|
2124
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",
|
|
@@ -1987,7 +1987,7 @@ var package_default = {
|
|
|
1987
1987
|
test: "node --test tests/**/*.test.mjs"
|
|
1988
1988
|
},
|
|
1989
1989
|
dependencies: {
|
|
1990
|
-
"@create-node-app/core": "^0.5.
|
|
1990
|
+
"@create-node-app/core": "^0.5.5",
|
|
1991
1991
|
axios: "^1.12.2",
|
|
1992
1992
|
"ci-info": "^4.3.0",
|
|
1993
1993
|
commander: "^14.0.1",
|
|
@@ -2127,7 +2127,7 @@ We recommend always using the latest version of create-awesome-node-app if possi
|
|
|
2127
2127
|
}
|
|
2128
2128
|
const { useYarn, usePnpm, ...restOpts } = opts;
|
|
2129
2129
|
const packageManager = useYarn ? "yarn" : usePnpm ? "pnpm" : "npm";
|
|
2130
|
-
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) => {
|
|
2131
2131
|
if (!templateOrExtension) return acc;
|
|
2132
2132
|
return acc.concat({ url: templateOrExtension });
|
|
2133
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",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"test": "node --test tests/**/*.test.mjs"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@create-node-app/core": "^0.5.
|
|
56
|
+
"@create-node-app/core": "^0.5.5",
|
|
57
57
|
"axios": "^1.12.2",
|
|
58
58
|
"ci-info": "^4.3.0",
|
|
59
59
|
"commander": "^14.0.1",
|