Skip to content

Commit 13e6e3b

Browse files
committed
build: Published package contents were narrowed
1 parent 84f15ed commit 13e6e3b

2 files changed

Lines changed: 24 additions & 22 deletions

File tree

.npmignore

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
1-
.github
2-
.husky
3-
.idea
4-
coverage
5-
node_modules
6-
src
7-
tests
8-
9-
.commitlintrc.json
10-
.gitignore
11-
.npmrc
12-
.versionrc.json
13-
codecov.yml
14-
docker-compose.yml
15-
eslint.config.mjs
16-
tsconfig.json
17-
vite.config.basic.ts
18-
vite.config.ts
19-
vitest.config.ts
20-
yarn.lock
21-
22-
Makefile
1+
# Publish only runtime artifacts and end-user docs.
2+
*
3+
!package.json
4+
!README.md
5+
!CHANGELOG.md
6+
!logo.png
7+
!dist/
8+
!dist/**
9+
!types/
10+
!types/**
11+
!docs/
12+
!docs/**
13+
!LICENSE
14+
!LICENSE.*
15+
!LICENCE
16+
!LICENCE.*

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,14 @@
9393
"publishConfig": {
9494
"access": "public"
9595
},
96+
"files": [
97+
"dist",
98+
"types",
99+
"docs",
100+
"README.md",
101+
"CHANGELOG.md",
102+
"logo.png"
103+
],
96104
"keywords": [
97105
"validate",
98106
"validator",

0 commit comments

Comments
 (0)