@delance/runtime 2023.12.103 → 2023.12.104

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.
Files changed (2) hide show
  1. package/install.mjs +10 -2
  2. package/package.json +6 -6
package/install.mjs CHANGED
@@ -23,8 +23,16 @@ const output = path.resolve('out/');
23
23
  try {
24
24
  await fs.mkdir(output);
25
25
  } catch {
26
- // Already processed, exit
27
- process.exit();
26
+ let processed = true;
27
+ try {
28
+ await fs.access(path.join(output, 'server.bundle.js'));
29
+ } catch {
30
+ processed = false;
31
+ }
32
+
33
+ if (processed) {
34
+ process.exit();
35
+ }
28
36
  }
29
37
 
30
38
  const baseURL = new URL(reverse('/moc.oidutslausiv.ecalptekram//:sptth'));
package/package.json CHANGED
@@ -1,18 +1,21 @@
1
1
  {
2
2
  "name": "@delance/runtime",
3
- "version": "2023.12.103",
3
+ "version": "2023.12.104",
4
4
  "description": "Runtime and entrypoint for the lance",
5
5
  "license": "0BSD",
6
6
  "bin": {
7
7
  "delance-langserver": "langserver.cjs"
8
8
  },
9
9
  "delance": {
10
- "sha256": "ced330505c34f8fd9797b43054e51c8e1757bc0f549b78b81f62a6ee374970d2"
10
+ "sha256": "5dfefc88dba0fc18f18230299bad5bbaabdb62f6b381c619d7bd14f14907101e"
11
11
  },
12
12
  "files": [
13
13
  "langserver.cjs",
14
14
  "install.mjs"
15
15
  ],
16
+ "scripts": {
17
+ "postinstall": "node install.mjs"
18
+ },
16
19
  "dependencies": {
17
20
  "@delance/builder": "^0.2.5",
18
21
  "@zip.js/zip.js": "^2.7.32",
@@ -23,8 +26,5 @@
23
26
  "@biomejs/biome": "^1.4",
24
27
  "@types/node": "^20",
25
28
  "typescript": "^5.3"
26
- },
27
- "scripts": {
28
- "postinstall": "node install.mjs"
29
29
  }
30
- }
30
+ }