Skip to content

Commit

Permalink
Use cpy-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins committed May 26, 2023
1 parent 06db843 commit ce5ce40
Show file tree
Hide file tree
Showing 6 changed files with 185 additions and 25 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"bundlewatch": "^0.3.3",
"chalk": "^4.1.2",
"concurrently": "^7.6.0",
"cpy-cli": "^4.2.0",
"current-git-branch": "^1.1.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-query-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"test:types": "tsc",
"test:lib": "vitest run --coverage",
"test:lib:dev": "pnpm run test:lib --watch",
"build:types": "tsc --build && node scripts/copy-types.js"
"build:types": "tsc --build && cpy build/lib/index.d.ts build/lib/index.prod.d.ts"
},
"devDependencies": {
"@tanstack/react-query": "workspace:*",
Expand Down
7 changes: 0 additions & 7 deletions packages/react-query-devtools/scripts/copy-types.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"test:types": "tsc",
"test:lib": "vitest run --coverage",
"test:lib:dev": "pnpm run test:lib --watch",
"build": "node scripts/copy-codemods.js",
"build": "cpy ../codemods/src/**/* ./build/codemods",
"build:types": "tsc --build"
},
"files": [
Expand Down
7 changes: 0 additions & 7 deletions packages/react-query/scripts/copy-codemods.js

This file was deleted.

Loading

0 comments on commit ce5ce40

Please sign in to comment.