@jskit-ai/workspaces-core 0.1.100 → 0.1.102
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.descriptor.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default Object.freeze({
|
|
2
2
|
packageVersion: 1,
|
|
3
3
|
packageId: "@jskit-ai/workspaces-core",
|
|
4
|
-
version: "0.1.
|
|
4
|
+
version: "0.1.102",
|
|
5
5
|
kind: "runtime",
|
|
6
6
|
description: "Workspace tenancy runtime plus HTTP routes, role catalog, and workspace config scaffolding.",
|
|
7
7
|
dependsOn: [
|
|
@@ -147,10 +147,10 @@ export default Object.freeze({
|
|
|
147
147
|
mutations: {
|
|
148
148
|
dependencies: {
|
|
149
149
|
runtime: {
|
|
150
|
-
"@jskit-ai/json-rest-api-core": "0.1.
|
|
151
|
-
"@jskit-ai/resource-core": "0.1.
|
|
152
|
-
"@jskit-ai/resource-crud-core": "0.1.
|
|
153
|
-
"@jskit-ai/users-core": "0.1.
|
|
150
|
+
"@jskit-ai/json-rest-api-core": "0.1.69",
|
|
151
|
+
"@jskit-ai/resource-core": "0.1.68",
|
|
152
|
+
"@jskit-ai/resource-crud-core": "0.1.68",
|
|
153
|
+
"@jskit-ai/users-core": "0.1.135"
|
|
154
154
|
},
|
|
155
155
|
dev: {}
|
|
156
156
|
},
|
|
@@ -192,6 +192,7 @@ export default Object.freeze({
|
|
|
192
192
|
{
|
|
193
193
|
from: "templates/config/roles.js",
|
|
194
194
|
to: "config/roles.js",
|
|
195
|
+
ownership: "app",
|
|
195
196
|
preserveOnRemove: true,
|
|
196
197
|
reason: "Install app-owned role catalog in a dedicated config file.",
|
|
197
198
|
category: "workspaces-core",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jskit-ai/workspaces-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.102",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "node --test"
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"./shared/resources/workspaceSettingsResource": "./src/shared/resources/workspaceSettingsResource.js"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@jskit-ai/auth-core": "0.1.
|
|
21
|
-
"@jskit-ai/database-runtime": "0.1.
|
|
22
|
-
"@jskit-ai/http-runtime": "0.1.
|
|
23
|
-
"@jskit-ai/json-rest-api-core": "0.1.
|
|
24
|
-
"@jskit-ai/kernel": "0.1.
|
|
25
|
-
"@jskit-ai/resource-crud-core": "0.1.
|
|
26
|
-
"@jskit-ai/resource-core": "0.1.
|
|
27
|
-
"@jskit-ai/users-core": "0.1.
|
|
20
|
+
"@jskit-ai/auth-core": "0.1.122",
|
|
21
|
+
"@jskit-ai/database-runtime": "0.1.124",
|
|
22
|
+
"@jskit-ai/http-runtime": "0.1.123",
|
|
23
|
+
"@jskit-ai/json-rest-api-core": "0.1.69",
|
|
24
|
+
"@jskit-ai/kernel": "0.1.125",
|
|
25
|
+
"@jskit-ai/resource-crud-core": "0.1.68",
|
|
26
|
+
"@jskit-ai/resource-core": "0.1.68",
|
|
27
|
+
"@jskit-ai/users-core": "0.1.135",
|
|
28
28
|
"json-rest-schema": "1.x.x"
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -37,6 +37,21 @@ test("workspaces-core descriptor advertises public invite resolution route metad
|
|
|
37
37
|
});
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
+
test("workspaces-core installs an app-owned editable role catalog", async () => {
|
|
41
|
+
const source = await readFile(path.join(PACKAGE_DIR, "templates", "config", "roles.js"), "utf8");
|
|
42
|
+
|
|
43
|
+
assert.match(source, /export const roleCatalog/);
|
|
44
|
+
assert.deepEqual(findFileMutation("users-core-app-owned-role-catalog-config"), {
|
|
45
|
+
from: "templates/config/roles.js",
|
|
46
|
+
to: "config/roles.js",
|
|
47
|
+
ownership: "app",
|
|
48
|
+
preserveOnRemove: true,
|
|
49
|
+
reason: "Install app-owned role catalog in a dedicated config file.",
|
|
50
|
+
category: "workspaces-core",
|
|
51
|
+
id: "users-core-app-owned-role-catalog-config"
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
|
|
40
55
|
test("workspaces-core installs an app-owned editable workspace invite email template", async () => {
|
|
41
56
|
const source = await readFile(
|
|
42
57
|
path.join(PACKAGE_DIR, "templates", "packages", "main", "src", "server", "email", "workspaceInviteEmail.js"),
|