Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
node-version-file: '.node-version'
cache: 'pnpm'

- name: Installing dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-commit-messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
node-version-file: '.node-version'
cache: 'pnpm'

- name: Installing dependencies
Expand Down
17 changes: 13 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,19 @@ on:
branches:
- main

concurrency: release

env:
HUSKY: 0

permissions:
contents: read # for checkout

jobs:
release:
name: Release
runs-on: ubuntu-24.04
environment: release
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
Expand All @@ -29,9 +35,14 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
node-version-file: '.node-version'
cache: 'pnpm'

- name: Install latest npm
run: |
npm install -g npm@latest
npm --version

- name: Installing dependencies
run: pnpm install --frozen-lockfile

Expand All @@ -42,6 +53,4 @@ jobs:
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
run: npx --no semantic-release
run: pnpm exec semantic-release
File renamed without changes.
2 changes: 1 addition & 1 deletion cspell.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "0.2",
"language": "en-US",
"words": ["commitlint", "nvmrc", "overlined", "Uncapitalize", "unrs-resolver", "webdeveric"],
"words": ["commitlint", "esbuild", "nvmrc", "overlined", "Uncapitalize", "unrs-resolver", "webdeveric"],
"flagWords": [],
"ignorePaths": ["pnpm-lock.yaml", "node_modules", ".vscode"]
}
34 changes: 14 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"url": "https://github.com/webdeveric/styled-json-console/issues"
},
"homepage": "https://github.com/webdeveric/styled-json-console/#readme",
"packageManager": "pnpm@10.30.2+sha512.36cdc707e7b7940a988c9c1ecf88d084f8514b5c3f085f53a2e244c2921d3b2545bc20dd4ebe1fc245feec463bb298aecea7a63ed1f7680b877dc6379d8d0cb4",
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
"scripts": {
"clean": "rimraf ./dist/ ./cache/",
"prebuild": "pnpm clean",
Expand All @@ -55,41 +55,35 @@
"lint": "eslint ./*.{js,cjs,mjs,ts,cts,mts} ./src/ ./example/ --ext .ts",
"test": "vitest --typecheck",
"coverage": "vitest run --coverage --typecheck",
"validate": "validate-package-exports --check --verify",
"validate": "validate-package-exports --check",
"spellcheck": "cspell './{.github,src,example,test}/**/*.{ts,json}' './*.{md,mjs,mts}' './package.json' --no-progress",
"prepublishOnly": "pnpm typecheck && pnpm spellcheck && pnpm lint && pnpm coverage && pnpm build && pnpm validate",
"format": "prettier --write ./*.{js,json,md} ./src/",
"prepare": "husky"
},
"prettier": "@webdeveric/prettier-config",
"devDependencies": {
"@commitlint/config-conventional": "^20.4.2",
"@commitlint/types": "^20.4.0",
"@types/node": "^22.19.11",
"@vitest/coverage-v8": "^4.0.18",
"@commitlint/config-conventional": "^20.5.0",
"@commitlint/types": "^20.5.0",
"@types/node": "^22.19.15",
"@vitest/coverage-v8": "^4.1.2",
"@webdeveric/eslint-config-ts": "^0.12.0",
"@webdeveric/prettier-config": "^0.3.0",
"commitlint": "^20.4.2",
"commitlint-plugin-cspell": "^0.6.0",
"conventional-changelog-conventionalcommits": "^9.1.0",
"@webdeveric/prettier-config": "^0.4.0",
"commitlint": "^20.5.0",
"commitlint-plugin-cspell": "^0.7.0",
"conventional-changelog-conventionalcommits": "^9.3.1",
"cspell": "^9.7.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"lint-staged": "^16.4.0",
"prettier": "^3.8.1",
"rimraf": "^6.1.3",
"semantic-release": "^25.0.3",
"typescript": "^5.9.3",
"validate-package-exports": "^0.19.0",
"vitest": "^4.0.18"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild",
"unrs-resolver"
]
"typescript": "^6.0.2",
"validate-package-exports": "^0.23.0",
"vitest": "^4.1.2"
}
}
Loading
Loading