Skip to content

Commit 8eeacb3

Browse files
authored
fix umd build for sandpack (#117)
* fix umd build for sandpack * v0.4.3-alpha.0
1 parent 824c336 commit 8eeacb3

File tree

7 files changed

+73
-52
lines changed

7 files changed

+73
-52
lines changed

examples/editor/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@blocknote/example-editor",
33
"private": true,
4-
"version": "0.4.2",
4+
"version": "0.4.3-alpha.0",
55
"scripts": {
66
"dev": "vite",
77
"build": "tsc && vite build",
@@ -10,14 +10,14 @@
1010
},
1111
"dependencies": {
1212
"@blocknote/core": "^0.4.2",
13-
"@blocknote/react": "^0.4.2",
13+
"@blocknote/react": "^0.4.3-alpha.0",
1414
"react": "^18.2.0",
1515
"react-dom": "^18.2.0"
1616
},
1717
"devDependencies": {
1818
"@types/react": "^18.0.25",
1919
"@types/react-dom": "^18.0.9",
20-
"@vitejs/plugin-react": "^1.0.7",
20+
"@vitejs/plugin-react": "^3.1.0",
2121
"eslint": "^8.10.0",
2222
"eslint-config-react-app": "^7.0.0",
2323
"typescript": "^4.5.4",

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
33
"useNx": false,
44
"useWorkspaces": true,
5-
"version": "0.4.2"
5+
"version": "0.4.3-alpha.0"
66
}

package-lock.json

Lines changed: 62 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/react/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"homepage": "https://github.com/yousefed/blocknote",
44
"private": false,
55
"license": "MPL-2.0",
6-
"version": "0.4.2",
6+
"version": "0.4.3-alpha.0",
77
"files": [
88
"dist",
99
"types",
@@ -57,12 +57,12 @@
5757
"devDependencies": {
5858
"@types/react": "^18.0.25",
5959
"@types/react-dom": "^18.0.9",
60-
"@vitejs/plugin-react": "^1.0.7",
60+
"@vitejs/plugin-react": "^3.1.0",
6161
"eslint": "^8.10.0",
6262
"eslint-config-react-app": "^7.0.0",
6363
"prettier": "^2.7.1",
6464
"typescript": "^4.5.4",
65-
"vite": "^4.1.2",
65+
"vite": "^4.1.4",
6666
"vite-plugin-eslint": "^1.8.1"
6767
},
6868
"peerDependencies": {

packages/react/vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export default defineConfig({
2929
react: "React",
3030
"react-dom": "ReactDOM",
3131
},
32+
interop: "compat", // https://rollupjs.org/migration/#changed-defaults
3233
},
3334
},
3435
},

packages/website/docs/.vitepress/theme/components/Sandbox/Sandbox.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<ClientOnly>
55
<Sandbox
66
:rtl="rtl"
7-
:template="template"
7+
:template="'react-ts'"
88
:light-theme="lightTheme"
99
:dark-theme="darkTheme"
1010
:options="{

packages/website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "blocknote-website",
33
"private": true,
4-
"version": "0.4.2",
4+
"version": "0.4.3-alpha.0",
55
"description": "Website for BlockNote",
66
"main": "index.js",
77
"scripts": {
@@ -12,7 +12,7 @@
1212
"author": "",
1313
"license": "MPL-2.0",
1414
"dependencies": {
15-
"@blocknote/react": "^0.4.2",
15+
"@blocknote/react": "^0.4.3-alpha.0",
1616
"veaury": "^2.3.12",
1717
"vue-github-button": "^3.1.0"
1818
},

0 commit comments

Comments
 (0)