@wenathlan/cobaia 2.0.167 → 2.0.169
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/Cargo.toml +17 -0
- package/Dockerfile +25 -18
- package/MANIFEST.in +7 -0
- package/bun.lock +60 -63
- package/cobaia.csproj +1 -1
- package/cobaia.gemspec +1 -1
- package/cobaia.java +1 -1
- package/cobaia.rs +8 -0
- package/db.ts +12 -17
- package/docker-compose.yml +2 -2
- package/docker.config +2 -2
- package/homebrew.rb +25 -0
- package/package.json +51 -53
- package/pnpm-workspace.yaml +11 -12
- package/pom.xml +1 -1
- package/pyproject.toml +23 -0
- package/sandboxmodality.ts +26 -40
- package/sol/Sol.tsx +1 -1
- package/sol/apps/apps.tsx +1 -1
- package/sol/blog/blog.tsx +1 -1
- package/sol/home/home.tsx +1 -1
- package/sol/intro/intro.tsx +1 -1
- package/sol/onboarding/onboarding.tsx +1 -1
- package/sol/shell/Shell.tsx +1 -1
- package/tauri.conf.json +1 -1
- package/tsconfig.json +1 -0
- package/vite.config.ts +14 -0
- package/vitest.config.ts +8 -0
- package/wingets.ts +21 -0
- package/sol/wingets/index.ts +0 -20
|
@@ -19,7 +19,7 @@ import { useState } from "react";
|
|
|
19
19
|
import { useLocation } from "wouter";
|
|
20
20
|
import { type LabelKey, label } from "../../labels";
|
|
21
21
|
import { markOnboardingStage } from "../../onboardingstate.ts";
|
|
22
|
-
import { BrandMark } from "
|
|
22
|
+
import { BrandMark } from "../../wingets";
|
|
23
23
|
|
|
24
24
|
/** the three frames of the first run, in order — the copy rides the store
|
|
25
25
|
* (the id keeps the ladder segments keyed, the key answers the eyebrow). */
|
package/sol/shell/Shell.tsx
CHANGED
|
@@ -27,7 +27,7 @@ import { useContent } from "../../content.ts";
|
|
|
27
27
|
import { familyurl } from "../../familyurl";
|
|
28
28
|
import { type LabelKey, label } from "../../labels";
|
|
29
29
|
import { roster } from "../../monetization.ts";
|
|
30
|
-
import { BrandMark } from "
|
|
30
|
+
import { BrandMark } from "../../wingets";
|
|
31
31
|
|
|
32
32
|
/** the section links of the top bar, in reading order (home is the mark).
|
|
33
33
|
* the href rides the route table, the text rides the label accessor. */
|
package/tauri.conf.json
CHANGED
package/tsconfig.json
CHANGED
package/vite.config.ts
CHANGED
|
@@ -23,8 +23,22 @@ export default defineConfig({
|
|
|
23
23
|
* the mechanism is never duplicated inside cobaia. the entry retires
|
|
24
24
|
* when the published envelope carries the built label store. */
|
|
25
25
|
"@wenathlan/vault/labelstore": path.resolve(import.meta.dirname, "../vault/labelstore.ts"),
|
|
26
|
+
"@wenathlan/vault/onboardingstore": path.resolve(import.meta.dirname, "../vault/onboardingstore.ts"),
|
|
26
27
|
"@": path.resolve(import.meta.dirname, "sol"),
|
|
27
28
|
},
|
|
29
|
+
/** the single-instance law (the PR12 renderparity heal): the family
|
|
30
|
+
* sources the thin doors re-export (devthink/reveal.ts and the sibling
|
|
31
|
+
* bridges) live outside this app root, and the resolver answers their
|
|
32
|
+
* bare react and wouter imports against the folder the file sits in —
|
|
33
|
+
* a second physical copy rides the bundle when the sibling tree carries
|
|
34
|
+
* its own node_modules (the two-react crash: the wouter context hook
|
|
35
|
+
* then answers the dispatcher of the copy that never renders, and the
|
|
36
|
+
* app dies at the workbench-failure face on both doors, the typed url
|
|
37
|
+
* and the panel window alike). the dedupe forces every react,
|
|
38
|
+
* react-dom and wouter specifier of the graph onto one resolved
|
|
39
|
+
* instance — the cross-app source rides, the duplication dies, one
|
|
40
|
+
* design answers both doors. */
|
|
41
|
+
dedupe: ["react", "react-dom", "react-dom/client", "wouter"],
|
|
28
42
|
},
|
|
29
43
|
root: import.meta.dirname,
|
|
30
44
|
build: {
|
package/vitest.config.ts
CHANGED
|
@@ -11,6 +11,14 @@ export default defineConfig({
|
|
|
11
11
|
* the mechanism is never duplicated inside cobaia. the entry retires
|
|
12
12
|
* when the published envelope carries the built label store. */
|
|
13
13
|
"@wenathlan/vault/labelstore": path.resolve(import.meta.dirname, "../vault/labelstore.ts"),
|
|
14
|
+
/** the onboarding store bridge of the ownership law: the app's
|
|
15
|
+
* seen-flags mechanism rides the vault factory through the published
|
|
16
|
+
* library specifier ("@wenathlan/vault/onboardingstore"), and this
|
|
17
|
+
* bridge resolves the specifier to the monorepo source the sibling
|
|
18
|
+
* engine carries — the mechanism is never duplicated inside cobaia.
|
|
19
|
+
* the entry retires when the published envelope carries the built
|
|
20
|
+
* onboarding store. */
|
|
21
|
+
"@wenathlan/vault/onboardingstore": path.resolve(import.meta.dirname, "../vault/onboardingstore.ts"),
|
|
14
22
|
|
|
15
23
|
/** the storage lane bridge of the ownership law: the app's sqlite
|
|
16
24
|
* mechanism rides the vault factory through the published library
|
package/wingets.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* wingets.ts — the universal winget surface of cobaia: every winget of the
|
|
3
|
+
* sol/wingets folder answers from this one module at the app root, so the
|
|
4
|
+
* pages import their components from a single place and the dotted winget
|
|
5
|
+
* file name lives exactly once (here) instead of repeating across every
|
|
6
|
+
* page — the components stay complete independent files inside the
|
|
7
|
+
* sol/wingets folder.
|
|
8
|
+
*/
|
|
9
|
+
export { type familymember, roster } from "./monetization.ts";
|
|
10
|
+
export * from "./sol/wingets/HomeEntrygate.tsx";
|
|
11
|
+
export { default as EntryGate } from "./sol/wingets/HomeEntrygate.tsx";
|
|
12
|
+
export * from "./sol/wingets/IntroFooter.tsx";
|
|
13
|
+
export { default as IntroFooter } from "./sol/wingets/IntroFooter.tsx";
|
|
14
|
+
export * from "./sol/wingets/IntroPlans.tsx";
|
|
15
|
+
export { default as IntroPlans } from "./sol/wingets/IntroPlans.tsx";
|
|
16
|
+
export * from "./sol/wingets/IntroSplash.tsx";
|
|
17
|
+
export { default as IntroSplash } from "./sol/wingets/IntroSplash.tsx";
|
|
18
|
+
export * from "./sol/wingets/ShellAdsslot.tsx";
|
|
19
|
+
export { default as ShellAdsslot } from "./sol/wingets/ShellAdsslot.tsx";
|
|
20
|
+
export * from "./sol/wingets/ShellBrand.tsx";
|
|
21
|
+
export { default as ShellBrand } from "./sol/wingets/ShellBrand.tsx";
|
package/sol/wingets/index.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* index.ts — the universal winget surface of cobaia: every winget of the
|
|
3
|
-
* sol/wingets folder answers from this one module, so the pages import
|
|
4
|
-
* their components from a single place and the dotted winget file name
|
|
5
|
-
* lives exactly once (here) instead of repeating across every page —
|
|
6
|
-
* the components stay complete independent files beside this surface.
|
|
7
|
-
*/
|
|
8
|
-
export { type familymember, roster } from "../../monetization.ts";
|
|
9
|
-
export * from "./HomeEntrygate.tsx";
|
|
10
|
-
export { default as EntryGate } from "./HomeEntrygate.tsx";
|
|
11
|
-
export * from "./IntroFooter.tsx";
|
|
12
|
-
export { default as IntroFooter } from "./IntroFooter.tsx";
|
|
13
|
-
export * from "./IntroPlans.tsx";
|
|
14
|
-
export { default as IntroPlans } from "./IntroPlans.tsx";
|
|
15
|
-
export * from "./IntroSplash.tsx";
|
|
16
|
-
export { default as IntroSplash } from "./IntroSplash.tsx";
|
|
17
|
-
export * from "./ShellAdsslot.tsx";
|
|
18
|
-
export { default as ShellAdsslot } from "./ShellAdsslot.tsx";
|
|
19
|
-
export * from "./ShellBrand.tsx";
|
|
20
|
-
export { default as ShellBrand } from "./ShellBrand.tsx";
|