@openelement/create 1.0.0-alpha.14 → 1.0.0-alpha.15

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.
Files changed (34) hide show
  1. package/README.md +49 -19
  2. package/package.json +1 -1
  3. package/src/cli.js +159 -76
  4. package/src/node-version.js +102 -0
  5. package/src/pm.js +143 -9
  6. package/src/template-builder.js +58 -7
  7. package/src/version.js +2 -10
  8. package/templates/.node-version +1 -0
  9. package/templates/AGENTS.md.tmpl +44 -0
  10. package/templates/README.tmpl +137 -96
  11. package/templates/app/components/page-404.css +2 -18
  12. package/templates/app/components/page-404.tsx.tmpl +10 -11
  13. package/templates/app/components/page-about.css +2 -69
  14. package/templates/app/components/page-about.tsx.tmpl +68 -48
  15. package/templates/app/components/page-home.css +2 -132
  16. package/templates/app/components/page-home.tsx.tmpl +106 -67
  17. package/templates/app/components/site-chrome.css +2 -65
  18. package/templates/app/head.tsx.tmpl +11 -26
  19. package/templates/app/islands/live-timer.css +2 -20
  20. package/templates/app/islands/live-timer.tsx.tmpl +25 -15
  21. package/templates/app/islands/my-counter.css +2 -29
  22. package/templates/app/islands/my-counter.tsx.tmpl +17 -8
  23. package/templates/app/layout.tsx.tmpl +68 -0
  24. package/templates/app/routes/404.tsx.tmpl +3 -6
  25. package/templates/app/routes/api/ping.ts.tmpl +2 -3
  26. package/templates/app/styles/theme.css +62 -77
  27. package/templates/openelement.config.ts.tmpl +16 -28
  28. package/templates/package.json.tmpl +8 -6
  29. package/templates/tsconfig.json.tmpl +1 -1
  30. package/templates/vite.config.ts.tmpl +7 -14
  31. package/templates/app/components/badges.css +0 -24
  32. package/templates/app/islands/app-shell.tsx.tmpl +0 -54
  33. package/templates/app/styles/recipes.css +0 -43
  34. package/templates/pnpm-workspace.yaml.tmpl +0 -29
@@ -0,0 +1,68 @@
1
+ /**
2
+ * app/layout.tsx — the auto-registered layout: header, main slot and footer
3
+ * exist here exactly once, so a page module carries only its own content.
4
+ *
5
+ * `root: 'shadow-open'` is what makes the projection work — the chrome renders
6
+ * in this element's shadow tree while the slotted page content stays in the
7
+ * page's light DOM. The markup below is styled with Tailwind utilities; the
8
+ * sheet in `static styles` holds only the host box, which has no markup to
9
+ * carry it.
10
+ *
11
+ * A convention, not a requirement: delete the file and pages render their own
12
+ * chrome again, or opt out with `layout: false` in openelement.config.ts.
13
+ */
14
+ import { element, OpenElement } from "@openelement/element";
15
+ import siteChromeStyles from "./components/site-chrome.css";
16
+
17
+ @element("app-layout", { root: "shadow-open" })
18
+ export default class Layout extends OpenElement {
19
+ static override styles = [siteChromeStyles];
20
+
21
+ render() {
22
+ return (
23
+ <div>
24
+ <header class="site-head border-b border-line bg-paper">
25
+ <div class="mx-auto flex max-w-(--content-width) items-baseline justify-between gap-4 px-5 py-4">
26
+ <a
27
+ class="text-[1.1rem] font-bold tracking-[-0.01em] text-ink no-underline hover:text-brand"
28
+ href="/"
29
+ >
30
+ openElement
31
+ </a>
32
+ <nav class="flex gap-5">
33
+ <a
34
+ class="text-[0.95rem] font-medium text-ink-soft no-underline hover:text-brand"
35
+ href="/"
36
+ >
37
+ Home
38
+ </a>
39
+ <a
40
+ class="text-[0.95rem] font-medium text-ink-soft no-underline hover:text-brand"
41
+ href="/about"
42
+ >
43
+ About
44
+ </a>
45
+ <a
46
+ class="text-[0.95rem] font-medium text-ink-soft no-underline hover:text-brand"
47
+ href="/api/ping"
48
+ >
49
+ API
50
+ </a>
51
+ </nav>
52
+ </div>
53
+ </header>
54
+ <main class="mx-auto max-w-(--content-width) px-5 pt-12 pb-16">
55
+ <slot></slot>
56
+ </main>
57
+ <footer class="site-foot border-t border-line text-[0.85rem] text-ink-soft">
58
+ <div class="mx-auto flex max-w-(--content-width) flex-wrap justify-between gap-4 p-5">
59
+ <span>Generated by @openelement/create.</span>
60
+ <a class="text-ink-soft no-underline hover:text-brand" href="https://openelement.org">
61
+ openelement.org
62
+ </a>
63
+ </div>
64
+ </footer>
65
+ </div>
66
+ );
67
+ }
68
+ }
@@ -1,10 +1,7 @@
1
1
  /**
2
- * Styled 404 (#923). `renderIntent: { mode: 'dynamic' }` keeps this page on
3
- * the request-time path, and it is the reason this starter's build emits
4
- * `dist/server/`: the request-time server renders it with a 404 status for
5
- * every unmatched path, so the build writes no static 404.html. Drop the
6
- * renderIntent line and the route becomes prerenderable — a build with no
7
- * other request-time route then writes the page to dist/404.html.
2
+ * Styled 404: `renderIntent: { mode: 'dynamic' }` keeps this route on the
3
+ * request-time path — the reason this starter's build emits `dist/server/`.
4
+ * Drop the line and the route prerenders to dist/404.html instead.
8
5
  */
9
6
  import { definePage } from "@openelement/router";
10
7
  import NotFoundPage from "../components/page-404.tsx";
@@ -1,7 +1,6 @@
1
1
  /**
2
- * /api/ping — a request-time server route: a plain WinterCG-shaped handler
3
- * (Request → Response). No framework runtime attaches to it; any Response
4
- * works, and Response.json is the common shape.
2
+ * /api/ping — a request-time server route: a plain WinterCG-shaped
3
+ * Request → Response handler with no framework runtime attached.
5
4
  */
6
5
  export default function ping() {
7
6
  return Response.json({
@@ -1,22 +1,18 @@
1
- /* ═══════════════════════════════════════════════════════════════════════
2
- The starter's @theme role sheet — the ONE styling source (Tailwind-ON is
3
- the single scaffold default; there is no variant pair and no flag).
4
-
5
- Two layers share this file:
6
- 1. @theme roles — shadcn-style semantic names over Tailwind default scale
7
- variables (var(--color-<ramp>-<step>)). Extend by naming a role on the
8
- left and an existing Tailwind variable on the right.
9
- 2. The starter palette aliases — the --paper/--ink/--brand names the
10
- component sheets use, each seated on a role so the dark and
11
- forced-colors pairs below apply everywhere.
12
-
13
- `pnpm dev` and the build both compile this file through the router's
14
- Tailwind preset: dev serves the compile from
15
- /.openElement/tailwind-preset/entry.css and links it in the document head,
16
- the build emits the same compile as the layer-ordered linked bundle.
17
- ═══════════════════════════════════════════════════════════════════════ */
18
-
19
- @theme {
1
+ /* The starter's theme sheet — the ONE styling source (Tailwind-ON is the
2
+ single scaffold default; there is no variant pair and no flag).
3
+
4
+ Two layers: @theme roles (shadcn-style semantic names over Tailwind default
5
+ scale variables) and the starter palette the markup consumes as utilities
6
+ (bg-paper, text-brand, border-line, …), each seated on a role so the dark
7
+ and forced-colors pairs below apply everywhere. `@theme static` keeps a
8
+ pruned variable from taking its palette aliases down with it.
9
+
10
+ Everything presentation-level is authored as Tailwind utilities in markup.
11
+ This token sheet, the document base below, and each component's `:host` box
12
+ rule are the only CSS. Dev and the build compile this file through the
13
+ official @tailwindcss/vite pipeline. */
14
+
15
+ @theme static {
20
16
  /* ── semantic roles (light), over the TW4 default scale.
21
17
  Violet-anchored roles (the starter brand reads violet); neutral
22
18
  surfaces stay zinc so the page base keeps its near-neutral paper
@@ -49,10 +45,37 @@
49
45
  --color-border: var(--color-violet-200);
50
46
  --color-input: var(--color-violet-200);
51
47
  --color-ring: var(--color-violet-500);
48
+
49
+ /* ── starter palette (the utility names the scaffold's markup reads) ── */
50
+
51
+ --color-paper: var(--color-background);
52
+ --color-surface: var(--color-card);
53
+ --color-ink: var(--color-foreground);
54
+ --color-ink-soft: var(--color-muted-foreground);
55
+ --color-line: var(--color-border);
56
+ --color-brand: var(--color-primary);
57
+ --color-brand-ink: var(--color-primary-foreground);
58
+ --color-brand-soft: var(--color-secondary);
59
+ /* --color-ok is read as text on a low-% tint of itself, so it seats on a
60
+ *-foreground role: a surface step there is unreadable (≈1.1:1). */
61
+ --color-ok: var(--color-secondary-foreground);
62
+
63
+ --font-sans: system-ui, -apple-system, sans-serif;
64
+ --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
52
65
  }
53
66
 
54
- /* Dark pairs (shadcn v4 convention; the selector matches the runtime theme
55
- attribute the ui package documents). */
67
+ /* Non-role tokens: nothing in the utility grammar reads them, so they must
68
+ not claim a theme namespace. */
69
+ :root {
70
+ --radius-s: 6px;
71
+ --radius-m: 10px;
72
+ --radius-l: 16px;
73
+ --content-width: 46rem;
74
+ --shadow-1: 0 1px 3px 0 rgb(20 18 33 / 0.07);
75
+ }
76
+
77
+ /* Runtime dark pairs (shadcn v4 convention): re-seating a role here re-seats
78
+ every palette alias that resolves through it. */
56
79
  :root[data-theme="dark"],
57
80
  :host([data-theme="dark"]) {
58
81
  --color-background: var(--color-zinc-950);
@@ -84,8 +107,7 @@
84
107
  --color-ring: var(--color-violet-400);
85
108
  }
86
109
 
87
- /* Forced-colors layer: every role re-seats on a system color. Values are
88
- system keywords — no author color survives the forcing. */
110
+ /* Forced colors: every role re-seats on a system keyword. */
89
111
  @media (forced-colors: active) {
90
112
  :root {
91
113
  --color-background: Canvas;
@@ -110,70 +132,33 @@
110
132
  }
111
133
  }
112
134
 
113
- /* ── Starter palette aliases (component sheet names → roles) ── */
114
- :root {
115
- --paper: var(--color-background);
116
- --surface: var(--color-card);
117
- --ink: var(--color-foreground);
118
- --ink-soft: var(--color-muted-foreground);
119
- --line: var(--color-border);
120
- --brand: var(--color-primary);
121
- --brand-ink: var(--color-primary-foreground);
122
- --brand-soft: var(--color-secondary);
123
- --ok: var(--color-secondary);
124
- --warn: var(--color-accent);
125
- }
126
-
127
- /* ── Static (non-role) design tokens the component sheets read ── */
128
- :root {
129
- --gray-0: var(--color-muted);
130
- --size-1: 4px;
131
- --size-2: 8px;
132
- --size-3: 12px;
133
- --size-4: 16px;
134
- --size-6: 24px;
135
- --size-8: 32px;
136
- --border-size-1: 1px;
137
- --radius-s: 6px;
138
- --radius-m: 10px;
139
- --radius-l: 16px;
140
- --font-sans: system-ui, -apple-system, sans-serif;
141
- --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
142
- --content-width: 46rem;
143
- --shadow-1: 0 1px 3px 0 rgb(20 18 33 / 0.07);
144
- --shadow-2: 0 10px 28px rgb(60 50 120 / 0.1);
145
- }
146
-
147
- /* ── Document base (rides the same sheet; no separate tokens convention) ── */
135
+ /* Document base: <body> is not authored markup, so a class cannot carry it. */
148
136
  body {
149
137
  margin: 0;
150
- background: var(--paper);
151
- color: var(--ink);
138
+ background: var(--color-paper);
139
+ color: var(--color-ink);
152
140
  font-family: var(--font-sans);
153
141
  line-height: 1.6;
154
142
  }
155
143
 
156
144
  ::selection {
157
- background: var(--brand);
158
- color: var(--brand-ink);
145
+ background: var(--color-brand);
146
+ color: var(--color-brand-ink);
159
147
  }
160
148
 
161
- /* Automatic dark for the starter palette (no runtime): the role sheet's
162
- data-theme pairs above cover runtime-toggled themes. The --brand pair joins
163
- the dark side here (#1582): the light violet-700 reads ≈2.8:1 on zinc-950,
164
- so the alias pair mirrors the data-theme dark roles (violet-400 on
165
- violet-950 ink — 6.98:1 / 5.36:1), and the referenced soft/ok aliases take
166
- the dark secondary surface instead of the light violet-100. */
149
+ /* Automatic dark for the palette, no runtime: the light violet-700 brand
150
+ reads ≈2.8:1 on zinc-950, so the dark side re-seats on the same steps the
151
+ data-theme pairs use (violet-400 on violet-950 ink — 6.98:1 / 5.36:1). */
167
152
  @media (prefers-color-scheme: dark) {
168
153
  :root {
169
- --paper: var(--color-zinc-950);
170
- --surface: var(--color-zinc-900);
171
- --ink: var(--color-zinc-50);
172
- --ink-soft: var(--color-zinc-400);
173
- --line: var(--color-zinc-800);
174
- --brand: var(--color-violet-400);
175
- --brand-ink: var(--color-violet-950);
176
- --brand-soft: var(--color-zinc-800);
177
- --ok: var(--color-zinc-800);
154
+ --color-paper: var(--color-zinc-950);
155
+ --color-surface: var(--color-zinc-900);
156
+ --color-ink: var(--color-zinc-50);
157
+ --color-ink-soft: var(--color-zinc-400);
158
+ --color-line: var(--color-zinc-800);
159
+ --color-brand: var(--color-violet-400);
160
+ --color-brand-ink: var(--color-violet-950);
161
+ --color-brand-soft: var(--color-zinc-800);
162
+ --color-ok: var(--color-zinc-100);
178
163
  }
179
164
  }
@@ -1,39 +1,27 @@
1
1
  // openelement.config.ts — framework options have exactly one home: this file.
2
2
  //
3
- // Every option below is OPTIONAL. With an empty object, options come from the
4
- // file conventions:
5
- // - design tokens: app/styles/theme.css (the @theme role sheet; dev compiles
6
- // it through the `tailwind` key below and serves the result as a linked
7
- // sheet, the build emits the same compile as /assets/open-tailwind.css)
8
- // - app shell: app/islands/app-shell.tsx (auto-registered; the file is
9
- // deletable and pages still render)
10
- // - document head: app/head.tsx (structural head content: meta tags, font
11
- // preloads, icons, inline CSS — the entries a URL list
12
- // cannot express; `head` below covers the rest)
13
- // - site title: the "name" field of package.json
3
+ // Every key is OPTIONAL; what it omits comes from a file convention:
4
+ // tokens app/styles/theme.css (the @theme role sheet, compiled through
5
+ // the `tailwind` key below)
6
+ // layout app/layout.tsx (auto-registered; delete it and pages still
7
+ // render their own chrome)
8
+ // head app/head.tsx (structural head entries; `head` below covers the
9
+ // title/description/favicon/og pairs)
10
+ // site name the "name" field of package.json
14
11
  //
15
- // The conventions follow `dirs`: give the three roots a shared leading
16
- // directory (src/routes, src/islands, src/components) and the tokens/app-shell/
17
- // head conventions resolve under that same directory (src/styles/tokens.css,
18
- // src/islands/app-shell.tsx, src/head.tsx).
19
- //
20
- // Passing framework options inline to openElement() while this file carries
21
- // options is a hard error: framework options cannot have two homes. Unknown
22
- // keys are rejected with the accepted-key list.
12
+ // The conventions follow `dirs`: give the app roots a shared leading directory
13
+ // and the conventions resolve under it too. Passing options inline to
14
+ // openElement() while this file carries options is a hard error — one home —
15
+ // and unknown keys are rejected with the accepted-key list.
23
16
  import { defineConfig } from "@openelement/router";
24
17
 
25
18
  export default defineConfig({
26
- // The Tailwind preset — the single-default scaffold form. The roles in
27
- // app/styles/theme.css compile into the preset's deliverable both ways: dev
28
- // serves the compile from /.openElement/tailwind-preset/entry.css and links
29
- // it in the document head, the build emits the same compile as the
30
- // layer-ordered /assets/open-tailwind.css after the SSG render. The path is
31
- // app-relative (resolved against the app root); package CSS specifiers such
32
- // as '@openelement/ui/theme.css' also work here.
19
+ // The Tailwind entry: the path is app-relative, and package CSS specifiers
20
+ // such as '@openelement/ui/theme.css' work here too.
33
21
  tailwind: { theme: ["app/styles/theme.css"] },
34
22
  head: {
35
- // Titles default to the package.json "name"; this overrides the document
36
- // title fallback while page routes keep their own `head: { title }`.
23
+ // Overrides the package.json-name title fallback; page routes keep their
24
+ // own `head: { title }`.
37
25
  title: "openElement Showcase",
38
26
  description: "A static-first openElement showcase — rendered before JavaScript arrives.",
39
27
  favicon: "/openelement-mark.svg",
@@ -4,12 +4,12 @@
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "scripts": {
7
- "dev": "vp dev",
7
+ "dev": "oe dev",
8
8
  "build": "oe build",
9
9
  "start": "oe start",
10
10
  "test": "node --test",
11
- "fmt": "vp fmt",
12
- "lint": "vp lint",
11
+ "fmt": "oxfmt",
12
+ "lint": "oxlint",
13
13
  "typecheck": "tsc --noEmit"
14
14
  },
15
15
  "dependencies": {
@@ -19,13 +19,15 @@
19
19
  "devDependencies": {
20
20
  "@hono/vite-dev-server": "^0.25.3",
21
21
  "@tailwindcss/vite": "4.3.3",
22
+ "@types/node": "26.5.0",
22
23
  "hono": "^4.12",
24
+ "oxfmt": "0.70.0",
25
+ "oxlint": "1.85.0",
23
26
  "tailwindcss": "4.3.3",
24
27
  "typescript": "6.0.3",
25
- "vite-plus": "catalog:"
28
+ "vite": "8.0.16"
26
29
  },
27
30
  "engines": {
28
31
  "node": ">=24.2"
29
- },
30
- "packageManager": "pnpm@12.8.1"
32
+ }
31
33
  }
@@ -6,7 +6,7 @@
6
6
  "lib": ["ES2022", "DOM", "DOM.Iterable"],
7
7
  "jsx": "react-jsx",
8
8
  "jsxImportSource": "@openelement/element",
9
- "types": ["@openelement/element/css-modules"],
9
+ "types": ["@openelement/element/css-modules", "node"],
10
10
  "strict": true,
11
11
  "skipLibCheck": true,
12
12
  "noEmit": true,
@@ -1,20 +1,13 @@
1
1
  import { openElement } from "@openelement/router/vite";
2
- import { defineConfig } from "vite-plus";
2
+ import { defineConfig } from "vite";
3
3
 
4
- // Vite configuration only. Framework options live in openelement.config.ts —
5
- // the plugin reads that file itself, so the plugin call stays bare. The JSX
6
- // transform is owned by the plugin's compiler pass (TSX → Part Program);
7
- // nothing JSX-related needs configuring here.
8
- //
9
- // `defineConfig` comes from vite-plus so the config carries the Vite+ native
10
- // tool blocks: `fmt` is what `vp fmt` reads. Its ignore list stays empty —
11
- // the formatter's defaults already skip markdown, JSON, YAML, and CSS, so
12
- // the authored sources ship in formatted form and `pnpm fmt --check`
13
- // (`vp fmt --check`) passes out of the box.
4
+ // Vite configuration only: framework options live in openelement.config.ts,
5
+ // which the plugin reads itself, so the plugin call stays bare, and the JSX
6
+ // transform is owned by the plugin's compiler pass. `vite` is a direct
7
+ // devDependency pinned to the exact version @openelement/router resolves, so
8
+ // the tree carries one Vite copy; `oxfmt` / `oxlint` back the `fmt` / `lint`
9
+ // scripts and run with their defaults (markdown, JSON, YAML and CSS skipped).
14
10
  export default defineConfig({
15
- fmt: {
16
- ignorePatterns: [],
17
- },
18
11
  base: "/",
19
12
  plugins: [...openElement()],
20
13
  });
@@ -1,24 +0,0 @@
1
- .badge {
2
- display: inline-flex;
3
- align-items: center;
4
- gap: 0.4em;
5
- padding: 0.2rem 0.65rem;
6
- border-radius: 999px;
7
- font-size: 0.72rem;
8
- font-weight: 600;
9
- letter-spacing: 0.04em;
10
- text-transform: uppercase;
11
- border: 1px solid var(--line);
12
- color: var(--ink-soft);
13
- background: var(--surface);
14
- }
15
- .badge-static {
16
- border-color: color-mix(in srgb, var(--ok) 35%, transparent);
17
- color: var(--ok);
18
- background: color-mix(in srgb, var(--ok) 8%, transparent);
19
- }
20
- .badge-island {
21
- border-color: color-mix(in srgb, var(--brand) 40%, transparent);
22
- color: var(--brand);
23
- background: var(--brand-soft);
24
- }
@@ -1,54 +0,0 @@
1
- /**
2
- * app/islands/app-shell.tsx — the auto-registered application shell.
3
- *
4
- * The convention path is enough: the build finds this module, registers its
5
- * compiled class under the `app-shell` tag, and renders EVERY page inside
6
- * it, projecting the page's own render into the default <slot>. The header
7
- * and footer markup that used to be copied onto every page lives here
8
- * exactly once — a page module now carries only its own content.
9
- *
10
- * The shadow root (root: 'shadow-open') is what makes the projection work:
11
- * the chrome below renders in this element's shadow tree (styled by the
12
- * site-chrome sheet in `static styles`), while the slotted page content
13
- * stays in the page element's own light DOM with its own @scope styles.
14
- * Layout tokens from app/styles/theme.css inherit through the boundary.
15
- *
16
- * The shell is a convention, not a requirement: delete this file and every
17
- * page still renders (back to carrying its own chrome), or opt out
18
- * explicitly with `appShell: false` in openelement.config.ts.
19
- */
20
- import { element, OpenElement } from "@openelement/element";
21
- import siteChromeStyles from "../components/site-chrome.css";
22
-
23
- @element("app-shell", { root: "shadow-open" })
24
- export default class AppShell extends OpenElement {
25
- static override styles = [siteChromeStyles];
26
-
27
- render() {
28
- return (
29
- <div class="page-body">
30
- <header class="site-head">
31
- <div class="bar">
32
- <a class="site-brand" href="/">
33
- openElement
34
- </a>
35
- <nav>
36
- <a href="/">Home</a>
37
- <a href="/about">About</a>
38
- <a href="/api/ping">API</a>
39
- </nav>
40
- </div>
41
- </header>
42
- <main>
43
- <slot></slot>
44
- </main>
45
- <footer class="site-foot">
46
- <div class="bar">
47
- <span>Generated by @openelement/create.</span>
48
- <a href="https://openelement.org">openelement.org</a>
49
- </div>
50
- </footer>
51
- </div>
52
- );
53
- }
54
- }
@@ -1,43 +0,0 @@
1
- /* authored from HEAD extraction — replace with design pass */
2
- /* Plain HTML+CSS recipes for the four retired zero-interaction ui shapes
3
- * (open-badge, open-callout, open-card, open-tabs #1557): the class
4
- * structures their HEAD markup rendered, as copyable rules. Consumers delete
5
- * what they do not use. Structure only — replace with the design pass. */
6
-
7
- /* open-badge */
8
- .badge {
9
- display: inline-flex;
10
- align-items: center;
11
- }
12
-
13
- /* open-callout */
14
- .callout {
15
- display: block;
16
- }
17
-
18
- .callout-header {
19
- display: flex;
20
- align-items: center;
21
- }
22
-
23
- .callout-icon {
24
- display: inline-flex;
25
- }
26
-
27
- .callout-title {
28
- margin: 0;
29
- }
30
-
31
- /* open-card */
32
- .surface {
33
- display: block;
34
- }
35
-
36
- .card-body {
37
- display: block;
38
- }
39
-
40
- /* open-tabs */
41
- .tabs {
42
- display: flex;
43
- }
@@ -1,29 +0,0 @@
1
- # pnpm workspace bookkeeping for this project. pnpm rewrites this file (for
2
- # example when it records a new minimumReleaseAgeExclude entry you approve);
3
- # keep it and review the entries it lists.
4
- #
5
- # catalog: the Vite+ form. `vite` resolves to the Vite+ core build through
6
- # the catalog and the `vite@*` override below, so every peer that asks for
7
- # vite (the router's dev server, the Tailwind Vite plugin) gets the same
8
- # Vite+ tree; `vp dev` serves through it directly.
9
- #
10
- # minimumReleaseAgeExclude: pnpm's supply-chain cooldown withholds versions
11
- # published inside its maturity window. These entries are exempt: the
12
- # @openelement packages at the version this project was generated from (a
13
- # fresh scaffold installs on release day) and vite-plus itself.
14
- catalog:
15
- vite: npm:@voidzero-dev/vite-plus-core@1.1.0
16
- vite-plus: 1.1.0
17
- minimumReleaseAgeExclude:
18
- - "@openelement/compiler@${v.element}"
19
- - "@openelement/element@${v.element}"
20
- - "@openelement/protocol@${v.element}"
21
- - "@openelement/router@${v.router}"
22
- - "vite-plus@1.1.0"
23
- overrides:
24
- vite@*: "catalog:"
25
- peerDependencyRules:
26
- allowAny:
27
- - vite
28
- allowedVersions:
29
- vite: "*"