@ainame/tuzuru 0.0.20 → 0.1.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/package.json +2 -2
- package/README.md +0 -34
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ainame/tuzuru",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Tuzuru static blog generator (npm wrapper around prebuilt binaries)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -33,6 +33,6 @@
|
|
|
33
33
|
"bin/",
|
|
34
34
|
"scripts/",
|
|
35
35
|
"vendor/",
|
|
36
|
-
"README.md"
|
|
36
|
+
"../README.md"
|
|
37
37
|
]
|
|
38
38
|
}
|
package/README.md
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
@ainame/tuzuru (npm)
|
|
2
|
-
|
|
3
|
-
NPM wrapper for the Tuzuru static blog generator.
|
|
4
|
-
|
|
5
|
-
What it does
|
|
6
|
-
- Installs prebuilt Tuzuru binary for your platform (macOS universal or Linux x64/aarch64) during npm install.
|
|
7
|
-
- Exposes a `tuzuru` executable on your PATH.
|
|
8
|
-
- Sets `TUZURU_RESOURCES` automatically so Tuzuru can locate its resource bundle.
|
|
9
|
-
|
|
10
|
-
Install
|
|
11
|
-
- Latest published: `npm i -g @ainame/tuzuru`
|
|
12
|
-
- Or as a dev dependency: `npm i -D @ainame/tuzuru`
|
|
13
|
-
|
|
14
|
-
Usage
|
|
15
|
-
- `tuzuru --help`
|
|
16
|
-
- `tuzuru generate`
|
|
17
|
-
- `tuzuru init`
|
|
18
|
-
|
|
19
|
-
Version mapping
|
|
20
|
-
- The npm package version should match the Tuzuru GitHub release tag (no `v` prefix). The installer fetches the asset for that tag.
|
|
21
|
-
- If the package version is `0.0.0`, the installer falls back to the latest release via the GitHub API.
|
|
22
|
-
|
|
23
|
-
Maintainers: how to publish
|
|
24
|
-
1) Create a Tuzuru release and note the version (e.g. `1.2.3`). Ensure assets exist named:
|
|
25
|
-
- `tuzuru-1.2.3-macos-universal.tar.gz`
|
|
26
|
-
- `tuzuru-1.2.3-linux-x86_64.tar.gz`
|
|
27
|
-
- `tuzuru-1.2.3-linux-aarch64.tar.gz`
|
|
28
|
-
2) Update `npm/package.json` version to the same `1.2.3`.
|
|
29
|
-
3) From the `npm/` directory, run:
|
|
30
|
-
- `npm publish --access public`
|
|
31
|
-
|
|
32
|
-
CI note
|
|
33
|
-
- This package uses the GitHub REST API unauthenticated during installation to resolve the asset URL. On heavily parallelized CI, consider setting `GITHUB_TOKEN` in the environment to increase rate limits.
|
|
34
|
-
|