diff --git a/packages/got-api/package.json b/packages/got-api/package.json index 0dbd47a..6f01592 100644 --- a/packages/got-api/package.json +++ b/packages/got-api/package.json @@ -1,6 +1,6 @@ { "name": "@gothub/got-api", - "version": "0.0.11", + "version": "0.0.12", "license": "MIT", "type": "module", "types": "dist/module/index.d.ts", diff --git a/packages/got-core/package.json b/packages/got-core/package.json index 7ebd0f6..373248c 100644 --- a/packages/got-core/package.json +++ b/packages/got-core/package.json @@ -1,6 +1,6 @@ { "name": "@gothub/got-core", - "version": "0.0.8", + "version": "0.0.9", "license": "MIT", "type": "module", "main": "dist/module/index.js", diff --git a/packages/got-react/package.json b/packages/got-react/package.json index 143b835..ff98f32 100644 --- a/packages/got-react/package.json +++ b/packages/got-react/package.json @@ -1,6 +1,6 @@ { "name": "@gothub/got-react", - "version": "0.0.19", + "version": "0.0.20", "license": "MIT", "type": "module", "main": "dist/module/index.js", diff --git a/packages/typescript-util/esbuild.js b/packages/typescript-util/esbuild.js index 6aeea0c..4df79be 100644 --- a/packages/typescript-util/esbuild.js +++ b/packages/typescript-util/esbuild.js @@ -86,6 +86,7 @@ const buildTs = async (options = {}) => { target: 'node18.0', platform: 'node', format: 'esm', + outExtension: { '.js': '.cjs' }, external: options?.esm?.external || [], entryPoints: entryFiles, outdir: './dist/module', diff --git a/packages/typescript-util/package.json b/packages/typescript-util/package.json index 2c7d09d..8f2d4a3 100644 --- a/packages/typescript-util/package.json +++ b/packages/typescript-util/package.json @@ -1,6 +1,6 @@ { "name": "@gothub/typescript-util", - "version": "0.0.6", + "version": "0.0.7", "license": "MIT", "type": "module", "devDependencies": {},