mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
chore: fix package preview (#11542)
This commit is contained in:
parent
c16ef63db7
commit
d4f7b44fdf
5
.github/workflows/preview.yml
vendored
5
.github/workflows/preview.yml
vendored
@ -31,10 +31,5 @@ jobs:
|
||||
- name: Build
|
||||
run: npm run package
|
||||
|
||||
- name: Prepare pnpm for preview publishing
|
||||
run: |
|
||||
npm install -g corepack@latest
|
||||
corepack prepare pnpm@latest --activate
|
||||
|
||||
- name: Release preview version
|
||||
run: npm run publish:preview
|
||||
|
||||
36
package-lock.json
generated
36
package-lock.json
generated
@ -60,6 +60,7 @@
|
||||
"gulp-typescript": "^6.0.0-alpha.1",
|
||||
"gulpclass": "^0.2.0",
|
||||
"husky": "^9.1.7",
|
||||
"is-ci": "^4.1.0",
|
||||
"lint-staged": "^15.5.2",
|
||||
"mocha": "^11.7.2",
|
||||
"mongodb": "^6.20.0",
|
||||
@ -4104,6 +4105,22 @@
|
||||
"node": ">=10"
|
||||
}
|
||||
},
|
||||
"node_modules/ci-info": {
|
||||
"version": "4.3.0",
|
||||
"resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.3.0.tgz",
|
||||
"integrity": "sha512-l+2bNRMiQgcfILUi33labAZYIWlH1kWDp+ecNo5iisRKrbm0xcRyCww71/YU0Fkw0mAFpz9bJayXPjey6vkmaQ==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/sibiraj-s"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/class-transformer": {
|
||||
"version": "0.5.1",
|
||||
"resolved": "https://registry.npmjs.org/class-transformer/-/class-transformer-0.5.1.tgz",
|
||||
@ -7699,6 +7716,25 @@
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/is-ci": {
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/is-ci/-/is-ci-4.1.0.tgz",
|
||||
"integrity": "sha512-Ab9bQDQ11lWootZUI5qxgN2ZXwxNI5hTwnsvOc1wyxQ7zQ8OkEDw79mI0+9jI3x432NfwbVRru+3noJfXF6lSQ==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/sibiraj-s"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"ci-info": "^4.1.0"
|
||||
},
|
||||
"bin": {
|
||||
"is-ci": "bin.js"
|
||||
}
|
||||
},
|
||||
"node_modules/is-core-module": {
|
||||
"version": "2.16.1",
|
||||
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz",
|
||||
|
||||
@ -86,8 +86,8 @@
|
||||
"pack": "gulp pack",
|
||||
"package": "gulp package",
|
||||
"pre-commit": "lint-staged",
|
||||
"prepare": "husky",
|
||||
"publish:preview": "pkg-pr-new publish './build/package' --pnpm --template='./sample/playground'",
|
||||
"prepare": "is-ci || husky",
|
||||
"publish:preview": "pkg-pr-new publish './build/package' --template='./sample/playground'",
|
||||
"test": "npm run compile && npm run test:fast --",
|
||||
"test:ci": "mocha --bail",
|
||||
"test:fast": "mocha",
|
||||
@ -141,6 +141,7 @@
|
||||
"gulp-typescript": "^6.0.0-alpha.1",
|
||||
"gulpclass": "^0.2.0",
|
||||
"husky": "^9.1.7",
|
||||
"is-ci": "^4.1.0",
|
||||
"lint-staged": "^15.5.2",
|
||||
"mocha": "^11.7.2",
|
||||
"mongodb": "^6.20.0",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user