@karpoland/sdk 0.0.0-stage → 1.0.0

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/package.json CHANGED
@@ -1,6 +1,72 @@
1
1
  {
2
2
  "name": "@karpoland/sdk",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.0",
4
+ "description": "Official SDK for Karpo Land mini apps: the app service (tools, hooks, signed deliveries), the platform client, the page client, the test kit and the publish CLI.",
5
+ "license": "Apache-2.0",
6
+ "type": "module",
7
+ "engines": {
8
+ "node": ">=18"
9
+ },
10
+ "sideEffects": false,
11
+ "main": "./dist/index.cjs",
12
+ "module": "./dist/index.js",
13
+ "types": "./dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "import": {
17
+ "types": "./dist/index.d.ts",
18
+ "default": "./dist/index.js"
19
+ },
20
+ "require": {
21
+ "types": "./dist/index.d.cts",
22
+ "default": "./dist/index.cjs"
23
+ }
24
+ },
25
+ "./page": {
26
+ "import": {
27
+ "types": "./dist/page.d.ts",
28
+ "default": "./dist/page.js"
29
+ },
30
+ "require": {
31
+ "types": "./dist/page.d.cts",
32
+ "default": "./dist/page.cjs"
33
+ }
34
+ },
35
+ "./testing": {
36
+ "import": {
37
+ "types": "./dist/testing.d.ts",
38
+ "default": "./dist/testing.js"
39
+ },
40
+ "require": {
41
+ "types": "./dist/testing.d.cts",
42
+ "default": "./dist/testing.cjs"
43
+ }
44
+ },
45
+ "./page.global.js": "./dist/page.global.js",
46
+ "./package.json": "./package.json"
47
+ },
48
+ "bin": {
49
+ "karpoland": "./dist/cli.js"
50
+ },
51
+ "files": [
52
+ "dist",
53
+ "README.md"
54
+ ],
55
+ "scripts": {
56
+ "build": "tsup",
57
+ "typecheck": "tsc --noEmit",
58
+ "test": "vitest run",
59
+ "test:unit": "vitest run --exclude test/integration.test.ts",
60
+ "test:integration": "vitest run test/integration.test.ts",
61
+ "prepack": "npm run build"
62
+ },
63
+ "devDependencies": {
64
+ "@types/node": "^22.10.0",
65
+ "tsup": "^9.0.0",
66
+ "typescript": "^5.7.2",
67
+ "vitest": "^5.1.0"
68
+ },
69
+ "publishConfig": {
70
+ "access": "public"
71
+ }
72
+ }