Skip to content

Commit 45d7aef

Browse files
committed
[cr] try with new index file
1 parent fa397e5 commit 45d7aef

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './dist/index.js';

package.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
{
22
"name": "tsqtsq",
3-
"version": "1.0.6",
3+
"version": "1.0.7",
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",
6-
"files": ["dist"],
6+
"files": ["dist", "index.js"],
7+
"exports": {
8+
"main": {
9+
"types": "./dist/index.d.ts",
10+
"default": "./dist/index.js"
11+
},
12+
"expression": {
13+
"types": "./dist/expression.d.ts",
14+
"default": "./dist/expression.js"
15+
},
16+
"promql": {
17+
"types": "./dist/promql.d.ts",
18+
"default": "./dist/promql.js"
19+
}
20+
},
721
"license": "AGPL-3.0-only",
822
"description": "A reusable and composable query library for Prometheus",
923
"keywords": [

0 commit comments

Comments
 (0)