**What** - #9338 had a regression which caused the import path in some virtual modules to be invalid on Windows. - This PR fixes the issue so we now again create the correct import paths, and adds tests to prevent this from slipping in again.
52 lines
1.1 KiB
JSON
52 lines
1.1 KiB
JSON
{
|
|
"name": "@medusajs/admin-vite-plugin",
|
|
"version": "0.0.1",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/medusajs/medusa",
|
|
"directory": "packages/admin/admin-vite-plugin"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"package.json"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"watch": "tsup --watch",
|
|
"test": "vitest --run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/types": "7.25.6",
|
|
"@types/node": "^20.10.4",
|
|
"tsup": "8.0.1",
|
|
"typescript": "5.3.3",
|
|
"vite": "^5.2.11",
|
|
"vitest": "^2.1.3"
|
|
},
|
|
"peerDependencies": {
|
|
"vite": "^5.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@babel/parser": "7.25.6",
|
|
"@babel/traverse": "7.25.6",
|
|
"@medusajs/admin-shared": "0.0.1",
|
|
"chokidar": "3.5.3",
|
|
"fdir": "6.1.1",
|
|
"magic-string": "0.30.5",
|
|
"outdent": "^0.8.0",
|
|
"picocolors": "^1.1.0"
|
|
},
|
|
"packageManager": "yarn@3.2.1"
|
|
}
|