pmcf 3.10.11 → 3.10.13
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,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.13",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"ip-utilties": "^1.4.9",
|
|
55
55
|
"npm-pkgbuild": "^18.2.31",
|
|
56
|
-
"pacc": "^4.
|
|
56
|
+
"pacc": "^4.23.0",
|
|
57
57
|
"package-directory": "^8.1.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@types/node": "^24.5.
|
|
60
|
+
"@types/node": "^24.5.1",
|
|
61
61
|
"ava": "^6.4.1",
|
|
62
62
|
"c8": "^10.1.3",
|
|
63
63
|
"documentation": "^14.0.3",
|
|
@@ -48,7 +48,7 @@ export class MosquittoService extends Service {
|
|
|
48
48
|
dir,
|
|
49
49
|
sources: [new FileContentProvider(dir + "/")],
|
|
50
50
|
outputs: this.outputs,
|
|
51
|
-
|
|
51
|
+
properties: {
|
|
52
52
|
name: `mosquitto-${this.location.name}-${host.name}`,
|
|
53
53
|
description: `mosquitto definitions for ${this.fullName}@${name}`,
|
|
54
54
|
access: "private",
|
|
@@ -110,7 +110,7 @@ export class OpenLDAPService extends Service {
|
|
|
110
110
|
dir,
|
|
111
111
|
sources: [new FileContentProvider(dir + "/", ...filePermissions)],
|
|
112
112
|
outputs: this.outputs,
|
|
113
|
-
|
|
113
|
+
properties: {
|
|
114
114
|
name: `openldap-${this.location.name}-${name}`,
|
|
115
115
|
description: `openldap definitions for ${this.fullName}@${name}`,
|
|
116
116
|
access: "private",
|
|
@@ -120,13 +120,13 @@ export class OpenLDAPService extends Service {
|
|
|
120
120
|
};
|
|
121
121
|
|
|
122
122
|
addHook(
|
|
123
|
-
packageData.
|
|
123
|
+
packageData.properties.hooks,
|
|
124
124
|
"post_upgrade",
|
|
125
125
|
"setfacl -m u:ldap:r /etc/letsencrypt/archive/*/privkey*.pem"
|
|
126
126
|
);
|
|
127
127
|
|
|
128
128
|
addHook(
|
|
129
|
-
packageData.
|
|
129
|
+
packageData.properties.hooks,
|
|
130
130
|
"post_install",
|
|
131
131
|
"setfacl -m u:ldap:r /etc/letsencrypt/archive/*/privkey*.pem"
|
|
132
132
|
);
|
package/src/types.mjs
CHANGED
|
@@ -29,11 +29,8 @@ export function resolveTypeLinks() {
|
|
|
29
29
|
type.owners = [];
|
|
30
30
|
}
|
|
31
31
|
for (const [path, attribute] of attributeIterator(type.attributes)) {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
type.identifier = attribute;
|
|
35
|
-
}
|
|
36
|
-
|
|
32
|
+
const name = path.join(".");
|
|
33
|
+
attribute.name = name;
|
|
37
34
|
const ts = [];
|
|
38
35
|
|
|
39
36
|
for (const type of asArray(attribute.type)) {
|
|
@@ -54,25 +51,9 @@ export function resolveTypeLinks() {
|
|
|
54
51
|
}
|
|
55
52
|
attribute.type = ts;
|
|
56
53
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
if (!baseTypes.has(property.type)) {
|
|
60
|
-
const type = types[property.type];
|
|
61
|
-
if (type) {
|
|
62
|
-
property.type = type;
|
|
63
|
-
} else {
|
|
64
|
-
console.error(
|
|
65
|
-
"Unknown type",
|
|
66
|
-
property.type,
|
|
67
|
-
type.name,
|
|
68
|
-
name
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
54
|
+
if (attribute.isKey) {
|
|
55
|
+
type.identifier = { name, ...attribute };
|
|
72
56
|
}
|
|
73
|
-
|
|
74
|
-
property.type = asArray(property.type);
|
|
75
|
-
*/
|
|
76
57
|
}
|
|
77
58
|
}
|
|
78
59
|
|
|
@@ -440,7 +440,7 @@ export class MosquittoService extends Service {
|
|
|
440
440
|
dir: any;
|
|
441
441
|
sources: FileContentProvider[];
|
|
442
442
|
outputs: Set<typeof import("npm-pkgbuild").OCI | typeof import("npm-pkgbuild").DOCKER>;
|
|
443
|
-
|
|
443
|
+
properties: {
|
|
444
444
|
name: string;
|
|
445
445
|
description: string;
|
|
446
446
|
access: string;
|
|
@@ -470,7 +470,7 @@ export class OpenLDAPService extends Service {
|
|
|
470
470
|
dir: any;
|
|
471
471
|
sources: FileContentProvider[];
|
|
472
472
|
outputs: Set<typeof import("npm-pkgbuild").OCI | typeof import("npm-pkgbuild").DOCKER>;
|
|
473
|
-
|
|
473
|
+
properties: {
|
|
474
474
|
name: string;
|
|
475
475
|
description: string;
|
|
476
476
|
access: string;
|