Skip to content

Commit

Permalink
fix: package json exports (#29)
Browse files Browse the repository at this point in the history
* fix: package json exports

* bump package version to 1.2.7
  • Loading branch information
zhongliang02 authored Nov 7, 2024
1 parent f55e6a3 commit 609df8b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/validators/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
{
"name": "@opengovsg/starter-kitty-validators",
"version": "1.2.6",
"version": "1.2.7",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./url": {
"types": "./dist/url/index.d.ts",
"default": "./dist/url/index.js"
Expand All @@ -19,6 +23,9 @@
},
"typesVersions": {
"*": {
".": [
"./dist/index.d.ts"
],
"url": [
"./dist/url/index.d.ts"
],
Expand Down

0 comments on commit 609df8b

Please sign in to comment.