Skip to content

Commit baf70ba

Browse files
authored
fix: Rebranch Remix plugin to include Vite (#142)
Rebrand Remix plugin to be more explicit that it only supports Vite version of Remix.
1 parent a2e576f commit baf70ba

25 files changed

Lines changed: 11458 additions & 5986 deletions

.changeset/big-socks-impress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
"@codecov/sveltekit-plugin": patch
3-
"@codecov/remix-plugin": patch
3+
"@codecov/remix-vite-plugin": patch
44
"@codecov/bundler-plugin-core": patch
55
"@codecov/nuxt-plugin": patch
66
"@codecov/rollup-plugin": patch

.changeset/shy-turtles-shout.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
"@codecov/sveltekit-plugin": patch
3-
"@codecov/remix-plugin": patch
3+
"@codecov/remix-vite-plugin": patch
44
"@codecov/bundler-plugin-core": patch
55
"@codecov/nuxt-plugin": patch
66
"@codecov/rollup-plugin": patch
77
"@codecov/vite-plugin": patch
88
"@codecov/webpack-plugin": patch
99
---
1010

11-
Add in new Remix plugin
11+
Add in new Remix Vite plugin

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const config = {
2828
"./integration-tests/tsconfig.json",
2929
"./packages/bundler-plugin-core/tsconfig.json",
3030
"./packages/nuxt-plugin/tsconfig.json",
31-
"./packages/remix-plugin/tsconfig.json",
31+
"./packages/remix-vite-plugin/tsconfig.json",
3232
"./packages/rollup-plugin/tsconfig.json",
3333
"./packages/sveltekit-plugin/tsconfig.json",
3434
"./packages/vite-plugin/tsconfig.json",

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ jobs:
423423
[
424424
"bundler-plugin-core",
425425
"nuxt-plugin",
426-
"remix-plugin",
426+
"remix-vite-plugin",
427427
"rollup-plugin",
428428
"sveltekit-plugin",
429429
"vite-plugin",
@@ -489,7 +489,7 @@ jobs:
489489
[
490490
"bundler-plugin-core",
491491
"nuxt-plugin",
492-
"remix-plugin",
492+
"remix-vite-plugin",
493493
"rollup-plugin",
494494
"sveltekit-plugin",
495495
"vite-plugin",

examples/remix/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"react-dom": "^18.2.0"
2020
},
2121
"devDependencies": {
22-
"@codecov/remix-plugin": "workspace:^",
22+
"@codecov/remix-vite-plugin": "workspace:^",
2323
"@remix-run/dev": "^2.9.2",
2424
"@types/react": "^18.2.20",
2525
"@types/react-dom": "^18.2.7",

examples/remix/vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { vitePlugin as remix } from "@remix-run/dev";
22
import { defineConfig } from "vite";
33
import tsconfigPaths from "vite-tsconfig-paths";
4-
import { codecovRemixPlugin } from "@codecov/remix-plugin";
4+
import { codecovRemixVitePlugin } from "@codecov/remix-vite-plugin";
55

66
export default defineConfig({
77
plugins: [
@@ -13,7 +13,7 @@ export default defineConfig({
1313
},
1414
}),
1515
tsconfigPaths(),
16-
codecovRemixPlugin({
16+
codecovRemixVitePlugin({
1717
enableBundleAnalysis: true,
1818
bundleName: "@codecov/example-remix-app",
1919
uploadToken: process.env.REMIX_UPLOAD_TOKEN,

integration-tests/fixtures/generate-bundle-stats/remix/__snapshots__/remix-plugin.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ exports[`Generating remix stats 2 {"format":"esm","expected":"esm"} matches the
1414
"modules": ExpectArrayContaining {},
1515
"outputPath": StringContaining "build",
1616
"plugin": {
17-
"name": StringMatching "@codecov/remix-plugin",
17+
"name": StringMatching "@codecov/remix-vite-plugin",
1818
"version": "0.0.1-beta.9",
1919
},
2020
"version": "1",
@@ -35,7 +35,7 @@ exports[`Generating remix stats 2 {"format":"esm","expected":"esm"} matches the
3535
"modules": ExpectArrayContaining {},
3636
"outputPath": StringContaining "build",
3737
"plugin": {
38-
"name": StringMatching "@codecov/remix-plugin",
38+
"name": StringMatching "@codecov/remix-vite-plugin",
3939
"version": "0.0.1-beta.9",
4040
},
4141
"version": "1",

integration-tests/fixtures/generate-bundle-stats/remix/remix-plugin.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ describe("Generating remix stats", () => {
6565
`test-remix-v${version}-client-${expected}`,
6666
),
6767
plugin: {
68-
name: expect.stringMatching("@codecov/remix-plugin"),
68+
name: expect.stringMatching("@codecov/remix-vite-plugin"),
6969
},
7070
assets: expect.arrayContaining([
7171
{
@@ -108,7 +108,7 @@ describe("Generating remix stats", () => {
108108
`test-remix-v${version}-server-${expected}`,
109109
),
110110
plugin: {
111-
name: expect.stringMatching("@codecov/remix-plugin"),
111+
name: expect.stringMatching("@codecov/remix-vite-plugin"),
112112
},
113113
assets: expect.arrayContaining([
114114
{

integration-tests/fixtures/generate-bundle-stats/remix/vite-base.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { vitePlugin as remix } from "@remix-run/dev";
22
import { defineConfig } from "viteV5";
33
import tsconfigPaths from "vite-tsconfig-paths";
4-
import { codecovRemixPlugin } from "@codecov/remix-plugin";
4+
import { codecovRemixVitePlugin } from "@codecov/remix-vite-plugin";
55

66
export default defineConfig({
77
plugins: [
@@ -13,7 +13,7 @@ export default defineConfig({
1313
},
1414
}),
1515
tsconfigPaths(),
16-
codecovRemixPlugin({
16+
codecovRemixVitePlugin({
1717
enableBundleAnalysis: true,
1818
bundleName: "test-remix-v2",
1919
uploadToken: "test-token",

integration-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"devDependencies": {
2828
"@codecov/bundler-plugin-core": "workspace:^",
2929
"@codecov/nuxt-plugin": "workspace:^",
30-
"@codecov/remix-plugin": "workspace:^",
30+
"@codecov/remix-vite-plugin": "workspace:^",
3131
"@codecov/rollup-plugin": "workspace:^",
3232
"@codecov/sveltekit-plugin": "workspace:^",
3333
"@codecov/vite-plugin": "workspace:^",

0 commit comments

Comments
 (0)