create-faas-app 0.0.4-beta.9 → 0.0.5-beta.2
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.js +2 -15
- package/dist/index.mjs +2 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -55,25 +55,14 @@ production:
|
|
|
55
55
|
"private": true,
|
|
56
56
|
"scripts": {
|
|
57
57
|
"serve": "faas server",
|
|
58
|
-
"lint": "eslint --ext .ts .",
|
|
59
58
|
"test": "jest"
|
|
60
59
|
},
|
|
61
60
|
"dependencies": {
|
|
62
61
|
"faasjs": "*"
|
|
63
62
|
},
|
|
64
63
|
"devDependencies": {
|
|
65
|
-
"@faasjs/eslint-config-recommended": "*",
|
|
66
64
|
"@faasjs/jest": "*"
|
|
67
65
|
},
|
|
68
|
-
"eslintConfig": {
|
|
69
|
-
"extends": [
|
|
70
|
-
"@faasjs/recommended"
|
|
71
|
-
]
|
|
72
|
-
},
|
|
73
|
-
"eslintIgnore": [
|
|
74
|
-
"tmp",
|
|
75
|
-
"coverage"
|
|
76
|
-
],
|
|
77
66
|
"jest": {
|
|
78
67
|
"transform": {
|
|
79
68
|
".(jsx|tsx?)": "@faasjs/jest"
|
|
@@ -125,8 +114,7 @@ coverage/
|
|
|
125
114
|
"editor.wordWrap": "on",
|
|
126
115
|
"files.insertFinalNewline": true,
|
|
127
116
|
"files.trimFinalNewlines": true,
|
|
128
|
-
"files.trimTrailingWhitespace": true
|
|
129
|
-
"eslint.packageManager": "npm"
|
|
117
|
+
"files.trimTrailingWhitespace": true
|
|
130
118
|
}
|
|
131
119
|
`
|
|
132
120
|
);
|
|
@@ -134,7 +122,6 @@ coverage/
|
|
|
134
122
|
path.join(answers.name, ".vscode", "extensions.json"),
|
|
135
123
|
`{
|
|
136
124
|
"recommendations": [
|
|
137
|
-
"dbaeumer.vscode-eslint",
|
|
138
125
|
"faasjs.faasjs-snippets"
|
|
139
126
|
]
|
|
140
127
|
}
|
|
@@ -177,7 +164,7 @@ describe('hello', function () {
|
|
|
177
164
|
}
|
|
178
165
|
}
|
|
179
166
|
function action_default(program) {
|
|
180
|
-
program.description("\u521B\u5EFA\u65B0\u9879\u76EE").on("--help",
|
|
167
|
+
program.description("\u521B\u5EFA\u65B0\u9879\u76EE").on("--help", () => {
|
|
181
168
|
console.log(`
|
|
182
169
|
Examples:
|
|
183
170
|
npx create-faas-app`);
|
package/dist/index.mjs
CHANGED
|
@@ -53,25 +53,14 @@ production:
|
|
|
53
53
|
"private": true,
|
|
54
54
|
"scripts": {
|
|
55
55
|
"serve": "faas server",
|
|
56
|
-
"lint": "eslint --ext .ts .",
|
|
57
56
|
"test": "jest"
|
|
58
57
|
},
|
|
59
58
|
"dependencies": {
|
|
60
59
|
"faasjs": "*"
|
|
61
60
|
},
|
|
62
61
|
"devDependencies": {
|
|
63
|
-
"@faasjs/eslint-config-recommended": "*",
|
|
64
62
|
"@faasjs/jest": "*"
|
|
65
63
|
},
|
|
66
|
-
"eslintConfig": {
|
|
67
|
-
"extends": [
|
|
68
|
-
"@faasjs/recommended"
|
|
69
|
-
]
|
|
70
|
-
},
|
|
71
|
-
"eslintIgnore": [
|
|
72
|
-
"tmp",
|
|
73
|
-
"coverage"
|
|
74
|
-
],
|
|
75
64
|
"jest": {
|
|
76
65
|
"transform": {
|
|
77
66
|
".(jsx|tsx?)": "@faasjs/jest"
|
|
@@ -123,8 +112,7 @@ coverage/
|
|
|
123
112
|
"editor.wordWrap": "on",
|
|
124
113
|
"files.insertFinalNewline": true,
|
|
125
114
|
"files.trimFinalNewlines": true,
|
|
126
|
-
"files.trimTrailingWhitespace": true
|
|
127
|
-
"eslint.packageManager": "npm"
|
|
115
|
+
"files.trimTrailingWhitespace": true
|
|
128
116
|
}
|
|
129
117
|
`
|
|
130
118
|
);
|
|
@@ -132,7 +120,6 @@ coverage/
|
|
|
132
120
|
join(answers.name, ".vscode", "extensions.json"),
|
|
133
121
|
`{
|
|
134
122
|
"recommendations": [
|
|
135
|
-
"dbaeumer.vscode-eslint",
|
|
136
123
|
"faasjs.faasjs-snippets"
|
|
137
124
|
]
|
|
138
125
|
}
|
|
@@ -175,7 +162,7 @@ describe('hello', function () {
|
|
|
175
162
|
}
|
|
176
163
|
}
|
|
177
164
|
function action_default(program) {
|
|
178
|
-
program.description("\u521B\u5EFA\u65B0\u9879\u76EE").on("--help",
|
|
165
|
+
program.description("\u521B\u5EFA\u65B0\u9879\u76EE").on("--help", () => {
|
|
179
166
|
console.log(`
|
|
180
167
|
Examples:
|
|
181
168
|
npx create-faas-app`);
|