Skip to content

Commit 1c32707

Browse files
fix: include tippy dependency (#294)
* upgrade vite, install tippy * v0.8.4-alpha.0 * update package lock * Added ESLint config file * fix eslint * Updated ESLint config and package dependencies --------- Co-authored-by: Matthew Lipski <[email protected]>
1 parent 82f1345 commit 1c32707

File tree

9 files changed

+14013
-14073
lines changed

9 files changed

+14013
-14073
lines changed

.eslintrc.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
root: true,
3+
extends: ["react-app", "react-app/jest"],
4+
plugins: ["import"],
5+
rules: {
6+
curly: 1,
7+
"import/no-extraneous-dependencies": [
8+
"error",
9+
{
10+
devDependencies: true,
11+
optionalDependencies: false,
12+
peerDependencies: false,
13+
bundledDependencies: false,
14+
},
15+
],
16+
},
17+
};

examples/editor/package.json

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,30 @@
11
{
22
"name": "@blocknote/example-editor",
33
"private": true,
4-
"version": "0.8.3",
4+
"version": "0.8.4-alpha.0",
55
"scripts": {
66
"dev": "vite",
77
"build": "tsc && vite build",
88
"preview": "vite preview",
99
"lint": "eslint src --max-warnings 0"
1010
},
1111
"dependencies": {
12-
"@blocknote/core": "^0.8.3",
13-
"@blocknote/react": "^0.8.3",
12+
"@blocknote/core": "^0.8.4-alpha.0",
13+
"@blocknote/react": "^0.8.4-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": "^3.1.0",
20+
"@vitejs/plugin-react": "^4.0.4",
2121
"eslint": "^8.10.0",
22-
"eslint-config-react-app": "^7.0.0",
23-
"typescript": "^5.0.4",
24-
"vite": "^4.1.2",
22+
"vite": "^4.4.8",
2523
"vite-plugin-eslint": "^1.8.1"
2624
},
2725
"eslintConfig": {
2826
"extends": [
29-
"react-app",
30-
"react-app/jest"
31-
],
32-
"rules": {
33-
"curly": 1
34-
}
27+
"../../.eslintrc.js"
28+
]
3529
}
3630
}

examples/vanilla/package.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,25 @@
11
{
22
"name": "@blocknote/example-vanilla",
33
"private": true,
4-
"version": "0.8.3",
4+
"version": "0.8.4-alpha.0",
55
"scripts": {
66
"dev": "vite",
77
"build": "tsc && vite build",
88
"preview": "vite preview",
99
"lint": "eslint src --max-warnings 0"
1010
},
1111
"dependencies": {
12-
"@blocknote/core": "^0.8.3"
12+
"@blocknote/core": "^0.8.4-alpha.0"
1313
},
1414
"devDependencies": {
1515
"eslint": "^8.10.0",
16-
"eslint-config-react-app": "^7.0.0",
1716
"typescript": "^5.0.4",
18-
"vite": "^4.1.2",
17+
"vite": "^4.4.8",
1918
"vite-plugin-eslint": "^1.8.1"
2019
},
2120
"eslintConfig": {
2221
"extends": [
23-
"react-app",
24-
"react-app/jest"
25-
],
26-
"rules": {
27-
"curly": 1
28-
}
22+
"../../.eslintrc.js"
23+
]
2924
}
3025
}

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.8.3"
5+
"version": "0.8.4-alpha.0"
66
}

0 commit comments

Comments
 (0)