pmcf 6.71.0 → 6.71.1
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 +2 -2
- package/src/owner.mjs +0 -29
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmcf",
|
|
3
|
-
"version": "6.71.
|
|
3
|
+
"version": "6.71.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"content-entry-transform": "^1.7.11",
|
|
55
55
|
"filtered-map": "^1.0.0",
|
|
56
56
|
"ip-utilties": "^3.13.1",
|
|
57
|
-
"npm-pkgbuild": "^22.2.
|
|
57
|
+
"npm-pkgbuild": "^22.2.21",
|
|
58
58
|
"pacc": "^14.4.0",
|
|
59
59
|
"package-directory": "^8.2.0",
|
|
60
60
|
"yaml": "^2.9.1"
|
package/src/owner.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { normalizeCIDR, familyIP, FAMILY_IPV4 } from "ip-utilties";
|
|
2
|
-
import { FileContentProvider } from "npm-pkgbuild";
|
|
3
2
|
import { AggregatedMap } from "aggregated-map";
|
|
4
3
|
import { FilteredMap } from "filtered-map";
|
|
5
4
|
import {
|
|
@@ -20,7 +19,6 @@ import {
|
|
|
20
19
|
networkInterfaces_attribute
|
|
21
20
|
} from "./common-attributes.mjs";
|
|
22
21
|
import { addType, assign } from "./type.mjs";
|
|
23
|
-
import { loadHooks } from "./hooks.mjs";
|
|
24
22
|
|
|
25
23
|
export class owner extends ServiceOwner {
|
|
26
24
|
static priority = 2;
|
|
@@ -251,31 +249,4 @@ export class owner extends ServiceOwner {
|
|
|
251
249
|
|
|
252
250
|
return architectures;
|
|
253
251
|
}
|
|
254
|
-
|
|
255
|
-
async *preparePackages(dir) {
|
|
256
|
-
const packageData = {
|
|
257
|
-
sources: [
|
|
258
|
-
new FileContentProvider(dir + "/"),
|
|
259
|
-
new FileContentProvider(
|
|
260
|
-
{ dir: this.directory, pattern: "location.json" },
|
|
261
|
-
{ destination: "/etc/location/location.json" }
|
|
262
|
-
)
|
|
263
|
-
],
|
|
264
|
-
outputs: this.outputs,
|
|
265
|
-
properties: {
|
|
266
|
-
name: `${this.typeName}-${this.name}`,
|
|
267
|
-
description: `${this.typeName} definitions for ${this.fullName}`,
|
|
268
|
-
access: "private",
|
|
269
|
-
dependencies: { jq: ">=1.6" },
|
|
270
|
-
provides: ["location"]
|
|
271
|
-
}
|
|
272
|
-
};
|
|
273
|
-
|
|
274
|
-
await loadHooks(
|
|
275
|
-
packageData,
|
|
276
|
-
new URL("location.install", import.meta.url).pathname
|
|
277
|
-
);
|
|
278
|
-
|
|
279
|
-
yield packageData;
|
|
280
|
-
}
|
|
281
252
|
}
|