@quiltdata/benchling-webhook 0.6.3-20251104T170954Z → 0.6.3-20251104T182406Z
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/dist/bin/commands/deploy.js +4 -4
- package/dist/package.json +5 -5
- package/package.json +5 -5
|
@@ -42,8 +42,8 @@ function storeDeploymentConfig(environment, config) {
|
|
|
42
42
|
(0, fs_1.writeFileSync)(tempPath, JSON.stringify(deployConfig, null, 2));
|
|
43
43
|
// Atomic rename (platform-specific)
|
|
44
44
|
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
45
|
-
const fs = require(
|
|
46
|
-
if (process.platform ===
|
|
45
|
+
const fs = require("fs");
|
|
46
|
+
if (process.platform === "win32") {
|
|
47
47
|
// Windows: create backup before rename
|
|
48
48
|
if ((0, fs_1.existsSync)(deployJsonPath)) {
|
|
49
49
|
const backupPath = `${deployJsonPath}.backup`;
|
|
@@ -293,7 +293,7 @@ async function deploy(quiltStackArn, benchlingSecret, options) {
|
|
|
293
293
|
// Determine image tag
|
|
294
294
|
const imageTag = options.imageTag || "latest";
|
|
295
295
|
// Store prod deployment config
|
|
296
|
-
storeDeploymentConfig(
|
|
296
|
+
storeDeploymentConfig("prod", {
|
|
297
297
|
endpoint: webhookUrl,
|
|
298
298
|
imageTag: imageTag,
|
|
299
299
|
deployedAt: new Date().toISOString(),
|
|
@@ -306,7 +306,7 @@ async function deploy(quiltStackArn, benchlingSecret, options) {
|
|
|
306
306
|
try {
|
|
307
307
|
(0, child_process_1.execSync)("npm run test:prod", {
|
|
308
308
|
stdio: "inherit",
|
|
309
|
-
cwd: process.cwd()
|
|
309
|
+
cwd: process.cwd(),
|
|
310
310
|
});
|
|
311
311
|
console.log();
|
|
312
312
|
console.log("✅ Production deployment and tests completed successfully!");
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quiltdata/benchling-webhook",
|
|
3
|
-
"version": "0.6.3-
|
|
3
|
+
"version": "0.6.3-20251104T182406Z",
|
|
4
4
|
"description": "AWS CDK deployment for Benchling webhook processing using Fargate - Deploy directly with npx",
|
|
5
5
|
"main": "dist/lib/index.js",
|
|
6
6
|
"types": "dist/lib/index.d.ts",
|
|
@@ -21,12 +21,11 @@
|
|
|
21
21
|
"deploy:dev": "npm run test && ts-node bin/dev-deploy.ts",
|
|
22
22
|
"deploy:prod": "ts-node bin/cli.ts deploy",
|
|
23
23
|
"deploy:logs": "ts-node bin/check-logs.ts",
|
|
24
|
+
"deploy:notes": "bash bin/release-notes.sh",
|
|
24
25
|
"lint": "eslint . --ext .ts --fix && make -C docker lint",
|
|
25
26
|
"postbuild": "chmod +x dist/bin/cli.js",
|
|
26
27
|
"prebuild": "rm -rf dist",
|
|
27
28
|
"prepublishOnly": "npm run build",
|
|
28
|
-
"release": "npm run test && ts-node bin/release.ts && make -C docker push-ci",
|
|
29
|
-
"release:tag": "ts-node bin/release.ts",
|
|
30
29
|
"setup": "ts-node scripts/install-wizard.ts",
|
|
31
30
|
"setup:health": "ts-node scripts/config-health-check.ts",
|
|
32
31
|
"setup:infer": "ts-node scripts/infer-quilt-config.ts",
|
|
@@ -37,9 +36,10 @@
|
|
|
37
36
|
"test:local": "make -C docker build && make -C docker test-local",
|
|
38
37
|
"test:prod": "make -C docker test-deployed-prod",
|
|
39
38
|
"test:python": "make -C docker test-unit",
|
|
40
|
-
"test:remote": "npm run deploy:dev && make -C docker test-deployed-dev",
|
|
41
39
|
"test:ts": "cross-env NODE_ENV=test jest --maxWorkers=50%",
|
|
42
|
-
"version": "ts-node bin/version.ts"
|
|
40
|
+
"version": "ts-node bin/version.ts",
|
|
41
|
+
"version:tag": "ts-node bin/release.ts",
|
|
42
|
+
"version:tag:dev": "ts-node bin/release.ts dev"
|
|
43
43
|
},
|
|
44
44
|
"keywords": [
|
|
45
45
|
"benchling",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quiltdata/benchling-webhook",
|
|
3
|
-
"version": "0.6.3-
|
|
3
|
+
"version": "0.6.3-20251104T182406Z",
|
|
4
4
|
"description": "AWS CDK deployment for Benchling webhook processing using Fargate - Deploy directly with npx",
|
|
5
5
|
"main": "dist/lib/index.js",
|
|
6
6
|
"types": "dist/lib/index.d.ts",
|
|
@@ -21,12 +21,11 @@
|
|
|
21
21
|
"deploy:dev": "npm run test && ts-node bin/dev-deploy.ts",
|
|
22
22
|
"deploy:prod": "ts-node bin/cli.ts deploy",
|
|
23
23
|
"deploy:logs": "ts-node bin/check-logs.ts",
|
|
24
|
+
"deploy:notes": "bash bin/release-notes.sh",
|
|
24
25
|
"lint": "eslint . --ext .ts --fix && make -C docker lint",
|
|
25
26
|
"postbuild": "chmod +x dist/bin/cli.js",
|
|
26
27
|
"prebuild": "rm -rf dist",
|
|
27
28
|
"prepublishOnly": "npm run build",
|
|
28
|
-
"release": "npm run test && ts-node bin/release.ts && make -C docker push-ci",
|
|
29
|
-
"release:tag": "ts-node bin/release.ts",
|
|
30
29
|
"setup": "ts-node scripts/install-wizard.ts",
|
|
31
30
|
"setup:health": "ts-node scripts/config-health-check.ts",
|
|
32
31
|
"setup:infer": "ts-node scripts/infer-quilt-config.ts",
|
|
@@ -37,9 +36,10 @@
|
|
|
37
36
|
"test:local": "make -C docker build && make -C docker test-local",
|
|
38
37
|
"test:prod": "make -C docker test-deployed-prod",
|
|
39
38
|
"test:python": "make -C docker test-unit",
|
|
40
|
-
"test:remote": "npm run deploy:dev && make -C docker test-deployed-dev",
|
|
41
39
|
"test:ts": "cross-env NODE_ENV=test jest --maxWorkers=50%",
|
|
42
|
-
"version": "ts-node bin/version.ts"
|
|
40
|
+
"version": "ts-node bin/version.ts",
|
|
41
|
+
"version:tag": "ts-node bin/release.ts",
|
|
42
|
+
"version:tag:dev": "ts-node bin/release.ts dev"
|
|
43
43
|
},
|
|
44
44
|
"keywords": [
|
|
45
45
|
"benchling",
|