@xenosystem/primitives 0.3.2 → 0.5.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.
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@xenosystem/primitives",
3
- "version": "0.3.2",
4
- "description": "XENO back-end rung 1 primitives: dirs (the XENO local home), secrets (envelope-encrypted credentials) and updates (the gated app updater).",
3
+ "version": "0.5.0",
4
+ "description": "XENO back-end rung 1 primitives: dirs (the XENO local home), secrets (envelope-encrypted credentials), updates (the gated app updater), live (the client for XENO Multiplayer) and process (start a command so that stopping it stops everything it started).",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
7
7
  "sideEffects": false,
@@ -10,6 +10,7 @@
10
10
  },
11
11
  "files": [
12
12
  "dist",
13
+ "native",
13
14
  "README.md"
14
15
  ],
15
16
  "exports": {
@@ -43,6 +44,16 @@
43
44
  "default": "./dist/cjs/updates/index.js"
44
45
  }
45
46
  },
47
+ "./live": {
48
+ "import": {
49
+ "types": "./dist/esm/live/index.d.ts",
50
+ "default": "./dist/esm/live/index.js"
51
+ },
52
+ "require": {
53
+ "types": "./dist/cjs/live/index.d.ts",
54
+ "default": "./dist/cjs/live/index.js"
55
+ }
56
+ },
46
57
  "./secrets/testing": {
47
58
  "import": {
48
59
  "types": "./dist/esm/secrets/testing.d.ts",
@@ -53,6 +64,16 @@
53
64
  "default": "./dist/cjs/secrets/testing.js"
54
65
  }
55
66
  },
67
+ "./process": {
68
+ "import": {
69
+ "types": "./dist/esm/process/index.d.ts",
70
+ "default": "./dist/esm/process/index.js"
71
+ },
72
+ "require": {
73
+ "types": "./dist/cjs/process/index.d.ts",
74
+ "default": "./dist/cjs/process/index.js"
75
+ }
76
+ },
56
77
  "./package.json": "./package.json"
57
78
  },
58
79
  "bin": {
@@ -63,7 +84,8 @@
63
84
  "build": "node ../../scripts/build-ts.mjs",
64
85
  "typecheck": "tsc -p tsconfig.json --noEmit",
65
86
  "test": "npm run typecheck && node --test \"src/**/*.test.ts\"",
66
- "prepublishOnly": "node ../../scripts/release-gate.mjs"
87
+ "prepublishOnly": "node ../../scripts/release-gate.mjs",
88
+ "build:native": "node ../../scripts/build-native.mjs"
67
89
  },
68
90
  "publishConfig": {
69
91
  "access": "public",