From 7c1db6f291bf4975c0997e0c99ac0e4628080a21 Mon Sep 17 00:00:00 2001 From: Theo Ephraim Date: Thu, 1 Aug 2024 21:33:17 -0700 Subject: [PATCH] just checking if pr.pkg.new is working --- .changeset/six-hotels-clean.md | 5 +++++ .github/workflows/release-preview.yaml | 4 ++++ packages/integrations/remix/src/index.ts | 2 ++ 3 files changed, 11 insertions(+) create mode 100644 .changeset/six-hotels-clean.md diff --git a/.changeset/six-hotels-clean.md b/.changeset/six-hotels-clean.md new file mode 100644 index 00000000..0e641d6d --- /dev/null +++ b/.changeset/six-hotels-clean.md @@ -0,0 +1,5 @@ +--- +"@dmno/remix-integration": patch +--- + +update remix integration' diff --git a/.github/workflows/release-preview.yaml b/.github/workflows/release-preview.yaml index 5cd6856f..69abe75c 100644 --- a/.github/workflows/release-preview.yaml +++ b/.github/workflows/release-preview.yaml @@ -7,6 +7,10 @@ jobs: steps: - uses: actions/checkout@v4 + with: + # by default only the current commit is fetched + # but we need more history to be able to compare to main + fetch-depth: 0 - name: Enable Corepack run: corepack enable - name: Use Node.js 20.x diff --git a/packages/integrations/remix/src/index.ts b/packages/integrations/remix/src/index.ts index 3d70d4c8..02f83edd 100644 --- a/packages/integrations/remix/src/index.ts +++ b/packages/integrations/remix/src/index.ts @@ -80,6 +80,8 @@ export function dmnoRemixVitePlugin(dmnoOptions?: DmnoPluginOptions) { // this function will get called on each restart! async config(config, env) { + console.log('testing pr.pkg.new!'); + // console.log('vite config hook', config, env); // remix loads 2 vite servers, one for frontend, one for back // this feels hacky to identify it but seems to be working ok