forked from chakra-ui/zag
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: refactor all to use clean-package (chakra-ui#462)
- Loading branch information
1 parent
4c98f01
commit f8c47a2
Showing
165 changed files
with
1,408 additions
and
867 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
"@zag-js/anatomy": patch | ||
"@zag-js/core": patch | ||
"@zag-js/react": patch | ||
"@zag-js/solid": patch | ||
"@zag-js/svelte": patch | ||
"@zag-js/vue": patch | ||
"@zag-js/accordion": patch | ||
"@zag-js/checkbox": patch | ||
"@zag-js/combobox": patch | ||
"@zag-js/dialog": patch | ||
"@zag-js/editable": patch | ||
"@zag-js/hover-card": patch | ||
"@zag-js/menu": patch | ||
"@zag-js/number-input": patch | ||
"@zag-js/pagination": patch | ||
"@zag-js/pin-input": patch | ||
"@zag-js/popover": patch | ||
"@zag-js/pressable": patch | ||
"@zag-js/radio-group": patch | ||
"@zag-js/range-slider": patch | ||
"@zag-js/rating-group": patch | ||
"@zag-js/select": patch | ||
"@zag-js/slider": patch | ||
"@zag-js/splitter": patch | ||
"@zag-js/tabs": patch | ||
"@zag-js/tags-input": patch | ||
"@zag-js/toast": patch | ||
"@zag-js/toggle": patch | ||
"@zag-js/tooltip": patch | ||
"@zag-js/store": patch | ||
"@zag-js/types": patch | ||
"@zag-js/aria-hidden": patch | ||
"@zag-js/auto-resize": patch | ||
"@zag-js/utils": patch | ||
"@zag-js/dismissable": patch | ||
"@zag-js/dom-utils": patch | ||
"@zag-js/dom-query": patch | ||
"@zag-js/element-rect": patch | ||
"@zag-js/element-size": patch | ||
"@zag-js/focus-scope": patch | ||
"@zag-js/focus-visible": patch | ||
"@zag-js/form-utils": patch | ||
"@zag-js/interact-outside": patch | ||
"@zag-js/live-region": patch | ||
"@zag-js/number-utils": patch | ||
"@zag-js/popper": patch | ||
"@zag-js/rect-utils": patch | ||
"@zag-js/remove-scroll": patch | ||
--- | ||
|
||
Update packages to use explicit `exports` field in `package.json` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"replace": { | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js" | ||
}, | ||
"./package.json": "./package.json" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,9 @@ | ||
import { defineConfig } from "vite" | ||
import solid from "vite-plugin-solid" | ||
import path from "path" | ||
|
||
export default defineConfig({ | ||
plugins: [solid()], | ||
build: { | ||
target: "esnext", | ||
}, | ||
resolve: { | ||
alias: [ | ||
{ | ||
find: /^@zag-js\/(.*)$/, | ||
replacement: path.resolve("./node_modules/@zag-js/$1/src"), | ||
}, | ||
], | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
import vue from "@vitejs/plugin-vue" | ||
import vueJsx from "@vitejs/plugin-vue-jsx" | ||
import path from "path" | ||
import { defineConfig } from "vite" | ||
|
||
// https://vitejs.dev/config/ | ||
export default defineConfig({ | ||
resolve: { | ||
alias: [ | ||
{ | ||
find: /^@zag-js\/(.*)$/, | ||
replacement: path.resolve("./node_modules/@zag-js/$1/src"), | ||
}, | ||
], | ||
}, | ||
plugins: [vue(), vueJsx()], | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.