Skip to content

Commit

Permalink
Merge pull request #4 from invm/main
Browse files Browse the repository at this point in the history
chore(deps): update everything but eslint
  • Loading branch information
alxnddr authored Sep 1, 2024
2 parents d2117dc + 42820ef commit 380359b
Show file tree
Hide file tree
Showing 6 changed files with 1,569 additions and 776 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ gitignore

# tsup
tsup.config.bundled_*.{m,c,}s
.DS_Store
44 changes: 23 additions & 21 deletions dev/App.tsx
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
import type { Component } from 'solid-js'
import type { Component, ParentComponent } from 'solid-js'
import styles from './App.module.css'
import { MonacoPlayground } from './MonacoPlayground'
import { MonacoDiffPlayground } from './MonacoDiffPlayground'
import { A, Route, Router, Routes } from '@solidjs/router'
import { A, Route, Router } from '@solidjs/router'

const App: Component = () => {
const Wrapper: ParentComponent = props => {
return (
<Router>
<div class={styles.root}>
<div class={styles.header}>
solid-monaco playground
<div class={styles.nav}>
<A href="/" class={styles.navItem} activeClass={styles.navItemActive} end>
Editor
</A>
<A href="/diff" class={styles.navItem} activeClass={styles.navItemActive} end>
Diff Editor
</A>
</div>
</div>
<div class={styles.editorContainer}>
<Routes>
<Route path="/" component={MonacoPlayground} />
<Route path="/diff" component={MonacoDiffPlayground} />
</Routes>
<div class={styles.root}>
<div class={styles.header}>
solid-monaco playground
<div class={styles.nav}>
<A href="/" class={styles.navItem} activeClass={styles.navItemActive} end>
Editor
</A>
<A href="/diff" class={styles.navItem} activeClass={styles.navItemActive} end>
Diff Editor
</A>
</div>
</div>
<div class={styles.editorContainer}>{props.children}</div>
</div>
)
}

const App: Component = () => {
return (
<Router root={Wrapper}>
<Route path="/" component={MonacoPlayground} />
<Route path="/diff" component={MonacoDiffPlayground} />
</Router>
)
}
Expand Down
41 changes: 21 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,35 +47,36 @@
"prepublishOnly": "pnpm build",
"format": "prettier --ignore-path .gitignore -w \"src/**/*.{js,ts,json,css,tsx,jsx}\" \"dev/**/*.{js,ts,json,css,tsx,jsx}\"",
"lint": "concurrently pnpm:lint:*",
"lint:code": "eslint --ignore-path .gitignore --max-warnings 0 src/**/*.{js,ts,tsx,jsx}",
"lint:code": "eslint --max-warnings 0 \"src/**/*.{js,ts,tsx,jsx}\"",
"lint:types": "tsc --noEmit",
"update-deps": "pnpm up -Li"
},
"peerDependencies": {
"monaco-editor": "^0.43.0",
"solid-js": "^1.6.0"
"monaco-editor": "^0.48.0",
"solid-js": "^1.8.0"
},
"devDependencies": {
"@solidjs/router": "^0.8.3",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"concurrently": "^8.2.0",
"esbuild": "^0.18.15",
"@solidjs/router": "^0.13.2",
"@solidjs/testing-library": "^0.8.7",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^7.7.1",
"@typescript-eslint/parser": "^7.7.1",
"concurrently": "^8.2.2",
"esbuild": "^0.20.2",
"esbuild-plugin-solid": "^0.5.0",
"eslint": "^8.45.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"jsdom": "^22.1.0",
"monaco-editor": "^0.43.0",
"prettier": "3.0.0",
"solid-js": "^1.7.8",
"solid-testing-library": "^0.5.1",
"tsup": "^7.1.0",
"tsup-preset-solid": "^2.0.1",
"typescript": "^5.1.6",
"vite": "^4.4.6",
"vite-plugin-solid": "^2.7.0",
"vitest": "^0.33.0"
"jsdom": "^24.0.0",
"monaco-editor": "^0.48.0",
"prettier": "3.2.5",
"solid-js": "^1.8.17",
"tsup": "^8.0.2",
"tsup-preset-solid": "^2.2.0",
"typescript": "^5.4.5",
"vite": "^5.2.10",
"vite-plugin-solid": "^2.10.2",
"vitest": "^1.5.2"
},
"keywords": [
"solid"
Expand All @@ -86,6 +87,6 @@
"pnpm": ">=8.6.0"
},
"dependencies": {
"@monaco-editor/loader": "^1.3.3"
"@monaco-editor/loader": "^1.4.0"
}
}
Loading

0 comments on commit 380359b

Please sign in to comment.