From 1fb5c633c5b0cf9fee06c7c214d56f81014567bc Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Wed, 17 Nov 2021 11:50:30 +0000 Subject: [PATCH] fix issue with create-react-app --- package.json | 3 ++- packages/tldraw/CHANGELOG.md | 4 ++++ packages/tldraw/package.json | 2 +- vscode/extension/package.json | 4 ++-- yarn.lock | 8 ++++---- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 2674211b7..2daa01cba 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "build": "yarn build:packages && cd www && yarn build", "build:packages": "cd packages/tldraw && yarn build", "publish:patch": "yarn test && yarn build:packages && lerna publish patch", - "publish:vscode": "cd vscode/extension && yarn version && yarn package && vsce publish", + "publish:vscode": "cd vscode/extension && yarn package && vsce publish", + "postpublish": "yarn publish:vscode", "docs": "lerna run docs", "docs:watch": "lerna run docs:watch", "postinstall": "husky install", diff --git a/packages/tldraw/CHANGELOG.md b/packages/tldraw/CHANGELOG.md index f1f3c7a2d..fb89ff296 100644 --- a/packages/tldraw/CHANGELOG.md +++ b/packages/tldraw/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.3 + +- Improves compatibility with Create React App. + ## 1.0.2 - Bumps rko dependency. diff --git a/packages/tldraw/package.json b/packages/tldraw/package.json index 843667034..86dc02c73 100644 --- a/packages/tldraw/package.json +++ b/packages/tldraw/package.json @@ -52,7 +52,7 @@ "@tldraw/vec": "latest", "perfect-freehand": "^1.0.16", "react-hotkeys-hook": "^3.4.0", - "rko": "^0.6.3", + "rko": "^0.6.4", "tslib": "^2.3.1" }, "devDependencies": { diff --git a/vscode/extension/package.json b/vscode/extension/package.json index 978e5a8d5..4ad1b14a6 100644 --- a/vscode/extension/package.json +++ b/vscode/extension/package.json @@ -63,7 +63,7 @@ "start:vscode": "node scripts/dev", "web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=.", "package": "cd ../editor && yarn build && cd ../extension && node scripts/build && node scripts/package", - "publish:patch": "yarn package && vsce publish", + "publish": "yarn package && vsce publish", "lint": "eslint src --ext ts" }, "devDependencies": { @@ -79,4 +79,4 @@ "typescript": "^4.4.3", "vsce": "^2.2.0" } -} +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 8a9dc4b4b..18e737ac6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12652,10 +12652,10 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: hash-base "^3.0.0" inherits "^2.0.1" -rko@^0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/rko/-/rko-0.6.3.tgz#3656aad8c678875ead1c485cb63d150dea3db453" - integrity sha512-1KsDCkS/buAwOFaaVLwuUwHTIeuZzlNbdNJFBnGdWKnLa7iKgfLdl7/IRe8q37A0GkSLNUBb9awNyiVekAHwNw== +rko@^0.6.4: + version "0.6.4" + resolved "https://registry.yarnpkg.com/rko/-/rko-0.6.4.tgz#40e2fe205032b623df26144db1f9c2cacab8818c" + integrity sha512-Nz3I+3NpoWS8rkQxC0ntjAWH9mtMq2xpnzlQMU6VvHZenIfF1O3saanw8YQa3CHVOqyfeH+Zwz8WDdWwJGN3LA== dependencies: idb-keyval "^6.0.3" zustand "^3.6.4"