Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
akd-io committed Jun 15, 2023
2 parents 0422bc2 + 82f428e commit 30044f4
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export const TechnologiesForm: React.FC = () => {
formData
) => {
const calculateCommand = (formData: TechnologiesFormData) => {
const args = ["npx", "[email protected].7"]
const args = ["npx", "[email protected].8"]

args.push(`--package-manager=${options[formData.packageManager].value}`)
args.push(`--styling=${options[formData.styling].value}`)
Expand Down
2 changes: 1 addition & 1 deletion packages/create-next-stack/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-next-stack",
"description": "Create Next Stack is a website and CLI tool used to easily set up the boilerplate of new Next.js apps.",
"version": "0.2.7",
"version": "0.2.8",
"author": "Anders Kjær Damgaard @akd-io",
"bugs": "https://github.com/akd-io/create-next-stack/issues",
"homepage": "https://github.com/akd-io/create-next-stack",
Expand Down
4 changes: 2 additions & 2 deletions packages/create-next-stack/src/tests/e2e/helpers/test-args.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { runCommand } from "../../../main/helpers/run-command"
import { performFinalChecks } from "./perform-final-checks"
import { prepareE2eTest } from "./prepare-e2e-test"
import { tenMinutes } from "./timeout"
import { fifteenMinutes } from "./timeout"

/**
* Prepare an e2e test and run the CLI with the given arguments.
Expand All @@ -13,7 +13,7 @@ export const testArgsWithoutFinalChecks = async (args: string[]) => {
const { pathToCLI, runDirectory } = await prepareE2eTest()

await runCommand(pathToCLI, args, {
timeout: tenMinutes,
timeout: fifteenMinutes,
cwd: runDirectory,
stdout: "inherit",
stderr: "inherit",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const tenMinutes = 1000 * 60 * 10
export const fifteenMinutes = 1000 * 60 * 15
export const oneMinute = 1000 * 60
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test } from "@jest/globals"
import { testArgsWithFinalChecks } from "../../helpers/test-args"
import { tenMinutes } from "../../helpers/timeout"
import { fifteenMinutes } from "../../helpers/timeout"

test(
"testCssModulesWithSassAllFlags",
Expand All @@ -22,5 +22,5 @@ test(
".",
])
},
tenMinutes
fifteenMinutes
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test } from "@jest/globals"
import { testArgsWithFinalChecks } from "../../helpers/test-args"
import { tenMinutes } from "../../helpers/timeout"
import { fifteenMinutes } from "../../helpers/timeout"

test(
"testCssModulesWithSassOnly",
Expand All @@ -12,5 +12,5 @@ test(
".",
])
},
tenMinutes
fifteenMinutes
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test } from "@jest/globals"
import { testArgsWithFinalChecks } from "../../helpers/test-args"
import { tenMinutes } from "../../helpers/timeout"
import { fifteenMinutes } from "../../helpers/timeout"

test(
"testCssModulesAllFlags",
Expand All @@ -22,5 +22,5 @@ test(
".",
])
},
tenMinutes
fifteenMinutes
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test } from "@jest/globals"
import { testArgsWithFinalChecks } from "../../helpers/test-args"
import { tenMinutes } from "../../helpers/timeout"
import { fifteenMinutes } from "../../helpers/timeout"

test(
"testCssModulesOnly",
Expand All @@ -12,5 +12,5 @@ test(
".",
])
},
tenMinutes
fifteenMinutes
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test } from "@jest/globals"
import { testArgsWithFinalChecks } from "../../helpers/test-args"
import { tenMinutes } from "../../helpers/timeout"
import { fifteenMinutes } from "../../helpers/timeout"

test(
"testEmotionAllFlags",
Expand All @@ -25,5 +25,5 @@ test(
".",
])
},
tenMinutes
fifteenMinutes
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test } from "@jest/globals"
import { testArgsWithFinalChecks } from "../../helpers/test-args"
import { tenMinutes } from "../../helpers/timeout"
import { fifteenMinutes } from "../../helpers/timeout"

test(
"testEmotionOnly",
Expand All @@ -12,5 +12,5 @@ test(
".",
])
},
tenMinutes
fifteenMinutes
)
4 changes: 2 additions & 2 deletions packages/create-next-stack/src/tests/e2e/tests/npm.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect, test } from "@jest/globals"
import { exists } from "../../../main/helpers/exists"
import { testArgsWithFinalChecks } from "../helpers/test-args"
import { tenMinutes } from "../helpers/timeout"
import { fifteenMinutes } from "../helpers/timeout"

test(
"testNpm",
Expand Down Expand Up @@ -35,5 +35,5 @@ test(
const pnpmLockExists = await exists(`${runDirectory}/pnpm-lock.yaml`)
expect(pnpmLockExists).toBe(false)
},
tenMinutes
fifteenMinutes
)
4 changes: 2 additions & 2 deletions packages/create-next-stack/src/tests/e2e/tests/pnpm.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect, test } from "@jest/globals"
import { exists } from "../../../main/helpers/exists"
import { testArgsWithFinalChecks } from "../helpers/test-args"
import { tenMinutes } from "../helpers/timeout"
import { fifteenMinutes } from "../helpers/timeout"

test(
"testPnpm",
Expand Down Expand Up @@ -35,5 +35,5 @@ test(
const pnpmLockExists = await exists(`${runDirectory}/pnpm-lock.yaml`)
expect(pnpmLockExists).toBe(true)
},
tenMinutes
fifteenMinutes
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test } from "@jest/globals"
import { testArgsWithFinalChecks } from "../../helpers/test-args"
import { tenMinutes } from "../../helpers/timeout"
import { fifteenMinutes } from "../../helpers/timeout"

test(
"testStyledComponentsAllFlags",
Expand All @@ -22,5 +22,5 @@ test(
".",
])
},
tenMinutes
fifteenMinutes
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test } from "@jest/globals"
import { testArgsWithFinalChecks } from "../../helpers/test-args"
import { tenMinutes } from "../../helpers/timeout"
import { fifteenMinutes } from "../../helpers/timeout"

test(
"testStyledComponentsOnly",
Expand All @@ -12,5 +12,5 @@ test(
".",
])
},
tenMinutes
fifteenMinutes
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test } from "@jest/globals"
import { testArgsWithFinalChecks } from "../../helpers/test-args"
import { tenMinutes } from "../../helpers/timeout"
import { fifteenMinutes } from "../../helpers/timeout"

test(
"testTailwindCssAllFlags",
Expand All @@ -22,5 +22,5 @@ test(
".",
])
},
tenMinutes
fifteenMinutes
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test } from "@jest/globals"
import { testArgsWithFinalChecks } from "../../helpers/test-args"
import { tenMinutes } from "../../helpers/timeout"
import { fifteenMinutes } from "../../helpers/timeout"

test(
"testTailwindCssOnly",
Expand All @@ -12,5 +12,5 @@ test(
".",
])
},
tenMinutes
fifteenMinutes
)
4 changes: 2 additions & 2 deletions packages/create-next-stack/src/tests/e2e/tests/yarn.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect, test } from "@jest/globals"
import { exists } from "../../../main/helpers/exists"
import { testArgsWithFinalChecks } from "../helpers/test-args"
import { tenMinutes } from "../helpers/timeout"
import { fifteenMinutes } from "../helpers/timeout"

test(
"testYarn",
Expand Down Expand Up @@ -35,5 +35,5 @@ test(
const pnpmLockExists = await exists(`${runDirectory}/pnpm-lock.yaml`)
expect(pnpmLockExists).toBe(false)
},
tenMinutes
fifteenMinutes
)

0 comments on commit 30044f4

Please sign in to comment.