From c06353752ddba5b9904740fe7bc9e60b19e13ed7 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Tue, 1 Mar 2022 06:45:47 +0000 Subject: [PATCH] fix: missing files on publish 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 --- packages/interface-ipfs-core/package.json | 2 +- packages/ipfs-core-types/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/interface-ipfs-core/package.json b/packages/interface-ipfs-core/package.json index a1a5587a54..6f129b371e 100644 --- a/packages/interface-ipfs-core/package.json +++ b/packages/interface-ipfs-core/package.json @@ -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" }, diff --git a/packages/ipfs-core-types/package.json b/packages/ipfs-core-types/package.json index 83062cc85e..e480e836c7 100644 --- a/packages/ipfs-core-types/package.json +++ b/packages/ipfs-core-types/package.json @@ -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": [ "*",