fix: use cross-platform rimraf for build scripts (#25814)
* use cross-platform rimraf for build scripts * fix: use cross-platform rimraf for build scripts * fix: replace cp with npx shx cp for cross-platform compatibility * Update schema.prisma
This commit is contained in:
1 parent
77184226e5
commit
5c9a5c5729
6 files changed
+11
-11
No files matched your search
@@ -13,8 +13,8 @@
|
||||
"build:watch": "yarn vite build --watch",
|
||||
"watch-lru-fix": "watch -n 1 'sed -i'' -e \"s/const CACHE = new lruCache\\.LRUCache({ max: 1e3 });/const CACHE = new lruCache({ max: 1e3 });/g\" ./dist/index.cjs'",
|
||||
"build:dev": "yarn vite build && sed -i'' -e 's/const CACHE = new lruCache\\.LRUCache({ max: 1e3 });/const CACHE = new lruCache({ max: 1e3 });/g' ./dist/index.cjs",
|
||||
"local": "node scripts/local.js && rm -rf dist && yarn build:dev && cd ../../.. && yarn",
|
||||
"publish-npm": "yarn && node scripts/prepublish.js && rm -rf dist && yarn build && npm publish --access public && node scripts/postpublish.js"
|
||||
"local": "node scripts/local.js && npx rimraf dist && yarn build:dev && cd ../../.. && yarn",
|
||||
"publish-npm": "yarn && node scripts/prepublish.js && npx rimraf dist && yarn build && npm publish --access public && node scripts/postpublish.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@calcom/features": "workspace:*",
|
||||
|
||||
Reference in new issue
Block a user