wirejs-deploy-amplify-basic 0.0.9-alpha → 0.0.10-alpha

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.
@@ -1,3 +1,8 @@
1
1
  {
2
- "type": "module"
2
+ "type": "module",
3
+ "dependencies": {
4
+ "jsdom": "^25.0.0",
5
+ "wirejs-dom": "^1.0.34",
6
+ "wirejs-resources": "^0.1.5-alpha"
7
+ }
3
8
  }
package/build.js CHANGED
@@ -6,7 +6,7 @@ import fs from 'fs';
6
6
  import { rimraf } from 'rimraf';
7
7
  import copy from 'recursive-copy';
8
8
  import esbuild from 'esbuild';
9
- import { execSync } from 'child_process';
9
+ import { exec, execSync } from 'child_process';
10
10
 
11
11
  const CWD = process.cwd();
12
12
  const __filename = import.meta.url.replace(/^file:/, '');
@@ -42,17 +42,8 @@ async function createSkeleton() {
42
42
  await copy(path.join(SELF_DIR, 'amplify-hosting-assets'), path.join(HOSTING_DIR));
43
43
  console.log("done creating deployment directories")
44
44
 
45
- console.log("building SSR server");
46
- await esbuild.build({
47
- entryPoints: [path.join(HOSTING_DIR, 'compute', 'default', 'index.src.js')],
48
- bundle: true,
49
- outfile: path.join(HOSTING_DIR, 'compute', 'default', 'index.js'),
50
- platform: 'node',
51
- format: 'esm',
52
- });
53
-
54
- console.log('removing SSR server sourcefiles');
55
- await rimraf(path.join(HOSTING_DIR, 'compute', 'default', 'index.src.js'));
45
+ console.log("installing SSR server deps");
46
+ execSync(`npm install --prefix ${COMPUTE_DIR} --no-hoist`)
56
47
  }
57
48
 
58
49
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wirejs-deploy-amplify-basic",
3
- "version": "0.0.9-alpha",
3
+ "version": "0.0.10-alpha",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "wirejs-deploy-amplify-basic": "./build.js"