@_linked/server 2.12.3 → 2.12.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 +18 -0
- package/package.json +9 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @\_linked/server
|
|
2
2
|
|
|
3
|
+
## 2.12.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#81](https://github.com/linked-fw/server/pull/81) [`ff6d03a`](https://github.com/linked-fw/server/commit/ff6d03ae1fb0a1e74447f1802dd273cf7b229630) Thanks [@flyon](https://github.com/flyon)! - Declare this package's server-only surface.
|
|
8
|
+
|
|
9
|
+
```jsonc
|
|
10
|
+
"linked": { "serverOnly": [".", "./shapes/*", "./server/*", "./utils/*"] }
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
A consuming application's client/server boundary check can now derive that this
|
|
14
|
+
package must not appear in a frontend bundle, instead of hardcoding its name.
|
|
15
|
+
That matters because this package is meant to be replaceable — a check that
|
|
16
|
+
knows it by name only holds for one arrangement of the framework, and a
|
|
17
|
+
replacement would inherit none of the protection.
|
|
18
|
+
|
|
19
|
+
Purely declarative: no code, no exports and no resolution behaviour changes.
|
|
20
|
+
|
|
3
21
|
## 2.12.3
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "git+https://github.com/linked-fw/server.git"
|
|
12
12
|
},
|
|
13
|
-
"version": "2.12.
|
|
13
|
+
"version": "2.12.4",
|
|
14
14
|
"packageManager": "npm@11.19.1",
|
|
15
15
|
"linkedPackage": true,
|
|
16
16
|
"type": "module",
|
|
@@ -92,6 +92,14 @@
|
|
|
92
92
|
"import": "./lib/esm/*.js"
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
|
+
"linked": {
|
|
96
|
+
"serverOnly": [
|
|
97
|
+
".",
|
|
98
|
+
"./shapes/*",
|
|
99
|
+
"./server/*",
|
|
100
|
+
"./utils/*"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
95
103
|
"publishConfig": {
|
|
96
104
|
"access": "public"
|
|
97
105
|
},
|