@getrefino/onboarding 0.1.0 → 0.2.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/dist/agent.js +1 -1
- package/dist/verify.js +1 -1
- package/package.json +2 -2
package/dist/agent.js
CHANGED
|
@@ -148,7 +148,7 @@ Files you will edit for copy: ${filesToEdit.map((file) => `\`${file}\``).join(",
|
|
|
148
148
|
|
|
149
149
|
${bullet(plan.files.map((file) => `\`${file.path}\` — ${file.action}: ${file.description}`))}
|
|
150
150
|
|
|
151
|
-
If any of these files are missing, run \`npx @getrefino/cli init --agent --yes\` in \`${repository.appRoot}\` before continuing, or create them by hand from \`${PLAN_FILE}\`.`);
|
|
151
|
+
If any of these files are missing, run \`npx @getrefino/cli init --agent --yes ${plan.refino ? `--refino-site ${plan.refino.siteId}` : "--standalone"}\` in \`${repository.appRoot}\` before continuing, or create them by hand from \`${PLAN_FILE}\`.`);
|
|
152
152
|
sections.push(`## Steps
|
|
153
153
|
|
|
154
154
|
1. **Install dependencies.** \`${plan.repository.packageManager === "unknown" ? "npm install" : plan.repository.packageManager === "pnpm" ? "pnpm install" : plan.repository.packageManager === "yarn" ? "yarn install" : plan.repository.packageManager === "bun" ? "bun install" : "npm install"}\` (the ${plan.refino ? "two" : "three"} \`@getrefino/*\` packages were added to \`${plan.files.find((file) => file.path.endsWith("package.json"))?.path ?? "package.json"}\`).
|
package/dist/verify.js
CHANGED
|
@@ -566,7 +566,7 @@ export function verifyIntegration(rootPath, options = {}) {
|
|
|
566
566
|
else if (envExample && envExample.includes("COPY_GITHUB_TOKEN"))
|
|
567
567
|
add({ id: "env-example", status: "pass", message: ".env.example documents the Refino variables." });
|
|
568
568
|
else
|
|
569
|
-
add({ id: "env-example", status: "warn", message: ".env.example does not document EDITOR_*/COPY_* variables.", fix: "Run `refino init --agent` or add the block by hand." });
|
|
569
|
+
add({ id: "env-example", status: "warn", message: ".env.example does not document EDITOR_*/COPY_* variables.", fix: "Run `refino init --agent --standalone` or add the block by hand." });
|
|
570
570
|
// Generated runtime files: current, refreshable, or the owner's now.
|
|
571
571
|
generatedChecks(appDir, inspection, contentFile, hosted, config?.refino?.installMethod, add);
|
|
572
572
|
// Scripts (plus a tsc fallback when a TypeScript project has no typecheck script).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getrefino/onboarding",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "The engine behind `npx @getrefino/cli init`: deterministic repository inspection, copy discovery, migration planning, agent instructions and verification for adding Refino to an existing React site. Development tooling only; never part of a site's runtime.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"refino",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"typescript": ">=5.5 <7",
|
|
41
|
-
"@getrefino/core": "0.
|
|
41
|
+
"@getrefino/core": "0.2.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/node": "22.20.2",
|