Skip to content

Commit 55ce899

Browse files
authored
chore: update dependencies (#72)
1 parent 752a6b9 commit 55ce899

File tree

103 files changed

+2460
-1607
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+2460
-1607
lines changed

.github/workflows/check-typescript.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
name: Install pnpm
3030
id: pnpm-install
3131
with:
32-
version: 7
32+
version: 8
3333
run_install: false
3434

3535
- name: Get pnpm store directory

.github/workflows/format-files.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
name: Install pnpm
3030
id: pnpm-install
3131
with:
32-
version: 7
32+
version: 8
3333
run_install: false
3434

3535
- name: Get pnpm store directory
@@ -50,4 +50,4 @@ jobs:
5050
run: pnpm install
5151

5252
- name: Run Rome Format
53-
run: pnpm exec rome ci src/
53+
run: pnpm dlx @biomejs/biome ci src/

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: Install pnpm
2121
id: pnpm-install
2222
with:
23-
version: 7
23+
version: 8
2424
run_install: false
2525
- name: Get pnpm store directory
2626
id: pnpm-cache

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Our [Discord server](https://discord.gg/uUw8Hj4AzE) is open for help and more ad
99
## Getting Started
1010

1111
Building this project requires Node.js [`v19.1.0`](./.nvmrc), which can be installed using [nvm](https://github.com/nvm-sh/nvm) (recommended) or [Node.js](https://nodejs.org/).
12-
We use pnpm `7.17.0` as a package manager, which can be installed following [pnpm Installation](https://pnpm.io/installation).
12+
We use pnpm `8.10.2` as a package manager, which can be installed following [pnpm Installation](https://pnpm.io/installation).
1313

1414
Clone the repository and navigate to the `design` directory:
1515
```bash

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,20 @@ A simple, fast and modern [SolidJS](https://www.solidjs.com) UI library.
3333
# Usage
3434
Install `@jundao/design` and peer dependency fonts:
3535
```bash
36-
npm install @jundao/design@alpha @fontsource/inter @fontsource/jetbrains-mono
36+
npm install @jundao/design@alpha @fontsource-variable/inter @fontsource-variable/jetbrains-mono
3737
# or
38-
yarn add @jundao/design@alpha @fontsource/inter @fontsource/jetbrains-mono
38+
yarn add @jundao/design@alpha @fontsource-variable/inter @fontsource-variable/jetbrains-mono
3939
# or
40-
pnpm add @jundao/design@alpha @fontsource/inter @fontsource/jetbrains-mono
40+
pnpm add @jundao/design@alpha @fontsource-variable/inter @fontsource-variable/jetbrains-mono
4141
```
4242

4343
Import in entrypoint:
4444
```ts
4545
import "@jundao/design/index.css";
4646

4747
// Fonts
48-
import "@fontsource/inter/variable-full.css";
49-
import "@fontsource/jetbrains-mono/variable.css";
50-
import "@fontsource/jetbrains-mono/variable-italic.css";
48+
import "@fontsource-variable/inter";
49+
import "@fontsource-variable/jetbrains-mono";
5150
```
5251

5352
Import components:
@@ -81,7 +80,6 @@ Currently implemented & planned components:
8180
- [ ] Form
8281
- [ ] Grid
8382
- [ ] HoverCard
84-
- [x] Icon
8583
- [x] Image
8684
- [x] Input
8785
- [x] Label

biome.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.3.3/schema.json",
3+
"organizeImports": {
4+
"enabled": true
5+
},
6+
"linter": {
7+
"enabled": true,
8+
"rules": {
9+
"recommended": true,
10+
"style": {
11+
"noNonNullAssertion": "off"
12+
},
13+
"a11y": {
14+
"noSvgWithoutTitle": "off"
15+
}
16+
}
17+
}
18+
}

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"version": "0.0.0-development",
55
"description": "A simple, fast and modern SolidJS UI library.",
66
"scripts": {
7-
"check": "rome check src/",
8-
"format": "rome format src/ --write",
7+
"check": "pnpm dlx @biomejs/biome check src/",
8+
"format": "pnpm dlx @biomejs/biome format src/ --write",
99
"check-typescript": "tsc --noEmit",
10-
"storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 6006 --no-open",
10+
"storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 4000 --no-open",
1111
"build-storybook": "cross-env NODE_OPTIONS=--openssl-legacy-provider build-storybook && cp .storybook/favicon.ico storybook-static",
1212
"ca": "pnpm format && pnpm check && pnpm check-typescript",
1313
"build": "tsup"
@@ -43,6 +43,7 @@
4343
"@babel/core": "^7.21.0",
4444
"@babel/preset-env": "^7.20.2",
4545
"@babel/preset-typescript": "^7.21.0",
46+
"@biomejs/biome": "1.3.3",
4647
"@semantic-release/commit-analyzer": "^9.0.2",
4748
"@semantic-release/github": "^8.0.7",
4849
"@semantic-release/npm": "^9.0.2",
@@ -67,11 +68,10 @@
6768
"esbuild": "^0.17.11",
6869
"esbuild-sass-plugin": "^2.6.0",
6970
"resolve": "^1.22.1",
70-
"rome": "^11.0.0",
7171
"sass": "^1.58.3",
7272
"semantic-release": "^20.1.1",
7373
"solid-devtools": "^0.26.0",
74-
"solid-js": "^1.6.15",
74+
"solid-js": "^1.8.5",
7575
"storybook-dark-mode": "^2.1.1",
7676
"tsup": "^6.6.3",
7777
"tsup-preset-solid": "^0.1.8",
@@ -80,14 +80,15 @@
8080
"vite-plugin-solid": "^2.6.1"
8181
},
8282
"dependencies": {
83-
"@kobalte/core": "^0.8.0",
83+
"@kobalte/core": "^0.11.2",
8484
"@neodrag/solid": "^2.0.3",
8585
"@solid-primitives/autofocus": "^0.0.100",
8686
"@solid-primitives/event-listener": "^2.2.9",
8787
"@solid-primitives/media": "^2.1.5",
8888
"@solid-primitives/props": "^3.1.1",
89-
"@solid-primitives/refs": "^0.3.7",
90-
"remixicon": "^2.5.0",
89+
"@solid-primitives/refs": "^1.0.5",
90+
"intl-messageformat": "10.5.4",
91+
"solid-icons": "^1.1.0",
9192
"solid-transition-group": "^0.0.12"
9293
},
9394
"peerDependencies": {

0 commit comments

Comments
 (0)