Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/brave-pandas-exclude.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eve": patch
---

Add more package names to the pnpm minimum release age exclusions that `eve init` writes. New pnpm projects can install recently published eve, Vercel, AI SDK, Workflow, Nitro, Rolldown, Turbo, and the TypeScript package without waiting for the release age window.
2 changes: 1 addition & 1 deletion packages/eve/src/cli/commands/init.integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const BASE_VERSIONS = {
} as const;

const RELEASE_AGE_POLICY =
'minimumReleaseAgeExclude:\n - "@ai-sdk/*"\n - "@rolldown/*"\n - "@vercel/*"\n - "@workflow/*"\n - ai\n - eve\n - nitro\n - rolldown\n - workflow\n';
'minimumReleaseAgeExclude:\n - "@ai-sdk/*"\n - "@rolldown/*"\n - "@turbo/*"\n - "@workflow/*"\n - "@vercel/*"\n - ai\n - crossws\n - experimental-ai-sdk-code-mode\n - eve\n - nitro\n - rolldown\n - turbo\n - typescript\n - vercel\n - workflow\n';

const WEB_VERSIONS = {
...BASE_VERSIONS,
Expand Down
8 changes: 7 additions & 1 deletion packages/eve/src/setup/primitives/pm/pnpm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,18 @@ export const PNPM_WORKSPACE_MEMBERSHIP_ARGUMENTS = ["list", "--depth", "-1", "--
const RELEASE_AGE_EXCLUSIONS = [
"@ai-sdk/*",
"@rolldown/*",
"@vercel/*",
"@turbo/*",
"@workflow/*",
"@vercel/*",
"ai",
"crossws",
"experimental-ai-sdk-code-mode",
"eve",
"nitro",
"rolldown",
"turbo",
"typescript",
"vercel",
"workflow",
] as const;

Expand Down
4 changes: 2 additions & 2 deletions packages/eve/src/setup/scaffold/index.integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async function createTempDir(): Promise<string> {
const TEST_EVE_PACKAGE = { version: "0.25.0", nodeEngine: ">=24" } as const;
const LATEST_EVE_PACKAGE = { version: "latest", nodeEngine: ">=24" } as const;
const RELEASE_AGE_POLICY =
'minimumReleaseAgeExclude:\n - "@ai-sdk/*"\n - "@rolldown/*"\n - "@vercel/*"\n - "@workflow/*"\n - ai\n - eve\n - nitro\n - rolldown\n - workflow\n';
'minimumReleaseAgeExclude:\n - "@ai-sdk/*"\n - "@rolldown/*"\n - "@turbo/*"\n - "@workflow/*"\n - "@vercel/*"\n - ai\n - crossws\n - experimental-ai-sdk-code-mode\n - eve\n - nitro\n - rolldown\n - turbo\n - typescript\n - vercel\n - workflow\n';

const TEST_WEB_PACKAGE_VERSIONS = {
evePackage: TEST_EVE_PACKAGE,
Expand Down Expand Up @@ -483,7 +483,7 @@ describe("ensureChannel", () => {
});

await expect(readFile(pnpmWorkspacePath, "utf8")).resolves.toBe(
'minimumReleaseAgeExclude:\n - react\n - "@ai-sdk/*"\n - "@rolldown/*"\n - "@vercel/*"\n - "@workflow/*"\n - ai\n - eve\n - nitro\n - rolldown\n - workflow\nallowBuilds:\n sharp: false\n',
'minimumReleaseAgeExclude:\n - react\n - "@ai-sdk/*"\n - "@rolldown/*"\n - "@turbo/*"\n - "@workflow/*"\n - "@vercel/*"\n - ai\n - crossws\n - experimental-ai-sdk-code-mode\n - eve\n - nitro\n - rolldown\n - turbo\n - typescript\n - vercel\n - workflow\nallowBuilds:\n sharp: false\n',
);
expect(result.filesWritten).toContain(pnpmWorkspacePath);
});
Expand Down
1 change: 0 additions & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ minimumReleaseAge: 2880 # 2 days
minimumReleaseAgeExclude:
- "@ai-sdk/*"
- "@rolldown/*"
- "@typescript/typescript-*"
- "@turbo/*"
- "@workflow/*"
- "@vercel/*"
Expand Down
Loading