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

Commit

Permalink
fix: missing files on publish (#4056)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
achingbrain authored Mar 1, 2022
1 parent 1082fce commit 125d42b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"scripts": {
"clean": "rimraf ./dist",
"build": "aegir build && copyfiles ./test/fixtures/**/*, ./dist/cjs && copyfiles ./test/fixtures/**/*, ./dist/esm",
"build": "aegir build && copyfiles './test/fixtures/**/*' ./dist/cjs && copyfiles './test/fixtures/**/*' ./dist/esm",
"lint": "aegir ts -p check && aegir lint",
"dep-check": "aegir dep-check -i ipfs-core-types -i rimraf -i copyfiles"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-core-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"clean": "rimraf ./dist",
"lint": "aegir ts -p check && aegir lint",
"build": "aegir build && copyfiles src/* src/**/* package.json README.md CHANGELOG.md COPYRIGHT LICENSE-APACHE LICENSE-MIT dist"
"build": "aegir build && copyfiles 'src/**/*' package.json README.md CHANGELOG.md COPYRIGHT LICENSE-APACHE LICENSE-MIT dist"
},
"files": [
"*",
Expand Down

0 comments on commit 125d42b

Please sign in to comment.