From 34775e5c8a47e8a8c1ce019a24fc9de8e3803b28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Kj=C3=A6r=20Damgaard?= Date: Wed, 21 Jun 2023 14:43:49 +0200 Subject: [PATCH 1/2] Add contrib.rocks overview of all contributors to readme --- packages/create-next-stack/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/create-next-stack/README.md b/packages/create-next-stack/README.md index 20df23d..ff5a718 100644 --- a/packages/create-next-stack/README.md +++ b/packages/create-next-stack/README.md @@ -117,10 +117,14 @@ FLAGS -## Contributing +## All contributors Contributions are welcome! Please see the [contributing guidelines](CONTRIBUTING.md) for more information. + + + + ## License Create Next Stack is released under the [MIT License](LICENSE). From 0322d260e58517c68f5a9a166fee90a019c5fae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Kj=C3=A6r=20Damgaard?= Date: Wed, 21 Jun 2023 18:38:41 +0200 Subject: [PATCH 2/2] Increase timeout to 20 minutes --- packages/create-next-stack/src/tests/e2e/helpers/test-args.ts | 4 ++-- packages/create-next-stack/src/tests/e2e/helpers/timeout.ts | 2 +- .../css-modules-with-sass-all-flags.test.ts | 4 ++-- .../css-modules-with-sass/css-modules-with-sass-only.test.ts | 4 ++-- .../tests/e2e/tests/css-modules/css-modules-all-flags.test.ts | 4 ++-- .../src/tests/e2e/tests/css-modules/css-modules-only.test.ts | 4 ++-- .../src/tests/e2e/tests/emotion/emotion-all-flags.test.ts | 4 ++-- .../src/tests/e2e/tests/emotion/emotion-only.test.ts | 4 ++-- packages/create-next-stack/src/tests/e2e/tests/npm.test.ts | 4 ++-- packages/create-next-stack/src/tests/e2e/tests/pnpm.test.ts | 4 ++-- .../styled-components/styled-components-all-flags.test.ts | 4 ++-- .../tests/styled-components/styled-components-only.test.ts | 4 ++-- .../e2e/tests/tailwind-css/tailwind-css-all-flags.test.ts | 4 ++-- .../tests/e2e/tests/tailwind-css/tailwind-css-only.test.ts | 4 ++-- packages/create-next-stack/src/tests/e2e/tests/yarn.test.ts | 4 ++-- 15 files changed, 29 insertions(+), 29 deletions(-) diff --git a/packages/create-next-stack/src/tests/e2e/helpers/test-args.ts b/packages/create-next-stack/src/tests/e2e/helpers/test-args.ts index df271f9..3e79171 100644 --- a/packages/create-next-stack/src/tests/e2e/helpers/test-args.ts +++ b/packages/create-next-stack/src/tests/e2e/helpers/test-args.ts @@ -1,7 +1,7 @@ import { runCommand } from "../../../main/helpers/run-command" import { performFinalChecks } from "./perform-final-checks" import { prepareE2eTest } from "./prepare-e2e-test" -import { fifteenMinutes } from "./timeout" +import { twentyMinutes } from "./timeout" /** * Prepare an e2e test and run the CLI with the given arguments. @@ -13,7 +13,7 @@ export const testArgsWithoutFinalChecks = async (args: string[]) => { const { pathToCLI, runDirectory } = await prepareE2eTest() await runCommand(pathToCLI, args, { - timeout: fifteenMinutes, + timeout: twentyMinutes, cwd: runDirectory, stdout: "inherit", stderr: "inherit", diff --git a/packages/create-next-stack/src/tests/e2e/helpers/timeout.ts b/packages/create-next-stack/src/tests/e2e/helpers/timeout.ts index c1220a8..4f82fe2 100644 --- a/packages/create-next-stack/src/tests/e2e/helpers/timeout.ts +++ b/packages/create-next-stack/src/tests/e2e/helpers/timeout.ts @@ -1,2 +1,2 @@ -export const fifteenMinutes = 1000 * 60 * 15 +export const twentyMinutes = 1000 * 60 * 20 export const oneMinute = 1000 * 60 diff --git a/packages/create-next-stack/src/tests/e2e/tests/css-modules-with-sass/css-modules-with-sass-all-flags.test.ts b/packages/create-next-stack/src/tests/e2e/tests/css-modules-with-sass/css-modules-with-sass-all-flags.test.ts index e110aab..1f48ecc 100644 --- a/packages/create-next-stack/src/tests/e2e/tests/css-modules-with-sass/css-modules-with-sass-all-flags.test.ts +++ b/packages/create-next-stack/src/tests/e2e/tests/css-modules-with-sass/css-modules-with-sass-all-flags.test.ts @@ -1,6 +1,6 @@ import { test } from "@jest/globals" import { testArgsWithFinalChecks } from "../../helpers/test-args" -import { fifteenMinutes } from "../../helpers/timeout" +import { twentyMinutes } from "../../helpers/timeout" test( "testCssModulesWithSassAllFlags", @@ -22,5 +22,5 @@ test( ".", ]) }, - fifteenMinutes + twentyMinutes ) diff --git a/packages/create-next-stack/src/tests/e2e/tests/css-modules-with-sass/css-modules-with-sass-only.test.ts b/packages/create-next-stack/src/tests/e2e/tests/css-modules-with-sass/css-modules-with-sass-only.test.ts index 32369a0..c227ecf 100644 --- a/packages/create-next-stack/src/tests/e2e/tests/css-modules-with-sass/css-modules-with-sass-only.test.ts +++ b/packages/create-next-stack/src/tests/e2e/tests/css-modules-with-sass/css-modules-with-sass-only.test.ts @@ -1,6 +1,6 @@ import { test } from "@jest/globals" import { testArgsWithFinalChecks } from "../../helpers/test-args" -import { fifteenMinutes } from "../../helpers/timeout" +import { twentyMinutes } from "../../helpers/timeout" test( "testCssModulesWithSassOnly", @@ -12,5 +12,5 @@ test( ".", ]) }, - fifteenMinutes + twentyMinutes ) diff --git a/packages/create-next-stack/src/tests/e2e/tests/css-modules/css-modules-all-flags.test.ts b/packages/create-next-stack/src/tests/e2e/tests/css-modules/css-modules-all-flags.test.ts index 0b5cf68..b466afc 100644 --- a/packages/create-next-stack/src/tests/e2e/tests/css-modules/css-modules-all-flags.test.ts +++ b/packages/create-next-stack/src/tests/e2e/tests/css-modules/css-modules-all-flags.test.ts @@ -1,6 +1,6 @@ import { test } from "@jest/globals" import { testArgsWithFinalChecks } from "../../helpers/test-args" -import { fifteenMinutes } from "../../helpers/timeout" +import { twentyMinutes } from "../../helpers/timeout" test( "testCssModulesAllFlags", @@ -22,5 +22,5 @@ test( ".", ]) }, - fifteenMinutes + twentyMinutes ) diff --git a/packages/create-next-stack/src/tests/e2e/tests/css-modules/css-modules-only.test.ts b/packages/create-next-stack/src/tests/e2e/tests/css-modules/css-modules-only.test.ts index 75dbd42..b7394ab 100644 --- a/packages/create-next-stack/src/tests/e2e/tests/css-modules/css-modules-only.test.ts +++ b/packages/create-next-stack/src/tests/e2e/tests/css-modules/css-modules-only.test.ts @@ -1,6 +1,6 @@ import { test } from "@jest/globals" import { testArgsWithFinalChecks } from "../../helpers/test-args" -import { fifteenMinutes } from "../../helpers/timeout" +import { twentyMinutes } from "../../helpers/timeout" test( "testCssModulesOnly", @@ -12,5 +12,5 @@ test( ".", ]) }, - fifteenMinutes + twentyMinutes ) diff --git a/packages/create-next-stack/src/tests/e2e/tests/emotion/emotion-all-flags.test.ts b/packages/create-next-stack/src/tests/e2e/tests/emotion/emotion-all-flags.test.ts index 81171cc..44e07be 100644 --- a/packages/create-next-stack/src/tests/e2e/tests/emotion/emotion-all-flags.test.ts +++ b/packages/create-next-stack/src/tests/e2e/tests/emotion/emotion-all-flags.test.ts @@ -1,6 +1,6 @@ import { test } from "@jest/globals" import { testArgsWithFinalChecks } from "../../helpers/test-args" -import { fifteenMinutes } from "../../helpers/timeout" +import { twentyMinutes } from "../../helpers/timeout" test( "testEmotionAllFlags", @@ -25,5 +25,5 @@ test( ".", ]) }, - fifteenMinutes + twentyMinutes ) diff --git a/packages/create-next-stack/src/tests/e2e/tests/emotion/emotion-only.test.ts b/packages/create-next-stack/src/tests/e2e/tests/emotion/emotion-only.test.ts index 4900633..5b11001 100644 --- a/packages/create-next-stack/src/tests/e2e/tests/emotion/emotion-only.test.ts +++ b/packages/create-next-stack/src/tests/e2e/tests/emotion/emotion-only.test.ts @@ -1,6 +1,6 @@ import { test } from "@jest/globals" import { testArgsWithFinalChecks } from "../../helpers/test-args" -import { fifteenMinutes } from "../../helpers/timeout" +import { twentyMinutes } from "../../helpers/timeout" test( "testEmotionOnly", @@ -12,5 +12,5 @@ test( ".", ]) }, - fifteenMinutes + twentyMinutes ) diff --git a/packages/create-next-stack/src/tests/e2e/tests/npm.test.ts b/packages/create-next-stack/src/tests/e2e/tests/npm.test.ts index c6e2e32..c367801 100644 --- a/packages/create-next-stack/src/tests/e2e/tests/npm.test.ts +++ b/packages/create-next-stack/src/tests/e2e/tests/npm.test.ts @@ -1,7 +1,7 @@ import { expect, test } from "@jest/globals" import { exists } from "../../../main/helpers/exists" import { testArgsWithFinalChecks } from "../helpers/test-args" -import { fifteenMinutes } from "../helpers/timeout" +import { twentyMinutes } from "../helpers/timeout" test( "testNpm", @@ -35,5 +35,5 @@ test( const pnpmLockExists = await exists(`${runDirectory}/pnpm-lock.yaml`) expect(pnpmLockExists).toBe(false) }, - fifteenMinutes + twentyMinutes ) diff --git a/packages/create-next-stack/src/tests/e2e/tests/pnpm.test.ts b/packages/create-next-stack/src/tests/e2e/tests/pnpm.test.ts index afca511..f4b9769 100644 --- a/packages/create-next-stack/src/tests/e2e/tests/pnpm.test.ts +++ b/packages/create-next-stack/src/tests/e2e/tests/pnpm.test.ts @@ -1,7 +1,7 @@ import { expect, test } from "@jest/globals" import { exists } from "../../../main/helpers/exists" import { testArgsWithFinalChecks } from "../helpers/test-args" -import { fifteenMinutes } from "../helpers/timeout" +import { twentyMinutes } from "../helpers/timeout" test( "testPnpm", @@ -35,5 +35,5 @@ test( const pnpmLockExists = await exists(`${runDirectory}/pnpm-lock.yaml`) expect(pnpmLockExists).toBe(true) }, - fifteenMinutes + twentyMinutes ) diff --git a/packages/create-next-stack/src/tests/e2e/tests/styled-components/styled-components-all-flags.test.ts b/packages/create-next-stack/src/tests/e2e/tests/styled-components/styled-components-all-flags.test.ts index 5583d66..b3d0bfa 100644 --- a/packages/create-next-stack/src/tests/e2e/tests/styled-components/styled-components-all-flags.test.ts +++ b/packages/create-next-stack/src/tests/e2e/tests/styled-components/styled-components-all-flags.test.ts @@ -1,6 +1,6 @@ import { test } from "@jest/globals" import { testArgsWithFinalChecks } from "../../helpers/test-args" -import { fifteenMinutes } from "../../helpers/timeout" +import { twentyMinutes } from "../../helpers/timeout" test( "testStyledComponentsAllFlags", @@ -22,5 +22,5 @@ test( ".", ]) }, - fifteenMinutes + twentyMinutes ) diff --git a/packages/create-next-stack/src/tests/e2e/tests/styled-components/styled-components-only.test.ts b/packages/create-next-stack/src/tests/e2e/tests/styled-components/styled-components-only.test.ts index 287c8a5..ba83959 100644 --- a/packages/create-next-stack/src/tests/e2e/tests/styled-components/styled-components-only.test.ts +++ b/packages/create-next-stack/src/tests/e2e/tests/styled-components/styled-components-only.test.ts @@ -1,6 +1,6 @@ import { test } from "@jest/globals" import { testArgsWithFinalChecks } from "../../helpers/test-args" -import { fifteenMinutes } from "../../helpers/timeout" +import { twentyMinutes } from "../../helpers/timeout" test( "testStyledComponentsOnly", @@ -12,5 +12,5 @@ test( ".", ]) }, - fifteenMinutes + twentyMinutes ) diff --git a/packages/create-next-stack/src/tests/e2e/tests/tailwind-css/tailwind-css-all-flags.test.ts b/packages/create-next-stack/src/tests/e2e/tests/tailwind-css/tailwind-css-all-flags.test.ts index 7582992..2475a2c 100644 --- a/packages/create-next-stack/src/tests/e2e/tests/tailwind-css/tailwind-css-all-flags.test.ts +++ b/packages/create-next-stack/src/tests/e2e/tests/tailwind-css/tailwind-css-all-flags.test.ts @@ -1,6 +1,6 @@ import { test } from "@jest/globals" import { testArgsWithFinalChecks } from "../../helpers/test-args" -import { fifteenMinutes } from "../../helpers/timeout" +import { twentyMinutes } from "../../helpers/timeout" test( "testTailwindCssAllFlags", @@ -22,5 +22,5 @@ test( ".", ]) }, - fifteenMinutes + twentyMinutes ) diff --git a/packages/create-next-stack/src/tests/e2e/tests/tailwind-css/tailwind-css-only.test.ts b/packages/create-next-stack/src/tests/e2e/tests/tailwind-css/tailwind-css-only.test.ts index 8497241..55bf0d8 100644 --- a/packages/create-next-stack/src/tests/e2e/tests/tailwind-css/tailwind-css-only.test.ts +++ b/packages/create-next-stack/src/tests/e2e/tests/tailwind-css/tailwind-css-only.test.ts @@ -1,6 +1,6 @@ import { test } from "@jest/globals" import { testArgsWithFinalChecks } from "../../helpers/test-args" -import { fifteenMinutes } from "../../helpers/timeout" +import { twentyMinutes } from "../../helpers/timeout" test( "testTailwindCssOnly", @@ -12,5 +12,5 @@ test( ".", ]) }, - fifteenMinutes + twentyMinutes ) diff --git a/packages/create-next-stack/src/tests/e2e/tests/yarn.test.ts b/packages/create-next-stack/src/tests/e2e/tests/yarn.test.ts index 88edd68..5299c52 100644 --- a/packages/create-next-stack/src/tests/e2e/tests/yarn.test.ts +++ b/packages/create-next-stack/src/tests/e2e/tests/yarn.test.ts @@ -1,7 +1,7 @@ import { expect, test } from "@jest/globals" import { exists } from "../../../main/helpers/exists" import { testArgsWithFinalChecks } from "../helpers/test-args" -import { fifteenMinutes } from "../helpers/timeout" +import { twentyMinutes } from "../helpers/timeout" test( "testYarn", @@ -35,5 +35,5 @@ test( const pnpmLockExists = await exists(`${runDirectory}/pnpm-lock.yaml`) expect(pnpmLockExists).toBe(false) }, - fifteenMinutes + twentyMinutes )