@nimtech/nimpress 2.6.1 → 2.6.3
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/.claude/skills/nimpress/SKILL.md +1 -1
- package/dist/cli.es.js +493 -471
- package/dist/nimpress.es.js +2098 -2080
- package/dist/{plugin-NiTYQgLI.js → plugin-FqF3mcpj.js} +432 -428
- package/dist/plugin.es.js +11 -10
- package/dist/src/cli/view.d.ts +1 -0
- package/dist/src/cli/view.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -112,7 +112,7 @@ nimpress view --offline
|
|
|
112
112
|
nimpress dev --view
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
-
Serves the central docs site this repo publishes into with the repo's export folder overlaid at its mapped path, and opens the browser on those pages. It needs no config in the repo. The docs site is read from the `docs-notify` step of the workflows under `.github/workflows/`, `docs-repo` and `export-dir`, one link per site when several name one; where none does, the command asks for the repo url, http or ssh, and `--docs-repo=` answers it up front. A connection that is refused leads to a login through `gh` when installed, else by naming the ssh key. Links and the login method persist in `~/.nimpress`, so the question is asked once per repo. The site is cloned under `~/.tide/nimpress/sites/<owner>__<repo>/`, fetched on every run unless `--offline`, and `pnpm install` runs there on first use and on a lockfile change. The mapped path is `nimpress.sources.json` merged with the receiver's `defaults`, the source winning per field. A repo with its own config runs `export` in watch mode underneath; `nimpress dev --view` is the same run from there. `--no-browser` prints the url instead of opening it, `--export-dir=` names the export folder when no workflow does, and `--target=` limits the export to one target name.
|
|
115
|
+
Serves the central docs site this repo publishes into with the repo's export folder overlaid at its mapped path, and opens the browser on those pages. It needs no config in the repo. The docs site is read from the `docs-notify` step of the workflows under `.github/workflows/`, `docs-repo` and `export-dir`, one link per site when several name one; where none does, the command asks for the repo url, http or ssh, and `--docs-repo=` answers it up front. A connection that is refused leads to a login through `gh` when installed, else by naming the ssh key. Links and the login method persist in `~/.nimpress`, so the question is asked once per repo. The site is cloned under `~/.tide/nimpress/sites/<owner>__<repo>/`, fetched on every run unless `--offline`, and `pnpm install` runs there on first use and on a lockfile change. The mapped path is `nimpress.sources.json` merged with the receiver's `defaults`, the source winning per field. The local pages win: a site page whose url, by slug or `path` frontmatter, one of them takes is removed from the clone for the preview, printed as `the local pages replace <file>`, and restored from git on the next sync; the published site still refuses the collision, so the site repo retires that page before the real sync. A repo with its own config runs `export` in watch mode underneath; `nimpress dev --view` is the same run from there. `--no-browser` prints the url instead of opening it, `--export-dir=` names the export folder when no workflow does, and `--target=` limits the export to one target name.
|
|
116
116
|
|
|
117
117
|
### cache
|
|
118
118
|
|