Skip to content

Commit

Permalink
fix umd build for sandpack (TypeCellOS#117)
Browse files Browse the repository at this point in the history
* fix umd build for sandpack

* v0.4.3-alpha.0
  • Loading branch information
YousefED authored Mar 11, 2023
1 parent 824c336 commit 8eeacb3
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 52 deletions.
6 changes: 3 additions & 3 deletions examples/editor/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@blocknote/example-editor",
"private": true,
"version": "0.4.2",
"version": "0.4.3-alpha.0",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
Expand All @@ -10,14 +10,14 @@
},
"dependencies": {
"@blocknote/core": "^0.4.2",
"@blocknote/react": "^0.4.2",
"@blocknote/react": "^0.4.3-alpha.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"@vitejs/plugin-react": "^1.0.7",
"@vitejs/plugin-react": "^3.1.0",
"eslint": "^8.10.0",
"eslint-config-react-app": "^7.0.0",
"typescript": "^4.5.4",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useNx": false,
"useWorkspaces": true,
"version": "0.4.2"
"version": "0.4.3-alpha.0"
}
104 changes: 62 additions & 42 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"homepage": "https://github.com/yousefed/blocknote",
"private": false,
"license": "MPL-2.0",
"version": "0.4.2",
"version": "0.4.3-alpha.0",
"files": [
"dist",
"types",
Expand Down Expand Up @@ -57,12 +57,12 @@
"devDependencies": {
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"@vitejs/plugin-react": "^1.0.7",
"@vitejs/plugin-react": "^3.1.0",
"eslint": "^8.10.0",
"eslint-config-react-app": "^7.0.0",
"prettier": "^2.7.1",
"typescript": "^4.5.4",
"vite": "^4.1.2",
"vite": "^4.1.4",
"vite-plugin-eslint": "^1.8.1"
},
"peerDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/react/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default defineConfig({
react: "React",
"react-dom": "ReactDOM",
},
interop: "compat", // https://rollupjs.org/migration/#changed-defaults
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ClientOnly>
<Sandbox
:rtl="rtl"
:template="template"
:template="'react-ts'"
:light-theme="lightTheme"
:dark-theme="darkTheme"
:options="{
Expand Down
4 changes: 2 additions & 2 deletions packages/website/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "blocknote-website",
"private": true,
"version": "0.4.2",
"version": "0.4.3-alpha.0",
"description": "Website for BlockNote",
"main": "index.js",
"scripts": {
Expand All @@ -12,7 +12,7 @@
"author": "",
"license": "MPL-2.0",
"dependencies": {
"@blocknote/react": "^0.4.2",
"@blocknote/react": "^0.4.3-alpha.0",
"veaury": "^2.3.12",
"vue-github-button": "^3.1.0"
},
Expand Down

0 comments on commit 8eeacb3

Please sign in to comment.