create-coline-app 2.3.0 → 2.5.0
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/AGENTS.md +26 -2
- package/README.md +51 -4
- package/assets/preview-host.ts +130 -0
- package/bin/_run.mjs +11 -2
- package/package.json +8 -4
- package/src/check.ts +46 -0
- package/src/cli.test.ts +112 -6
- package/src/cli.ts +12 -1
- package/src/client-build.ts +50 -0
- package/src/dev.ts +6 -5
- package/src/preview-capture.ts +101 -0
- package/src/preview.ts +189 -0
- package/src/push.ts +8 -47
- package/src/scaffold.ts +6 -0
- package/templates/backendless/.agents/skills/coline-app-development/SKILL.md +30 -64
- package/templates/backendless/.agents/skills/coline-app-development/references/live-records.md +53 -0
- package/templates/backendless/.agents/skills/coline-ui-design/SKILL.md +67 -0
- package/templates/backendless/.agents/skills/coline-ui-design/assets/board.png +0 -0
- package/templates/backendless/.agents/skills/coline-ui-design/assets/settings.png +0 -0
- package/templates/backendless/.agents/skills/coline-ui-design/assets/triage.png +0 -0
- package/templates/backendless/.agents/skills/coline-ui-review/SKILL.md +39 -0
- package/templates/backendless/AGENTS.md +70 -158
- package/templates/backendless/CLAUDE.md +1 -6
- package/templates/backendless/README.md +22 -29
- package/templates/backendless/app.config.ts +12 -8
- package/templates/backendless/app.css +84 -0
- package/templates/backendless/examples/board.tsx +173 -0
- package/templates/backendless/examples/settings.tsx +117 -0
- package/templates/backendless/examples/triage.tsx +253 -0
- package/templates/backendless/main.tsx +198 -66
- package/templates/backendless/package.json +10 -5
- package/templates/backendless/preview.seed.ts +26 -0
|
@@ -6,12 +6,15 @@
|
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "vitest run",
|
|
8
8
|
"typecheck": "tsc --noEmit",
|
|
9
|
+
"check": "coline-app check",
|
|
9
10
|
"push": "coline-app push",
|
|
10
|
-
"dev": "coline-app dev"
|
|
11
|
+
"dev": "coline-app dev",
|
|
12
|
+
"preview": "coline-app preview",
|
|
13
|
+
"screenshots": "coline-app preview --screenshots .coline/screenshots"
|
|
11
14
|
},
|
|
12
15
|
"dependencies": {
|
|
13
|
-
"@colineapp/sdk": "^0.
|
|
14
|
-
"@colineapp/ui": "^0.
|
|
16
|
+
"@colineapp/sdk": "^0.4.0",
|
|
17
|
+
"@colineapp/ui": "^0.4.0",
|
|
15
18
|
"react": "^19.0.0",
|
|
16
19
|
"react-dom": "^19.0.0",
|
|
17
20
|
"zod": "^4.3.6"
|
|
@@ -19,8 +22,10 @@
|
|
|
19
22
|
"devDependencies": {
|
|
20
23
|
"@types/react": "^19.0.0",
|
|
21
24
|
"@types/react-dom": "^19.0.0",
|
|
22
|
-
"create-coline-app": "^2.
|
|
25
|
+
"create-coline-app": "^2.5.0",
|
|
23
26
|
"typescript": "^5.8.2",
|
|
24
|
-
"vitest": "^3.2.4"
|
|
27
|
+
"vitest": "^3.2.4",
|
|
28
|
+
"tailwindcss": "^4.3.0",
|
|
29
|
+
"@colineapp/app-runtime": "^0.4.0"
|
|
25
30
|
}
|
|
26
31
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { TestWorkspace } from "@colineapp/sdk/testing";
|
|
2
|
+
// Local-only fixtures, never included in the uploaded logic or client entry.
|
|
3
|
+
export async function seed(workspace: TestWorkspace) {
|
|
4
|
+
for (const [title, body] of [
|
|
5
|
+
[
|
|
6
|
+
"A better first five minutes",
|
|
7
|
+
"The first session should end with something useful. Give people one clear next step, then let them explore.",
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"Decisions from Friday",
|
|
11
|
+
"Keep the launch small. Start with the people who already ask for this, listen closely, and ship the next improvement.",
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"Research: what teams keep losing",
|
|
15
|
+
"Context gets scattered across messages. Decisions need a home, an owner, and a way to find them again.",
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
"September release checklist",
|
|
19
|
+
"Review the mobile flow. Confirm keyboard navigation. Write the update in plain English.",
|
|
20
|
+
],
|
|
21
|
+
["Ideas for the next iteration", "Make the common path faster before adding another setting."],
|
|
22
|
+
])
|
|
23
|
+
await workspace
|
|
24
|
+
.client()
|
|
25
|
+
.files.create({ typeKey: "__APP_KEY__.note", name: title!, document: { title, body } });
|
|
26
|
+
}
|