* ../../core/types/src/dml/index.ts * ../../core/types/src/dml/index.ts * fix: relationships mapping * handle nullable foreign keys types * handle nullable foreign keys types * handle nullable foreign keys types * continue to update product category repository * fix all product category repositories issues * fix product category service types * fix product module service types * fix product module service types * fix repository template type * refactor: use a singleton DMLToMikroORM factory instance Since the MikroORM MetadataStorage is global, we will also have to turn DML to MikroORM entities conversion use a global bucket as well * refactor: update product module to use DML in tests * wip: tests * WIP product linkable fixes * continue type fixing and start test fixing * test: fix more tests * fix repository * fix pivot table computaion + fix mikro orm repository * fix many to many management and configuration * fix many to many management and configuration * fix many to many management and configuration * update product tag relation configuration * Introduce experimental dml hooks to fix some issues with categories * more fixes * fix product tests * add missing id prefixes * fix product category handle management * test: fix more failing tests * test: make it all green * test: fix breaking tests * fix: build issues * fix: build issues * fix: more breaking tests * refactor: fix issues after merge * refactor: fix issues after merge * refactor: surpress types error * test: fix DML failing tests * improve many to many inference + tests * Wip fix columns from product entity * remove product model before create hook and manage handle validation and transformation at the service level * test: fix breaking unit tests * fix: product module service to not update handle on product update * fix define link and joiner config * test: fix joiner config test * test: fix joiner config test * fix joiner config primary keys * Fix joiner config builder * Fix joiner config builder * test: remove only modifier from test * refactor: remove hooks usage from product collection * refactor: remove hooks usage from product-option * refactor: remove hooks usage for computing category handle * refactor: remove hooks usage from productCategory model * refactor: remove hooks from DML * refactor: remove cruft * order dml * cleanup * re add foerign key indexes * wip * chore: remove unused types * wip * changes * rm raw * autoincrement * wip * rel * refactor: cleanup * migration and models configuration adjustments * cleanup * number searchable * fix random ordering * fix * test: fix product-category tests * test: update breaking DML tests * test: array assertion to not care about ordering * fix: temporarily apply id ordering for products * types * wip * WIP type improvements * update order models * partially fix types temporarely * rel * fix: recursive type issue * improve type inference breaks * improve type inference breaks * update models * rm nullable * default value * repository * update default value handling * fix unit tests * WIP * toMikroORM * fix relations * cascades * fix * experimental dml hooks * rm migration * serial * nullable autoincrement * fix model * model changes * fix one to one DML * order test * fix addresses * fix unit tests * Re align dml entity name inference * update model table name config * update model table name config * revert * update return relation * WIP * hasOne * models * fix * model * initial commit * cart service * order module * utils unit test * index engine * changeset * merge * fix hasOne with fk * update * free text filter per entity * tests * prod category * property string many to many * fix big number * link modules migration set names * merge * shipping option rules * serializer * unit test * fix test mikro orm init * fix test mikro orm init * Maintain merge object properties * fix test mikro orm init * prevent unit test from connecting to db * wip * fix test * fix test * link test * schema * models * auto increment * hook * model hooks * order * wip * orm version * request return field * fix return configuration on order model * workflows * core flows * unit test * test * base repo * test * base repo * test fix * inventory move * locking inventory * test * free text fix * rm timeout mock * migrate fulfillment values * v6.4.3 * cleanup * link-modules update sql * revert test * remove fake timers --------- Co-authored-by: adrien2p <adrien.deperetti@gmail.com> Co-authored-by: Harminder Virk <virk.officials@gmail.com> Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
130 lines
3.9 KiB
JSON
130 lines
3.9 KiB
JSON
{
|
|
"name": "@medusajs/ui",
|
|
"version": "4.0.3",
|
|
"author": "Kasper Kristensen <kasper@medusajs.com>",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/medusajs/medusa.git",
|
|
"directory": "packages/design-system/ui"
|
|
},
|
|
"main": "./dist/cjs/index.js",
|
|
"types": "./dist/cjs/index.d.ts",
|
|
"module": "./dist/esm/index.js",
|
|
"exports": {
|
|
".": {
|
|
"require": {
|
|
"types": "./dist/cjs/index.d.ts",
|
|
"default": "./dist/cjs/index.js"
|
|
},
|
|
"import": {
|
|
"types": "./dist/esm/index.d.ts",
|
|
"default": "./dist/esm/index.js"
|
|
}
|
|
}
|
|
},
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist/**",
|
|
"styles.css"
|
|
],
|
|
"scripts": {
|
|
"build": "yarn clean && yarn build:js:cjs && yarn build:js:esm",
|
|
"build:js:cjs": "tsc --project tsconfig.cjs.json && tsc-alias -p tsconfig.cjs.json",
|
|
"build:js:esm": "tsc --project tsconfig.esm.json && tsc-alias -p tsconfig.esm.json",
|
|
"clean": "rimraf dist",
|
|
"test": "vitest --run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest --run --coverage",
|
|
"lint": "eslint \"**/*.ts*\"",
|
|
"storybook": "storybook dev -p 6006",
|
|
"storybook:build": "storybook build",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"@faker-js/faker": "^9.2.0",
|
|
"@medusajs/ui-preset": "^2.2.0",
|
|
"@storybook/addon-essentials": "^8.3.5",
|
|
"@storybook/addon-interactions": "^8.3.5",
|
|
"@storybook/addon-links": "^8.3.5",
|
|
"@storybook/addon-styling": "^1.3.7",
|
|
"@storybook/blocks": "^8.3.5",
|
|
"@storybook/react": "^8.3.5",
|
|
"@storybook/react-vite": "^8.3.5",
|
|
"@storybook/testing-library": "^0.2.2",
|
|
"@testing-library/dom": "^9.3.1",
|
|
"@testing-library/jest-dom": "^5.16.5",
|
|
"@testing-library/react": "^14.0.0",
|
|
"@testing-library/user-event": "^14.4.3",
|
|
"@types/jsdom": "^21.1.1",
|
|
"@types/react": "^18.2.0",
|
|
"@types/react-dom": "^18.2.0",
|
|
"@vitejs/plugin-react": "^4.0.1",
|
|
"@vitest/coverage-v8": "^0.32.2",
|
|
"autoprefixer": "^10.4.19",
|
|
"chromatic": "^6.20.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-plugin-storybook": "^0.6.12",
|
|
"jsdom": "^22.1.0",
|
|
"postcss": "^8.4.38",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
"rimraf": "^5.0.1",
|
|
"storybook": "^8.3.5",
|
|
"tailwindcss": "^3.4.3",
|
|
"tsc-alias": "^1.8.7",
|
|
"typescript": "^5.1.6",
|
|
"vite": "^4.3.9",
|
|
"vite-plugin-turbosnap": "^1.0.2",
|
|
"vitest": "^0.32.2"
|
|
},
|
|
"dependencies": {
|
|
"@medusajs/icons": "^2.3.0",
|
|
"@radix-ui/react-accordion": "1.2.0",
|
|
"@radix-ui/react-alert-dialog": "1.1.1",
|
|
"@radix-ui/react-avatar": "1.1.0",
|
|
"@radix-ui/react-checkbox": "1.1.1",
|
|
"@radix-ui/react-dialog": "1.1.1",
|
|
"@radix-ui/react-dropdown-menu": "2.1.1",
|
|
"@radix-ui/react-label": "2.1.0",
|
|
"@radix-ui/react-popover": "1.1.1",
|
|
"@radix-ui/react-portal": "1.1.1",
|
|
"@radix-ui/react-radio-group": "1.2.0",
|
|
"@radix-ui/react-select": "2.1.1",
|
|
"@radix-ui/react-slot": "1.1.0",
|
|
"@radix-ui/react-switch": "1.1.0",
|
|
"@radix-ui/react-tabs": "1.1.0",
|
|
"@radix-ui/react-tooltip": "1.1.2",
|
|
"@tanstack/react-table": "8.20.5",
|
|
"clsx": "^1.2.1",
|
|
"copy-to-clipboard": "^3.3.3",
|
|
"cva": "1.0.0-beta.1",
|
|
"prism-react-renderer": "^2.0.6",
|
|
"prismjs": "^1.29.0",
|
|
"react-aria": "^3.33.1",
|
|
"react-currency-input-field": "^3.6.11",
|
|
"react-stately": "^3.31.1",
|
|
"sonner": "^1.5.0",
|
|
"tailwind-merge": "^2.2.1"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc",
|
|
"react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc"
|
|
},
|
|
"browserslist": [
|
|
"last 3 chrome versions",
|
|
"last 3 firefox versions",
|
|
"last 3 opera versions",
|
|
"last 3 edge versions",
|
|
"last 3 safari versions",
|
|
"last 3 chromeandroid versions",
|
|
"last 1 firefoxandroid versions",
|
|
"ios >= 13.4"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|