@hyperscale0/hsx 1.0.0-alpha.1 → 1.0.0-alpha.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.
package/CHANGELOG.md CHANGED
@@ -11,6 +11,16 @@ listed here.
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
+ ## [1.0.0-alpha.2] - 2026-08-23
15
+
16
+ ### Fixed
17
+
18
+ - `bin` points at the built JavaScript; alpha.1's registry metadata pointed at
19
+ TypeScript source. npm builds the packument from package.json as it sits on
20
+ disk after `postpack`, so the pack-time rewrite never reached `bin`, and
21
+ every install linked `.bin/hsx` to `bin/hsx.ts`, which Node refuses to
22
+ execute.
23
+
14
24
  ### Changed
15
25
 
16
26
  - Licensed AGPL-3.0-only with a commercial license from Hyperscale LLC;
@@ -55,5 +65,6 @@ This is the first version published as a package anyone can install.
55
65
  program that needs more is refused with a diagnostic saying so.
56
66
  - **`party` takes no attribute block yet**, though the grammar parses one.
57
67
 
58
- [Unreleased]: https://github.com/hyperscale0/hyperscale-hsx/compare/v1.0.0-alpha.1...HEAD
68
+ [Unreleased]: https://github.com/hyperscale0/hyperscale-hsx/compare/v1.0.0-alpha.2...HEAD
69
+ [1.0.0-alpha.2]: https://github.com/hyperscale0/hyperscale-hsx/compare/v1.0.0-alpha.1...v1.0.0-alpha.2
59
70
  [1.0.0-alpha.1]: https://github.com/hyperscale0/hyperscale-hsx/releases/tag/v1.0.0-alpha.1
package/README.md CHANGED
@@ -24,12 +24,13 @@ executed.
24
24
  ## Install
25
25
 
26
26
  ```bash
27
- npm install @hyperscale0/hsx@alpha
27
+ npm install @hyperscale0/hsx
28
28
  ```
29
29
 
30
- The `@alpha` tag is not optional. There is no `latest` tag before 1.0.0, so a
31
- bare `npm install @hyperscale0/hsx` fails loudly rather than quietly installing
32
- something you did not choose.
30
+ Every release before 1.0.0 is an alpha, and `latest` follows the newest one, so
31
+ a bare install gets it. `npm install @hyperscale0/hsx@alpha` is the explicit
32
+ form and resolves to the same version. Pin an exact version if you need one:
33
+ until 1.0.0 a change to the surface ships as a minor bump, not a major.
33
34
 
34
35
  ## A program
35
36
 
@@ -12,5 +12,5 @@
12
12
  /** Stamped into every compiled HSX-JSON document as `hsx`. */
13
13
  export declare const HSX_IR_VERSION = 1;
14
14
  /** Kept equal to the package.json version by `test/spec.spec.ts`. */
15
- export declare const HSX_VERSION = "1.0.0-alpha.1";
15
+ export declare const HSX_VERSION = "1.0.0-alpha.2";
16
16
  //# sourceMappingURL=version.d.ts.map
@@ -12,5 +12,5 @@
12
12
  /** Stamped into every compiled HSX-JSON document as `hsx`. */
13
13
  export const HSX_IR_VERSION = 1;
14
14
  /** Kept equal to the package.json version by `test/spec.spec.ts`. */
15
- export const HSX_VERSION = "1.0.0-alpha.1";
15
+ export const HSX_VERSION = "1.0.0-alpha.2";
16
16
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperscale0/hsx",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.2",
4
4
  "description": "The HSX language: a compiler from a textual description of a financial product's money movement to the HSX-JSON IR.",
5
5
  "keywords": [
6
6
  "hsx",
@@ -56,12 +56,11 @@
56
56
  "node": ">=22.0.0"
57
57
  },
58
58
  "publishConfig": {
59
- "access": "public",
60
- "tag": "alpha"
59
+ "access": "public"
61
60
  },
62
61
  "scripts": {
63
62
  "build": "tsc -p tsconfig.build.json",
64
- "check": "bun test && tsc -p tsconfig.json",
63
+ "check": "bun test && tsc -p tsconfig.json && bun run build && bun scripts/check-bin.ts",
65
64
  "postpack": "bun scripts/pack-exports.ts restore",
66
65
  "prepack": "bun run build && bun scripts/pack-exports.ts apply",
67
66
  "test": "bun test",
package/src/version.ts CHANGED
@@ -14,4 +14,4 @@
14
14
  export const HSX_IR_VERSION = 1;
15
15
 
16
16
  /** Kept equal to the package.json version by `test/spec.spec.ts`. */
17
- export const HSX_VERSION = "1.0.0-alpha.1";
17
+ export const HSX_VERSION = "1.0.0-alpha.2";