create-faas-app 5.0.0-beta.3 → 5.0.0-beta.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.
- package/README.md +2 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +3 -5
- package/dist/index.mjs +3 -5
- package/index.mjs +5 -0
- package/package.json +2 -2
- package/index.cjs +0 -3
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -164,13 +164,11 @@ commander.storeOptionsAsProperties(false).allowUnknownOption(true).name("create-
|
|
|
164
164
|
action_default(commander);
|
|
165
165
|
async function main() {
|
|
166
166
|
try {
|
|
167
|
-
|
|
168
|
-
await commander.parseAsync(process.argv);
|
|
167
|
+
await commander.parseAsync(process.argv);
|
|
169
168
|
} catch (error) {
|
|
170
169
|
console.error(error);
|
|
171
|
-
process.exit(1);
|
|
172
170
|
}
|
|
171
|
+
return commander;
|
|
173
172
|
}
|
|
174
|
-
var index_default = main();
|
|
175
173
|
|
|
176
|
-
|
|
174
|
+
exports.main = main;
|
package/dist/index.mjs
CHANGED
|
@@ -162,13 +162,11 @@ commander.storeOptionsAsProperties(false).allowUnknownOption(true).name("create-
|
|
|
162
162
|
action_default(commander);
|
|
163
163
|
async function main() {
|
|
164
164
|
try {
|
|
165
|
-
|
|
166
|
-
await commander.parseAsync(process.argv);
|
|
165
|
+
await commander.parseAsync(process.argv);
|
|
167
166
|
} catch (error) {
|
|
168
167
|
console.error(error);
|
|
169
|
-
process.exit(1);
|
|
170
168
|
}
|
|
169
|
+
return commander;
|
|
171
170
|
}
|
|
172
|
-
var index_default = main();
|
|
173
171
|
|
|
174
|
-
export {
|
|
172
|
+
export { main };
|
package/index.mjs
ADDED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-faas-app",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"bin": {
|
|
10
|
-
"create-faas-app": "index.
|
|
10
|
+
"create-faas-app": "index.mjs"
|
|
11
11
|
},
|
|
12
12
|
"homepage": "https://faasjs.com/doc/create-faas-app",
|
|
13
13
|
"repository": {
|
package/index.cjs
DELETED