@edgekits/astro-i18n 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ All notable changes to this package are documented here. The format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the package uses
5
5
  [Semantic Versioning](https://semver.org/).
6
6
 
7
+ ## 0.1.2 — 2026-10-13
8
+
9
+ ### Fixed
10
+
11
+ - `package.json` is normalised (`bin` path without `./`, `repository.url` in the `git+https://….git` form), so `npm publish` prints no warnings.
12
+ - The build removes `dist/` before compiling, so a deleted source file can no longer ship as a stale `dist/*.js`.
13
+
7
14
  ## 0.1.1 — 2026-10-13
8
15
 
9
16
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgekits/astro-i18n",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Edge-native i18n for Astro on Cloudflare Workers: translations in Workers KV, a per-namespace edge cache invalidated by the Purge API, and typed keys.",
5
5
  "keywords": [
6
6
  "astro",
@@ -16,7 +16,7 @@
16
16
  "author": "Gary Stupak",
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "https://github.com/EdgeKits/astro-i18n"
19
+ "url": "git+https://github.com/EdgeKits/astro-i18n.git"
20
20
  },
21
21
  "homepage": "https://github.com/EdgeKits/astro-i18n#readme",
22
22
  "bugs": {
@@ -38,7 +38,7 @@
38
38
  "./package.json": "./package.json"
39
39
  },
40
40
  "bin": {
41
- "edgekits-i18n": "./dist/cli/index.js"
41
+ "edgekits-i18n": "dist/cli/index.js"
42
42
  },
43
43
  "files": [
44
44
  "dist",
@@ -51,7 +51,7 @@
51
51
  "access": "public"
52
52
  },
53
53
  "scripts": {
54
- "build": "tsc -p tsconfig.build.json",
54
+ "build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.build.json",
55
55
  "prepublishOnly": "npm run build",
56
56
  "test": "node --import ./test/register.mjs --test test/**/*.test.ts",
57
57
  "typecheck": "tsc --noEmit",