Skip to content

Commit

Permalink
chore(package): upgrade pnpm, adjust tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Hagith committed Feb 1, 2025
1 parent b749c80 commit c02cc3d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 15 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"author": "Coldrun <[email protected]>",
"homepage": "https://github.com/coldrun/monorepo-typescript",
"type": "module",
"packageManager": "pnpm@9.14.4",
"packageManager": "pnpm@9.15.4",
"engineStrict": true,
"engines": {
"node": "^20",
"pnpm": "~9.14.4"
"pnpm": "~9.15.4"
},
"scripts": {
"dev": "pnpm -r --parallel run dev",
Expand Down
9 changes: 2 additions & 7 deletions packages/core/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,8 @@ import { dts } from 'rollup-plugin-dts';
export default defineConfig([
{
input: 'src/index.ts',
output: [
{
file: 'dist/index.js',
format: 'es',
},
],
plugins: [resolve(), commonjs(), typescript()],
output: [{ file: 'dist/index.js', format: 'es' }],
plugins: [resolve({ browser: true }), commonjs(), typescript()],
},
{
input: 'src/index.ts',
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import './style.css';
import { isCallable } from '@coldrun/monorepo-typescript-shared';
import viteLogo from '../public/vite.svg';
import { setupCounter } from './counter.ts';
import { setupCounter } from './counter';
import typescriptLogo from './typescript.svg';

document.querySelector<HTMLDivElement>('#app')!.innerHTML = `
Expand Down
4 changes: 2 additions & 2 deletions packages/shared/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from './check.ts';
export * from './object.ts';
export * from './check';
export * from './object';
1 change: 0 additions & 1 deletion packages/shared/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,

"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"moduleResolution": "Bundler",
"noEmit": true
},
"include": []
Expand Down

0 comments on commit c02cc3d

Please sign in to comment.