Skip to content

Commit

Permalink
fix: include tippy dependency (#294)
Browse files Browse the repository at this point in the history
* 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 <matthewlipski@gmail.com>
  • Loading branch information
YousefED and matthewlipski authored Aug 3, 2023
1 parent 82f1345 commit 1c32707
Show file tree
Hide file tree
Showing 9 changed files with 14,013 additions and 14,073 deletions.
17 changes: 17 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
root: true,
extends: ["react-app", "react-app/jest"],
plugins: ["import"],
rules: {
curly: 1,
"import/no-extraneous-dependencies": [
"error",
{
devDependencies: true,
optionalDependencies: false,
peerDependencies: false,
bundledDependencies: false,
},
],
},
};
20 changes: 7 additions & 13 deletions examples/editor/package.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,30 @@
{
"name": "@blocknote/example-editor",
"private": true,
"version": "0.8.3",
"version": "0.8.4-alpha.0",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint src --max-warnings 0"
},
"dependencies": {
"@blocknote/core": "^0.8.3",
"@blocknote/react": "^0.8.3",
"@blocknote/core": "^0.8.4-alpha.0",
"@blocknote/react": "^0.8.4-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": "^3.1.0",
"@vitejs/plugin-react": "^4.0.4",
"eslint": "^8.10.0",
"eslint-config-react-app": "^7.0.0",
"typescript": "^5.0.4",
"vite": "^4.1.2",
"vite": "^4.4.8",
"vite-plugin-eslint": "^1.8.1"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"rules": {
"curly": 1
}
"../../.eslintrc.js"
]
}
}
15 changes: 5 additions & 10 deletions examples/vanilla/package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
{
"name": "@blocknote/example-vanilla",
"private": true,
"version": "0.8.3",
"version": "0.8.4-alpha.0",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint src --max-warnings 0"
},
"dependencies": {
"@blocknote/core": "^0.8.3"
"@blocknote/core": "^0.8.4-alpha.0"
},
"devDependencies": {
"eslint": "^8.10.0",
"eslint-config-react-app": "^7.0.0",
"typescript": "^5.0.4",
"vite": "^4.1.2",
"vite": "^4.4.8",
"vite-plugin-eslint": "^1.8.1"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"rules": {
"curly": 1
}
"../../.eslintrc.js"
]
}
}
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.8.3"
"version": "0.8.4-alpha.0"
}
Loading

0 comments on commit 1c32707

Please sign in to comment.