@rcpooley/concord 0.4.0 → 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.
- package/README.md +96 -46
- package/bin/concord.service +0 -12
- package/dist/api.d.ts +130 -0
- package/dist/api.d.ts.map +1 -0
- package/dist/api.js +21 -0
- package/dist/api.js.map +1 -0
- package/dist/cli/client.d.ts +53 -0
- package/dist/cli/client.d.ts.map +1 -0
- package/dist/cli/client.js +137 -0
- package/dist/cli/client.js.map +1 -0
- package/dist/cli/main.js +100 -22
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/remote.d.ts +18 -0
- package/dist/cli/remote.d.ts.map +1 -0
- package/dist/cli/remote.js +161 -0
- package/dist/cli/remote.js.map +1 -0
- package/dist/daemon.d.ts.map +1 -1
- package/dist/daemon.js +66 -32
- package/dist/daemon.js.map +1 -1
- package/dist/hook.d.ts +9 -5
- package/dist/hook.d.ts.map +1 -1
- package/dist/hook.js +13 -26
- package/dist/hook.js.map +1 -1
- package/dist/init.d.ts +5 -0
- package/dist/init.d.ts.map +1 -1
- package/dist/init.js +32 -8
- package/dist/init.js.map +1 -1
- package/dist/modules/apt/index.d.ts +8 -1
- package/dist/modules/apt/index.d.ts.map +1 -1
- package/dist/modules/apt/index.js +16 -5
- package/dist/modules/apt/index.js.map +1 -1
- package/dist/modules/apt/schema.js +1 -1
- package/dist/plans.d.ts +2 -55
- package/dist/plans.d.ts.map +1 -1
- package/dist/plans.js.map +1 -1
- package/dist/server.d.ts +58 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +242 -0
- package/dist/server.js.map +1 -0
- package/dist-ui/assets/index-BPDholoa.css +1 -0
- package/dist-ui/assets/index-CGA96JMz.js +11 -0
- package/dist-ui/index.html +15 -0
- package/package.json +5 -3
- package/templates/starter/README.md +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rcpooley/concord",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Declarative config reconciler: edit a typed config repo, push it, and your hosts converge. Also exports the schema library config repos import.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/rcpooley/concord#readme",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"files": [
|
|
39
39
|
"dist",
|
|
40
|
+
"dist-ui",
|
|
40
41
|
"bin/concord.service",
|
|
41
42
|
"templates"
|
|
42
43
|
],
|
|
@@ -45,8 +46,9 @@
|
|
|
45
46
|
"test": "npm run build && npm --prefix kit run build && node --test 'test/*.test.mjs' 'kit/test/*.test.mjs'",
|
|
46
47
|
"prepare": "npm run build",
|
|
47
48
|
"concord": "node dist/cli/main.js",
|
|
48
|
-
"prepublishOnly": "npm test",
|
|
49
|
-
"version": "node bin/sync-kit-version.mjs && git add kit/package.json"
|
|
49
|
+
"prepublishOnly": "npm run build:ui && npm test",
|
|
50
|
+
"version": "node bin/sync-kit-version.mjs && git add kit/package.json",
|
|
51
|
+
"build:ui": "npm --prefix ui ci --no-audit --no-fund && npm --prefix ui run build"
|
|
50
52
|
},
|
|
51
53
|
"dependencies": {
|
|
52
54
|
"age-encryption": "^0.3.0",
|
|
@@ -23,6 +23,9 @@ npm install && npm run typecheck # after any change
|
|
|
23
23
|
printf '%s' 'value' | npm run secret -- set my-key # then use secrets['my-key']
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
To deploy, push a branch, check it with `concord plan <branch>` (it shows what
|
|
27
|
+
merging would change), then merge to `main`. `concord status` and `concord runs`
|
|
28
|
+
show what the daemon is doing; on the server they need no setup, and elsewhere
|
|
29
|
+
`concord login <url>` first. Keep `@rcpooley/concord` and
|
|
27
30
|
`@rcpooley/concord-kit` pinned to the same version as the daemon runs, and
|
|
28
31
|
update them together.
|