appstage 0.2.6 → 0.2.7

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.js CHANGED
@@ -434,7 +434,11 @@ async function getEntryPoints(path) {
434
434
 
435
435
  // src/scripts/utils/buildClient.ts
436
436
  async function buildClient({ clientDir, watch, watchClient }, plugins) {
437
- let clientEntries = await getEntryPoints(["ui/index"]);
437
+ let clientEntries = await getEntryPoints([
438
+ "ui/index",
439
+ "client/index",
440
+ "index"
441
+ ]);
438
442
  let buildOptions = {
439
443
  ...commonBuildOptions,
440
444
  entryPoints: clientEntries.map(({ path }) => path),
package/dist/index.cjs CHANGED
@@ -364,13 +364,14 @@ async function getEntryPoints(path) {
364
364
  }
365
365
 
366
366
  /**
367
- * Builds the client-side code from the 'src/entries/<entry_name>/ui'
368
- * directories. The directories should preferrably be called 'ui' rather
369
- * than client since their contents can also be used with the server-side
370
- * rendering.
367
+ * Builds the client-side code.
371
368
  */
372
369
  async function buildClient({ clientDir, watch, watchClient }, plugins) {
373
- let clientEntries = await getEntryPoints(["ui/index"]);
370
+ let clientEntries = await getEntryPoints([
371
+ "ui/index",
372
+ "client/index",
373
+ "index"
374
+ ]);
374
375
  let buildOptions = {
375
376
  ...commonBuildOptions,
376
377
  entryPoints: clientEntries.map(({ path }) => path),
package/dist/index.mjs CHANGED
@@ -338,13 +338,14 @@ async function getEntryPoints(path) {
338
338
  }
339
339
 
340
340
  /**
341
- * Builds the client-side code from the 'src/entries/<entry_name>/ui'
342
- * directories. The directories should preferrably be called 'ui' rather
343
- * than client since their contents can also be used with the server-side
344
- * rendering.
341
+ * Builds the client-side code.
345
342
  */
346
343
  async function buildClient({ clientDir, watch, watchClient }, plugins) {
347
- let clientEntries = await getEntryPoints(["ui/index"]);
344
+ let clientEntries = await getEntryPoints([
345
+ "ui/index",
346
+ "client/index",
347
+ "index"
348
+ ]);
348
349
  let buildOptions = {
349
350
  ...commonBuildOptions,
350
351
  entryPoints: clientEntries.map(({ path }) => path),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appstage",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -4,16 +4,17 @@ import type { BuildParams } from "../types/BuildParams.ts";
4
4
  import { getEntryPoints } from "./getEntryPoints.ts";
5
5
 
6
6
  /**
7
- * Builds the client-side code from the 'src/entries/<entry_name>/ui'
8
- * directories. The directories should preferrably be called 'ui' rather
9
- * than client since their contents can also be used with the server-side
10
- * rendering.
7
+ * Builds the client-side code.
11
8
  */
12
9
  export async function buildClient(
13
10
  { clientDir, watch, watchClient }: BuildParams,
14
11
  plugins?: Plugin[],
15
12
  ) {
16
- let clientEntries = await getEntryPoints(["ui/index"]);
13
+ let clientEntries = await getEntryPoints([
14
+ "ui/index",
15
+ "client/index",
16
+ "index",
17
+ ]);
17
18
 
18
19
  let buildOptions: BuildOptions = {
19
20
  ...commonBuildOptions,