Skip to content

Commit c02cc3d

Browse files
committed
chore(package): upgrade pnpm, adjust tsconfig
1 parent b749c80 commit c02cc3d

File tree

6 files changed

+8
-15
lines changed

6 files changed

+8
-15
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"author": "Coldrun <info@coldrun.com>",
55
"homepage": "https://github.com/coldrun/monorepo-typescript",
66
"type": "module",
7-
"packageManager": "pnpm@9.14.4",
7+
"packageManager": "pnpm@9.15.4",
88
"engineStrict": true,
99
"engines": {
1010
"node": "^20",
11-
"pnpm": "~9.14.4"
11+
"pnpm": "~9.15.4"
1212
},
1313
"scripts": {
1414
"dev": "pnpm -r --parallel run dev",

packages/core/rollup.config.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,8 @@ import { dts } from 'rollup-plugin-dts';
77
export default defineConfig([
88
{
99
input: 'src/index.ts',
10-
output: [
11-
{
12-
file: 'dist/index.js',
13-
format: 'es',
14-
},
15-
],
16-
plugins: [resolve(), commonjs(), typescript()],
10+
output: [{ file: 'dist/index.js', format: 'es' }],
11+
plugins: [resolve({ browser: true }), commonjs(), typescript()],
1712
},
1813
{
1914
input: 'src/index.ts',

packages/playground/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import './style.css';
22
import { isCallable } from '@coldrun/monorepo-typescript-shared';
33
import viteLogo from '../public/vite.svg';
4-
import { setupCounter } from './counter.ts';
4+
import { setupCounter } from './counter';
55
import typescriptLogo from './typescript.svg';
66

77
document.querySelector<HTMLDivElement>('#app')!.innerHTML = `

packages/shared/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export * from './check.ts';
2-
export * from './object.ts';
1+
export * from './check';
2+
export * from './object';

packages/shared/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"target": "ES2020",
5-
"useDefineForClassFields": true,
65
"module": "ESNext",
76
"lib": ["ES2020", "DOM", "DOM.Iterable"],
87
"skipLibCheck": true,

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"noUnusedParameters": true,
1010
"noFallthroughCasesInSwitch": true,
1111

12-
"moduleResolution": "bundler",
13-
"allowImportingTsExtensions": true,
12+
"moduleResolution": "Bundler",
1413
"noEmit": true
1514
},
1615
"include": []

0 commit comments

Comments
 (0)