Skip to content

Commit 82fd9d7

Browse files
committed
chore: replace copyfiles with a in-house native package
1 parent 074828e commit 82fd9d7

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

packages/excel-builder-vanilla/copy-types.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { copyfiles } from 'native-copyfiles';
44
// copy all types (d.ts) files with same folder structures
55
const source = 'dist/**/*.d.{cts,ts}';
66
const destination = '../excel-builder-vanilla-types';
7-
copyfiles([source, destination], {}, err => {
7+
copyfiles([source, destination], { stat: true }, err => {
88
if (err) {
99
console.error(err);
1010
} else {

packages/excel-builder-vanilla/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
},
6565
"devDependencies": {
6666
"dts-bundle-generator": "^9.5.1",
67-
"native-copyfiles": "^0.2.1",
67+
"native-copyfiles": "^0.3.0",
6868
"typescript": "^5.7.3",
6969
"vite": "^6.0.11"
7070
}
71-
}
71+
}

pnpm-lock.yaml

Lines changed: 12 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)