bf16d6039a
[`standard-version`](https://github.com/conventional-changelog/standard-version/) has been deprecated since May 2022, so it is necessary to stop using it for this project. [**`semantic-release`**](https://github.com/semantic-release/semantic-release) is available as a more capable alternative to help automate the release process: 1. Updating Node/Gem version numbers 2. Generating changelogs 3. Automating GitHub Releases 4. Building Chirpy-gem and pushing it to RubyGems.org 5. Create commits and tags on the `production` branch 6. Merge the `production` branch into the `master` branch > ⚠️ Note: Step _6_ may be canceled in CD environments due to merge conflicts, so we need to do this step manually in such cases. Whenever a commit is pushed to the release branch (`production`), all of the above release processes will be triggered.
169 lines
4.3 KiB
JSON
169 lines
4.3 KiB
JSON
{
|
|
"name": "jekyll-theme-chirpy",
|
|
"version": "6.5.5",
|
|
"description": "A minimal, responsive, and feature-rich Jekyll theme for technical writing.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/cotes2020/jekyll-theme-chirpy.git"
|
|
},
|
|
"author": "Cotes Chung",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/cotes2020/jekyll-theme-chirpy/issues"
|
|
},
|
|
"homepage": "https://github.com/cotes2020/jekyll-theme-chirpy/",
|
|
"scripts": {
|
|
"prebuild": "npx rimraf assets/js/dist",
|
|
"build": "NODE_ENV=production npx rollup -c --bundleConfigAsCjs",
|
|
"prewatch": "npx rimraf assets/js/dist",
|
|
"watch": "npx rollup -c --bundleConfigAsCjs -w",
|
|
"test": "npx stylelint _sass/**/*.scss",
|
|
"fixlint": "npm run test -- --fix"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.24.3",
|
|
"@babel/plugin-transform-class-properties": "^7.24.1",
|
|
"@babel/preset-env": "^7.24.3",
|
|
"@commitlint/cli": "^19.2.1",
|
|
"@commitlint/config-conventional": "^19.1.0",
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@semantic-release/changelog": "^6.0.3",
|
|
"@semantic-release/exec": "^6.0.3",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"conventional-changelog-conventionalcommits": "^7.0.2",
|
|
"husky": "^9.0.11",
|
|
"rimraf": "^5.0.5",
|
|
"rollup": "^4.13.2",
|
|
"rollup-plugin-license": "^3.3.1",
|
|
"semantic-release": "^23.0.8",
|
|
"stylelint": "^16.3.1",
|
|
"stylelint-config-standard-scss": "^13.0.0"
|
|
},
|
|
"prettier": {
|
|
"trailingComma": "none"
|
|
},
|
|
"browserslist": [
|
|
"last 2 versions",
|
|
"> 0.2%",
|
|
"not dead"
|
|
],
|
|
"commitlint": {
|
|
"extends": [
|
|
"@commitlint/config-conventional"
|
|
],
|
|
"rules": {
|
|
"body-max-line-length": [
|
|
0,
|
|
"always"
|
|
]
|
|
}
|
|
},
|
|
"stylelint": {
|
|
"extends": "stylelint-config-standard-scss",
|
|
"rules": {
|
|
"no-descending-specificity": null,
|
|
"shorthand-property-no-redundant-values": null,
|
|
"at-rule-no-vendor-prefix": null,
|
|
"property-no-vendor-prefix": null,
|
|
"selector-no-vendor-prefix": null,
|
|
"value-no-vendor-prefix": null,
|
|
"color-function-notation": "legacy",
|
|
"alpha-value-notation": "number",
|
|
"selector-not-notation": "simple",
|
|
"color-hex-length": "long",
|
|
"declaration-block-single-line-max-declarations": 3,
|
|
"scss/operator-no-newline-after": null,
|
|
"rule-empty-line-before": [
|
|
"always",
|
|
{
|
|
"ignore": [
|
|
"after-comment",
|
|
"first-nested"
|
|
]
|
|
}
|
|
],
|
|
"value-keyword-case": [
|
|
"lower",
|
|
{
|
|
"ignoreProperties": [
|
|
"/^\\$/"
|
|
]
|
|
}
|
|
],
|
|
"media-feature-range-notation": "prefix"
|
|
}
|
|
},
|
|
"release": {
|
|
"branches": [
|
|
"production"
|
|
],
|
|
"plugins": [
|
|
[
|
|
"@semantic-release/commit-analyzer",
|
|
{
|
|
"preset": "conventionalcommits"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/release-notes-generator",
|
|
{
|
|
"preset": "conventionalcommits",
|
|
"presetConfig": {
|
|
"types": [
|
|
{
|
|
"type": "feat",
|
|
"section": "Features"
|
|
},
|
|
{
|
|
"type": "fix",
|
|
"section": "Bug Fixes"
|
|
},
|
|
{
|
|
"type": "perf",
|
|
"section": "Improvements"
|
|
},
|
|
{
|
|
"type": "refactor",
|
|
"section": "Changes",
|
|
"hidden": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/changelog",
|
|
{
|
|
"changelogFile": "docs/CHANGELOG.md",
|
|
"changelogTitle": "# Changelog"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/npm",
|
|
{
|
|
"npmPublish": false
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/exec",
|
|
{
|
|
"prepareCmd": "bash tools/release --prepare",
|
|
"publishCmd": "bash tools/release"
|
|
}
|
|
],
|
|
[
|
|
"@semantic-release/git",
|
|
{
|
|
"assets": [
|
|
"docs",
|
|
"package.json",
|
|
"*.gemspec"
|
|
],
|
|
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
|
|
}
|
|
],
|
|
"@semantic-release/github"
|
|
]
|
|
}
|
|
}
|