@lonca/core 0.7.0 → 1.0.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.
- package/README.md +3 -1
- package/package.json +14 -7
package/README.md
CHANGED
|
@@ -11,6 +11,8 @@ Shared primitives for Lonca marketplace SDKs.
|
|
|
11
11
|
> [!IMPORTANT]
|
|
12
12
|
> **Unofficial.** Part of Lonca, an independent, community-maintained project — not affiliated with, endorsed by, or supported by any marketplace. All marketplace names and trademarks belong to their respective owners.
|
|
13
13
|
|
|
14
|
+
See [Stability & versioning](https://loncadev.github.io/lonca/stability/) for the semver policy and what counts as the public API.
|
|
15
|
+
|
|
14
16
|
## Install
|
|
15
17
|
|
|
16
18
|
```bash
|
|
@@ -40,7 +42,7 @@ pnpm add @lonca/core
|
|
|
40
42
|
|
|
41
43
|
## Stability
|
|
42
44
|
|
|
43
|
-
`
|
|
45
|
+
`1.x` — stable. Breaking changes ship only in major versions; see [Stability & versioning](https://loncadev.github.io/lonca/stability/).
|
|
44
46
|
|
|
45
47
|
## License
|
|
46
48
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lonca/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Shared primitives for Lonca marketplace SDKs: money, errors, retry, logger, rate limiter.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/loncadev/lonca.git",
|
|
8
|
+
"url": "git+https://github.com/loncadev/lonca.git",
|
|
9
9
|
"directory": "packages/core"
|
|
10
10
|
},
|
|
11
11
|
"homepage": "https://github.com/loncadev/lonca/tree/main/packages/core#readme",
|
|
@@ -16,9 +16,14 @@
|
|
|
16
16
|
"types": "./dist/index.d.ts",
|
|
17
17
|
"exports": {
|
|
18
18
|
".": {
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
"import": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"default": "./dist/index.js"
|
|
22
|
+
},
|
|
23
|
+
"require": {
|
|
24
|
+
"types": "./dist/index.d.cts",
|
|
25
|
+
"default": "./dist/index.cjs"
|
|
26
|
+
}
|
|
22
27
|
},
|
|
23
28
|
"./package.json": "./package.json"
|
|
24
29
|
},
|
|
@@ -35,15 +40,17 @@
|
|
|
35
40
|
"node": ">=22"
|
|
36
41
|
},
|
|
37
42
|
"devDependencies": {
|
|
38
|
-
"@types/node": "^24.
|
|
43
|
+
"@types/node": "^24.13.3",
|
|
44
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
39
45
|
"tsup": "^8.3.5",
|
|
40
46
|
"typescript": "^6.0.3",
|
|
41
|
-
"vitest": "^4.1.
|
|
47
|
+
"vitest": "^4.1.11"
|
|
42
48
|
},
|
|
43
49
|
"scripts": {
|
|
44
50
|
"build": "tsup",
|
|
45
51
|
"dev": "tsup --watch",
|
|
46
52
|
"test": "vitest run",
|
|
53
|
+
"test:coverage": "vitest run --coverage",
|
|
47
54
|
"test:watch": "vitest",
|
|
48
55
|
"typecheck": "tsc --noEmit",
|
|
49
56
|
"lint": "eslint .",
|