Skip to content

Commit

Permalink
refactor: clean up VSCode settings fix template option for non-op
Browse files Browse the repository at this point in the history
  • Loading branch information
rsaz committed Nov 26, 2024
1 parent 47701a7 commit 054afe1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
15 changes: 0 additions & 15 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
{
"cSpell.ignoreWords": ["Expresso"],
"workbench.colorCustomizations": {
// "activityBar.foreground": "#38e715",
// "activityBarBadge.background": "#248d0f",
// "activityBarBadge.foreground": "#fcfcfc",
// "sideBar.border": "#38e715",
// "sideBarTitle.foreground": "#38e715",
// "sideBarSectionHeader.border": "#38e715",
// "editorGroupHeader.border": "#38e715",
// "editorGroupHeader.tabsBorder": "#38e715",
// "tab.border": "#38e715",
// "tab.activeBorderTop": "#38e715",
// "panel.border": "#38e715",
// "statusBar.border": "#38e715",
// "statusBar.foreground": "#38e715"
},
"editor.rulers": [120],
"cSpell.words": ["nonopinionated", "usecase"],
"typescript.tsdk": "node_modules\\typescript\\lib"
Expand Down
4 changes: 3 additions & 1 deletion src/new/form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { centerText } from "../utils/center-text";
import { printError } from "../utils/cli-ui";
import { changePackageName } from "../utils/change-package-info";
import { BUNDLE_VERSION } from "../cli";
import { exit } from "node:process";

async function packageManagerInstall({
packageManager,
Expand Down Expand Up @@ -146,6 +147,7 @@ const projectForm = async (
template: Template;
confirm: boolean;
};

const [packageManager, template, directory] = args;

if (packageManager && template) {
Expand Down Expand Up @@ -180,7 +182,7 @@ const projectForm = async (
`Opinionated :: Automatically scaffolds resources into a preset project structure. (${chalk.yellow(
"Recommended",
)})`,
"Non-Opinionated :: Allows users to choose where to scaffold resources, offering flexible project organization.",
"NonOpinionated :: Allows users to choose where to scaffold resources, offering flexible project organization.",
"Micro :: A minimalistic template for building micro api's.",
],
},
Expand Down

0 comments on commit 054afe1

Please sign in to comment.