@opnpress/opnpress-cli 0.1.1 → 0.1.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/README.md
CHANGED
|
@@ -61,7 +61,10 @@ Release flow:
|
|
|
61
61
|
5. Update `package.json` version.
|
|
62
62
|
6. Create and push a tag such as `v0.1.1`.
|
|
63
63
|
7. GitHub Actions runs build, test, and `npm publish --access public`.
|
|
64
|
-
8. npm
|
|
64
|
+
8. npm publishes `@opnpress/opnpress-cli` and GitHub creates a release for the tag.
|
|
65
|
+
|
|
66
|
+
Provenance is only generated automatically when the source repository is public.
|
|
67
|
+
If this GitHub repository stays private, publish without `--provenance`.
|
|
65
68
|
|
|
66
69
|
The package is org-scoped and public, so `npm` treats each `name + version` combination as permanent once published.
|
|
67
70
|
|
package/package.json
CHANGED
|
@@ -24,10 +24,9 @@ jobs:
|
|
|
24
24
|
uses: actions/setup-node@v4
|
|
25
25
|
with:
|
|
26
26
|
node-version: '22'
|
|
27
|
-
cache: npm
|
|
28
27
|
|
|
29
28
|
- name: Build site
|
|
30
|
-
run: npx
|
|
29
|
+
run: npx --yes @opnpress/opnpress-cli@latest build
|
|
31
30
|
|
|
32
31
|
- name: Publish to Cloudflare Pages
|
|
33
32
|
uses: cloudflare/wrangler-action@v3
|
|
@@ -30,13 +30,6 @@ site:
|
|
|
30
30
|
# branding:
|
|
31
31
|
# poweredByOpnPress: true
|
|
32
32
|
|
|
33
|
-
# Deployment target for the GitHub Actions workflow.
|
|
34
|
-
# deployment:
|
|
35
|
-
# provider: cloudflare-pages
|
|
36
|
-
# cloudflare:
|
|
37
|
-
# projectName: opnpress
|
|
38
|
-
# productionBranch: master
|
|
39
|
-
|
|
40
33
|
# Integrations and reusable contact blocks are rendered from markdown shortcodes.
|
|
41
34
|
# integrations:
|
|
42
35
|
# contactForm:
|