Skip to content

Commit

Permalink
fix: package.json exports
Browse files Browse the repository at this point in the history
Signed-off-by: Samppa Saarela <samppa.saarela@iki.fi>
  • Loading branch information
ssaarela committed Nov 20, 2024
1 parent 07c4c6d commit 7edf1ee
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 12 deletions.
5 changes: 3 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": false,
"description": "V-validation core package",
"main": "./dist/cjs/index.js",
"module": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
Expand All @@ -16,7 +16,8 @@
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
}
}
},
"./package.json": "./package.json"
},
"license": "MIT",
"homepage": "https://github.com/finnair/v-validation/tree/master/packages/core#readme",
Expand Down
5 changes: 3 additions & 2 deletions packages/diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": false,
"description": "Object Diff Based on Paths And Valudes of an Object",
"main": "./dist/cjs/index.js",
"module": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
Expand All @@ -16,7 +16,8 @@
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
}
}
},
"./package.json": "./package.json"
},
"license": "MIT",
"homepage": "https://github.com/finnair/v-validation/tree/master/packages/diff#readme",
Expand Down
5 changes: 3 additions & 2 deletions packages/luxon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": false,
"description": "Luxon validators",
"main": "./dist/cjs/index.js",
"module": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
Expand All @@ -16,7 +16,8 @@
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
}
}
},
"./package.json": "./package.json"
},
"license": "MIT",
"homepage": "https://github.com/finnair/v-validation/tree/master/packages/luxon#readme",
Expand Down
5 changes: 3 additions & 2 deletions packages/moment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": false,
"description": "Moment validators",
"main": "./dist/cjs/index.js",
"module": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
Expand All @@ -16,7 +16,8 @@
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
}
}
},
"./package.json": "./package.json"
},
"license": "MIT",
"homepage": "https://github.com/finnair/v-validation/tree/master/packages/moment#readme",
Expand Down
5 changes: 3 additions & 2 deletions packages/path-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": false,
"description": "Simple object path as array of strings and numbers",
"main": "./dist/cjs/index.js",
"module": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
Expand All @@ -16,7 +16,8 @@
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
}
}
},
"./package.json": "./package.json"
},
"license": "MIT",
"homepage": "https://github.com/finnair/v-validation/tree/master/packages/path-matcher-parser#readme",
Expand Down
5 changes: 3 additions & 2 deletions packages/path/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": false,
"description": "Simple object path as array of strings and numbers",
"main": "./dist/cjs/index.js",
"module": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
Expand All @@ -16,7 +16,8 @@
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
}
}
},
"./package.json": "./package.json"
},
"license": "MIT",
"homepage": "https://github.com/finnair/v-validation/tree/master/packages/path#readme",
Expand Down

0 comments on commit 7edf1ee

Please sign in to comment.