Skip to content

Commit

Permalink
fix: added rimraf for building on Windows (#1036)
Browse files Browse the repository at this point in the history
  • Loading branch information
CorieW authored Oct 10, 2024
1 parent 53b8b97 commit 061ab92
Show file tree
Hide file tree
Showing 40 changed files with 546 additions and 74 deletions.
5 changes: 3 additions & 2 deletions genkit-tools/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.5.16",
"scripts": {
"compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json",
"build:clean": "rm -rf ./lib",
"build:clean": "rimraf ./lib",
"build": "npm-run-all build:clean compile",
"test": "jest --verbose",
"build:watch": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json --watch"
Expand Down Expand Up @@ -50,7 +50,8 @@
"genversion": "^3.2.0",
"npm-run-all": "^4.1.5",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"rimraf": "^6.0.1"
},
"repository": {
"type": "git",
Expand Down
5 changes: 3 additions & 2 deletions genkit-tools/plugins/firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
"version": "0.5.10",
"scripts": {
"compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json",
"build:clean": "rm -rf ./lib",
"build:clean": "rimraf ./lib",
"build": "npm-run-all build:clean compile",
"build:watch": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json --watch"
},
"devDependencies": {
"@genkit-ai/tools-common": "workspace:*",
"@types/node": "^20.11.19",
"npm-run-all": "^4.1.5",
"typescript": "^4.9.0"
"typescript": "^4.9.0",
"rimraf": "^6.0.1"
},
"types": "lib/types/index.d.ts",
"exports": {
Expand Down
5 changes: 3 additions & 2 deletions genkit-tools/plugins/google/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
"version": "0.5.10",
"scripts": {
"compile": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json",
"build:clean": "rm -rf ./lib",
"build:clean": "rimraf ./lib",
"build": "npm-run-all build:clean compile",
"build:watch": "tsc -b ./tsconfig.cjs.json ./tsconfig.esm.json ./tsconfig.types.json --watch"
},
"devDependencies": {
"@genkit-ai/tools-common": "workspace:*",
"@types/node": "^20.11.19",
"npm-run-all": "^4.1.5",
"typescript": "^4.9.0"
"typescript": "^4.9.0",
"rimraf": "^6.0.1"
},
"types": "lib/types/index.d.ts",
"exports": {
Expand Down
76 changes: 76 additions & 0 deletions genkit-tools/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions js/ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scripts": {
"check": "tsc",
"compile": "tsup-node",
"build:clean": "rm -rf ./lib",
"build:clean": "rimraf ./lib",
"build": "npm-run-all build:clean check compile",
"build:watch": "tsup-node --watch",
"test": "node --import tsx --test ./tests/**/*_test.ts",
Expand All @@ -39,7 +39,8 @@
"npm-run-all": "^4.1.5",
"tsup": "^8.0.2",
"tsx": "^4.7.1",
"typescript": "^4.9.0"
"typescript": "^4.9.0",
"rimraf": "^6.0.1"
},
"types": "lib/index.d.ts",
"exports": {
Expand Down
5 changes: 3 additions & 2 deletions js/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scripts": {
"check": "tsc",
"compile": "tsup-node",
"build:clean": "rm -rf ./lib",
"build:clean": "rimraf ./lib",
"build": "npm-run-all genversion build:clean check compile",
"build:watch": "tsup-node --watch",
"test": "node --import tsx --test tests/*_test.ts",
Expand Down Expand Up @@ -46,7 +46,8 @@
"npm-run-all": "^4.1.5",
"tsup": "^8.0.2",
"tsx": "^4.7.0",
"typescript": "^4.9.0"
"typescript": "^4.9.0",
"rimraf": "^6.0.1"
},
"types": "lib/index.d.ts",
"exports": {
Expand Down
5 changes: 3 additions & 2 deletions js/flow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"check": "tsc",
"compile": "tsup-node",
"build:clean": "rm -rf ./lib",
"build:clean": "rimraf ./lib",
"build": "npm-run-all build:clean check compile",
"build:watch": "tsup-node --watch",
"test": "node --import tsx --test tests/*_test.ts"
Expand Down Expand Up @@ -45,7 +45,8 @@
"tsup": "^8.0.2",
"typescript": "^4.9.0",
"tsx": "^4.7.1",
"@types/body-parser": "^1.19.5"
"@types/body-parser": "^1.19.5",
"rimraf": "^6.0.1"
},
"files": [
"genkit-ui",
Expand Down
5 changes: 3 additions & 2 deletions js/plugins/chroma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"scripts": {
"check": "tsc",
"compile": "tsup-node",
"build:clean": "rm -rf ./lib",
"build:clean": "rimraf ./lib",
"build": "npm-run-all build:clean check compile",
"build:watch": "tsup-node --watch"
},
Expand All @@ -43,7 +43,8 @@
"npm-run-all": "^4.1.5",
"tsup": "^8.0.2",
"tsx": "^4.7.0",
"typescript": "^4.9.0"
"typescript": "^4.9.0",
"rimraf": "^6.0.1"
},
"types": "./lib/index.d.ts",
"exports": {
Expand Down
5 changes: 3 additions & 2 deletions js/plugins/dev-local-vectorstore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"check": "tsc",
"compile": "tsup-node",
"build:clean": "rm -rf ./lib",
"build:clean": "rimraf ./lib",
"build": "npm-run-all build:clean check compile",
"build:watch": "tsup-node --watch"
},
Expand All @@ -40,7 +40,8 @@
"npm-run-all": "^4.1.5",
"tsup": "^8.0.2",
"tsx": "^4.7.0",
"typescript": "^4.9.0"
"typescript": "^4.9.0",
"rimraf": "^6.0.1"
},
"types": "./lib/index.d.ts",
"exports": {
Expand Down
5 changes: 3 additions & 2 deletions js/plugins/dotprompt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"check": "tsc",
"compile": "tsup-node",
"build:clean": "rm -rf ./lib",
"build:clean": "rimraf ./lib",
"build": "npm-run-all build:clean check compile",
"build:watch": "tsup-node --watch",
"test": "tsx --test tests/*_test.ts"
Expand Down Expand Up @@ -42,7 +42,8 @@
"tsup": "^8.0.2",
"tsx": "^4.7.0",
"typescript": "^4.9.0",
"yaml": "^2.4.1"
"yaml": "^2.4.1",
"rimraf": "^6.0.1"
},
"types": "./lib/index.d.ts",
"exports": {
Expand Down
Loading

0 comments on commit 061ab92

Please sign in to comment.