Skip to content

Commit 42e61d0

Browse files
author
Alexey Ryazanov
committed
chore: remove .npmignore from copying to package
1 parent 49c0b80 commit 42e61d0

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Build
3838
run: npm run build
3939

40-
- name: Copy declaration files
40+
- name: Copy release files
4141
run: npm run copy-release-files
4242

4343
- name: Release

.release-it.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"release": true
77
},
88
"npm": {
9-
"publishPath": "./build"
9+
"publishPath": "build"
1010
},
1111
"plugins": {
1212
"@release-it/conventional-changelog": {

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
"curry",
2525
"performance"
2626
],
27+
"files": [
28+
"build"
29+
],
2730
"sideEffects": false,
2831
"license": "Apache-2.0",
2932
"publishConfig": {

tools/copy-release-files.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const copyReleaseFiles = async () => {
1818
);
1919

2020
await Promise.all(
21-
['package.json', '.npmignore', 'README.md', 'LICENSE', 'CHANGELOG.md'].map(fileName =>
21+
['package.json', 'README.md', 'LICENSE', 'CHANGELOG.md'].map(fileName =>
2222
fsExtra.copy(
2323
path.join(ROOT_PATH, fileName),
2424
path.join(BUILD_PATH, fileName)

0 commit comments

Comments
 (0)