Skip to content

Commit 3d37d87

Browse files
chore: Replace cp with cpy-cli (#5441)
Co-authored-by: Dominik Dorfmeister <[email protected]>
1 parent 3c32a64 commit 3d37d87

File tree

4 files changed

+185
-11
lines changed

4 files changed

+185
-11
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"bundlewatch": "^0.3.3",
6161
"chalk": "^4.1.2",
6262
"concurrently": "^7.6.0",
63+
"cpy-cli": "^4.2.0",
6364
"current-git-branch": "^1.1.0",
6465
"eslint": "^8.34.0",
6566
"eslint-config-prettier": "^8.6.0",

packages/react-query-devtools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"test:types": "tsc",
4444
"test:lib": "vitest run --coverage",
4545
"test:lib:dev": "pnpm run test:lib --watch",
46-
"build:types": "tsc --build && cp build/lib/index.d.ts build/lib/index.prod.d.ts"
46+
"build:types": "tsc --build && cpy build/lib/index.d.ts build/lib/index.prod.d.ts"
4747
},
4848
"devDependencies": {
4949
"@tanstack/react-query": "workspace:*",

packages/react-query/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"test:types": "tsc",
2929
"test:lib": "vitest run --coverage",
3030
"test:lib:dev": "pnpm run test:lib --watch",
31-
"build": "mkdir -p ./build && cp -R ../codemods/src ./build/codemods",
31+
"build": "cpy ../codemods/src/**/* ./build/codemods",
3232
"build:types": "tsc --build"
3333
},
3434
"files": [

0 commit comments

Comments
 (0)