@jacebenson/jsn 4.3.13-dev.109.1 → 4.3.13-dev.111.1

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
@@ -103,20 +103,15 @@ supported (three stable releases and three dev builds). For example, with
103
103
  stable `4.3.11`, versions `4.3.11`, `4.3.10`, and `4.3.9` are supported.
104
104
  Update to the newest version in your channel before reporting an issue.
105
105
 
106
- After each successful npm publish, deployment deprecates older versions in that
107
- channel. Deprecated versions remain installable and appear in history, but npm
108
- prints an update warning on installation. Existing deprecation messages are
109
- preserved. No versions are unpublished.
110
-
111
- The deprecation step uses the repository's `NPM_TOKEN` secret with permission to
112
- modify `@jacebenson/jsn` and noninteractive authentication (including bypass 2FA
113
- where required). Publishing continues to use OIDC. A deprecation failure fails
114
- the workflow after publishing; it does not roll back the published package.
115
- To retry only deprecation after fixing authentication, use the matching release
116
- checkout and run `node scripts/deprecate-old-versions.mjs latest --apply` (or
117
- `dev --apply`) with npm authentication configured and `NODE_AUTH_TOKEN` set.
118
- Omit `--apply` to preview the affected versions without changing npm. The script
119
- requires the checkout's package version to match the channel's current npm tag.
106
+ Publishing uses npm trusted publishing (OIDC) and advances the channel's dist-tag.
107
+ CI/CD does not deprecate older versions or require an `NPM_TOKEN` secret. Older
108
+ versions remain available; their availability does not extend the support window.
109
+
110
+ The optional maintenance script `scripts/deprecate-old-versions.mjs` can preview
111
+ older versions with `node scripts/deprecate-old-versions.mjs latest` (or `dev`).
112
+ Applying deprecations with `--apply` requires npm authentication and
113
+ `NODE_AUTH_TOKEN`; it is separate from publishing. The script requires the
114
+ checkout's package version to match the channel's current npm tag.
120
115
 
121
116
  ## Try it
122
117
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jacebenson/jsn",
3
- "version": "4.3.13-dev.109.1",
3
+ "version": "4.3.13-dev.111.1",
4
4
  "description": "A command-line interface for ServiceNow that follows the Unix philosophy: simple, composable, and scriptable.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -189,6 +189,7 @@ export function skillCmd(wrap) {
189
189
  }
190
190
  app.ok({
191
191
  content,
192
+ _formatted: content.endsWith('\n') ? content : `${content}\n`,
192
193
  bundled: SKILL_REPO_PATH,
193
194
  }, {
194
195
  summary: 'jsn AI agent skill file (bundled)',