Skip to content

Commit c326061

Browse files
committed
update 03
1 parent 8d4a37a commit c326061

File tree

13 files changed

+2885
-57
lines changed

13 files changed

+2885
-57
lines changed

07-cloud/04-turborepo/03-manual-publish/apps/baratheon/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
"dependencies": {
1010
"@my-org/house-helpers": "^1.0.0",
1111
"@my-org/motto-helpers": "^1.0.0",
12-
"react": "^18.2.0",
13-
"react-dom": "^18.2.0"
12+
"react": "^19.0.0",
13+
"react-dom": "^19.0.0"
1414
},
1515
"devDependencies": {
16-
"@types/react": "^18.2.66",
17-
"@types/react-dom": "^18.2.22",
18-
"@vitejs/plugin-react": "^4.2.1",
19-
"typescript": "^5.4.2",
20-
"vite": "^5.1.6"
16+
"@types/react": "^19.0.10",
17+
"@types/react-dom": "^19.0.4",
18+
"@vitejs/plugin-react": "^4.3.4",
19+
"typescript": "^5.8.2",
20+
"vite": "^6.2.0"
2121
}
2222
}

07-cloud/04-turborepo/03-manual-publish/apps/lannister/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
"dependencies": {
1010
"@my-org/house-helpers": "^1.0.0",
1111
"@my-org/motto-helpers": "^1.0.0",
12-
"react": "^18.2.0",
13-
"react-dom": "^18.2.0"
12+
"react": "^19.0.0",
13+
"react-dom": "^19.0.0"
1414
},
1515
"devDependencies": {
16-
"@types/react": "^18.2.66",
17-
"@types/react-dom": "^18.2.22",
18-
"@vitejs/plugin-react": "^4.2.1",
19-
"typescript": "^5.4.2",
20-
"vite": "^5.1.6"
16+
"@types/react": "^19.0.10",
17+
"@types/react-dom": "^19.0.4",
18+
"@vitejs/plugin-react": "^4.3.4",
19+
"typescript": "^5.8.2",
20+
"vite": "^6.2.0"
2121
}
2222
}

07-cloud/04-turborepo/03-manual-publish/apps/stark/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
"dependencies": {
1010
"@my-org/house-helpers": "^1.0.0",
1111
"@my-org/motto-helpers": "^1.0.0",
12-
"react": "^18.2.0",
13-
"react-dom": "^18.2.0"
12+
"react": "^19.0.0",
13+
"react-dom": "^19.0.0"
1414
},
1515
"devDependencies": {
16-
"@types/react": "^18.2.66",
17-
"@types/react-dom": "^18.2.22",
18-
"@vitejs/plugin-react": "^4.2.1",
19-
"typescript": "^5.4.2",
20-
"vite": "^5.1.6"
16+
"@types/react": "^19.0.10",
17+
"@types/react-dom": "^19.0.4",
18+
"@vitejs/plugin-react": "^4.3.4",
19+
"typescript": "^5.8.2",
20+
"vite": "^6.2.0"
2121
}
2222
}

07-cloud/04-turborepo/03-manual-publish/apps/targaryen/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
"dependencies": {
1010
"@my-org/house-helpers": "^1.0.0",
1111
"@my-org/motto-helpers": "^1.0.0",
12-
"react": "^18.2.0",
13-
"react-dom": "^18.2.0"
12+
"react": "^19.0.0",
13+
"react-dom": "^19.0.0"
1414
},
1515
"devDependencies": {
16-
"@types/react": "^18.2.66",
17-
"@types/react-dom": "^18.2.22",
18-
"@vitejs/plugin-react": "^4.2.1",
19-
"typescript": "^5.4.2",
20-
"vite": "^5.1.6"
16+
"@types/react": "^19.0.10",
17+
"@types/react-dom": "^19.0.4",
18+
"@vitejs/plugin-react": "^4.3.4",
19+
"typescript": "^5.8.2",
20+
"vite": "^6.2.0"
2121
}
2222
}

07-cloud/04-turborepo/03-manual-publish/helpers/house-helpers/package.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,30 @@
22
"name": "@my-org/house-helpers",
33
"version": "1.0.0",
44
"private": false,
5+
"sideEffects": false,
56
"author": "Lemoncode",
67
"license": "MIT",
78
"files": [
89
"dist"
910
],
1011
"type": "module",
11-
"module": "dist/house-helpers.js",
12-
"main": "dist/house-helpers.umd.cjs",
12+
"module": "dist/index.js",
13+
"main": "dist/index.umd.cjs",
1314
"types": "dist/index.d.ts",
1415
"exports": {
1516
".": {
16-
"import": "./dist/house-helpers.js",
17-
"require": "./dist/house-helpers.umd.cjs",
18-
"types": "./dist/index.d.ts"
17+
"types": "./dist/index.d.ts",
18+
"import": "./dist/index.js",
19+
"require": "./dist/index.umd.cjs"
1920
}
2021
},
2122
"scripts": {
22-
"start": "npm run build -- --watch",
2323
"build": "vite build",
24-
"type-check": "tsc --noEmit",
25-
"type-check:watch": "npm run type-check -- --watch --preserveWatchOutput"
24+
"type-check": "tsc --noEmit"
2625
},
2726
"devDependencies": {
28-
"typescript": "^5.4.2",
29-
"vite": "^5.1.6",
30-
"vite-plugin-dts": "^3.7.3"
27+
"typescript": "^5.8.2",
28+
"vite": "^6.2.0",
29+
"vite-plugin-dts": "^4.5.3"
3130
}
3231
}

07-cloud/04-turborepo/03-manual-publish/helpers/house-helpers/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"moduleResolution": "bundler",
66
"skipLibCheck": true,
77
"isolatedModules": true,
8+
"esModuleInterop": true,
89
"outDir": "dist",
910
"jsx": "react-jsx"
1011
},

07-cloud/04-turborepo/03-manual-publish/helpers/house-helpers/vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export default defineConfig({
77
lib: {
88
entry: "src/index.ts",
99
name: "HouseHelpers",
10+
fileName: "index",
1011
},
1112
},
1213
});

07-cloud/04-turborepo/03-manual-publish/helpers/motto-helpers/package.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,31 @@
22
"name": "@my-org/motto-helpers",
33
"version": "1.0.0",
44
"private": false,
5+
"sideEffects": false,
56
"author": "Lemoncode",
67
"license": "MIT",
78
"files": [
89
"dist"
910
],
1011
"type": "module",
11-
"module": "./dist/motto-helpers.js",
12-
"main": "./dist/motto-helpers.umd.cjs",
12+
"module": "./dist/index.js",
13+
"main": "./dist/index.umd.cjs",
1314
"types": "./dist/index.d.ts",
1415
"exports": {
1516
".": {
16-
"import": "./dist/motto-helpers.js",
17-
"require": "./dist/motto-helpers.umd.cjs",
18-
"types": "./dist/index.d.ts"
17+
"types": "./dist/index.d.ts",
18+
"import": "./dist/index.js",
19+
"require": "./dist/index.umd.cjs"
1920
}
2021
},
2122
"scripts": {
22-
"start": "npm run build -- --watch",
2323
"build": "vite build",
24-
"type-check": "tsc --noEmit",
25-
"type-check:watch": "npm run type-check -- --watch --preserveWatchOutput"
24+
"type-check": "tsc --noEmit"
2625
},
2726
"devDependencies": {
28-
"typescript": "^5.4.2",
29-
"vite": "^5.1.6",
30-
"vite-plugin-dts": "^3.7.3"
27+
"typescript": "^5.8.2",
28+
"vite": "^6.2.0",
29+
"vite-plugin-dts": "^4.5.3"
3130
},
3231
"dependencies": {
3332
"@my-org/house-helpers": "^1.0.0"

07-cloud/04-turborepo/03-manual-publish/helpers/motto-helpers/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"moduleResolution": "bundler",
66
"skipLibCheck": true,
77
"isolatedModules": true,
8+
"esModuleInterop": true,
89
"outDir": "dist",
910
"jsx": "react-jsx"
1011
},

07-cloud/04-turborepo/03-manual-publish/helpers/motto-helpers/vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export default defineConfig({
77
lib: {
88
entry: "src/index.ts",
99
name: "MottoHelpers",
10+
fileName: "index",
1011
},
1112
},
1213
});

0 commit comments

Comments
 (0)