Skip to content

Commit

Permalink
fixes for vite / vitest builds
Browse files Browse the repository at this point in the history
  • Loading branch information
seanrcollings committed Dec 13, 2024
1 parent 4a25158 commit ad4df6d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/atomic-elements/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@ bin
docs
node_modules
public
src
6 changes: 6 additions & 0 deletions packages/atomic-elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
"files": [
"dist"
],
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts"
},
"license": "MIT",
"dependencies": {
"@internationalized/date": "^3.5.2",
Expand Down
7 changes: 5 additions & 2 deletions packages/hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{
"name": "@atomicjolt/hooks",
"version": "0.2.0",
"version": "0.3.2",
"author": "Sean Collings <[email protected]>",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.js",
"type": "module",
"types": "dist/types/index.d.ts",
"files": [
"dist/**/*"
"dist",
"src"
],
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 || ^18.0.0"
Expand Down
3 changes: 2 additions & 1 deletion packages/hooks/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"include": ["src/index.ts"],
"compilerOptions": {
"outDir": "./dist",
"declarationDir": "./dist/types"
"declarationDir": "./dist/types",
"module": "ESNext"
}
}

0 comments on commit ad4df6d

Please sign in to comment.