Skip to content

Commit e321ee5

Browse files
authored
Merge branch 'dev' into devin/1779237083-fix-build-lint-dev
2 parents 69bc8c4 + 6e769c3 commit e321ee5

22 files changed

Lines changed: 848 additions & 574 deletions

File tree

apps/backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"jiti": "^2.6.1",
104104
"jose": "^6.1.3",
105105
"json-diff": "^1.0.6",
106-
"next": "16.1.7",
106+
"next": "16.2.6",
107107
"nodemailer": "^6.9.10",
108108
"oidc-provider": "^8.5.1",
109109
"openid-client": "5.6.4",

apps/dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"jose": "^6.1.3",
8787
"libsodium-wrappers": "^0.8.2",
8888
"lodash": "^4.17.21",
89-
"next": "16.1.7",
89+
"next": "16.2.6",
9090
"next-themes": "^0.2.1",
9191
"posthog-js": "^1.336.1",
9292
"react": "19.2.3",

apps/dashboard/src/app/(main)/(protected)/(outside-dashboard)/new-project/page-client-parts/project-onboarding-wizard.test.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ vi.mock("./link-existing-onboarding", () => ({
137137
}));
138138

139139
import { ProjectOnboardingWizard } from "./project-onboarding-wizard";
140-
import { normalizeProjectOnboardingState, REQUIRED_APP_IDS } from "./shared";
140+
import { normalizeProjectOnboardingState, orderedAppIds, REQUIRED_APP_IDS } from "./shared";
141+
import { ALL_APPS } from "@stackframe/stack-shared/dist/apps/apps-config";
141142

142143
afterEach(() => {
143144
cleanup();
@@ -156,6 +157,16 @@ describe("ProjectOnboardingWizard", () => {
156157
expect(normalizedState.selected_apps).toEqual(REQUIRED_APP_IDS);
157158
});
158159

160+
it("does not offer alpha apps during app selection", () => {
161+
const alphaAppIds = Object.entries(ALL_APPS)
162+
.filter(([, app]) => app.stage === "alpha")
163+
.map(([appId]) => appId);
164+
165+
for (const alphaAppId of alphaAppIds) {
166+
expect(orderedAppIds()).not.toContain(alphaAppId);
167+
}
168+
});
169+
159170
it("completes onboarding automatically after Stripe setup returns successfully", async () => {
160171
const setStatus = vi.fn(async () => {});
161172
const onComplete = vi.fn();

apps/dashboard/src/app/(main)/(protected)/(outside-dashboard)/new-project/page-client-parts/shared.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const SIGN_IN_METHODS: Array<{ id: SignInMethod, label: string }> = [
2222
export const REQUIRED_APP_IDS: AppId[] = ["authentication", "emails"];
2323
export const PRIMARY_APP_IDS: AppId[] = ["authentication", "emails", "payments", "analytics"];
2424
export const ALL_APP_IDS = Object.keys(ALL_APPS) as AppId[];
25+
export const ONBOARDING_APP_IDS = ALL_APP_IDS.filter((appId) => ALL_APPS[appId].stage !== "alpha");
2526
export const OAUTH_SIGN_IN_METHODS: SignInMethod[] = ["google", "github", "microsoft"];
2627

2728
export type ProjectOnboardingState = {
@@ -149,11 +150,12 @@ export function isProjectOnboardingStatus(value: unknown): value is ProjectOnboa
149150
}
150151

151152
export function orderedAppIds() {
152-
const primarySet = new Set(PRIMARY_APP_IDS);
153-
const secondary = ALL_APP_IDS.filter((appId) => !primarySet.has(appId)).sort((a, b) => {
153+
const primary = PRIMARY_APP_IDS.filter((appId) => ONBOARDING_APP_IDS.some((onboardingAppId) => onboardingAppId === appId));
154+
const primarySet = new Set(primary);
155+
const secondary = ONBOARDING_APP_IDS.filter((appId) => !primarySet.has(appId)).sort((a, b) => {
154156
return stringCompare(ALL_APPS[a].displayName, ALL_APPS[b].displayName);
155157
});
156-
return [...PRIMARY_APP_IDS, ...secondary];
158+
return [...primary, ...secondary];
157159
}
158160

159161
export function normalizeTrustedDomain(input: string): string {

apps/internal-tool/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@stackframe/stack-shared": "workspace:*",
2222
"clsx": "^2.1.1",
2323
"date-fns": "^4.1.0",
24-
"next": "16.1.5",
24+
"next": "16.2.6",
2525
"react-markdown": "^10.1.0",
2626
"zod": "^3.24.0",
2727
"remark-gfm": "^4.0.1",

apps/mcp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"dependencies": {
1616
"@stackframe/stack-shared": "workspace:*",
1717
"@vercel/mcp-adapter": "^1.0.0",
18-
"next": "16.1.7",
18+
"next": "16.2.6",
1919
"posthog-node": "^4.1.0",
2020
"react": "19.2.3",
2121
"react-dom": "19.2.3",

apps/skills/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"lint": "eslint ."
1414
},
1515
"dependencies": {
16-
"next": "16.1.7",
16+
"next": "16.2.6",
1717
"react": "19.2.3",
1818
"react-dom": "19.2.3"
1919
},

docs-mintlify/guides/getting-started/setup.mdx

Lines changed: 195 additions & 41 deletions
Large diffs are not rendered by default.

docs-mintlify/snippets/home-prompt-island.jsx

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"lucide-react": "^0.511.0",
4242
"mermaid": "^11.6.0",
4343
"minimatch": "^10.0.1",
44-
"next": "15.5.10",
44+
"next": "15.5.18",
4545
"next-themes": "^0.4.6",
4646
"posthog-js": "^1.336.1",
4747
"posthog-node": "^4.1.0",

0 commit comments

Comments
 (0)