oneie 5.0.0 → 5.2.1
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/README.md +44 -0
- package/dist/package.json +2 -2
- package/dist/src/draw.d.ts +18 -0
- package/dist/src/draw.js +156 -0
- package/dist/src/group.js +2 -0
- package/dist/src/index.js +9 -6
- package/dist/src/init.d.ts +1 -1
- package/dist/src/init.js +9 -17
- package/dist/src/join.d.ts +11 -0
- package/dist/src/join.js +292 -0
- package/dist/src/key.d.ts +23 -0
- package/dist/src/key.js +270 -0
- package/dist/src/lib/paths.d.ts +8 -0
- package/dist/src/lib/paths.js +16 -2
- package/dist/src/lib/plan-draw.d.ts +56 -0
- package/dist/src/lib/plan-draw.js +219 -0
- package/dist/src/lib/plan-live.d.ts +20 -0
- package/dist/src/lib/plan-live.js +192 -0
- package/dist/src/onboard.js +16 -15
- package/dist/src/tasks.js +52 -0
- package/dist/src/wallet.d.ts +2 -0
- package/dist/src/wallet.js +1 -1
- package/package.json +2 -2
- package/dist/src/templates/_node/site/one.config.d.ts +0 -2
- package/dist/src/templates/_node/site/one.config.js +0 -22
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck — template file; typechecked in the target Astro project, not the CLI
|
|
2
|
-
// Install: bun add @oneie/frontend
|
|
3
|
-
// After setup: copy ONE_API_KEY from .env.local into backend.apiKey
|
|
4
|
-
import { defineOne } from '@oneie/frontend';
|
|
5
|
-
// The only per-node configuration:
|
|
6
|
-
// - backend.apiKey: your workspace's scoped API key (from one setup)
|
|
7
|
-
// - brand.tokens: 6 color tokens to match your brand
|
|
8
|
-
export default defineOne({
|
|
9
|
-
backend: {
|
|
10
|
-
apiKey: process.env.ONE_API_KEY ?? '',
|
|
11
|
-
},
|
|
12
|
-
brand: {
|
|
13
|
-
tokens: {
|
|
14
|
-
primary: 'hsl(216 55% 25%)', // your brand primary
|
|
15
|
-
secondary: 'hsl(160 40% 45%)', // secondary / accent
|
|
16
|
-
tertiary: 'hsl(38 90% 55%)', // highlight / CTA
|
|
17
|
-
background: 'hsl(0 0% 100%)', // page background
|
|
18
|
-
foreground: 'hsl(220 20% 15%)', // body text
|
|
19
|
-
font: 'Inter, system-ui, sans-serif',
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
});
|