create-bot-ts 1.0.4 → 1.0.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/index.js +13 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -190,7 +190,7 @@ cp.exec("npm init -y", { cwd: process.cwd() }, () => {
|
|
|
190
190
|
color: "yellow",
|
|
191
191
|
});
|
|
192
192
|
cp.exec(
|
|
193
|
-
`yarn add --dev eslint eslint-config-airbnb-base eslint-config-prettier eslint-import-resolver-node eslint-plugin-import eslint-plugin-prettier @typescript-eslint/eslint-plugin @typescript-eslint/parser husky lint-staged node-notifier prettier ts-node ts-node-dev`,
|
|
193
|
+
`yarn add --dev eslint eslint-config-airbnb-base eslint-config-prettier eslint-import-resolver-node eslint-plugin-import eslint-plugin-prettier @typescript-eslint/eslint-plugin @types/node @typescript-eslint/parser husky lint-staged node-notifier prettier ts-node ts-node-dev typescript`,
|
|
194
194
|
{ cwd: process.cwd() },
|
|
195
195
|
() => {
|
|
196
196
|
spinner.update({
|
|
@@ -200,6 +200,18 @@ cp.exec("npm init -y", { cwd: process.cwd() }, () => {
|
|
|
200
200
|
cp.execSync("yarn dlx husky-init --yarn2", {
|
|
201
201
|
cwd: process.cwd(),
|
|
202
202
|
});
|
|
203
|
+
spinner.update({
|
|
204
|
+
text: "Setting up sdks...",
|
|
205
|
+
color: "cyan",
|
|
206
|
+
});
|
|
207
|
+
|
|
208
|
+
cp.execSync(
|
|
209
|
+
"yarn dlx @yarnpkg/sdks vscode",
|
|
210
|
+
{
|
|
211
|
+
cwd: process.cwd(),
|
|
212
|
+
}
|
|
213
|
+
);
|
|
214
|
+
|
|
203
215
|
spinner.update({
|
|
204
216
|
text: "Adding scripts...",
|
|
205
217
|
color: "magenta",
|