@jsonpages/core 2.0.3 → 2.0.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/README.md +32 -0
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# @jsonpages/core
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<strong>Compatibility bridge — use @olonjs/core instead.</strong>
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
> **Deprecated.** This package exists only to keep legacy `@jsonpages/core` imports working during the rebrand. New code must use [`@olonjs/core`](../core).
|
|
8
|
+
|
|
9
|
+
## What It Does
|
|
10
|
+
|
|
11
|
+
Re-exports the entire `@olonjs/core` API unchanged, with a CJS entry for legacy consumers:
|
|
12
|
+
|
|
13
|
+
- ESM: `export * from "@olonjs/core"`
|
|
14
|
+
- CJS: `index.cjs`
|
|
15
|
+
- Types: `index.d.ts`
|
|
16
|
+
|
|
17
|
+
## Migration
|
|
18
|
+
|
|
19
|
+
```diff
|
|
20
|
+
- import { buildPageContract } from '@jsonpages/core';
|
|
21
|
+
+ import { buildPageContract } from '@olonjs/core';
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
No behavior difference — same code, same types, same version number as the target.
|
|
25
|
+
|
|
26
|
+
## Decommissioning
|
|
27
|
+
|
|
28
|
+
See the compatibility cutoff plan: [`docs/COMPAT_CUTOFF_EN.md`](../../docs/COMPAT_CUTOFF_EN.md).
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
MIT — see [LICENSE](../../LICENSE).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsonpages/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Compatibility bridge package. Use @olonjs/core instead.",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"index.d.ts"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@olonjs/core": "^2.0.
|
|
23
|
+
"@olonjs/core": "^2.0.4"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|