Skip to content

Commit 2b8bc63

Browse files
committed
chore(deps): update dependencies
1 parent 51844f7 commit 2b8bc63

28 files changed

Lines changed: 6114 additions & 5795 deletions

.eslintrc.cjs

Lines changed: 0 additions & 46 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
22
"editor.codeActionsOnSave": {
33
"source.fixAll": "explicit"
4-
}
4+
},
5+
"eslint.workingDirectories": [
6+
"./apps/demo",
7+
"./packages/solid-snowfall"
8+
]
59
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
module.exports = {
1+
export default {
22
semi: true,
3-
trailingComma: 'all',
3+
trailingComma: "all",
44
singleQuote: false,
55
printWidth: 120,
66
tabWidth: 2,

apps/demo/eslint.config.mjs

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
import js from "@eslint/js";
2+
import eslintConfigPrettier from "eslint-config-prettier";
3+
import pluginPrettier from "eslint-plugin-prettier/recommended";
4+
import simpleImportSort from "eslint-plugin-simple-import-sort";
5+
import solidPlugin from "eslint-plugin-solid/configs/recommended";
6+
import tseslint from "typescript-eslint";
7+
8+
export default tseslint.config([
9+
{ ignores: [".solid/**", ".vercel/**", ".github/**", "**/dist/**", "node_modules/**", ".env", "pnpm-lock.yaml"] },
10+
11+
js.configs.recommended,
12+
tseslint.configs.recommended,
13+
pluginPrettier,
14+
eslintConfigPrettier,
15+
solidPlugin,
16+
{
17+
plugins: {
18+
"simple-import-sort": simpleImportSort,
19+
},
20+
21+
languageOptions: {
22+
ecmaVersion: 2024,
23+
sourceType: "module",
24+
25+
parserOptions: {
26+
ecmaFeatures: {
27+
jsx: true,
28+
},
29+
},
30+
},
31+
32+
rules: {
33+
"simple-import-sort/imports": [
34+
"error",
35+
{
36+
groups: [
37+
["^solid-(js|start)", "^@solidjs/"],
38+
["^@?\\w"],
39+
["^~/components/"],
40+
["^~/utils/"],
41+
["^\\u0000"],
42+
["^\\.\\.(?!/?$)", "^\\.\\./?$"],
43+
["^\\./(?=.*/)(?!/?$)", "^\\.(?!/?$)", "^\\./?$"],
44+
["^~/types$"],
45+
["^.+\\.?(s?css)$"],
46+
],
47+
},
48+
],
49+
50+
"simple-import-sort/exports": "error",
51+
},
52+
},
53+
]);

apps/demo/index.html

Lines changed: 44 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="manifest" href="/manifest.json" />
6-
<link rel="shortcut icon" href="/favicon.ico" />
7-
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
5+
<link
6+
rel="manifest"
7+
href="/manifest.json"
8+
/>
9+
<link
10+
rel="shortcut icon"
11+
href="/favicon.ico"
12+
/>
13+
<meta
14+
name="viewport"
15+
content="width=device-width, initial-scale=1, shrink-to-fit=no"
16+
/>
817
<!-- <link
918
rel="stylesheet"
1019
href="https://cdnjs.cloudflare.com/ajax/libs/nprogress/0.2.0/nprogress.min.css"
@@ -14,10 +23,27 @@
1423
href="https://fonts.googleapis.com/css?family=Montserrat|Work+Sans&display=swap"
1524
rel="stylesheet"
1625
/> -->
17-
<meta name="theme-color" content="#000000" />
18-
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
19-
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
20-
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
26+
<meta
27+
name="theme-color"
28+
content="#000000"
29+
/>
30+
<link
31+
rel="apple-touch-icon"
32+
sizes="180x180"
33+
href="/apple-touch-icon.png"
34+
/>
35+
<link
36+
rel="icon"
37+
type="image/png"
38+
sizes="32x32"
39+
href="/favicon-32x32.png"
40+
/>
41+
<link
42+
rel="icon"
43+
type="image/png"
44+
sizes="16x16"
45+
href="/favicon-16x16.png"
46+
/>
2147
<title>Snowfall Demo | solid-snowfall</title>
2248
<style>
2349
#github-star-button {
@@ -26,8 +52,11 @@
2652
left: 16px;
2753
z-index: 50;
2854
}
29-
</style>
30-
<script src="/src/index.tsx" type="module"></script>
55+
</style>
56+
<script
57+
src="/src/index.tsx"
58+
type="module"
59+
></script>
3160
</head>
3261
<body>
3362
<noscript> You need to enable JavaScript to run this app. </noscript>
@@ -42,6 +71,10 @@
4271
</a>
4372
</div>
4473
<div id="root"></div>
45-
<script async defer src="https://buttons.github.io/buttons.js"></script>
74+
<script
75+
async
76+
defer
77+
src="https://buttons.github.io/buttons.js"
78+
></script>
4679
</body>
4780
</html>

apps/demo/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
},
1515
"type": "module",
1616
"dependencies": {
17-
"@solid-primitives/bounds": "^0.0.118",
18-
"@solid-primitives/destructure": "^0.1.14",
19-
"solid-js": "^1.8.7",
20-
"solid-snowfall": "workspace:^0.3.1"
17+
"@solid-primitives/bounds": "^0.0.122",
18+
"@solid-primitives/destructure": "^0.1.17",
19+
"solid-js": "^1.9.3",
20+
"solid-snowfall": "workspace:^0.3.2"
2121
},
2222
"lint-staged": {
2323
"*.+(js|json|ts|tsx)": [
@@ -28,10 +28,10 @@
2828
]
2929
},
3030
"devDependencies": {
31-
"gh-pages": "^6.1.0",
32-
"sass": "^1.69.5",
33-
"vite": "5.0.7",
34-
"vite-plugin-solid": "^2.8.0"
31+
"gh-pages": "^6.2.0",
32+
"sass": "^1.83.0",
33+
"vite": "6.0.6",
34+
"vite-plugin-solid": "^2.11.0"
3535
},
3636
"version": null
3737
}

apps/demo/public/index.html

Lines changed: 0 additions & 74 deletions
This file was deleted.

apps/demo/public/manifest.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

apps/demo/src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const images = [snowflake];
1919
export function App() {
2020
const { color, snowflakeCount, radius, speed, wind, useImages, rotationSpeed } = destructure(settingsStore);
2121

22+
2223
return (
2324
<div class="app">
2425
<Snowfall

0 commit comments

Comments
 (0)