@jonsoc/app 1.1.34 → 1.1.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bunfig.toml CHANGED
@@ -1,2 +1,2 @@
1
- [test]
2
- preload = ["./happydom.ts"]
1
+ [test]
2
+ preload = ["./happydom.ts"]
package/index.html CHANGED
@@ -1,23 +1,23 @@
1
- <!doctype html>
2
- <html lang="en" style="background-color: var(--background-base)">
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1" />
6
- <title>OpenCode</title>
7
- <link rel="icon" type="image/png" href="/favicon-96x96-v3.png" sizes="96x96" />
8
- <link rel="icon" type="image/svg+xml" href="/favicon-v3.svg" />
9
- <link rel="shortcut icon" href="/favicon-v3.ico" />
10
- <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-v3.png" />
11
- <link rel="manifest" href="/site.webmanifest" />
12
- <meta name="theme-color" content="#F8F7F7" />
13
- <meta name="theme-color" content="#131010" media="(prefers-color-scheme: dark)" />
14
- <meta property="og:image" content="/social-share.png" />
15
- <meta property="twitter:image" content="/social-share.png" />
16
- <script id="oc-theme-preload-script" src="/oc-theme-preload.js"></script>
17
- </head>
18
- <body class="antialiased overscroll-none text-12-regular overflow-hidden">
19
- <noscript>You need to enable JavaScript to run this app.</noscript>
20
- <div id="root" class="flex flex-col h-dvh p-px"></div>
21
- <script src="/src/entry.tsx" type="module"></script>
22
- </body>
23
- </html>
1
+ <!doctype html>
2
+ <html lang="en" style="background-color: var(--background-base)">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>OpenCode</title>
7
+ <link rel="icon" type="image/png" href="/favicon-96x96-v3.png" sizes="96x96" />
8
+ <link rel="icon" type="image/svg+xml" href="/favicon-v3.svg" />
9
+ <link rel="shortcut icon" href="/favicon-v3.ico" />
10
+ <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-v3.png" />
11
+ <link rel="manifest" href="/site.webmanifest" />
12
+ <meta name="theme-color" content="#F8F7F7" />
13
+ <meta name="theme-color" content="#131010" media="(prefers-color-scheme: dark)" />
14
+ <meta property="og:image" content="/social-share.png" />
15
+ <meta property="twitter:image" content="/social-share.png" />
16
+ <script id="oc-theme-preload-script" src="/oc-theme-preload.js"></script>
17
+ </head>
18
+ <body class="antialiased overscroll-none text-12-regular overflow-hidden">
19
+ <noscript>You need to enable JavaScript to run this app.</noscript>
20
+ <div id="root" class="flex flex-col h-dvh p-px"></div>
21
+ <script src="/src/entry.tsx" type="module"></script>
22
+ </body>
23
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jonsoc/app",
3
- "version": "1.1.34",
3
+ "version": "1.1.49",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {
@@ -20,26 +20,30 @@
20
20
  "test:e2e:report": "playwright show-report e2e/playwright-report"
21
21
  },
22
22
  "license": "MIT",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://github.com/Noisemaker111/Jonsoc"
26
+ },
23
27
  "devDependencies": {
24
28
  "@happy-dom/global-registrator": "20.0.11",
25
29
  "@playwright/test": "1.57.0",
26
- "@tailwindcss/vite": "catalog:",
30
+ "@tailwindcss/vite": "4.1.11",
27
31
  "@tsconfig/bun": "1.0.9",
28
- "@types/bun": "catalog:",
29
- "@types/luxon": "catalog:",
30
- "@types/node": "catalog:",
31
- "@typescript/native-preview": "catalog:",
32
- "typescript": "catalog:",
33
- "vite": "catalog:",
32
+ "@types/bun": "1.3.5",
33
+ "@types/luxon": "3.7.1",
34
+ "@types/node": "22.13.9",
35
+ "@typescript/native-preview": "7.0.0-dev.20251207.1",
36
+ "typescript": "5.8.2",
37
+ "vite": "7.1.4",
34
38
  "vite-plugin-icons-spritesheet": "3.0.1",
35
- "vite-plugin-solid": "catalog:"
39
+ "vite-plugin-solid": "2.11.10"
36
40
  },
37
41
  "dependencies": {
38
- "@kobalte/core": "catalog:",
39
- "@jonsoc/sdk": "workspace:*",
40
- "@jonsoc/ui": "workspace:*",
41
- "@jonsoc/util": "workspace:*",
42
- "@pierre/diffs": "catalog:",
42
+ "@kobalte/core": "0.13.11",
43
+ "@jonsoc/sdk": "1.1.49",
44
+ "@jonsoc/ui": "1.1.49",
45
+ "@jonsoc/util": "1.1.49",
46
+ "@pierre/diffs": "1.0.2",
43
47
  "@shikijs/transformers": "3.9.2",
44
48
  "@solid-primitives/active-element": "2.1.3",
45
49
  "@solid-primitives/audio": "1.4.2",
@@ -48,23 +52,23 @@
48
52
  "@solid-primitives/media": "2.3.3",
49
53
  "@solid-primitives/resize-observer": "2.1.3",
50
54
  "@solid-primitives/scroll": "2.1.3",
51
- "@solid-primitives/storage": "catalog:",
55
+ "@solid-primitives/storage": "4.3.3",
52
56
  "@solid-primitives/websocket": "1.3.1",
53
- "@solidjs/meta": "catalog:",
54
- "@solidjs/router": "catalog:",
57
+ "@solidjs/meta": "0.29.4",
58
+ "@solidjs/router": "0.15.4",
55
59
  "@thisbeyond/solid-dnd": "0.7.5",
56
- "diff": "catalog:",
57
- "fuzzysort": "catalog:",
60
+ "diff": "8.0.2",
61
+ "fuzzysort": "3.1.0",
58
62
  "ghostty-web": "0.3.0",
59
- "luxon": "catalog:",
60
- "marked": "catalog:",
61
- "marked-shiki": "catalog:",
62
- "remeda": "catalog:",
63
- "shiki": "catalog:",
64
- "solid-js": "catalog:",
65
- "tailwindcss": "catalog:",
66
- "virtua": "catalog:",
67
- "zod": "catalog:"
63
+ "luxon": "3.6.1",
64
+ "marked": "17.0.1",
65
+ "marked-shiki": "1.2.1",
66
+ "remeda": "2.26.0",
67
+ "shiki": "3.20.0",
68
+ "solid-js": "1.9.10",
69
+ "tailwindcss": "4.1.11",
70
+ "virtua": "0.42.3",
71
+ "zod": "4.1.8"
68
72
  },
69
73
  "publishConfig": {
70
74
  "access": "public"
package/public/_headers CHANGED
@@ -1,17 +1,17 @@
1
- /assets/*.js
2
- Content-Type: application/javascript
3
-
4
- /assets/*.mjs
5
- Content-Type: application/javascript
6
-
7
- /assets/*.css
8
- Content-Type: text/css
9
-
10
- /*.js
11
- Content-Type: application/javascript
12
-
13
- /*.mjs
14
- Content-Type: application/javascript
15
-
16
- /*.css
17
- Content-Type: text/css
1
+ /assets/*.js
2
+ Content-Type: application/javascript
3
+
4
+ /assets/*.mjs
5
+ Content-Type: application/javascript
6
+
7
+ /assets/*.css
8
+ Content-Type: text/css
9
+
10
+ /*.js
11
+ Content-Type: application/javascript
12
+
13
+ /*.mjs
14
+ Content-Type: application/javascript
15
+
16
+ /*.css
17
+ Content-Type: text/css
@@ -1,28 +1,28 @@
1
- ;(function () {
2
- var themeId = localStorage.getItem("opencode-theme-id")
3
- if (!themeId) return
4
-
5
- var scheme = localStorage.getItem("opencode-color-scheme") || "system"
6
- var isDark = scheme === "dark" || (scheme === "system" && matchMedia("(prefers-color-scheme: dark)").matches)
7
- var mode = isDark ? "dark" : "light"
8
-
9
- document.documentElement.dataset.theme = themeId
10
- document.documentElement.dataset.colorScheme = mode
11
-
12
- if (themeId === "oc-1") return
13
-
14
- var css = localStorage.getItem("opencode-theme-css-" + themeId + "-" + mode)
15
- if (css) {
16
- var style = document.createElement("style")
17
- style.id = "oc-theme-preload"
18
- style.textContent =
19
- ":root{color-scheme:" +
20
- mode +
21
- ";--text-mix-blend-mode:" +
22
- (isDark ? "plus-lighter" : "multiply") +
23
- ";" +
24
- css +
25
- "}"
26
- document.head.appendChild(style)
27
- }
28
- })()
1
+ ;(function () {
2
+ var themeId = localStorage.getItem("opencode-theme-id")
3
+ if (!themeId) return
4
+
5
+ var scheme = localStorage.getItem("opencode-color-scheme") || "system"
6
+ var isDark = scheme === "dark" || (scheme === "system" && matchMedia("(prefers-color-scheme: dark)").matches)
7
+ var mode = isDark ? "dark" : "light"
8
+
9
+ document.documentElement.dataset.theme = themeId
10
+ document.documentElement.dataset.colorScheme = mode
11
+
12
+ if (themeId === "oc-1") return
13
+
14
+ var css = localStorage.getItem("opencode-theme-css-" + themeId + "-" + mode)
15
+ if (css) {
16
+ var style = document.createElement("style")
17
+ style.id = "oc-theme-preload"
18
+ style.textContent =
19
+ ":root{color-scheme:" +
20
+ mode +
21
+ ";--text-mix-blend-mode:" +
22
+ (isDark ? "plus-lighter" : "multiply") +
23
+ ";" +
24
+ css +
25
+ "}"
26
+ document.head.appendChild(style)
27
+ }
28
+ })()
package/vite.js CHANGED
@@ -1,26 +1,26 @@
1
- import solidPlugin from "vite-plugin-solid"
2
- import tailwindcss from "@tailwindcss/vite"
3
- import { fileURLToPath } from "url"
4
-
5
- /**
6
- * @type {import("vite").PluginOption}
7
- */
8
- export default [
9
- {
10
- name: "opencode-desktop:config",
11
- config() {
12
- return {
13
- resolve: {
14
- alias: {
15
- "@": fileURLToPath(new URL("./src", import.meta.url)),
16
- },
17
- },
18
- worker: {
19
- format: "es",
20
- },
21
- }
22
- },
23
- },
24
- tailwindcss(),
25
- solidPlugin(),
26
- ]
1
+ import solidPlugin from "vite-plugin-solid"
2
+ import tailwindcss from "@tailwindcss/vite"
3
+ import { fileURLToPath } from "url"
4
+
5
+ /**
6
+ * @type {import("vite").PluginOption}
7
+ */
8
+ export default [
9
+ {
10
+ name: "opencode-desktop:config",
11
+ config() {
12
+ return {
13
+ resolve: {
14
+ alias: {
15
+ "@": fileURLToPath(new URL("./src", import.meta.url)),
16
+ },
17
+ },
18
+ worker: {
19
+ format: "es",
20
+ },
21
+ }
22
+ },
23
+ },
24
+ tailwindcss(),
25
+ solidPlugin(),
26
+ ]
@@ -1 +0,0 @@
1
- ../../ui/src/assets/favicon/apple-touch-icon-v3.png
@@ -1 +0,0 @@
1
- ../../ui/src/assets/favicon/apple-touch-icon.png
@@ -1 +0,0 @@
1
- ../../ui/src/assets/favicon/favicon-96x96-v3.png
@@ -1 +0,0 @@
1
- ../../ui/src/assets/favicon/favicon-96x96.png
@@ -1 +0,0 @@
1
- ../../ui/src/assets/favicon/favicon-v3.ico
@@ -1 +0,0 @@
1
- ../../ui/src/assets/favicon/favicon-v3.svg
@@ -1 +0,0 @@
1
- ../../ui/src/assets/favicon/favicon.ico
@@ -1 +0,0 @@
1
- ../../ui/src/assets/favicon/favicon.svg
@@ -1 +0,0 @@
1
- ../../ui/src/assets/favicon/site.webmanifest
@@ -1 +0,0 @@
1
- ../../ui/src/assets/images/social-share-zen.png
@@ -1 +0,0 @@
1
- ../../ui/src/assets/images/social-share.png
@@ -1 +0,0 @@
1
- ../../ui/src/assets/favicon/web-app-manifest-192x192.png
@@ -1 +0,0 @@
1
- ../../ui/src/assets/favicon/web-app-manifest-512x512.png
@@ -1,17 +0,0 @@
1
- import { DIFFS_TAG_NAME } from "@pierre/diffs"
2
-
3
- /**
4
- * TypeScript declaration for the <diffs-container> custom element.
5
- * This tells TypeScript that <diffs-container> is a valid JSX element in SolidJS.
6
- * Required for using the @pierre/diffs web component in .tsx files.
7
- */
8
-
9
- declare module "solid-js" {
10
- namespace JSX {
11
- interface IntrinsicElements {
12
- [DIFFS_TAG_NAME]: HTMLAttributes<HTMLElement>
13
- }
14
- }
15
- }
16
-
17
- export {}