create-bw-app 0.3.0 → 0.4.0

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.
File without changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-bw-app",
3
3
  "private": false,
4
- "version": "0.3.0",
4
+ "version": "0.4.0",
5
5
  "type": "module",
6
6
  "bin": "bin/create-bw-app.mjs",
7
7
  "files": [
@@ -24,4 +24,4 @@
24
24
  "dependencies": {
25
25
  "@inquirer/prompts": "^7.0.0"
26
26
  }
27
- }
27
+ }
package/src/generator.mjs CHANGED
@@ -115,10 +115,10 @@ async function getVersionMap(workspaceRoot) {
115
115
  return versionMap;
116
116
  }
117
117
 
118
- const starterManifestPath = path.join(workspaceRoot, "apps", "starter-site", "package.json");
119
- const starterManifest = await readJsonIfPresent(starterManifestPath);
120
- if (starterManifest) {
121
- Object.assign(versionMap, starterManifest.dependencies || {}, starterManifest.devDependencies || {});
118
+ const previewManifestPath = path.join(workspaceRoot, "apps", "platform-preview", "package.json");
119
+ const previewManifest = await readJsonIfPresent(previewManifestPath);
120
+ if (previewManifest) {
121
+ Object.assign(versionMap, previewManifest.dependencies || {}, previewManifest.devDependencies || {});
122
122
  }
123
123
 
124
124
  for (const packageName of [
@@ -5,10 +5,10 @@ import {
5
5
  AUTH_RESEND_COOLDOWN_SECONDS,
6
6
  buildResetPasswordRedirectUrl,
7
7
  buildSignupCallbackUrl,
8
- useCooldownTimer,
9
8
  validateEmail,
10
9
  validatePassword,
11
- } from "@brightweblabs/core-auth/client";
10
+ } from "@brightweblabs/core-auth/shared";
11
+ import { useCooldownTimer } from "@brightweblabs/core-auth/client";
12
12
 
13
13
  export function AuthPlayground() {
14
14
  const [email, setEmail] = useState("hello@brightweblabs.pt");
@@ -39,7 +39,7 @@ export function AuthPlayground() {
39
39
  <p className="eyebrow">Core Auth</p>
40
40
  <h1>Auth package playground</h1>
41
41
  <p className="muted">
42
- This page exercises the external `@brightweblabs/core-auth` client package directly.
42
+ This page exercises the external `@brightweblabs/core-auth` shared and client entrypoints directly.
43
43
  </p>
44
44
  </div>
45
45
  </article>