Skip to content

Commit f03a69e

Browse files
committed
Add ESM option
1 parent 2cdfc64 commit f03a69e

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

core/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @api2ai/core
22

3+
## 0.1.2
4+
5+
### Patch Changes
6+
7+
- Publish with ESM option
8+
39
## 0.1.1
410

511
### Patch Changes

core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "@api2ai/core",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"main": "./dist/index.js",
55
"types": "./dist/index.d.ts",
66
"license": "MIT",
77
"scripts": {
88
"lint": "eslint \"**/*.ts*\"",
99
"test": "jest",
10-
"build": "tsup ./index.ts --format cjs --dts"
10+
"build": "tsup ./index.ts --format cjs,esm --dts --clean"
1111
},
1212
"devDependencies": {
1313
"@changesets/cli": "^2.26.2",

demo/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@api2ai/demo",
33
"version": "0.1.1",
4+
"private": true,
45
"scripts": {
56
"dev": "next dev -p 5555",
67
"build": "next build",

0 commit comments

Comments
 (0)