Skip to content

Commit 2784ea8

Browse files
committedApr 3, 2024··
fix: types for jsr
1 parent 5377d31 commit 2784ea8

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed
 

‎jsr.json

+2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
"include": [
77
"LICENSE",
88
"README.md",
9+
"jsr.json",
910
"lib/rregex.wasm",
1011
"lib/rregex.wasm.d.ts",
12+
"lib/esm.mjs",
1113
"lib/esm.d.ts"
1214
]
1315
}

‎package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -92,27 +92,27 @@
9292
"assets": [
9393
{
9494
"path": "lib/standalone.js",
95-
"label": "js"
95+
"label": "standalone.js"
9696
},
9797
{
9898
"path": "lib/esm.mjs",
99-
"label": "esm"
99+
"label": "esm.js"
100100
},
101101
{
102102
"path": "lib/esm.d.ts",
103-
"label": "typescript"
103+
"label": "esm.d.ts"
104104
},
105105
{
106106
"path": "lib/rregex.wasm",
107-
"label": "wasm"
107+
"label": "rregex.wasm"
108108
}
109109
]
110110
}
111111
],
112112
[
113113
"@semantic-release/exec",
114114
{
115-
"publishCmd": "node bin/jsr.mjs ${nextRelease.version} && npx jsr publish"
115+
"publishCmd": "node bin/jsr.mjs ${nextRelease.version} && npx jsr publish --allow-dirty"
116116
}
117117
]
118118
]

‎src/types.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ export type LookWordUnicodeNegateVariant = {
749749
'@type': 'enum'
750750
'@name': 'regex_syntax::hir:Look'
751751
'@variant': 'WordUnicodeNegate'
752-
752+
}
753753
754754
/**
755755
* Match the start of an ASCII-only word boundary. That is, this matches a

0 commit comments

Comments
 (0)
Please sign in to comment.