Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 125d42b

Browse files
authored
fix: missing files on publish (#4056)
When using `copyfiles` globstars need to be quoted on a Mac otherwise they don't work See the README at https://www.npmjs.com/package/copyfiles Fixes #3976
1 parent 1082fce commit 125d42b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/interface-ipfs-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
},
4848
"scripts": {
4949
"clean": "rimraf ./dist",
50-
"build": "aegir build && copyfiles ./test/fixtures/**/*, ./dist/cjs && copyfiles ./test/fixtures/**/*, ./dist/esm",
50+
"build": "aegir build && copyfiles './test/fixtures/**/*' ./dist/cjs && copyfiles './test/fixtures/**/*' ./dist/esm",
5151
"lint": "aegir ts -p check && aegir lint",
5252
"dep-check": "aegir dep-check -i ipfs-core-types -i rimraf -i copyfiles"
5353
},

packages/ipfs-core-types/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"clean": "rimraf ./dist",
1010
"lint": "aegir ts -p check && aegir lint",
11-
"build": "aegir build && copyfiles src/* src/**/* package.json README.md CHANGELOG.md COPYRIGHT LICENSE-APACHE LICENSE-MIT dist"
11+
"build": "aegir build && copyfiles 'src/**/*' package.json README.md CHANGELOG.md COPYRIGHT LICENSE-APACHE LICENSE-MIT dist"
1212
},
1313
"files": [
1414
"*",

0 commit comments

Comments
 (0)