@starci/seed 0.0.0-stage → 0.1.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,87 @@
1
1
  {
2
2
  "name": "@starci/seed",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "The data standard of a StarCi project in one package: the two kinds of seed, the standard seed (loaded once by the bring-up) and the backup seed (written by the scheduled job, brought back by a sync). The ports (store and driver adapters, one export to several copies, the copy contract and the line protocol), in-memory references with the store and driver contract suites under ./testing, a git driver (sealed by purpose with sops and age) under ./git, and the postgres store (the whole relational database as deterministic per-table rows) under ./postgres.",
5
+ "keywords": [
6
+ "seed",
7
+ "backup",
8
+ "data",
9
+ "sync",
10
+ "git",
11
+ "sops",
12
+ "age"
13
+ ],
14
+ "license": "MIT",
15
+ "author": "starci183",
16
+ "homepage": "https://github.com/starci183/starci-harness/tree/main/packages/seed#readme",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/starci183/starci-harness.git",
20
+ "directory": "packages/seed"
21
+ },
22
+ "bugs": {
23
+ "url": "https://github.com/starci183/starci-harness/issues"
24
+ },
25
+ "private": false,
26
+ "type": "module",
27
+ "main": "./dist/index.js",
28
+ "types": "./dist/index.d.ts",
29
+ "exports": {
30
+ ".": {
31
+ "types": "./dist/index.d.ts",
32
+ "default": "./dist/index.js"
33
+ },
34
+ "./testing": {
35
+ "types": "./dist/testing/index.d.ts",
36
+ "default": "./dist/testing/index.js"
37
+ },
38
+ "./git": {
39
+ "types": "./dist/git/index.d.ts",
40
+ "default": "./dist/git/index.js"
41
+ },
42
+ "./postgres": {
43
+ "types": "./dist/postgres/index.d.ts",
44
+ "default": "./dist/postgres/index.js"
45
+ },
46
+ "./package.json": "./package.json"
47
+ },
48
+ "files": [
49
+ "dist",
50
+ "!dist/**/*.spec.*",
51
+ "LICENSE",
52
+ "README.md",
53
+ "CHANGELOG.md"
54
+ ],
55
+ "sideEffects": false,
56
+ "engines": {
57
+ "node": ">=20"
58
+ },
59
+ "scripts": {
60
+ "build": "node -e \"require('node:fs').rmSync('dist', {recursive: true, force: true})\" && tsc -p tsconfig.build.json && node -e \"const fs = require('node:fs'); for (const f of fs.readdirSync('dist', {recursive: true}).filter((n) => n.endsWith('.d.ts'))) fs.writeFileSync('dist/' + f, fs.readFileSync('dist/' + f, 'utf8').replace(/((?:from |import\\()['\\x22]\\.\\.?\\/[^'\\x22]+)\\.ts(['\\x22])/g, (all, head, quote) => head + '.js' + quote))\"",
61
+ "typecheck": "tsc -p tsconfig.json --noEmit",
62
+ "lint": "eslint .",
63
+ "test": "npm run typecheck && npm run lint && node --test --experimental-test-coverage --test-coverage-include=\"src/**/*.ts\" --test-coverage-exclude=\"src/**/*.spec.ts\" --test-coverage-lines=100 --test-coverage-branches=100 --test-coverage-functions=100 \"src/**/*.spec.ts\"",
64
+ "prepack": "npm run build",
65
+ "prepublishOnly": "npm test && npm run build"
66
+ },
67
+ "dependencies": {
68
+ "@starci/common": "1.0.1"
69
+ },
70
+ "devDependencies": {
71
+ "@eslint/js": "10.0.1",
72
+ "@starci/common": "file:../common",
73
+ "@types/node": "22.20.4",
74
+ "@types/pg": "8.23.1",
75
+ "eslint": "10.13.0",
76
+ "jiti": "2.7.0",
77
+ "pg": "8.23.1",
78
+ "typescript": "5.9.3",
79
+ "typescript-eslint": "8.72.0"
80
+ },
81
+ "publishConfig": {
82
+ "access": "public",
83
+ "provenance": true
84
+ },
85
+ "gitHead": "8fd394ebd5c80b1107bd85fa53303332b443de62",
86
+ "starciSource": "f37d261720b75e63c78d2c82c2c2cbfb9255fae9a52a4c897c97fa3c8e33c4e9"
87
+ }