Skip to content

Commit 73b48fd

Browse files
committed
bump everything, add csstype
1 parent 9b2f514 commit 73b48fd

File tree

5 files changed

+485
-692
lines changed

5 files changed

+485
-692
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />

package.json

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,50 +23,51 @@
2323
},
2424
"devDependencies": {
2525
"@amoutonbrady/lz-string": "^0.1.0",
26-
"@babel/core": "^7.22.5",
26+
"@babel/core": "^7.22.9",
2727
"@babel/plugin-syntax-jsx": "^7.22.5",
2828
"@babel/preset-typescript": "^7.22.5",
2929
"@babel/types": "^7.22.5",
3030
"@solidjs/router": "^0.8.2",
3131
"@types/babel__standalone": "^7.1.4",
3232
"@types/dedent": "^0.7.0",
3333
"@types/fs-extra": "^11.0.1",
34-
"@unocss/cli": "^0.53.3",
35-
"@unocss/preset-wind": "^0.53.3",
34+
"@unocss/cli": "^0.54.1",
35+
"@unocss/preset-wind": "^0.54.1",
3636
"acorn-jsx": "^5.3.2",
3737
"assert": "^2.0.0",
38-
"esbuild": "^0.18.7",
38+
"csstype": "^3.1.2",
39+
"esbuild": "^0.18.17",
3940
"fs-extra": "^11.1.1",
40-
"jiti": "^1.18.2",
41+
"jiti": "^1.19.1",
4142
"jszip": "^3.10.1",
4243
"mime": "^3.0.0",
43-
"monaco-editor": "~0.39.0",
44-
"prettier-plugin-tailwindcss": "^0.3.0",
44+
"monaco-editor": "~0.40.0",
45+
"prettier-plugin-tailwindcss": "^0.4.1",
4546
"register-service-worker": "^1.7.2",
46-
"typescript": "^5.1.3",
47-
"unocss": "^0.53.3",
48-
"vite": "^4.3.9",
47+
"typescript": "^5.1.6",
48+
"unocss": "^0.54.1",
49+
"vite": "^4.4.8",
4950
"vite-plugin-solid": "^2.7.0"
5051
},
5152
"dependencies": {
52-
"@babel/standalone": "^7.22.5",
53+
"@babel/standalone": "^7.22.9",
5354
"@solid-primitives/media": "^2.2.3",
54-
"@solid-primitives/scheduled": "^1.3.2",
55-
"@unocss/reset": "^0.53.3",
56-
"babel-preset-solid": "1.7.4",
57-
"dedent": "^0.7.0",
55+
"@solid-primitives/scheduled": "^1.4.0",
56+
"@unocss/reset": "^0.54.1",
57+
"babel-preset-solid": "1.7.7",
58+
"dedent": "^1.5.1",
5859
"eslint-solid-standalone": "^0.12.1",
5960
"monaco-editor-textmate": "^4.0.0",
6061
"monaco-textmate": "^3.0.1",
6162
"onigasm": "^2.2.5",
62-
"prettier": "^2.8.8",
63+
"prettier": "^3.0.0",
6364
"solid-dismiss": "^1.7.121",
6465
"solid-heroicons": "^3.2.4",
65-
"solid-js": "1.7.6"
66+
"solid-js": "1.7.8"
6667
},
6768
"pnpm": {
6869
"patchedDependencies": {
69-
"monaco-editor@0.39.0": "patches/[email protected]"
70+
"monaco-editor@0.40.0": "patches/[email protected]"
7071
}
7172
}
7273
}

playground/components/setupSolid.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { languages } from 'monaco-editor';
22

3-
const solidTypes = import.meta.glob('/node_modules/solid-js/**/*.{d.ts,json}', { eager: true, as: 'raw' });
3+
const solidTypes = import.meta.glob('/node_modules/{solid-js,csstype}/**/*.{d.ts,json}', { eager: true, as: 'raw' });
44

55
for (const path in solidTypes) {
66
languages.typescript.typescriptDefaults.addExtraLib(solidTypes[path], `file://${path}`);

playground/utils/exportFiles.tsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,14 @@ const indexHTML = (tabs: Tab[]) => dedent`
5656
* and then generating the package.json itself, for the export
5757
*/
5858
function packageJSON(imports: string[]): string {
59-
const deps = imports.reduce((acc, importPath): Record<string, string> => {
60-
const name = importPath.split('/')[0];
61-
if (!acc[name]) acc[name] = '*';
62-
return acc;
63-
}, {} as Record<string, string>);
59+
const deps = imports.reduce(
60+
(acc, importPath): Record<string, string> => {
61+
const name = importPath.split('/')[0];
62+
if (!acc[name]) acc[name] = '*';
63+
return acc;
64+
},
65+
{} as Record<string, string>,
66+
);
6467

6568
return JSON.stringify(
6669
{

0 commit comments

Comments
 (0)