mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
Two post-extraction regressions: 1. The barrel resolves the Calendar name-collision to the date-picker COMPONENT (symmetric with Table). Scheduled-tasks imported Calendar from the barrel but used it as an ICON, so its header rendered a date picker. Route the icon consumers (scheduled-tasks + loading) to @sim/emcn/icons, matching the 'icons come from the /icons subpath' convention. 2. The package's new sideEffects: ['**/*.css'] marked code/prism.ts as side-effect-free, but it registers prismjs languages on the global Prism (a real JS side effect). The bundler could drop/reorder its core init, causing 'Prism is not defined'. Add code/prism.ts to sideEffects so the bundler preserves it.
68 lines
1.5 KiB
JSON
68 lines
1.5 KiB
JSON
{
|
|
"name": "@sim/emcn",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"sideEffects": [
|
|
"**/*.css",
|
|
"**/components/code/prism.ts"
|
|
],
|
|
"type": "module",
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"bun": ">=1.2.13",
|
|
"node": ">=20.0.0"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./src/index.ts",
|
|
"default": "./src/index.ts"
|
|
},
|
|
"./icons": {
|
|
"types": "./src/icons/index.ts",
|
|
"default": "./src/icons/index.ts"
|
|
},
|
|
"./*": {
|
|
"types": "./src/*",
|
|
"default": "./src/*"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"type-check": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"lint": "biome check --write --unsafe .",
|
|
"lint:check": "biome check .",
|
|
"format": "biome format --write .",
|
|
"format:check": "biome format ."
|
|
},
|
|
"dependencies": {
|
|
"clsx": "^2.1.1",
|
|
"tailwind-merge": "^2.6.0"
|
|
},
|
|
"peerDependencies": {
|
|
"class-variance-authority": "^0.7.1",
|
|
"framer-motion": "^12.5.0",
|
|
"input-otp": "^1.4.2",
|
|
"lucide-react": ">=0.479.0",
|
|
"next": ">=15",
|
|
"prismjs": "^1.30.0",
|
|
"react": "^19",
|
|
"react-dom": "^19"
|
|
},
|
|
"devDependencies": {
|
|
"@sim/tsconfig": "workspace:*",
|
|
"@types/prismjs": "^1.26.5",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"class-variance-authority": "^0.7.1",
|
|
"framer-motion": "^12.5.0",
|
|
"input-otp": "^1.4.2",
|
|
"lucide-react": "^0.479.0",
|
|
"next": "16.2.6",
|
|
"prismjs": "^1.30.0",
|
|
"react": "19.2.4",
|
|
"react-dom": "19.2.4",
|
|
"typescript": "^5.7.3",
|
|
"vitest": "^4.1.0"
|
|
}
|
|
}
|