Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish committed Mar 5, 2024
1 parent e29fef9 commit a6ae740
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 5 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "integration-vite-node-template",
"name": "integration-vite-template",
"version": "0.0.0",
"private": true,
"sideEffects": false,
Expand Down
4 changes: 2 additions & 2 deletions integration/helpers/vite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ export const EXPRESS_SERVER = (args: {
app.listen(port, () => console.log('http://localhost:' + port));
`;

type TemplateName = "vite-node-template" | "vite-cloudflare-template";
type TemplateName = "vite-template" | "vite-cloudflare-template";

export async function createProject(
files: Record<string, string> = {},
templateName: TemplateName = "vite-node-template"
templateName: TemplateName = "vite-template"
) {
let projectName = `remix-${Math.random().toString(32).slice(2)}`;
let projectDir = path.join(TMP_DIR, projectName);
Expand Down
2 changes: 2 additions & 0 deletions packages/remix-dev/compiler/js/plugins/hmr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ declare global {
return { loader: "ts", contents, resolveDir: config.appDirectory };
});

// This is only needed within the Remix repo because the symlink to the
// `packages/remix-react` folder doesn't match the regex below
let remixReactPath = require.resolve(
"@remix-run/react/dist/esm/browser.js",
{ paths: [config.rootDirectory] }
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ packages:
- "integration/helpers/cf-template"
- "integration/helpers/deno-template"
- "integration/helpers/vite-cloudflare-template"
- "integration/helpers/vite-node-template"
- "integration/helpers/vite-template"
- "packages/create-remix"
- "packages/remix"
- "packages/remix-architect"
Expand Down

0 comments on commit a6ae740

Please sign in to comment.