Skip to content

Commit

Permalink
fix: exports
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaarela committed Nov 21, 2024
1 parent 24a7a43 commit 188dd9a
Show file tree
Hide file tree
Showing 7 changed files with 19 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
1 change: 1 addition & 0 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * from './V.js';
export * from './validators.js';
export * from './schema.js';
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 188dd9a

Please sign in to comment.