@shivaedev/effect-contract 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +11 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1 - 2026-10-04
4
+
5
+ ### Changed
6
+
7
+ - Imports that leave their folder go through `#` aliases declared in the `imports` field of `package.json`: `#*.ts` resolves to `src` under the `source` condition and to `dist` otherwise, and `#test/*` names a test file. The published modules and declarations name the package's own files through these aliases.
8
+
3
9
  ## 0.2.0 - 2026-10-04
4
10
 
5
11
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shivaedev/effect-contract",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Typed query and command contracts over native Effect RPC and reactivity",
5
5
  "homepage": "https://github.com/ShivaeDev/platform/tree/main/packages/effect-contract#readme",
6
6
  "bugs": {
@@ -14,6 +14,14 @@
14
14
  "license": "MIT",
15
15
  "sideEffects": false,
16
16
  "type": "module",
17
+ "imports": {
18
+ "#test/*": "./test/*",
19
+ "#*.ts": {
20
+ "source": "./src/*.ts",
21
+ "types": "./dist/*.d.ts",
22
+ "default": "./dist/*.js"
23
+ }
24
+ },
17
25
  "exports": {
18
26
  ".": {
19
27
  "types": "./dist/index.d.ts",
@@ -30,11 +38,11 @@
30
38
  "README.md"
31
39
  ],
32
40
  "dependencies": {
33
- "@shivaedev/types": "0.1.0"
41
+ "@shivaedev/types": "0.1.1"
34
42
  },
35
43
  "devDependencies": {
36
44
  "@effect/vitest": "4.0.0-rc.112",
37
- "@shivaedev/quality": "0.7.0",
45
+ "@shivaedev/quality": "0.7.3",
38
46
  "@types/node": "24.10.1",
39
47
  "@typescript/native": "npm:typescript@7.0.2",
40
48
  "effect": "4.0.0-rc.112",