Skip to content

Commit 58f3d94

Browse files
committed
chore: updated dependencies, cleanup after deprecation of some packages
Signed-off-by: prisis <[email protected]>
1 parent 244eeb7 commit 58f3d94

File tree

5 files changed

+2450
-4163
lines changed

5 files changed

+2450
-4163
lines changed

.github/workflows/test.yml

-3
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ jobs:
100100
- name: "Run test for browserslist-config-anolilab"
101101
run: "pnpm run test:coverage:browserslist-config-anolilab"
102102

103-
- name: "Run test for package-json-utils"
104-
run: "pnpm run test:coverage:package-json-utils"
105-
106103
- name: "Run test for stylelint-config"
107104
run: "pnpm run test:coverage:stylelint-config"
108105

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ Check the README for each configuration within the `packages` directory for spec
2424

2525
## Featured Packages
2626

27-
| Tool | Package | Version | Description |
28-
|--------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|
29-
| [babel](https://github.com/babel/babel) | [babel-preset](https://github.com/anolilab/javascript-style-guide/blob/main/packages/babel-preset/README.md) | deprecated | This package was deprecated. Please use modern bundler alternatives like [packem](https://github.com/visulima/packem). |
30-
| [browserslist](https://github.com/browserslist/browserslist) | [browserslist-config](https://github.com/anolilab/javascript-style-guide/blob/main/packages/browserslist-config-anolilab/README.md) | ![npm](https://img.shields.io/npm/v/browserslist-config-anolilab?style=flat-square&labelColor=292a44&color=663399&label=v) | Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-preset-env |
31-
| [commitlint](https://commitlint.js.org/#/) | [commitlint-config](https://github.com/anolilab/javascript-style-guide/blob/main/packages/commitlint-config/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/commitlint-config?style=flat-square&labelColor=292a44&color=663399&label=v) | Helps your team adhere to a commit convention. |
32-
| [eslint](https://eslint.org) | [eslint-config](https://github.com/anolilab/javascript-style-guide/blob/main/packages/eslint-config/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/eslint-config?style=flat-square&labelColor=292a44&color=663399&label=v) | Statically analyzes your code to quickly find problems. |
33-
| - | [package-json-utils](https://github.com/anolilab/javascript-style-guide/blob/main/packages/package-json-utils/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/package-json-utils?style=flat-square&labelColor=292a44&color=663399&label=v) | Shared utilities for parsing information from a package.json file. |
34-
| [lint-staged](https://github.com/okonet/lint-staged) | [lint-staged-config](https://github.com/anolilab/javascript-style-guide/blob/main/packages/lint-staged-config/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/lint-staged-config?style=flat-square&labelColor=292a44&color=663399&label=v) | Run linters on git staged files. |
35-
| [prettier](https://github.com/prettier/prettier) | [prettier-config](https://github.com/anolilab/javascript-style-guide/blob/main/packages/prettier-config/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/prettier-config?style=flat-square&labelColor=292a44&color=663399&label=v) | Prettier is an opinionated code formatter. |
36-
| [semantic-release](https://github.com/semantic-release/semantic-release) | [semantic-release-preset](https://github.com/anolilab/semantic-release/blob/main/packages/semantic-release-preset/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/semantic-release-preset?style=flat-square&labelColor=292a44&color=663399&label=v) | semantic-release is a fully automated version management and package publishing library |
37-
| [stylelint](https://stylelint.io) | [stylelint-config](https://github.com/anolilab/javascript-style-guide/blob/main/packages/stylelint-config/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/stylelint-config?style=flat-square&labelColor=292a44&color=663399&label=v) | Linter that helps you avoid errors and enforce conventions in your styles |
38-
| [textlint](https://github.com/textlint/textlint) | [textlint-config](https://github.com/anolilab/javascript-style-guide/blob/main/packages/textlint-config/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/textlint-config?style=flat-square&labelColor=292a44&color=663399&label=v) | The pluggable natural language linter for text and markdown. |
27+
| Tool | Package | Version | Description |
28+
|--------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
29+
| [babel](https://github.com/babel/babel) | [babel-preset](https://github.com/anolilab/javascript-style-guide/blob/main/packages/babel-preset/README.md) | deprecated | This package was deprecated. Please use modern bundler alternatives like [@visulima/packem](https://github.com/visulima/packem). |
30+
| [browserslist](https://github.com/browserslist/browserslist) | [browserslist-config](https://github.com/anolilab/javascript-style-guide/blob/main/packages/browserslist-config-anolilab/README.md) | ![npm](https://img.shields.io/npm/v/browserslist-config-anolilab?style=flat-square&labelColor=292a44&color=663399&label=v) | Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-preset-env |
31+
| [commitlint](https://commitlint.js.org/#/) | [commitlint-config](https://github.com/anolilab/javascript-style-guide/blob/main/packages/commitlint-config/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/commitlint-config?style=flat-square&labelColor=292a44&color=663399&label=v) | Helps your team adhere to a commit convention. |
32+
| [eslint](https://eslint.org) | [eslint-config](https://github.com/anolilab/javascript-style-guide/blob/main/packages/eslint-config/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/eslint-config?style=flat-square&labelColor=292a44&color=663399&label=v) | Statically analyzes your code to quickly find problems. |
33+
| - | [package-json-utils](https://github.com/anolilab/javascript-style-guide/blob/main/packages/package-json-utils/README.md) | deprecated | This package was deprecated. Please use alternatives like [@visulima/package](https://github.com/visulima/visulima/tree/main/packages/package). |
34+
| [lint-staged](https://github.com/okonet/lint-staged) | [lint-staged-config](https://github.com/anolilab/javascript-style-guide/blob/main/packages/lint-staged-config/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/lint-staged-config?style=flat-square&labelColor=292a44&color=663399&label=v) | Run linters on git staged files. |
35+
| [prettier](https://github.com/prettier/prettier) | [prettier-config](https://github.com/anolilab/javascript-style-guide/blob/main/packages/prettier-config/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/prettier-config?style=flat-square&labelColor=292a44&color=663399&label=v) | Prettier is an opinionated code formatter. |
36+
| [semantic-release](https://github.com/semantic-release/semantic-release) | [semantic-release-preset](https://github.com/anolilab/semantic-release/blob/main/packages/semantic-release-preset/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/semantic-release-preset?style=flat-square&labelColor=292a44&color=663399&label=v) | semantic-release is a fully automated version management and package publishing library |
37+
| [stylelint](https://stylelint.io) | [stylelint-config](https://github.com/anolilab/javascript-style-guide/blob/main/packages/stylelint-config/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/stylelint-config?style=flat-square&labelColor=292a44&color=663399&label=v) | Linter that helps you avoid errors and enforce conventions in your styles |
38+
| [textlint](https://github.com/textlint/textlint) | [textlint-config](https://github.com/anolilab/javascript-style-guide/blob/main/packages/textlint-config/README.md) | ![npm](https://img.shields.io/npm/v/@anolilab/textlint-config?style=flat-square&labelColor=292a44&color=663399&label=v) | The pluggable natural language linter for text and markdown. |
3939

4040
## Badge
4141

package.json

+14-25
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
],
5656
"scripts": {
5757
"audit": "audit-ci --config ./audit-ci.jsonc",
58-
"build:packages": "pnpm --filter \"package-json-utils\" run build && nx run-many --target=build --projects=browserslist-config-anolilab,babel-preset,prettier-config,textlint-config,semantic-release-preset,stylelint-config,eslint-config,commitlint-config,lint-staged-config",
59-
"build:packages:prod": "pnpm --filter \"package-json-utils\" run build:prod && nx run-many --target=build:prod --projects=browserslist-config-anolilab,babel-preset,prettier-config,textlint-config,semantic-release-preset,stylelint-config,eslint-config,commitlint-config,lint-staged-config",
58+
"build:packages": "nx run-many --target=build --projects=browserslist-config-anolilab,prettier-config,textlint-config,stylelint-config,eslint-config,commitlint-config,lint-staged-config",
59+
"build:packages:prod": "nx run-many --target=build:prod --projects=browserslist-config-anolilab,prettier-config,textlint-config,stylelint-config,eslint-config,commitlint-config,lint-staged-config",
6060
"clean": "nx run-many --target=clean && rimraf node_modules",
6161
"preinstall": "node verify-node-version.cjs",
6262
"postinstall": "is-ci || husky || exit 0",
@@ -71,18 +71,17 @@
7171
"lint:text:fix": "textlint ./.github/ ./packages/** ./README.md ./UPGRADE.md --parallel --experimental --fix",
7272
"prettier": "prettier --config=.prettierrc.js --write '**/*.{js,jsx,cjs,tsx,ts,less,md,json}'",
7373
"sort-package-json": "sort-package-json ./packages/**/package.json ./package.json",
74-
"test:all": "nx run-many --target=test:coverage --projects=browserslist-config-anolilab,package-json-utils,stylelint-config,eslint-config && pnpm test:stylelint && pnpm test:babel",
74+
"test:all": "nx run-many --target=test:coverage --projects=browserslist-config-anolilab,stylelint-config,eslint-config && pnpm test:stylelint && pnpm test:babel",
7575
"test:babel": "babel --config-file=./packages/babel-preset/dist/index.js ./packages/babel-preset/fixture/test.ts --out-file=./packages/babel-preset/fixture/test.js",
7676
"test:browserslist-config-anolilab": "pnpm --filter \"browserslist-config-anolilab\" run test",
7777
"test:coverage:browserslist-config-anolilab": "pnpm --filter \"browserslist-config-anolilab\" run test:coverage",
7878
"test:coverage:lint-staged-config": "pnpm --filter \"lint-staged-config\" run test:coverage",
79-
"test:coverage:package-json-utils": "pnpm --filter \"package-json-utils\" run test:coverage",
8079
"test:coverage:stylelint-config": "pnpm --filter \"stylelint-config\" run test:coverage",
8180
"test:eslint-config": "pnpm --filter \"eslint-config\" run test",
8281
"test:lint-staged-config": "pnpm --filter \"lint-staged-config\" run test",
83-
"test:package-json-utils": "pnpm --filter \"package-json-utils\" run test",
8482
"test:stylelint": "node scripts/isNotWindows || stylelint --formatter verbose --config packages/stylelint-config/index.js ./packages/stylelint-config/__tests__/css/**/*.css",
85-
"test:stylelint-config": "pnpm --filter \"stylelint-config\" run test"
83+
"test:stylelint-config": "pnpm --filter \"stylelint-config\" run test",
84+
"update:deps": "taze"
8685
},
8786
"dependencies": {
8887
"@anolilab/multi-semantic-release": "^1.1.6",
@@ -122,30 +121,14 @@
122121
"semantic-release": "^24.2.0",
123122
"sort-package-json": "^2.12.0",
124123
"stylelint": "^16.12.0",
124+
"taze": "^0.18.0",
125125
"textlint": "^14.4.0",
126-
"tsup": "^8.3.5",
127126
"typescript": "5.7.2",
128127
"vitest": "^2.1.8"
129128
},
130-
"packageManager": "pnpm@9.5.0",
129+
"packageManager": "pnpm@9.15.0",
131130
"engines": {
132-
"node": ">=18.* <=21.*"
133-
},
134-
"pnpm": {
135-
"overrides": {
136-
"vite@>=5.0.0 <=5.0.11": ">=5.0.12",
137-
"vite@>=5.0.0 <=5.0.12": ">=5.0.13",
138-
"chrono-node@<2.2.4": ">=2.2.4",
139-
"semver@>=7.0.0 <7.5.2": ">=7.5.2",
140-
"axios@>=1.3.2 <=1.7.3": ">=1.7.4",
141-
"micromatch@<4.0.8": ">=4.0.8",
142-
"vite@>=5.3.0 <5.3.6": ">=5.3.6",
143-
"vite@>=4.0.0 <4.5.4": ">=4.5.4",
144-
"vite@>=4.0.0 <=4.5.3": ">=4.5.4",
145-
"vite@>=5.3.0 <=5.3.5": ">=5.3.6",
146-
"rollup@>=3.0.0 <3.29.5": ">=3.29.5",
147-
"rollup@>=4.0.0 <4.22.4": ">=4.22.4"
148-
}
131+
"node": ">=18.* <=23.*"
149132
},
150133
"anolilab": {
151134
"lint-staged-config": {
@@ -164,5 +147,11 @@
164147
"info_on_disabling_jsonc_sort_keys_rule": false,
165148
"info_on_disabling_etc_no_deprecated": false
166149
}
150+
},
151+
"pnpm": {
152+
"overrides": {
153+
"cross-spawn@>=7.0.0 <7.0.5": ">=7.0.5",
154+
"nanoid@<3.3.8": ">=3.3.8"
155+
}
167156
}
168157
}

0 commit comments

Comments
 (0)