Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(refactor): Create magicExports in Rollup build #3543

Merged
merged 13 commits into from
Jun 22, 2022
20 changes: 10 additions & 10 deletions integration/helpers/create-fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ export async function createFixtureProject(init: FixtureInit): Promise<string> {
);

// These logs are helpful for debugging. Remove comments if needed.
// console.log("spawning @remix-run/dev/cli.js `setup`:\n");
// console.log(" STDOUT:");
// console.log(" " + setupSpawn.stdout.toString("utf-8"));
// console.log(" STDERR:");
// console.log(" " + setupSpawn.stderr.toString("utf-8"));
console.log("spawning @remix-run/dev/cli.js `setup`:\n");
console.log(" STDOUT:");
console.log(" " + setupSpawn.stdout.toString("utf-8"));
console.log(" STDERR:");
console.log(" " + setupSpawn.stderr.toString("utf-8"));
}
await writeTestFiles(init, projectDir);
build(projectDir, init.buildStdio, init.sourcemap);
Expand All @@ -187,11 +187,11 @@ function build(projectDir: string, buildStdio?: Writable, sourcemap?: boolean) {
});

// These logs are helpful for debugging. Remove comments if needed.
// console.log("spawning @remix-run/dev/cli.js `build`:\n");
// console.log(" STDOUT:");
// console.log(" " + buildSpawn.stdout.toString("utf-8"));
// console.log(" STDERR:");
// console.log(" " + buildSpawn.stderr.toString("utf-8"));
console.log("spawning @remix-run/dev/cli.js `build`:\n");
console.log(" STDOUT:");
console.log(" " + buildSpawn.stdout.toString("utf-8"));
console.log(" STDERR:");
console.log(" " + buildSpawn.stderr.toString("utf-8"));

if (buildStdio) {
buildStdio.write(buildSpawn.stdout.toString("utf-8"));
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"@types/glob": "7.2.0",
"@types/jest": "^27.4.1",
"@types/jsonfile": "^6.1.0",
"@types/lodash": "^4.14.182",
"@types/node-fetch": "^2.5.7",
"@types/react": "^17.0.24",
"@types/react-dom": "^17.0.9",
Expand All @@ -91,6 +92,7 @@
"jest-watch-select-projects": "^2.0.0",
"jest-watch-typeahead": "^0.6.5",
"jsonfile": "^6.0.1",
"lodash": "^4.17.21",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"prompt-confirm": "^2.0.4",
Expand Down
5 changes: 0 additions & 5 deletions packages/remix-architect/magicExports/remix.ts

This file was deleted.

3 changes: 0 additions & 3 deletions packages/remix-cloudflare-pages/magicExports/remix.ts

This file was deleted.

3 changes: 0 additions & 3 deletions packages/remix-cloudflare-workers/magicExports/remix.ts

This file was deleted.

11 changes: 0 additions & 11 deletions packages/remix-cloudflare/magicExports/remix.ts

This file was deleted.

16 changes: 0 additions & 16 deletions packages/remix-node/magicExports/remix.ts

This file was deleted.

57 changes: 0 additions & 57 deletions packages/remix-react/magicExports/remix.ts

This file was deleted.

44 changes: 0 additions & 44 deletions packages/remix-server-runtime/magicExports/remix.ts

This file was deleted.

Loading