anbaric-cloud-hosting 1.8.0 → 1.8.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anbaric-cloud-hosting",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.1",
|
|
4
4
|
"description": "Anbaric Cloud hosting service: Postgres-backed job persistence and queuing exposed over an HTTP API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "chris@anbaric.ai",
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
"@aws-sdk/client-s3": "^3.1110.0",
|
|
18
18
|
"@aws-sdk/client-secrets-manager": "^3.700.0",
|
|
19
19
|
"@aws-sdk/client-servicediscovery": "^3.1110.0",
|
|
20
|
-
"anbaric-data-store": "^1.8.
|
|
21
|
-
"anbaric-plugins": "^1.8.
|
|
22
|
-
"anbaric-tsapi": "^1.8.
|
|
20
|
+
"anbaric-data-store": "^1.8.1",
|
|
21
|
+
"anbaric-plugins": "^1.8.1",
|
|
22
|
+
"anbaric-tsapi": "^1.8.1",
|
|
23
23
|
"esbuild": "^0.28.2",
|
|
24
24
|
"pg": "^8.16.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^26.2.0",
|
|
28
28
|
"@types/pg": "^8.15.0",
|
|
29
|
-
"anbaric-impl-cloud": "^1.8.
|
|
30
|
-
"anbaric-state-machine": "^1.8.
|
|
29
|
+
"anbaric-impl-cloud": "^1.8.1",
|
|
30
|
+
"anbaric-state-machine": "^1.8.1",
|
|
31
31
|
"tsx": "^4.20.0",
|
|
32
32
|
"typescript": "^7.0.2"
|
|
33
33
|
},
|
|
@@ -22,9 +22,17 @@ const spawnRunner : CommandRunner = (command, args, onOutput) =>
|
|
|
22
22
|
child.on("error", reject);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
+
/* Third-party dependencies are installed into the app image at build time.
|
|
26
|
+
The anbaric-* packages are already present as symlinks to the base image
|
|
27
|
+
(linked by BaseBuildLayer), and `npm install` leaves satisfied dependencies
|
|
28
|
+
in place, so it only fetches the app's own registry dependencies - the
|
|
29
|
+
anbaric packages keep coming from the base image, not the registry. It must
|
|
30
|
+
be `install`, not `ci`: `ci` empties node_modules first and would delete
|
|
31
|
+
those symlinks. */
|
|
25
32
|
const dockerfileFor = (baseImage : string, entryPoint : string) : string => `FROM ${baseImage}
|
|
26
33
|
COPY . /anbaric-app
|
|
27
34
|
WORKDIR /anbaric-app
|
|
35
|
+
RUN npm install --omit=dev --no-audit --no-fund
|
|
28
36
|
CMD ["/anbaric/node_modules/.bin/tsx", "${entryPoint}"]
|
|
29
37
|
`;
|
|
30
38
|
|