Skip to content

Commit c5b4b4d

Browse files
committed
build: dont ship QA toold nor their configs
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 9602d04 commit c5b4b4d

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

.npmignore

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,18 +167,26 @@ dist
167167
!/tsconfig.*
168168
!/webpack.*
169169

170+
/examples/
171+
172+
# ignore tests
170173
/test/
171174
/tests/
172175
*.spec.*
173176
*.test.*
174177

175-
/examples/
176-
178+
# ignore QA-tools and their configs
177179
/tools/
178-
eslint.*
180+
/eslint.*
181+
/knip.*
182+
/tsdoc.*
183+
/typedoc.*
179184

185+
# ignore process reports
180186
/reports/
181187
/CI_reports/
188+
189+
# ignore package targets
182190
/packed/
183191
/CI_packed/
184192

package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119
"browser": "./dist.web/lib.js",
120120
"default": "./dist.node/index.node.js"
121121
},
122-
"./package.json": "./package.json",
123122
"./Builders": {
124123
"types": "./dist.d/builders/index.node.d.ts",
125124
"default": "./dist.node/builders/index.node.js"
@@ -159,6 +158,16 @@
159158
"./Validation": {
160159
"types": "./dist.d/validation/index.node.d.ts",
161160
"default": "./dist.node/validation/index.node.js"
161+
},
162+
"./package.json": "./package.json",
163+
"./src": {
164+
"default": "./src/index.ts",
165+
"types": "./src/index.ts"
166+
}
167+
},
168+
"typesVersions": {
169+
"*": {
170+
"source/*": ["src/*"]
162171
}
163172
},
164173
"directories": {

0 commit comments

Comments
 (0)