Skip to content

Commit

Permalink
change dir
Browse files Browse the repository at this point in the history
change dir
  • Loading branch information
yakiisama committed Mar 19, 2023
1 parent da17c30 commit ca14d88
Show file tree
Hide file tree
Showing 21 changed files with 11 additions and 8 deletions.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@
"bin": {
"taco": "index.js"
},
"keywords": [
"cli",
"template",
"boilerplate"
],
"files": [
"index.js",
"template-*",
"template",
"dist"
],
"scripts": {
Expand Down
12 changes: 5 additions & 7 deletions src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { fileURLToPath } from 'node:url';
const getDirName = (filename: string) => {
const templateDir = path.resolve(
fileURLToPath(import.meta.url),
'../..',
`template-${filename}`,
'../../templates',
`${filename}`,
);
return templateDir;
};
Expand Down Expand Up @@ -60,16 +60,14 @@ export const main = async () => {
}
s.stop(`Creating project success!`);
let nextSteps = `cd ${project.name} \n
pnpm install \n
pnpm start`;
pnpm install \n
pnpm start`;

p.note(nextSteps, 'Next steps.');

p.outro(
`Problems? ${color.underline(
color.cyan(
'https://github.com/BlackBerry009/create-boilerplate-cli/issues',
),
color.cyan('https://github.com/BlackBerry009/taco-launch'),
)}`,
);
},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ca14d88

Please sign in to comment.