feat: scripts support cross-platform (#554)

* feat: scripts support cross-platform

* revert: revert lockfile change
This commit is contained in:
Gweesin Chan 2023-10-07 10:44:21 +08:00 committed by GitHub
parent 07a938f131
commit 344d3e1646
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 5 deletions

View File

@ -165,6 +165,7 @@
"prettier": "^3.0.0",
"rimraf": "^3.0.2",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"typescript": "^5.0.0",
"vite": "^4.3.8",
"vue": "^3.3.4",

View File

@ -29,7 +29,7 @@
"build": "tsup",
"build:fast": "npm run build && npm run release",
"postversion": "pnpm build",
"release": "esno ./scripts/postbuild.ts && cp README.md dist"
"release": "esno ./scripts/postbuild.ts && shx cp README.md dist"
},
"dependencies": {
"xss": "1.0.11"

View File

@ -34,7 +34,7 @@
"build:fast": "npm run build && npm run release",
"publishTgz": "node .cloudbuild/publish-tgzs.js",
"stylelint": "stylelint \"**/*.less\" --fix",
"release": "node build/release.js && node build/postbuild.js && cp README.md dist",
"release": "node build/release.js && node build/postbuild.js && shx cp README.md dist",
"postversion": "pnpm build"
},
"devDependencies": {

View File

@ -34,7 +34,7 @@
"dev:theme": "gulp dev --gulpfile build/gulp-dist.js",
"build": "npm run clean && npm run build:theme && node build/replace-img.js",
"build:fast": "npm run build && npm run release",
"release": "node build/release.js && node build/postbuild.js && cp README.md dist",
"release": "node build/release.js && node build/postbuild.js && shx cp README.md dist",
"format": "prettier --write src/**/*.less",
"stylelint": "stylelint \"**/*.less\" --fix",
"postversion": "pnpm build"

View File

@ -32,7 +32,7 @@
"build:theme": "gulp build --gulpfile build/gulp-dist.js",
"build": "npm run clean && npm run build:component-cssvar && npm run build:theme && node build/replace-img.js",
"build:fast": "npm run build && npm run release",
"release": "node build/release.js && node build/postbuild.js && cp README.md dist",
"release": "node build/release.js && node build/postbuild.js && shx cp README.md dist",
"build:copy-remote": "npm run build:theme && cp-cli dist ../tiny-vue/node_modules/@opentiny/vue-theme",
"publishTgz": "node .cloudbuild/publish-tgzs.js",
"postversion": "pnpm build",

View File

@ -25295,4 +25295,4 @@ packages:
resolution: {integrity: sha512-M4Z05BHWtajY2241EmMPHglDQAJ1UyHQcYsxDNzD9XLSkPDqMq4bB28v9Pb4mvHnVQ0GxyTklZ/69xCFP6RXBA==}
dependencies:
tslib: 2.4.0
dev: false
dev: false