Files
archived-next-auth/scripts/release/config.ts
Balázs Orbán 2e371053c2 chore: add release script (#3891)
* chore: fix `next-auth` version in `package.json`

* chore: add WIP publish script

* chore: fix comments, add TODOs

* chore: set newer TS target

* chore: extract release config

* chore: WIP work on publish script

* chore: finish up release script

* chore: do not push unless not dryRun

* chore: add debug env var, return early if no package to update

* chore: remove unnecessary comment

* chore: remove changeset and unused dependencies

* chore: drop `semantic-release`

* chore: remove `jsonfile` dependency

* chore: address code review

* fix: list other commits in changelog when releasing

* chore: fix env variable references

* chore: fetch with tags and commit history

* chore: fix analyze code

* chore: fix utils script

* chore: better changelog formatting

* chore: fix package path

* chore: fix some remaining stuff

* chore: remove DEBUG flag
2022-02-13 17:36:15 +01:00

26 lines
1017 B
TypeScript

export const config = {
releaseBranches: ["main"],
// TODO: Generate dynamically
packages: {
"next-auth": "packages/next-auth",
"adapter-dgraph": "packages/dgraph-adapter",
"adapter-fauna": "packages/fauna-adapter",
"adapter-mikro-orm": "packages/mikro-orm-adapter",
"adapter-neo4j": "packages/neo4j-adapter",
"adapter-prisma": "packages/prisma-adapter",
"adapter-upstash-redis": "packages/upstash-redis-adapter",
"adapter-dynamodb": "packages/dynamodb-adapter",
"adapter-firebase": "packages/firebase-adapter",
"adapter-mongodb": "packages/mongodb-adapter",
"adapter-pouchdb": "packages/pouchdb-adapter",
"adapter-sequelize": "packages/sequelize-adapter",
"adapter-typeorm-legacy": "packages/typeorm-legacy-adapter",
},
rootDir: process.cwd(),
RELEASE_COMMIT_MSG: "chore(release): bump version",
BREAKING_COMMIT_MSG: "BREAKING CHANGE",
SKIP_RELEASE_MSG: "[skip release]",
RELEASE_COMMIT_TYPES: ["feat", "fix"],
dryRun: !!process.env.DRY_RUN,
}