fimo 0.15.0-staging.1 → 0.15.0-staging.2
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/assets/skills/fimo/SKILL.md +11 -4
- package/assets/skills/fimo-cli/SKILL.md +28 -27
- package/assets/skills/fimo-cli/references/account.md +0 -2
- package/assets/skills/fimo-cli/references/agent-setup.md +7 -9
- package/assets/skills/fimo-cli/references/agents.md +0 -2
- package/assets/skills/fimo-cli/references/analytics.md +0 -2
- package/assets/skills/fimo-cli/references/assets.md +2 -4
- package/assets/skills/fimo-cli/references/branches.md +0 -2
- package/assets/skills/fimo-cli/references/content.md +9 -11
- package/assets/skills/fimo-cli/references/credits.md +0 -2
- package/assets/skills/fimo-cli/references/deploy.md +2 -4
- package/assets/skills/fimo-cli/references/describe.md +0 -2
- package/assets/skills/fimo-cli/references/domains.md +0 -2
- package/assets/skills/fimo-cli/references/forms.md +5 -7
- package/assets/skills/fimo-cli/references/history.md +0 -2
- package/assets/skills/fimo-cli/references/init.md +27 -19
- package/assets/skills/fimo-cli/references/integrations/firecrawl.md +0 -2
- package/assets/skills/fimo-cli/references/integrations.md +0 -2
- package/assets/skills/fimo-cli/references/invite.md +0 -2
- package/assets/skills/fimo-cli/references/labels.md +3 -5
- package/assets/skills/fimo-cli/references/locales.md +2 -4
- package/assets/skills/fimo-cli/references/mcp.md +2 -4
- package/assets/skills/fimo-cli/references/media.md +0 -2
- package/assets/skills/fimo-cli/references/preview.md +0 -2
- package/assets/skills/fimo-cli/references/project-vars-and-secrets.md +0 -2
- package/assets/skills/fimo-cli/references/projects.md +1 -3
- package/assets/skills/fimo-cli/references/schedules.md +0 -2
- package/assets/skills/fimo-cli/references/support.md +0 -2
- package/assets/skills/fimo-cli/references/webhooks.md +0 -2
- package/assets/skills/fimo-migration/SKILL.md +99 -146
- package/assets/skills/fimo-migration/references/frameworks/nextjs.md +26 -0
- package/assets/skills/fimo-migration/references/inventory/coordinator.md +40 -0
- package/assets/skills/fimo-migration/references/inventory/locales/next-intl.md +39 -0
- package/assets/skills/fimo-migration/references/inventory/locales.md +41 -0
- package/assets/skills/fimo-migration/references/workflow.md +3 -2
- package/assets/skills/fimo-migration/scripts/inventory/locales/next-intl.mjs +459 -0
- package/assets/skills/fimo-studio/SKILL.md +1 -1
- package/assets/skills/fimo-studio/references/project-creation.md +10 -18
- package/dist/build/astro/config.js +20 -1
- package/dist/cli/bundle.json +1 -1
- package/dist/cli/index.js +72 -66
- package/package.json +2 -1
- package/templates/nextjs/AGENTS.md +10 -5
- package/templates/react-router/AGENTS.md +4 -3
- package/templates/react-router/package.json +1 -1
- package/templates/sveltekit/AGENTS.md +24 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fimo",
|
|
3
|
-
"version": "0.15.0-staging.
|
|
3
|
+
"version": "0.15.0-staging.2",
|
|
4
4
|
"description": "Fimo CLI - create, deploy, and manage Fimo projects",
|
|
5
5
|
"bin": {
|
|
6
6
|
"fimo": "dist/cli/index.js"
|
|
@@ -122,6 +122,7 @@
|
|
|
122
122
|
"postinstall": "node scripts/postinstall.mjs",
|
|
123
123
|
"test": "vitest run",
|
|
124
124
|
"test:integration:astro": "vitest run --config vitest.integration.config.ts test/integration/astro-runtime.test.ts",
|
|
125
|
+
"test:integration:astro-compat": "vitest run --config vitest.integration.config.ts test/integration/astro-compat.test.ts",
|
|
125
126
|
"test:integration:frameworks": "vitest run --config vitest.integration.config.ts",
|
|
126
127
|
"test:integration:next": "vitest run --config vitest.integration.config.ts test/integration/next-runtime.test.ts",
|
|
127
128
|
"test:integration:sveltekit": "vitest run --config vitest.integration.config.ts test/integration/sveltekit-runtime.test.ts",
|
|
@@ -4,14 +4,18 @@ This is a Fimo project. Fimo connects content, media, forms, analytics, editing,
|
|
|
4
4
|
|
|
5
5
|
## Load the Fimo skills before doing Fimo work
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Before writing schema-driven code, running CLI/deploy workflows, or migrating content, load only the
|
|
8
|
+
skill relevant to the task. During onboarding, preserve the exact CLI invocation prefix from the
|
|
9
|
+
initiating prompt for every operational command; otherwise default to `npx fimo@latest`:
|
|
8
10
|
|
|
9
11
|
```bash
|
|
10
|
-
pnpm exec fimo skills get fimo-code # code
|
|
11
|
-
npx fimo@latest skills get fimo-cli #
|
|
12
|
+
pnpm exec fimo skills get fimo-code # match the lockfile; code + framework APIs come from this project runtime
|
|
13
|
+
npx fimo@latest skills get fimo-cli # default prefix; keep the onboarding prefix when one was supplied
|
|
12
14
|
```
|
|
13
15
|
|
|
14
|
-
Use
|
|
16
|
+
Use `npm exec fimo`, `yarn fimo`, or `bunx --no-install fimo` instead of `pnpm exec fimo` when that
|
|
17
|
+
matches the project lockfile. Add `--ref <doc>` for one reference at a time. Do not load `fimo-cli` for
|
|
18
|
+
a code-only task, or use `npx fimo@latest` for project-local code generation and validation.
|
|
15
19
|
|
|
16
20
|
## Never hardcode editable values
|
|
17
21
|
|
|
@@ -26,10 +30,11 @@ The scaffolded homepage is disposable. Replace it on the first real generation.
|
|
|
26
30
|
|
|
27
31
|
1. Start the application with the project package manager (`pnpm dev`, `npm run dev`, `yarn dev`, or `bun dev`).
|
|
28
32
|
2. Build and verify against the local server.
|
|
29
|
-
3.
|
|
33
|
+
3. When a unit of work is done, **offer** to deploy: `fimo deploy` for a hosted preview / shareable link, or `fimo deploy --publish` to go live. Deploy on the developer's request or confirmation. The one exception: new-project onboarding creates a single first hosted preview automatically unless the developer said not to deploy. Never publish without an explicit request.
|
|
30
34
|
|
|
31
35
|
## Project rules
|
|
32
36
|
|
|
37
|
+
- **Deploy is on-demand**, not a save step. Batch related edits into one deploy.
|
|
33
38
|
- The application owns routes, locale resolution, links, HTML language/direction, and SEO. Fimo connects to those decisions.
|
|
34
39
|
- Do not add a second deployment platform.
|
|
35
40
|
- Never edit `.fimo/project.json`; it links this directory to the remote project.
|
|
@@ -9,11 +9,12 @@ When asked to create or manage an agent in this project, use Fimo's agent workfl
|
|
|
9
9
|
## Load the Fimo skills before doing Fimo work
|
|
10
10
|
|
|
11
11
|
Before writing schema-driven code, running CLI/deploy workflows, or migrating content, load only the
|
|
12
|
-
skill relevant to the task
|
|
12
|
+
skill relevant to the task. During onboarding, preserve the exact CLI invocation prefix from the
|
|
13
|
+
initiating prompt for every operational command; otherwise default to `npx fimo@latest`:
|
|
13
14
|
|
|
14
15
|
```bash
|
|
15
16
|
pnpm exec fimo skills get fimo-code # match the lockfile; code + framework APIs come from this project runtime
|
|
16
|
-
npx fimo@latest skills get fimo-cli #
|
|
17
|
+
npx fimo@latest skills get fimo-cli # default prefix; keep the onboarding prefix when one was supplied
|
|
17
18
|
```
|
|
18
19
|
|
|
19
20
|
Use `npm exec fimo`, `yarn fimo`, or `bunx --no-install fimo` instead of `pnpm exec fimo` when that
|
|
@@ -34,7 +35,7 @@ breaks that. Load `fimo-code` for the exact primitives, but the rule is:
|
|
|
34
35
|
|
|
35
36
|
1. Start the dev server with the project's package manager (`pnpm dev`, `npm run dev`, …) — live reload on localhost.
|
|
36
37
|
2. Make edits; the running server shows them instantly. No deploy needed to see local changes.
|
|
37
|
-
3. When a unit of work is done, **offer** to deploy: `fimo deploy` for a hosted preview / shareable link, or `fimo deploy --publish` to go live.
|
|
38
|
+
3. When a unit of work is done, **offer** to deploy: `fimo deploy` for a hosted preview / shareable link, or `fimo deploy --publish` to go live. Deploy on the developer's request or confirmation. The one exception: new-project onboarding creates a single first hosted preview automatically unless the developer said not to deploy. Never publish without an explicit request.
|
|
38
39
|
|
|
39
40
|
## Project rules
|
|
40
41
|
|
|
@@ -2,15 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
This SvelteKit application is connected to Fimo for content, editing, environments, and hosting.
|
|
4
4
|
|
|
5
|
-
## Load Fimo
|
|
5
|
+
## Load the Fimo skills before doing Fimo work
|
|
6
|
+
|
|
7
|
+
Before writing schema-driven code, running CLI/deploy workflows, or migrating content, load only the
|
|
8
|
+
skill relevant to the task. During onboarding, preserve the exact CLI invocation prefix from the
|
|
9
|
+
initiating prompt for every operational command; otherwise default to `npx fimo@latest`:
|
|
6
10
|
|
|
7
11
|
```bash
|
|
8
12
|
pnpm exec fimo skills get fimo-code
|
|
9
13
|
pnpm exec fimo skills get fimo-code --ref frameworks/sveltekit
|
|
14
|
+
npx fimo@latest skills get fimo-cli
|
|
10
15
|
```
|
|
11
16
|
|
|
12
|
-
|
|
17
|
+
Use `npm exec fimo`, `yarn fimo`, or `bunx --no-install fimo` instead of `pnpm exec fimo` when that
|
|
18
|
+
matches the project lockfile. Add `--ref <doc>` for one reference at a time. Do not load `fimo-cli` for
|
|
19
|
+
a code-only task, or use `npx fimo@latest` for project-local code generation and validation.
|
|
20
|
+
|
|
21
|
+
## Development loop
|
|
22
|
+
|
|
23
|
+
1. Start the application with the project package manager (`pnpm dev`, `npm run dev`, `yarn dev`, or `bun dev`).
|
|
24
|
+
2. Build and verify against the local server.
|
|
25
|
+
3. When a unit of work is done, **offer** to deploy: `fimo deploy` for a hosted preview / shareable link, or `fimo deploy --publish` to go live. Deploy on the developer's request or confirmation. The one exception: new-project onboarding creates a single first hosted preview automatically unless the developer said not to deploy. Never publish without an explicit request.
|
|
26
|
+
|
|
27
|
+
## Project rules
|
|
13
28
|
|
|
14
|
-
|
|
29
|
+
- **Deploy is on-demand**, not a save step. Batch related edits into one deploy.
|
|
30
|
+
- The application owns routes, locale resolution, links, HTML language/direction, and SEO. Fimo connects to those decisions.
|
|
31
|
+
- Do not add a second deployment platform.
|
|
32
|
+
- Never edit `.fimo/project.json`; it links this directory to the remote project.
|
|
33
|
+
- Keep secrets in the Fimo dashboard, not committed environment files.
|
|
34
|
+
- Pass flags to interactive Fimo commands when scripting them.
|
|
15
35
|
|
|
16
|
-
|
|
36
|
+
The scaffolded homepage is disposable. Replace it when building the requested site.
|