Fix vs code extension. Prepare for new release. (#2011)
Fixes an issue with VS Code extension. Seem like we don't need to pass in the tools and utils any longer. Prepares the vs code extension for a new release (bumps version, updates changelog). ### Change Type - [x] `patch` — Bug fix Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
This commit is contained in:
parent
1f21f11886
commit
f3cecf5c55
4 changed files with 6 additions and 13 deletions
|
@ -30,7 +30,7 @@ The code is hot-reloaded, so the developer experience is quite nice.
|
||||||
|
|
||||||
## Publishing
|
## Publishing
|
||||||
|
|
||||||
Update the `CHANGELOG.md` with the new version number and the changes.
|
Update the version in the `apps/vscode/extension/package.json`. Update the `apps/vscode/extension/CHANGELOG.md` with the new version number and the changes.
|
||||||
|
|
||||||
To publish:
|
To publish:
|
||||||
|
|
||||||
|
|
|
@ -3,15 +3,7 @@ import { linksUiOverrides } from './utils/links'
|
||||||
import '@tldraw/tldraw/tldraw.css'
|
import '@tldraw/tldraw/tldraw.css'
|
||||||
// eslint-disable-next-line import/no-internal-modules
|
// eslint-disable-next-line import/no-internal-modules
|
||||||
import { getAssetUrlsByImport } from '@tldraw/assets/imports'
|
import { getAssetUrlsByImport } from '@tldraw/assets/imports'
|
||||||
import {
|
import { Editor, ErrorBoundary, TLUiMenuSchema, Tldraw, setRuntimeOverrides } from '@tldraw/tldraw'
|
||||||
Editor,
|
|
||||||
ErrorBoundary,
|
|
||||||
TLUiMenuSchema,
|
|
||||||
Tldraw,
|
|
||||||
defaultShapeTools,
|
|
||||||
defaultShapeUtils,
|
|
||||||
setRuntimeOverrides,
|
|
||||||
} from '@tldraw/tldraw'
|
|
||||||
import { useCallback, useEffect, useMemo, useState } from 'react'
|
import { useCallback, useEffect, useMemo, useState } from 'react'
|
||||||
import { VscodeMessage } from '../../messages'
|
import { VscodeMessage } from '../../messages'
|
||||||
import '../public/index.css'
|
import '../public/index.css'
|
||||||
|
@ -130,8 +122,6 @@ function TldrawInner({ uri, assetSrc, isDarkMode, fileContents }: TLDrawInnerPro
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Tldraw
|
<Tldraw
|
||||||
shapeUtils={defaultShapeUtils}
|
|
||||||
tools={defaultShapeTools}
|
|
||||||
assetUrls={assetUrls}
|
assetUrls={assetUrls}
|
||||||
persistenceKey={uri}
|
persistenceKey={uri}
|
||||||
onMount={handleMount}
|
onMount={handleMount}
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
## 2.0.12
|
||||||
|
- Bug fixes and performance improvements.
|
||||||
|
|
||||||
## 2.0.11
|
## 2.0.11
|
||||||
- Added cloud shape.
|
- Added cloud shape.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "tldraw-vscode",
|
"name": "tldraw-vscode",
|
||||||
"description": "The tldraw extension for VS Code.",
|
"description": "The tldraw extension for VS Code.",
|
||||||
"version": "2.0.11",
|
"version": "2.0.12",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "yarn@3.5.0",
|
"packageManager": "yarn@3.5.0",
|
||||||
"author": {
|
"author": {
|
||||||
|
|
Loading…
Reference in a new issue