Skip to content

Commit

Permalink
exit pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
chaance committed Nov 17, 2022
1 parent 0db4c2f commit c131411
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "pre",
"mode": "exit",
"tag": "pre",
"initialVersions": {
"create-remix": "1.7.5",
Expand Down
21 changes: 17 additions & 4 deletions integration/helpers/create-fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ export async function createAppFixture(fixture: Fixture, mode?: ServerMode) {
}

////////////////////////////////////////////////////////////////////////////////

const symlinks = new Map<string, boolean>();

export async function createFixtureProject(
init: FixtureInit = {}
): Promise<string> {
Expand All @@ -153,11 +156,21 @@ export async function createFixtureProject(

await fse.ensureDir(projectDir);
await fse.copy(integrationTemplateDir, projectDir);
await fse.copy(
path.join(__dirname, "../../build/node_modules"),
path.join(projectDir, "node_modules"),
{ overwrite: true }

await fse.ensureDir(path.join(projectDir, "node_modules"));
await fse.symlink(
path.join(__dirname, "../../build/node_modules/@remix-run"),
path.join(projectDir, "node_modules/@remix-run")
);
await fse.symlink(
path.join(__dirname, "../../build/node_modules/create-remix"),
path.join(projectDir, "node_modules/create-remix")
);
await fse.symlink(
path.join(__dirname, "../../build/node_modules/remix"),
path.join(projectDir, "node_modules/remix")
);

if (init.setup) {
let setupSpawn = spawnSync(
"node",
Expand Down
2 changes: 1 addition & 1 deletion integration/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const config: PlaywrightTestConfig = {
timeout: 5_000,
},
forbidOnly: !!process.env.CI,
retries: 3,
retries: 0,
reporter: process.env.CI ? "github" : [["html", { open: "never" }]],
use: { actionTimeout: 0 },

Expand Down

0 comments on commit c131411

Please sign in to comment.