@getrefino/cli 0.1.0-rc.3 → 0.1.0-rc.4
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 +8 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -86,12 +86,18 @@ npx @getrefino/cli verify
|
|
|
86
86
|
|
|
87
87
|
## Upgrading a site to a newer Refino
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
Move the `@getrefino/*` packages to the newer version, then run the command
|
|
90
|
+
you installed with, from that version:
|
|
90
91
|
|
|
91
92
|
```bash
|
|
92
|
-
|
|
93
|
+
pnpm add @getrefino/core@<version> @getrefino/react@<version> # or npm install / yarn add / bun add
|
|
94
|
+
npx @getrefino/cli@<version> init --agent --yes --refino-site site_…
|
|
93
95
|
```
|
|
94
96
|
|
|
97
|
+
`init` never changes a dependency already listed in `package.json`, and
|
|
98
|
+
`verify` fails (`package-versions`) when the installed packages are not the
|
|
99
|
+
release the generated integration was written for.
|
|
100
|
+
|
|
95
101
|
Updating the `@getrefino/*` packages is only half of an upgrade. Refino also
|
|
96
102
|
generates runtime code into your repository (`refino/`, the `/edit` route), and
|
|
97
103
|
installing a package never touches a file already committed there — so a site
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getrefino/cli",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.4",
|
|
4
4
|
"description": "Refino installer. Run `npx @getrefino/cli init` in a website's repository to let its owner edit visible copy in the browser while Git remains the source of truth. Inspects the repo, writes an authoritative migration plan and instructions for a coding agent, then verifies the result.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"refino",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"./package.json": "./package.json"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@getrefino/onboarding": "0.1.0-rc.
|
|
48
|
+
"@getrefino/onboarding": "0.1.0-rc.4"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/node": "22.20.2",
|