@synopackageland/templates 0.17.2 → 0.17.3
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 +1 -1
- package/templates/compose/dsm-package.yaml +1 -1
- package/templates/native-go/backend/THIRD_PARTY_NOTICES.txt +1 -1
- package/templates/native-go/backend/go.mod +1 -1
- package/templates/native-go/backend/go.sum +2 -2
- package/templates/native-go-root-ops/frontend/test/executor-gate.test.ts +1 -1
- package/templates/native-go-vue/README.md +1 -1
- package/templates/native-node/dsm-package.yaml +1 -1
- package/templates/native-python/dsm-package.yaml +1 -1
- package/templates/native-rust/backend/Cargo.lock +1 -1
- package/templates/native-rust/backend/Cargo.toml +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synopackageland/templates",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.3",
|
|
4
4
|
"description": "Project templates for synopkgland init: native-go, native-python, native-node and native-rust (plain or Vue, with jobs, delegate and root-ops overlays), binary and compose.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,7 @@ compose:
|
|
|
14
14
|
web: {service: web, port: 8080, health: {path: /, status: 200}}
|
|
15
15
|
network: {egress: isolated}
|
|
16
16
|
identity_gateway:
|
|
17
|
-
sdk: 0.17.
|
|
17
|
+
sdk: 0.17.1
|
|
18
18
|
mode: none
|
|
19
19
|
listen: {http: 28000}
|
|
20
20
|
# Web Apps default to new-page through the shared app-launch resolver.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
github.com/synopackageland/syno-pkg-land-sdk v0.17.
|
|
2
|
-
github.com/synopackageland/syno-pkg-land-sdk v0.17.
|
|
1
|
+
github.com/synopackageland/syno-pkg-land-sdk v0.17.1 h1:tVj5iqLiS7yQTLWK2RTE0on4qq9lTbYBGkrQSv/lZcw=
|
|
2
|
+
github.com/synopackageland/syno-pkg-land-sdk v0.17.1/go.mod h1:vixf5Lo4PssQDGU5zam0Mb5sFu9wPUP4Ck36BMAVbNc=
|
|
3
3
|
golang.org/x/sys v0.44.0 h1:ildZl3J4uzeKP07r2F++Op7E9B29JRUy+a27EibtBTQ=
|
|
4
4
|
golang.org/x/sys v0.44.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
|
|
@@ -26,7 +26,7 @@ function awaitingApproval(){
|
|
|
26
26
|
let state:'needs-admin-approval'|'ready'='needs-admin-approval'
|
|
27
27
|
return {status:vi.fn(async()=>({state})),authorize:vi.fn(async()=>{state='ready';return {state}}),control:vi.fn(async()=>({state}))}
|
|
28
28
|
}
|
|
29
|
-
test('the App pages wait until an administrator approves the executor with the
|
|
29
|
+
test('the App pages wait until an administrator approves the executor with the user password, in the window',async()=>{
|
|
30
30
|
const executor=awaitingApproval()
|
|
31
31
|
const root=open(true,executor as unknown as Context['executor']);await settle()
|
|
32
32
|
expect(root.textContent).not.toContain('Package status')
|
|
@@ -21,7 +21,7 @@ subscriptions; unmount disposes subscriptions and ignores late responses.
|
|
|
21
21
|
`--with root-ops` adds the existing DSM approval gate for fixed `root/*.sh`
|
|
22
22
|
operations, and its `ExecutorGate.vue` holds the pages with the SDK's
|
|
23
23
|
`ExecutorApproval` until the executor is approved: an administrator approves
|
|
24
|
-
with the
|
|
24
|
+
with the user password, anyone else is told to ask one. It passes `preload`: the
|
|
25
25
|
pages mount hidden while the executor's status is read, so their own reads run
|
|
26
26
|
alongside it; a page that opens a dialog by itself on mount waits until the
|
|
27
27
|
SDK's `useExecutorPreload()` is false. A delegate App keeps its
|
|
@@ -105,7 +105,7 @@ dependencies = [
|
|
|
105
105
|
[[package]]
|
|
106
106
|
name = "syno-pkg-land-app"
|
|
107
107
|
version = "0.17.0"
|
|
108
|
-
source = "git+https://github.com/synopackageland/syno-pkg-land-sdk?tag=v0.17.
|
|
108
|
+
source = "git+https://github.com/synopackageland/syno-pkg-land-sdk?tag=v0.17.1#a72658104f9556754884de635227bed5d19bbdc2"
|
|
109
109
|
dependencies = [
|
|
110
110
|
"libc",
|
|
111
111
|
"serde",
|
|
@@ -9,7 +9,7 @@ libc = "0.2"
|
|
|
9
9
|
serde = { version = "1", features = ["derive"] }
|
|
10
10
|
serde_json = "1"
|
|
11
11
|
# The SDK version is the tag; `synopkgland check` reads it from Cargo.lock.
|
|
12
|
-
syno-pkg-land-app = { git = "https://github.com/synopackageland/syno-pkg-land-sdk", tag = "v0.17.
|
|
12
|
+
syno-pkg-land-app = { git = "https://github.com/synopackageland/syno-pkg-land-sdk", tag = "v0.17.1" }
|
|
13
13
|
|
|
14
14
|
[profile.release]
|
|
15
15
|
# A handler panic becomes an "internal" reply; abort would end the App without one.
|