twskin 0.5.3 → 0.5.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/CHANGELOG.md CHANGED
@@ -5,6 +5,21 @@ All notable changes to this package are documented here. This project follows
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.5.4] - 2026-07-27
9
+
10
+ ### Fixed
11
+
12
+ - Installation now explicitly uses npm's public registry.
13
+
14
+ ### Changed
15
+
16
+ - Theme Manager now reports the matching `0.5.4` package version.
17
+
18
+ ### For contributors
19
+
20
+ - The npm publish workflow now performs the package build and validation once,
21
+ and serializes duplicate publishes for the same release tag.
22
+
8
23
  ## [0.5.3] - 2026-07-26
9
24
 
10
25
  ### Added
@@ -30,7 +45,6 @@ All notable changes to this package are documented here. This project follows
30
45
 
31
46
  - The restore control now returns from `取消 / 确认恢复` to `恢复默认` after the
32
47
  user confirms restoration.
33
- - Publish the CLI under its internal registry name, `@byted-relic/twskin`.
34
48
 
35
49
  ## [0.5.2] - 2026-07-24
36
50
 
package/README.md CHANGED
@@ -16,7 +16,7 @@ switching and restoring local themes in TRAE Work on macOS.
16
16
  ## Install
17
17
 
18
18
  ```bash
19
- npm install --global twskin
19
+ npm install --global twskin@latest --registry=https://registry.npmjs.org
20
20
  twskin start
21
21
  ```
22
22
 
@@ -20,7 +20,7 @@ This creates the current `twskin` version on npm. Verify it with:
20
20
 
21
21
  ```bash
22
22
  npm view twskin version --registry=https://registry.npmjs.org
23
- npm install --global twskin
23
+ npm install --global twskin@latest --registry=https://registry.npmjs.org
24
24
  ```
25
25
 
26
26
  ## Trusted publishing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "twskin",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "An unofficial community theme manager and CLI for TRAE Work on macOS.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -30,7 +30,7 @@
30
30
  "check": "npm run typecheck && node ./scripts/check-package.mjs",
31
31
  "test": "npm run build && node --test \"test/*.test.mjs\"",
32
32
  "build:themes": "npm run build && node ../../scripts/build-theme-pack.mjs",
33
- "prepack": "npm run prepare:runtime && npm run check && npm test",
33
+ "prepack": "npm run prepare:runtime && npm test && npm run check",
34
34
  "pack:dry-run": "npm pack --dry-run"
35
35
  },
36
36
  "engines": {
@@ -15,7 +15,7 @@ import path from "node:path";
15
15
  import { fileURLToPath } from "node:url";
16
16
 
17
17
  const ROOT = path.dirname(fileURLToPath(import.meta.url));
18
- const VERSION = "0.5.3";
18
+ const VERSION = "0.5.4";
19
19
  const DATA_DIR = process.env.TWSKIN_DATA_DIR || path.join(os.homedir(), ".trae-work-skin");
20
20
 
21
21
  function parseArgs(argv) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "0.5.3",
3
+ "packageVersion": "0.5.4",
4
4
  "themesBundled": false,
5
5
  "files": [
6
6
  {
@@ -11,7 +11,7 @@
11
11
  {
12
12
  "path": "injector.mjs",
13
13
  "size": 25662,
14
- "sha256": "10671777cd09c02d49ca6fb0278f0dac5de70f793ad9edd11fcabf7b9ab254dd"
14
+ "sha256": "2153a3777648883c621f4dc2ce4ea61d5a8b21ff54d28539e77ef15f15b8f8a1"
15
15
  },
16
16
  {
17
17
  "path": "restore.sh",