Skip to content

Commit

Permalink
fix: npm .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
RulerChen committed Feb 6, 2024
1 parent c6b3a6d commit 85b7703
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
Empty file removed packages/.npmignore
Empty file.
4 changes: 2 additions & 2 deletions packages/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gen-express-cli",
"version": "0.0.2",
"version": "0.0.3",
"description": "A simple express cli to generate express app simply by running a command",
"main": "index.js",
"type": "module",
Expand Down
1 change: 1 addition & 0 deletions packages/scripts/createProject.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ async function createStructure(projectName, template) {
try {
await fsPromises.cp(path.join(TEMPLATES_PATH, template), PROJECT_PATH, { recursive: true });
await fsPromises.cp(COMMON_PATH, PROJECT_PATH, { recursive: true });
await fsPromises.rename(path.join(PROJECT_PATH, 'gitignore'), path.join(PROJECT_PATH, '.gitignore'));
} catch (error) {
throw error;
}
Expand Down
File renamed without changes.

0 comments on commit 85b7703

Please sign in to comment.