You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-01 16:46:54 +03:00
Automate release (#2977)
* release-it/bumper * remove git:false * fix package ordering * adjust git add * fix git config * adjust git config for all packages * add noop release script for test-utils * no need to try to release root * better way to handle skipping * pass parameters down * better version hint * update node version * return git arguments from before * rename release workflow * rename workflow * set git.tagMatch * add link to docs * update description * update workspace order in package-lock * fix secondary releases release-it/bumper was removing the ^ before the peerDep to client npm is not happy with that. one potential fix would be to bump all packages together as a prestep and then proceed without bupming again. for now, this fix should bring us to the previous state ( what was used in the manual process ) * require clean working dir in root * remove root release-it config not needed
This commit is contained in:
committed by
GitHub
parent
20c16e0c2c
commit
b33a662e50
@ -1,11 +1,22 @@
|
||||
{
|
||||
"npm": {
|
||||
"publish": true,
|
||||
"publishArgs": ["--access", "public"]
|
||||
},
|
||||
"git": {
|
||||
"tagName": "bloom@${version}",
|
||||
"tagMatch": "bloom@*",
|
||||
"commitMessage": "Release ${tagName}",
|
||||
"tagAnnotation": "Release ${tagName}"
|
||||
"tagAnnotation": "Release ${tagName}",
|
||||
"commitArgs": "--all"
|
||||
},
|
||||
"npm": {
|
||||
"versionArgs": ["--workspaces-update=false"],
|
||||
"publishArgs": ["--access", "public"]
|
||||
"plugins": {
|
||||
"@release-it/bumper": {
|
||||
"out": {
|
||||
"file": "package.json",
|
||||
"path": ["peerDependencies.@redis/client"],
|
||||
"versionPrefix": "^"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,8 @@
|
||||
"!dist/tsconfig.tsbuildinfo"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "nyc -r text-summary -r lcov mocha -r tsx './lib/**/*.spec.ts'"
|
||||
"test": "nyc -r text-summary -r lcov mocha -r tsx './lib/**/*.spec.ts'",
|
||||
"release": "release-it"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@redis/client": "^5.1.1"
|
||||
|
@ -1,11 +1,13 @@
|
||||
{
|
||||
"npm": {
|
||||
"publish": true,
|
||||
"publishArgs": ["--access", "public"]
|
||||
},
|
||||
"git": {
|
||||
"tagName": "client@${version}",
|
||||
"tagMatch": "client@*",
|
||||
"commitMessage": "Release ${tagName}",
|
||||
"tagAnnotation": "Release ${tagName}"
|
||||
},
|
||||
"npm": {
|
||||
"versionArgs": ["--workspaces-update=false"],
|
||||
"publishArgs": ["--access", "public"]
|
||||
"tagAnnotation": "Release ${tagName}",
|
||||
"commitArgs": "--all"
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,8 @@
|
||||
"!dist/tsconfig.tsbuildinfo"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "nyc -r text-summary -r lcov mocha -r tsx './lib/**/*.spec.ts'"
|
||||
"test": "nyc -r text-summary -r lcov mocha -r tsx './lib/**/*.spec.ts'",
|
||||
"release": "release-it"
|
||||
},
|
||||
"dependencies": {
|
||||
"cluster-key-slot": "1.1.2"
|
||||
|
@ -1,11 +1,22 @@
|
||||
{
|
||||
"npm": {
|
||||
"publish": true,
|
||||
"publishArgs": ["--access", "public"]
|
||||
},
|
||||
"git": {
|
||||
"tagName": "entraid@${version}",
|
||||
"tagMatch": "entraid@*",
|
||||
"commitMessage": "Release ${tagName}",
|
||||
"tagAnnotation": "Release ${tagName}"
|
||||
"tagAnnotation": "Release ${tagName}",
|
||||
"commitArgs": "--all"
|
||||
},
|
||||
"npm": {
|
||||
"versionArgs": ["--workspaces-update=false"],
|
||||
"publishArgs": ["--access", "public"]
|
||||
"plugins": {
|
||||
"@release-it/bumper": {
|
||||
"out": {
|
||||
"file": "package.json",
|
||||
"path": ["peerDependencies.@redis/client"],
|
||||
"versionPrefix": "^"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -14,7 +14,8 @@
|
||||
"start:auth-pkce": "tsx --tsconfig tsconfig.samples.json ./samples/auth-code-pkce/index.ts",
|
||||
"start:interactive-browser": "tsx --tsconfig tsconfig.samples.json ./samples/interactive-browser/index.ts",
|
||||
"test-integration": "mocha -r tsx --tsconfig tsconfig.integration-tests.json './integration-tests/**/*.spec.ts'",
|
||||
"test": "nyc -r text-summary -r lcov mocha -r tsx './lib/**/*.spec.ts'"
|
||||
"test": "nyc -r text-summary -r lcov mocha -r tsx './lib/**/*.spec.ts'",
|
||||
"release": "release-it"
|
||||
},
|
||||
"dependencies": {
|
||||
"@azure/identity": "^4.7.0",
|
||||
|
@ -1,11 +1,22 @@
|
||||
{
|
||||
"npm": {
|
||||
"publish": true,
|
||||
"publishArgs": ["--access", "public"]
|
||||
},
|
||||
"git": {
|
||||
"tagName": "json@${version}",
|
||||
"tagMatch": "json@*",
|
||||
"commitMessage": "Release ${tagName}",
|
||||
"tagAnnotation": "Release ${tagName}"
|
||||
"tagAnnotation": "Release ${tagName}",
|
||||
"commitArgs": "--all"
|
||||
},
|
||||
"npm": {
|
||||
"versionArgs": ["--workspaces-update=false"],
|
||||
"publishArgs": ["--access", "public"]
|
||||
"plugins": {
|
||||
"@release-it/bumper": {
|
||||
"out": {
|
||||
"file": "package.json",
|
||||
"path": ["peerDependencies.@redis/client"],
|
||||
"versionPrefix": "^"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,8 @@
|
||||
"!dist/tsconfig.tsbuildinfo"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "nyc -r text-summary -r lcov mocha -r tsx './lib/**/*.spec.ts'"
|
||||
"test": "nyc -r text-summary -r lcov mocha -r tsx './lib/**/*.spec.ts'",
|
||||
"release": "release-it"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@redis/client": "^5.1.1"
|
||||
|
@ -1,7 +1,27 @@
|
||||
{
|
||||
"npm": {
|
||||
"publish": true,
|
||||
"publishArgs": ["--access", "public"]
|
||||
},
|
||||
"git": {
|
||||
"tagName": "redis@${version}",
|
||||
"tagMatch": "redis@*",
|
||||
"commitMessage": "Release ${tagName}",
|
||||
"tagAnnotation": "Release ${tagName}"
|
||||
"tagAnnotation": "Release ${tagName}",
|
||||
"commitArgs": "--all"
|
||||
},
|
||||
"plugins": {
|
||||
"@release-it/bumper": {
|
||||
"out": {
|
||||
"file": "package.json",
|
||||
"path": [
|
||||
"dependencies.@redis/client",
|
||||
"dependencies.@redis/bloom",
|
||||
"dependencies.@redis/json",
|
||||
"dependencies.@redis/search",
|
||||
"dependencies.@redis/time-series"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,6 +9,9 @@
|
||||
"dist/",
|
||||
"!dist/tsconfig.tsbuildinfo"
|
||||
],
|
||||
"scripts": {
|
||||
"release": "release-it"
|
||||
},
|
||||
"dependencies": {
|
||||
"@redis/bloom": "5.1.1",
|
||||
"@redis/client": "5.1.1",
|
||||
|
@ -1,11 +1,22 @@
|
||||
{
|
||||
"npm": {
|
||||
"publish": true,
|
||||
"publishArgs": ["--access", "public"]
|
||||
},
|
||||
"git": {
|
||||
"tagName": "search@${version}",
|
||||
"tagMatch": "search@*",
|
||||
"commitMessage": "Release ${tagName}",
|
||||
"tagAnnotation": "Release ${tagName}"
|
||||
"tagAnnotation": "Release ${tagName}",
|
||||
"commitArgs": "--all"
|
||||
},
|
||||
"npm": {
|
||||
"versionArgs": ["--workspaces-update=false"],
|
||||
"publishArgs": ["--access", "public"]
|
||||
"plugins": {
|
||||
"@release-it/bumper": {
|
||||
"out": {
|
||||
"file": "package.json",
|
||||
"path": ["peerDependencies.@redis/client"],
|
||||
"versionPrefix": "^"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,7 +10,8 @@
|
||||
],
|
||||
"scripts": {
|
||||
"test": "nyc -r text-summary -r lcov mocha -r tsx './lib/**/*.spec.ts'",
|
||||
"test-sourcemap": "mocha -r ts-node/register/transpile-only './lib/**/*.spec.ts'"
|
||||
"test-sourcemap": "mocha -r ts-node/register/transpile-only './lib/**/*.spec.ts'",
|
||||
"release": "release-it"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@redis/client": "^5.1.1"
|
||||
|
@ -1,11 +1,22 @@
|
||||
{
|
||||
"npm": {
|
||||
"publish": true,
|
||||
"publishArgs": ["--access", "public"]
|
||||
},
|
||||
"git": {
|
||||
"tagName": "time-series@${version}",
|
||||
"tagMatch": "time-series@*",
|
||||
"commitMessage": "Release ${tagName}",
|
||||
"tagAnnotation": "Release ${tagName}"
|
||||
"tagAnnotation": "Release ${tagName}",
|
||||
"commitArgs": "--all"
|
||||
},
|
||||
"npm": {
|
||||
"versionArgs": ["--workspaces-update=false"],
|
||||
"publishArgs": ["--access", "public"]
|
||||
"plugins": {
|
||||
"@release-it/bumper": {
|
||||
"out": {
|
||||
"file": "package.json",
|
||||
"path": ["peerDependencies.@redis/client"],
|
||||
"versionPrefix": "^"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,7 +9,8 @@
|
||||
"!dist/tsconfig.tsbuildinfo"
|
||||
],
|
||||
"scripts": {
|
||||
"test": "nyc -r text-summary -r lcov mocha -r tsx './lib/**/*.spec.ts'"
|
||||
"test": "nyc -r text-summary -r lcov mocha -r tsx './lib/**/*.spec.ts'",
|
||||
"release": "release-it"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@redis/client": "^5.1.1"
|
||||
|
Reference in New Issue
Block a user