Skip to content

Commit fa6b10c

Browse files
committed
Upgrade packages and tests
1 parent eb965a5 commit fa6b10c

10 files changed

Lines changed: 64 additions & 63 deletions

File tree

examples/nextjs/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
"postinstall": "next telemetry disable"
1111
},
1212
"dependencies": {
13-
"@mayank1513/fork-me": "latest",
13+
"@mayank1513/fork-me": "^2.0.1",
1414
"esbuild-plugin-react18-css-example": "workspace:*",
15-
"next": "^14.1.0",
15+
"next": "^14.1.3",
1616
"nextjs-themes": "^3.1.0",
1717
"react": "^18.2.0",
1818
"react-dom": "^18.2.0",
1919
"shared-ui": "workspace:*"
2020
},
2121
"devDependencies": {
22-
"@next/eslint-plugin-next": "^14.1.0",
23-
"@types/node": "^20.11.22",
24-
"@types/react": "^18.2.60",
25-
"@types/react-dom": "^18.2.19",
22+
"@next/eslint-plugin-next": "^14.1.3",
23+
"@types/node": "^20.11.28",
24+
"@types/react": "^18.2.66",
25+
"@types/react-dom": "^18.2.22",
2626
"eslint-config-custom": "workspace:*",
2727
"tsconfig": "workspace:*",
28-
"typescript": "^5.3.3"
28+
"typescript": "^5.4.2"
2929
}
3030
}

examples/remix/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@
1111
"typecheck": "tsc"
1212
},
1313
"dependencies": {
14-
"@mayank1513/fork-me": "latest",
14+
"@mayank1513/fork-me": "^2.0.1",
15+
"@remix-run/css-bundle": "^2.8.1",
16+
"@remix-run/node": "^2.8.1",
17+
"@remix-run/react": "^2.8.1",
18+
"@remix-run/serve": "^2.8.1",
1519
"esbuild-plugin-react18-css-example": "workspace:*",
16-
"@remix-run/css-bundle": "^2.8.0",
17-
"@remix-run/node": "^2.8.0",
18-
"@remix-run/react": "^2.8.0",
19-
"@remix-run/serve": "^2.8.0",
2020
"isbot": "5.1.1",
2121
"nextjs-themes": "^3.1.0",
2222
"react": "^18.2.0",
2323
"react-dom": "^18.2.0",
2424
"shared-ui": "workspace:*"
2525
},
2626
"devDependencies": {
27-
"@remix-run/dev": "^2.8.0",
28-
"@remix-run/eslint-config": "^2.8.0",
29-
"@types/react": "^18.2.60",
30-
"@types/react-dom": "^18.2.19",
27+
"@remix-run/dev": "^2.8.1",
28+
"@remix-run/eslint-config": "^2.8.1",
29+
"@types/react": "^18.2.66",
30+
"@types/react-dom": "^18.2.22",
3131
"eslint": "^8.57.0",
32-
"typescript": "^5.3.3"
32+
"typescript": "^5.4.2"
3333
},
3434
"engines": {
3535
"node": ">=18.0.0"

examples/vite/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@
1010
"preview": "vite preview"
1111
},
1212
"dependencies": {
13-
"@mayank1513/fork-me": "latest",
13+
"@mayank1513/fork-me": "^2.0.1",
1414
"esbuild-plugin-react18-css-example": "workspace:*",
1515
"nextjs-themes": "^3.1.0",
1616
"react": "^18.2.0",
1717
"react-dom": "^18.2.0",
1818
"shared-ui": "workspace:*"
1919
},
2020
"devDependencies": {
21-
"@types/react": "^18.2.60",
22-
"@types/react-dom": "^18.2.19",
23-
"@typescript-eslint/eslint-plugin": "^7.1.0",
24-
"@typescript-eslint/parser": "^7.1.0",
21+
"@types/react": "^18.2.66",
22+
"@types/react-dom": "^18.2.22",
23+
"@typescript-eslint/eslint-plugin": "^7.2.0",
24+
"@typescript-eslint/parser": "^7.2.0",
2525
"@vitejs/plugin-react-swc": "^3.6.0",
2626
"eslint": "^8.57.0",
2727
"eslint-plugin-react-hooks": "^4.6.0",
28-
"eslint-plugin-react-refresh": "^0.4.5",
29-
"typescript": "^5.3.3",
30-
"vite": "^5.1.4"
28+
"eslint-plugin-react-refresh": "^0.4.6",
29+
"typescript": "^5.4.2",
30+
"vite": "^5.1.6"
3131
}
3232
}

lib/esbuild-plugin-react18-css-example/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,25 @@
2424
},
2525
"devDependencies": {
2626
"@testing-library/react": "^14.2.1",
27-
"@turbo/gen": "^1.12.4",
28-
"@types/node": "^20.11.22",
29-
"@types/react": "^18.2.60",
30-
"@types/react-dom": "^18.2.19",
27+
"@turbo/gen": "^1.12.5",
28+
"@types/node": "^20.11.28",
29+
"@types/react": "^18.2.66",
30+
"@types/react-dom": "^18.2.22",
3131
"@vitejs/plugin-react": "^4.2.1",
32-
"@vitest/coverage-v8": "^1.3.1",
32+
"@vitest/coverage-v8": "^1.4.0",
3333
"esbuild-plugin-css-module": "^0.0.1",
34-
"esbuild-plugin-react18": "^0.0.7",
35-
"eslint-config-custom": "workspace:*",
34+
"esbuild-plugin-react18": "^0.1.0",
3635
"esbuild-plugin-react18-css": "workspace:*",
36+
"eslint-config-custom": "workspace:*",
3737
"jsdom": "^24.0.0",
3838
"octokit": "^3.1.2",
3939
"react": "^18.2.0",
4040
"tsconfig": "workspace:*",
4141
"tsup": "^8.0.2",
42-
"typedoc": "^0.25.9",
43-
"typescript": "^5.3.3",
44-
"vite-tsconfig-paths": "^4.3.1",
45-
"vitest": "^1.3.1"
42+
"typedoc": "^0.25.12",
43+
"typescript": "^5.4.2",
44+
"vite-tsconfig-paths": "^4.3.2",
45+
"vitest": "^1.4.0"
4646
},
4747
"peerDependencies": {
4848
"@types/react": "16.8 - 18",

lib/esbuild-plugin-react18-css/__tests__/esbuild.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import cssPlugin from "../src";
66
import glob from "tiny-glob";
77

88
describe("Test plugin with esbuild", async () => {
9-
const exampleBuildDir = path.resolve(process.cwd(), "test-build1");
9+
const exampleBuildDir = path.resolve(__dirname, "..", "test-build1");
1010

1111
beforeAll(async () => {
1212
await esbuild.build({
@@ -34,7 +34,7 @@ describe("Test plugin with esbuild", async () => {
3434
});
3535

3636
describe("Test plugin with esbuild and options", async () => {
37-
const exampleBuildDir = path.resolve(process.cwd(), "test-build");
37+
const exampleBuildDir = path.resolve(__dirname, "..", "test-build");
3838

3939
beforeAll(async () => {
4040
await esbuild.build({
@@ -68,7 +68,7 @@ describe("Test plugin with esbuild and options", async () => {
6868
});
6969

7070
describe("Only server styles", () => {
71-
const exampleBuildDir = path.resolve(process.cwd(), "test-build1");
71+
const exampleBuildDir = path.resolve(__dirname, "..", "test-build1");
7272

7373
beforeAll(async () => {
7474
await esbuild.build({

lib/esbuild-plugin-react18-css/__tests__/tsup.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import { describe, test } from "vitest";
55
/** testing tsup example - make sure it is build before running this test suit */
66
describe("Test plugin with tsup", () => {
77
const exampleBuildDir = path.resolve(
8-
process.cwd(),
8+
__dirname,
9+
"..",
910
"..",
1011
"esbuild-plugin-react18-css-example",
1112
"dist",

lib/esbuild-plugin-react18-css/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@
3636
"sass": "1"
3737
},
3838
"devDependencies": {
39-
"@types/node": "^20.11.22",
40-
"@vitest/coverage-v8": "^1.3.1",
39+
"@types/node": "^20.11.28",
40+
"@vitest/coverage-v8": "^1.4.0",
4141
"esbuild": "^0.20.2",
4242
"tiny-glob": "^0.2.9",
4343
"tsup": "^8.0.2",
44-
"typedoc": "^0.25.9",
44+
"typedoc": "^0.25.12",
4545
"typescript": "^5.4.2",
46-
"vitest": "^1.3.1"
46+
"vitest": "^1.4.0"
4747
},
4848
"funding": {
4949
"type": "github",

lib/example2/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,25 +24,25 @@
2424
},
2525
"devDependencies": {
2626
"@testing-library/react": "^14.2.1",
27-
"@turbo/gen": "^1.12.4",
28-
"@types/node": "^20.11.22",
29-
"@types/react": "^18.2.60",
30-
"@types/react-dom": "^18.2.19",
27+
"@turbo/gen": "^1.12.5",
28+
"@types/node": "^20.11.28",
29+
"@types/react": "^18.2.66",
30+
"@types/react-dom": "^18.2.22",
3131
"@vitejs/plugin-react": "^4.2.1",
32-
"@vitest/coverage-v8": "^1.3.1",
32+
"@vitest/coverage-v8": "^1.4.0",
3333
"esbuild-plugin-css-module": "^0.0.1",
34-
"esbuild-plugin-react18": "^0.0.7",
35-
"eslint-config-custom": "workspace:*",
34+
"esbuild-plugin-react18": "^0.1.0",
3635
"esbuild-plugin-react18-css": "workspace:*",
36+
"eslint-config-custom": "workspace:*",
3737
"jsdom": "^24.0.0",
3838
"octokit": "^3.1.2",
3939
"react": "^18.2.0",
4040
"tsconfig": "workspace:*",
4141
"tsup": "^8.0.2",
42-
"typedoc": "^0.25.9",
43-
"typescript": "^5.3.3",
44-
"vite-tsconfig-paths": "^4.3.1",
45-
"vitest": "^1.3.1"
42+
"typedoc": "^0.25.12",
43+
"typescript": "^5.4.2",
44+
"vite-tsconfig-paths": "^4.3.2",
45+
"vitest": "^1.4.0"
4646
},
4747
"peerDependencies": {
4848
"@types/react": "16.8 - 18",

packages/eslint-config-custom/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.0.1",
55
"private": true,
66
"devDependencies": {
7-
"@vercel/style-guide": "^5.2.0",
8-
"eslint-config-turbo": "^1.12.4"
7+
"@vercel/style-guide": "^6.0.0",
8+
"eslint-config-turbo": "^1.12.5"
99
}
1010
}

packages/shared-ui/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
"lint": "eslint ."
1111
},
1212
"devDependencies": {
13-
"@mayank1513/fork-me": "latest",
13+
"@mayank1513/fork-me": "^2.0.1",
14+
"@types/node": "^20.11.28",
15+
"@types/react": "^18.2.66",
16+
"@types/react-dom": "^18.2.22",
1417
"esbuild-plugin-react18-css-example": "workspace:*",
15-
"@types/node": "^20.11.22",
16-
"@types/react": "^18.2.60",
17-
"@types/react-dom": "^18.2.19",
1818
"eslint-config-custom": "workspace:*",
19-
"next": "^14.1.0",
19+
"next": "^14.1.3",
2020
"nextjs-themes": "^3.1.0",
2121
"react": "^18.2.0",
2222
"tsconfig": "workspace:*",
23-
"typescript": "5.3.3"
23+
"typescript": "5.4.2"
2424
},
2525
"dependencies": {
2626
"eslint": "^8.57.0"

0 commit comments

Comments
 (0)