Skip to content

Commit

Permalink
code lines sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
NazmusSayad committed Jul 28, 2024
1 parent f1cabea commit 1edc621
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "npmize",
"description": "Let's create an npm package without worrying about anything.",
"version": "0.0.10",
"version": "0.0.11",
"bin": "./dist/index.js",
"scripts": {
"lab": "nodemon ./src/__lab.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default {
name: 'npmize' as Lowercase<string>,
description: 'A tool to help you publish your package to npm with ease',
tempBuildDir: './.npmize',
defaultOutDir: './dist',
tempBuildDir: './.npmize',
ghWorkflowDir: './.github/workflows',
}
4 changes: 2 additions & 2 deletions src/program/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default function (basePath: string, options: InitOptions) {
}

if (options.writeGitIgnore) {
updateIgnoreFile('./.gitignore', ['node_modules', 'dist', '.npmize'])
updateIgnoreFile('./.gitignore', ['dist', '.npmize', 'node_modules'])
} else {
console.log(ansiColors.bgGreen(' INFO: '), 'Gitignore is disabled')
}
Expand All @@ -91,8 +91,8 @@ export default function (basePath: string, options: InitOptions) {
'*',
'!lib/**',
'!dist/**',
'!package.json',
'!README.md',
'!package.json',
])
} else {
console.log(ansiColors.bgGreen(' INFO: '), 'Npmignore is disabled')
Expand Down

0 comments on commit 1edc621

Please sign in to comment.