Skip to content

Commit 9206288

Browse files
committed
chore(deps): hotfix
1 parent 2c92167 commit 9206288

24 files changed

Lines changed: 818 additions & 884 deletions

.githooks/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/sh
22

33
pnpm exec nice-move lint commit
4+

.githooks/pre-commit

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
22

3-
pnpm run lint:staged
4-
pnpm test
3+
pnpm run lint:staged || exit 1
4+
pnpm run lint:type || exit 1
5+
pnpm test || exit 1

.github/workflows/bring-it.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,23 @@ jobs:
1414
- windows-latest
1515
- ubuntu-latest
1616
node:
17-
- current
1817
- lts/*
19-
- lts/-1
2018
exclude:
2119
- os: ubuntu-latest
2220
node: lts/*
2321

2422
runs-on: ${{ matrix.os }}
2523
steps:
2624
- name: Run
27-
uses: airkro/bring-it@actions
25+
uses: airkro/bring-it@actions-oidc
2826
with:
2927
node-version: ${{ matrix.node }}
3028

3129
publish:
3230
needs: [test]
3331
runs-on: ubuntu-latest
32+
permissions:
33+
id-token: write
3434
steps:
3535
- name: Run
36-
uses: airkro/bring-it@actions
37-
with:
38-
npm-token: ${{ secrets.NPM_TOKEN }}
36+
uses: airkro/bring-it@actions-oidc

.npmrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ npm install babel-preset-evergreen --save-dev
5151

5252
### polyfill.usage
5353

54-
- type: ['global','pure']
54+
- type: 'global' | 'pure'
5555
- default: 'global'
5656

5757
How `babel` handles polyfills.

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import base from '@nice-move/all-in-base';
1+
import base from '@nice-move/all-in-base/eslint';
22

33
export default [
44
...base,

package.json

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "babel-preset-evergreen",
3-
"version": "0.11.9",
3+
"version": "0.11.10",
44
"description": "A `babel` preset for modern javascript syntaxes",
55
"license": "MIT",
66
"author": {
@@ -33,42 +33,52 @@
3333
],
3434
"type": "commonjs",
3535
"scripts": {
36+
"lint:eslint": "eslint . --quiet --fix --concurrency=auto",
3637
"lint:staged": "nice-move lint staged",
38+
"lint:type": "tsc -p tsconfig.json",
39+
"lint:version": "syncpack lint",
3740
"prepare": "nice-move git hooks",
38-
"prepublishOnly": "pnpm run lint:staged && pnpm test",
39-
"snapshot": "ava --fail-fast -u -w",
40-
"test": "ava --fail-fast"
41+
"prepublishOnly": "pnpm run lint:staged && pnpm run lint:type && pnpm test",
42+
"snapshot": "ava --fail-fast -u",
43+
"test": "ava --fail-fast",
44+
"version:pin": "syncpack fix-mismatches"
4145
},
4246
"dependencies": {
43-
"@babel/helper-plugin-utils": "^7.27.1",
44-
"@babel/preset-env": "^7.28.5",
47+
"@babel/helper-plugin-utils": "^7.28.6",
48+
"@babel/preset-env": "^7.28.6",
4549
"babel-plugin-polyfill-corejs3": "^0.13.0",
4650
"core-js": "^3.47.0",
4751
"core-js-compat": "^3.47.0",
4852
"miniprogram-compat": "^1.0.5"
4953
},
5054
"devDependencies": {
51-
"@babel/core": "^7.28.5",
55+
"@babel/core": "^7.28.6",
5256
"@bring-it/npm": "^0.9.3",
53-
"@nice-move/all-in-base": "^0.6.30",
57+
"@nice-move/all-in-base": "^0.6.33",
58+
"@types/babel__core": "^7.20.5",
5459
"ava": "^6.4.1",
5560
"eslint": "^9.39.2",
5661
"garou": "^0.9.17",
57-
"prettier": "~3.7.4",
58-
"typescript": "^5.9.3"
62+
"prettier": "~3.8.0",
63+
"typescript": "~5.9.3"
5964
},
6065
"peerDependencies": {
61-
"@babel/core": "^7.28.5"
66+
"@babel/core": "^7.28.6"
6267
},
63-
"packageManager": "pnpm@10.23.0",
68+
"packageManager": "pnpm@10.28.1",
6469
"engines": {
6570
"node": ">=20.18.0",
66-
"pnpm": "^10.23.0"
71+
"pnpm": "^10.28.0"
6772
},
6873
"publishConfig": {
6974
"access": "public",
7075
"registry": "https://registry.npmjs.org/"
7176
},
77+
"ava": {
78+
"extensions": [
79+
"mts"
80+
]
81+
},
7282
"prettier": "@nice-move/prettier-config",
7383
"x-readme": {
7484
"logo": "https://cdn.jsdelivr.net/gh/babel/logo/babel.png"

0 commit comments

Comments
 (0)