From bc0f0bf08ffc698171cb1e92d5c3e50188ef242d Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Fri, 26 Aug 2022 16:38:41 -0400 Subject: [PATCH] add foundkey-js to each workspace package.json --- packages/backend/package.json | 1 + packages/client/package.json | 1 + packages/foundkey-js/package.json | 5 +++-- packages/sw/package.json | 1 + yarn.lock | 5 ++++- 5 files changed, 10 insertions(+), 3 deletions(-) diff --git a/packages/backend/package.json b/packages/backend/package.json index 17b26623b..7bfe0571d 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -50,6 +50,7 @@ "feed": "4.2.2", "file-type": "17.1.2", "fluent-ffmpeg": "2.1.2", + "foundkey-js": "workspace:*", "got": "12.1.0", "hpagent": "0.1.2", "ioredis": "4.28.5", diff --git a/packages/client/package.json b/packages/client/package.json index e03a7131a..d3741d8e7 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -38,6 +38,7 @@ "escape-regexp": "0.0.1", "eventemitter3": "4.0.7", "feed": "4.2.2", + "foundkey-js": "workspace:*", "idb-keyval": "6.2.0", "insert-text-at-cursor": "0.3.0", "json5": "2.2.1", diff --git a/packages/foundkey-js/package.json b/packages/foundkey-js/package.json index 6c541f9fe..1df848fc6 100644 --- a/packages/foundkey-js/package.json +++ b/packages/foundkey-js/package.json @@ -6,14 +6,15 @@ "main": "./built/index.js", "types": "./built/index.d.ts", "scripts": { - "build": "npm run tsc", + "prepare": "yarn build", + "build": "yarn run tsc", "tsc": "tsc", "tsd": "tsd", "api": "npx api-extractor run --local --verbose", "api-prod": "npx api-extractor run --verbose", "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "jest": "jest --coverage --detectOpenHandles", - "test": "npm run jest && npm run tsd" + "test": "yarn jest && yarn tsd" }, "devDependencies": { "@microsoft/api-extractor": "^7.19.3", diff --git a/packages/sw/package.json b/packages/sw/package.json index b063bff73..43ed93390 100644 --- a/packages/sw/package.json +++ b/packages/sw/package.json @@ -9,6 +9,7 @@ }, "dependencies": { "esbuild": "^0.14.13", + "foundkey-js": "workspace:*", "idb-keyval": "^6.0.3" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index b0241206a..4f15ae6f2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3871,6 +3871,7 @@ __metadata: file-type: 17.1.2 fluent-ffmpeg: 2.1.2 form-data: ^4.0.0 + foundkey-js: "workspace:*" got: 12.1.0 hpagent: 0.1.2 ioredis: 4.28.5 @@ -4943,6 +4944,7 @@ __metadata: eslint-plugin-vue: ^9.1.1 eventemitter3: 4.0.7 feed: 4.2.2 + foundkey-js: "workspace:*" idb-keyval: 6.2.0 insert-text-at-cursor: 0.3.0 json5: 2.2.1 @@ -7851,7 +7853,7 @@ __metadata: languageName: node linkType: hard -"foundkey-js@workspace:packages/foundkey-js": +"foundkey-js@workspace:*, foundkey-js@workspace:packages/foundkey-js": version: 0.0.0-use.local resolution: "foundkey-js@workspace:packages/foundkey-js" dependencies: @@ -16143,6 +16145,7 @@ __metadata: dependencies: esbuild: ^0.14.13 eslint: ^8.20.0 + foundkey-js: "workspace:*" idb-keyval: ^6.0.3 languageName: unknown linkType: soft