Skip to content

Commit

Permalink
fix(create-cloudflare): update to Analog 1.9.0 w/latest template
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Oct 22, 2024
1 parent f9d5fdb commit a6cc92f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
3 changes: 1 addition & 2 deletions packages/create-cloudflare/e2e-tests/frameworks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,12 @@ function getFrameworkTests(opts: {
],
},
analog: {
quarantine: true,
testCommitMessage: true,
timeout: LONG_TIMEOUT,
unsupportedOSs: ["win32"],
// The analog template works with yarn, but the build takes so long that it
// becomes flaky in CI
unsupportedPms: ["yarn", "bun"],
unsupportedPms: ["yarn"],
verifyDeploy: {
route: "/",
expectedText: "The fullstack meta-framework for Angular!",
Expand Down
8 changes: 1 addition & 7 deletions packages/create-cloudflare/templates/analog/c3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ import type { C3Context } from "types";
const { npm, name: pm } = detectPackageManager();

const generate = async (ctx: C3Context) => {
await runFrameworkGenerator(ctx, [
ctx.project.name,
"--template",
"angular-v17",
]);
await runFrameworkGenerator(ctx, [ctx.project.name, "--template", "latest"]);

logRaw(""); // newline
};
Expand All @@ -29,8 +25,6 @@ const configure = async (ctx: C3Context) => {
const packages = [];
packages.push("nitropack");
packages.push("h3");
packages.push("@ngtools/webpack");
packages.push("@angular-devkit/build-angular");

await installPackages(packages, {
dev: true,
Expand Down

0 comments on commit a6cc92f

Please sign in to comment.