fix issue with create-react-app

This commit is contained in:
Steve Ruiz 2021-11-17 11:50:30 +00:00
parent 409f3513a1
commit 1fb5c633c5
5 changed files with 13 additions and 8 deletions

View file

@ -28,7 +28,8 @@
"build": "yarn build:packages && cd www && yarn build", "build": "yarn build:packages && cd www && yarn build",
"build:packages": "cd packages/tldraw && yarn build", "build:packages": "cd packages/tldraw && yarn build",
"publish:patch": "yarn test && yarn build:packages && lerna publish patch", "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": "lerna run docs",
"docs:watch": "lerna run docs:watch", "docs:watch": "lerna run docs:watch",
"postinstall": "husky install", "postinstall": "husky install",

View file

@ -1,3 +1,7 @@
## 1.0.3
- Improves compatibility with Create React App.
## 1.0.2 ## 1.0.2
- Bumps rko dependency. - Bumps rko dependency.

View file

@ -52,7 +52,7 @@
"@tldraw/vec": "latest", "@tldraw/vec": "latest",
"perfect-freehand": "^1.0.16", "perfect-freehand": "^1.0.16",
"react-hotkeys-hook": "^3.4.0", "react-hotkeys-hook": "^3.4.0",
"rko": "^0.6.3", "rko": "^0.6.4",
"tslib": "^2.3.1" "tslib": "^2.3.1"
}, },
"devDependencies": { "devDependencies": {

View file

@ -63,7 +63,7 @@
"start:vscode": "node scripts/dev", "start:vscode": "node scripts/dev",
"web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=.", "web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=.",
"package": "cd ../editor && yarn build && cd ../extension && node scripts/build && node scripts/package", "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" "lint": "eslint src --ext ts"
}, },
"devDependencies": { "devDependencies": {
@ -79,4 +79,4 @@
"typescript": "^4.4.3", "typescript": "^4.4.3",
"vsce": "^2.2.0" "vsce": "^2.2.0"
} }
} }

View file

@ -12652,10 +12652,10 @@ ripemd160@^2.0.0, ripemd160@^2.0.1:
hash-base "^3.0.0" hash-base "^3.0.0"
inherits "^2.0.1" inherits "^2.0.1"
rko@^0.6.3: rko@^0.6.4:
version "0.6.3" version "0.6.4"
resolved "https://registry.yarnpkg.com/rko/-/rko-0.6.3.tgz#3656aad8c678875ead1c485cb63d150dea3db453" resolved "https://registry.yarnpkg.com/rko/-/rko-0.6.4.tgz#40e2fe205032b623df26144db1f9c2cacab8818c"
integrity sha512-1KsDCkS/buAwOFaaVLwuUwHTIeuZzlNbdNJFBnGdWKnLa7iKgfLdl7/IRe8q37A0GkSLNUBb9awNyiVekAHwNw== integrity sha512-Nz3I+3NpoWS8rkQxC0ntjAWH9mtMq2xpnzlQMU6VvHZenIfF1O3saanw8YQa3CHVOqyfeH+Zwz8WDdWwJGN3LA==
dependencies: dependencies:
idb-keyval "^6.0.3" idb-keyval "^6.0.3"
zustand "^3.6.4" zustand "^3.6.4"