Skip to content

Commit 3d0b547

Browse files
build(deps): lock file maintenance (#307)
* build(deps): lock file maintenance * Run npm run lint:fix --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Keegan Campbell <[email protected]>
1 parent 086f41c commit 3d0b547

File tree

3 files changed

+320
-206
lines changed

3 files changed

+320
-206
lines changed

lib/create-esbuild-script.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ async function main() {
9090
answers.supportsBrowsers && answers.supportsNode
9191
? dualBuildOptions
9292
: answers.supportsNode
93-
? nodeBuildOptions
94-
: answers.supportsBrowsers
95-
? browserBuildOptions
96-
: ""
93+
? nodeBuildOptions
94+
: answers.supportsBrowsers
95+
? browserBuildOptions
96+
: ""
9797
}\n
9898
// Copy the README, LICENSE to the pkg folder
9999
await copyFile("LICENSE", "pkg/LICENSE");

lib/prompts.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ async function prompts({ username, name, email, website, useOctokitOrg }) {
4646
const typePrefix = answers.isPlugin
4747
? "plugin-"
4848
: answers.isAuthenticationStrategy
49-
? "auth-"
50-
: "";
49+
? "auth-"
50+
: "";
5151
const example = `${scopePrefix}${typePrefix}example`;
5252
return `What npm package name should the project have? (Example: ${example})`;
5353
},
@@ -89,8 +89,8 @@ async function prompts({ username, name, email, website, useOctokitOrg }) {
8989
const type = answers.isPlugin
9090
? "plugin"
9191
: answers.isAuthenticationStrategy
92-
? "authentication strategy"
93-
: "module";
92+
? "authentication strategy"
93+
: "module";
9494

9595
const example = getDefaultExportName(answers);
9696
const question = `What is the main export of the ${type}?`;

0 commit comments

Comments
 (0)