Skip to content

Commit

Permalink
style: Adjust formatting and quotes in config files
Browse files Browse the repository at this point in the history
  • Loading branch information
ax-sh committed Oct 16, 2024
1 parent 216dfeb commit e9d5477
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
29 changes: 15 additions & 14 deletions .release-it.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,38 +20,39 @@ module.exports = {
}
},
npm: {
publish: false,
publish: false
},
git: {
// changelog: 'git log --pretty=format:"* %s (%h)" ${from}...${to}',
changelog: 'nr git-cliff -l',
changelog: "nr git-cliff -l",
requireCleanWorkingDir: true,
requireBranch: false,
requireUpstream: true,
requireCommits: false,
requireCommitsFail: true,
commitsPath: '',
commitsPath: "",
addUntrackedFiles: false,
commit: true,
commitMessage: 'Release ${version}',
commitMessage: "Release ${version}",
commitArgs: [],
tag: true,
tagExclude: null,
tagName: null,
tagMatch: null,
getLatestTagFromAllRefs: false,
tagAnnotation: 'Release ${version}',
tagAnnotation: "Release ${version}",
tagArgs: [],
push: true,
pushArgs: ['--follow-tags'],
pushRepo: '',
pushArgs: ["--follow-tags"],
pushRepo: ""
},
hooks: {
'before:init': [
// 'nr prettier:fix',
// 'git commit --allow-empty -am "ci: format files before release"',
// 'nr lint',
],
"before:init": [
"nr test",
"nr lint:types"
// 'nr prettier:fix',
// 'git commit --allow-empty -am "ci: format files before release"',
]
// 'before:beforeBump': [
// 'git flow release start v${version}',
// 'echo \uD83D\uDC4A ${name} before:bump latestVersion=v${version} previousVersion=v${latestVersion}',
Expand All @@ -69,5 +70,5 @@ module.exports = {
// // 'git push origin refs/heads/master:master',
// // 'git push origin refs/heads/develop:develop',
// ],
},
}
}
};
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@
"version": "1.14.0",
"private": true,
"scripts": {
"format": "biome format --write",
"format": "biome format --write .",
"dev": "next dev --turbo",
"bun:dev": "bun --bun run dev",
"build": "next build",
"start": "next start",
"lint": "next lint --format=stylish",
"lint:fix": "nr lint --fix",
"lint:types": "nr tsc --noEmit",
"test": "vitest",
"test": "vitest run",
"commitlint": "commitlint --edit",
"changelog:latest": "nr git-cliff -l",
"check": "biome check --apply ./",
"biome:migrate": "biome migrate prettier --write",
"formatter": "nr prettier --write --ignore-unknown .",
"release:minor": "dotenv release-it minor -- --ci",
Expand Down

0 comments on commit e9d5477

Please sign in to comment.