Skip to content

Commit 19b834a

Browse files
committed
Bumped versions
Modified versions of packages and dependencies in order to make sure they works across different versions of peer dependencies and was using the latest.
1 parent b0a936a commit 19b834a

File tree

9 files changed

+6623
-6793
lines changed

9 files changed

+6623
-6793
lines changed

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.11.0
1+
22.13.1

eslint.config.js

+10
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ import tseslint from 'typescript-eslint';
44
import * as depend from 'eslint-plugin-depend';
55

66
export default [
7+
{
8+
rules: {
9+
'depend/ban-dependencies': [
10+
'error',
11+
{
12+
allowed: ['fs-extra'],
13+
},
14+
],
15+
},
16+
},
717
{ ignores: ['**/dist/'] },
818
{ files: ['**/*.{ts,tsx}'] },
919
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },

example/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
"@storybook/test": "next",
2222
"autoprefixer": "^10.4.20",
2323
"postcss": "^8.4.47",
24-
"solid-devtools": "^0.29.2",
24+
"solid-devtools": "^0.33.0",
2525
"storybook": "next",
2626
"storybook-solidjs": "workspace:*",
2727
"storybook-solidjs-vite": "workspace:*",
2828
"tailwindcss": "^3.4.14",
29-
"typescript": "^5.6.3",
30-
"vite": "^5.4.8",
29+
"typescript": "5.7.3",
30+
"vite": "^6.0.0",
3131
"vite-plugin-solid": "^2.8.2"
3232
},
3333
"dependencies": {

example/src/index.css

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
body {
66
margin: 0;
7-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
8-
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
9-
sans-serif;
7+
font-family:
8+
-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
9+
'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
1010
-webkit-font-smoothing: antialiased;
1111
-moz-osx-font-smoothing: grayscale;
1212
}
1313

1414
code {
15-
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
16-
monospace;
15+
font-family:
16+
source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
1717
}

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@
3333
"solid-js": "^1.9.3",
3434
"sort-package-json": "^2.10.1",
3535
"ts-node": "^10.9.2",
36-
"tsup": "^8.3.0",
37-
"typescript": "^5.6.3",
38-
"typescript-eslint": "^8.10.0",
36+
"tsup": "^8.4.0",
37+
"type-fest": "^4.35.0",
38+
"typescript": "5.7.3",
39+
"typescript-eslint": "^8.25.0",
3940
"vitest": "^2.1.4"
4041
},
4142
"scripts": {

packages/frameworks/solid-vite/package.json

+11-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "storybook-solidjs-vite",
3-
"version": "1.0.0-beta.6",
3+
"version": "1.0.0-beta.7",
44
"description": "Storybook for SolidJS and Vite: Develop SolidJS in isolation with Hot Reloading.",
55
"keywords": [
66
"storybook"
@@ -50,15 +50,20 @@
5050
},
5151
"dependencies": {
5252
"@storybook/builder-vite": "next",
53+
"@storybook/types": "next",
5354
"magic-string": "^0.30.11",
54-
"vite-plugin-solid": "^2.10.2"
55+
"storybook-solidjs": "workspace:*"
5556
},
5657
"devDependencies": {
57-
"@storybook/types": "next",
58-
"solid-js": "^1.9.3",
58+
"solid-js": "~1.9.0",
5959
"storybook": "next",
60-
"storybook-solidjs": "workspace:*",
61-
"vite": "^5.4.8"
60+
"vite": "^4.0.0 || ^5.0.0 || ^6.0.0"
61+
},
62+
"peerDependencies": {
63+
"solid-js": "~1.9.0",
64+
"storybook": "*",
65+
"vite": "^4.0.0 || ^5.0.0 || ^6.0.0",
66+
"vite-plugin-solid": "^2.10.0"
6267
},
6368
"engines": {
6469
"node": ">=18"

packages/renderers/solid/package.json

+14-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "storybook-solidjs",
3-
"version": "1.0.0-beta.6",
3+
"version": "1.0.0-beta.7",
44
"description": "Storybook SolidJS renderer",
55
"keywords": [
66
"storybook"
@@ -45,18 +45,27 @@
4545
"build": "npx jiti ../../../scripts/prepare/build.ts",
4646
"check": "npx jiti ../../../scripts/prepare/check.ts"
4747
},
48-
"devDependencies": {
48+
"dependencies": {
49+
"@babel/standalone": "^7.26.2",
4950
"@storybook/docs-tools": "next",
5051
"@storybook/global": "^5.0.0",
5152
"@storybook/preview-api": "next",
52-
"@storybook/test": "next",
5353
"@storybook/types": "next",
5454
"@types/babel__standalone": "link:.yarn/cache/null",
55-
"async-mutex": "^0.5.0",
55+
"async-mutex": "^0.5.0"
56+
},
57+
"devDependencies": {
5658
"storybook": "next"
5759
},
5860
"peerDependencies": {
59-
"solid-js": "^1.9.3"
61+
"@storybook/test": "*",
62+
"solid-js": "~1.9.0",
63+
"storybook": "*"
64+
},
65+
"peerDependenciesMeta": {
66+
"@storybook/test": {
67+
"optional": true
68+
}
6069
},
6170
"engines": {
6271
"node": ">=18.0.0"
@@ -72,8 +81,5 @@
7281
"./src/entry-preview-docs.tsx"
7382
],
7483
"platform": "browser"
75-
},
76-
"dependencies": {
77-
"@babel/standalone": "^7.26.2"
7884
}
7985
}

scripts/prepare/build.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const run = async ({ cwd, flags }: { cwd: string; flags: string[] }) => {
125125
clean: false,
126126
...(dtsBuild === 'esm' ? dtsConfig : {}),
127127
platform: platform || 'browser',
128-
esbuildPlugins:
128+
plugins:
129129
platform === 'node'
130130
? [solidPlugin()]
131131
: [
@@ -159,7 +159,7 @@ const run = async ({ cwd, flags }: { cwd: string; flags: string[] }) => {
159159
...(dtsBuild === 'cjs' ? dtsConfig : {}),
160160
platform: 'node',
161161
clean: false,
162-
esbuildPlugins: [solidPlugin()],
162+
plugins: [solidPlugin()],
163163
external: externals,
164164
outExtension,
165165

0 commit comments

Comments
 (0)