Skip to content

Commit be3e371

Browse files
committed
Set type to module, add fix tool, add fix tool to buf generate
1 parent 1fa1a7b commit be3e371

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
{
22
"name": "@authzed/authzed-node",
33
"author": "authzed",
4+
<<<<<<< HEAD
45
"version": "0.19.0",
6+
=======
7+
"version": "0.18.0",
8+
"type": "module",
9+
>>>>>>> 5fe56ab (Set type to module, add fix tool, add fix tool to buf generate)
510
"description": "authzed client for nodejs",
611
"keywords": [
712
"authorization",
@@ -20,7 +25,7 @@
2025
"scripts": {
2126
"test": "./scripts/run-and-test.sh",
2227
"only-run-tests": "vitest",
23-
"buf": "./buf.gen.yaml",
28+
"buf": "buf generate && tsc-esm-fix --src src/authzedapi --ext='.js'",
2429
"lint": "./node_modules/.bin/eslint src",
2530
"build": "tsc",
2631
"prepublish": "yarn build",
@@ -41,6 +46,7 @@
4146
"@typescript-eslint/parser": "^8.19.0",
4247
"eslint": "^9.17.0",
4348
"grpc-tools": "^1.12.4",
49+
"tsc-esm-fix": "^3.1.2",
4450
"typescript": "^5.7",
4551
"vitest": "^2.1.3"
4652
}

0 commit comments

Comments
 (0)