Skip to content

Commit

Permalink
doc: updated demo
Browse files Browse the repository at this point in the history
  • Loading branch information
jfayot committed Dec 17, 2024
1 parent 5bfe4eb commit 0395f19
Show file tree
Hide file tree
Showing 11 changed files with 1,309 additions and 233 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
dist
**/lint.html
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"cSpell.words": [
"rafale"
]
}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# vite-plugin-cesium-engine

## 1.1.5

### Patch Changes

- Updated demo

## 1.1.4

### Patch Changes
Expand Down
22 changes: 22 additions & 0 deletions demo/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// @ts-check

import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import react from "eslint-plugin-react";
import reactHooks from "eslint-plugin-react-hooks";

export default [
eslint.configs.recommended,
...tseslint.configs.recommended,
{
files: ["./packages/**/src/**/*.{ts,tsx}"],
plugins: {
react: react,
"react-hook": reactHooks,
},
rules: {
...react.configs.recommended.rules,
...reactHooks.configs.recommended.rules,
},
},
];
11 changes: 5 additions & 6 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint": "eslint ./**/*.{ts,tsx} -f html -o lint.html",
"preview": "vite preview"
},
"dependencies": {
Expand All @@ -17,14 +17,13 @@
"devDependencies": {
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.2",
"@typescript-eslint/eslint-plugin": "^8.18.0",
"@typescript-eslint/parser": "^8.18.0",
"@vitejs/plugin-react": "^4.3.4",
"eslint": "^9.16.0",
"eslint": "^9.17.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.16",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.1",
"vite": "^6.0.3",
"vite-plugin-cesium-engine": "^1.1.3"
"vite-plugin-cesium-engine": "^1.1.4"
}
}
Loading

0 comments on commit 0395f19

Please sign in to comment.