Skip to content

Commit f09f1dd

Browse files
chore: output files to lib, not dist (#94)
* chore: output files to lib, not dist * Simplified .npmignore
1 parent bfd36bf commit f09f1dd

File tree

8 files changed

+18
-8
lines changed

8 files changed

+18
-8
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dist
1+
lib

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
coverage/
2-
dist/
2+
lib/
33
node_modules/

.markdownlintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.github/CODE_OF_CONDUCT.md
2-
dist/
2+
lib/
33
node_modules/

.npmignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
.*
2+
./*.js
13
.github/
24
.vscode/
5+
*.config.*
36
*.test.*
47
coverage/
8+
cspell.json
59
pnpm-lock.yaml
10+
tsconfig*.json

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
dist/
1+
lib/
22
pnpm-lock.yaml

cspell.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"dictionaries": ["typescript"],
33
"ignorePaths": [
44
".github",
5-
"dist",
5+
"lib",
66
"node_modules",
77
"pnpm-lock.yaml",
88
"script/*.json"

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,13 @@
4545
"lint-staged": {
4646
"*": "prettier --ignore-unknown --write"
4747
},
48-
"main": "./dist/index.js",
48+
"main": "./lib/index.js",
4949
"name": "template-typescript-node-package",
5050
"packageManager": "[email protected]",
51+
"repository": {
52+
"type": "git",
53+
"url": "https://github.com/JoshuaKGoldberg/template-typescript-node-package"
54+
},
5155
"scripts": {
5256
"build": "tsc",
5357
"format": "prettier \"**/*\" --ignore-unknown",

tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
"declarationMap": true,
55
"esModuleInterop": true,
66
"moduleResolution": "node",
7-
"outDir": "dist",
7+
"outDir": "lib",
88
"skipLibCheck": true,
99
"sourceMap": true,
1010
"strict": true,
1111
"target": "ES2021"
12-
}
12+
},
13+
"include": ["src"]
1314
}

0 commit comments

Comments
 (0)