Skip to content

Commit

Permalink
chore: add esm entry, fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Dec 21, 2023
1 parent 1d3349d commit ba08a0f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@cordisjs/logger",
"description": "Logger plugin for cordis",
"version": "0.1.2",
"version": "0.1.3",
"main": "lib/index.js",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",
Expand Down
2 changes: 0 additions & 2 deletions packages/logger/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
"compilerOptions": {
"rootDir": "src",
"outDir": "lib",
"strict": true,
"noImplicitAny": false,
},
"include": [
"src",
Expand Down
2 changes: 1 addition & 1 deletion packages/timer/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@cordisjs/timer",
"description": "Timer plugin for cordis",
"version": "0.1.0",
"version": "0.1.1",
"main": "lib/index.js",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",
Expand Down
2 changes: 0 additions & 2 deletions packages/timer/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
"compilerOptions": {
"rootDir": "src",
"outDir": "lib",
"strict": true,
"noImplicitAny": false,
},
"include": [
"src",
Expand Down
4 changes: 3 additions & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
"target": "es2022",
"module": "commonjs",
"declaration": true,
"emitDeclarationOnly": true,
"strict": true,
"noImplicitAny": false,
"composite": true,
"incremental": true,
"skipLibCheck": true,
"esModuleInterop": true,
"moduleResolution": "node",
"strictBindCallApply": true,
},
}

0 comments on commit ba08a0f

Please sign in to comment.