Skip to content

Commit 45aed97

Browse files
committed
fix(deps): upgrade human-id, add types field
1 parent 4f84eb9 commit 45aed97

File tree

10 files changed

+2314
-2203
lines changed

10 files changed

+2314
-2203
lines changed

.codesandbox/ci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"node": "14",
2+
"node": "16",
33
"sandboxes": []
44
}

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
strategy:
1111
matrix:
1212
node:
13-
- 12
1413
- 14
1514
- 16
15+
- 18
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout Repo

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Create Release Pull Request or Publish to npm
2929
id: changesets
30-
uses: changesets/action@master
30+
uses: changesets/action@v1
3131
with:
3232
# This expects you to have a script called release which does a build for your packages and calls changeset publish
3333
publish: yarn release

.remarkrc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
{
2-
"settings": {
3-
"listItemIndent": 1,
4-
"tightDefinitions": true
5-
},
62
"plugins": [
73
"@1stg/config"
84
]

package.json

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"main": "./lib/index.cjs",
1515
"module": "./lib/index.js",
1616
"exports": {
17+
"types": "./lib/index.d.ts",
1718
"import": "./lib/index.js",
1819
"require": "./lib/index.cjs"
1920
},
@@ -36,7 +37,7 @@
3637
"typecov": "type-coverage"
3738
},
3839
"dependencies": {
39-
"@actions/core": "^1.6.0",
40+
"@actions/core": "^1.8.2",
4041
"@actions/exec": "^1.1.1",
4142
"@changesets/assemble-release-plan": "^5.1.2",
4243
"@changesets/config": "^2.0.0",
@@ -46,35 +47,35 @@
4647
"@changesets/read": "^0.5.5",
4748
"@gitbeaker/node": "^35.6.0",
4849
"@manypkg/get-packages": "^1.1.3",
49-
"@sentry/node": "^6.19.4",
50-
"commander": "^9.1.0",
51-
"dotenv": "^16.0.0",
52-
"fs-extra": "^10.0.1",
50+
"@sentry/node": "^6.19.7",
51+
"commander": "^9.2.0",
52+
"dotenv": "^16.0.1",
53+
"fs-extra": "^10.1.0",
5354
"global-agent": "^3.0.0",
54-
"human-id": "^3.0.0",
55+
"human-id": "^4.0.0",
5556
"js-yaml": "^4.1.0",
5657
"markdown-table": "^3.0.2",
5758
"mdast-util-to-string": "^3.1.0",
5859
"micromatch": "^4.0.5",
5960
"remark-parse": "^10.0.1",
6061
"remark-stringify": "^10.0.2",
6162
"resolve-from": "^5.0.0",
62-
"semver": "^7.3.5",
63+
"semver": "^7.3.7",
6364
"unified": "^10.1.2"
6465
},
6566
"devDependencies": {
66-
"@1stg/lib-config": "^5.5.0",
67+
"@1stg/lib-config": "^6.1.1",
6768
"@changesets/changelog-github": "^0.4.4",
6869
"@changesets/cli": "^2.22.0",
6970
"@types/global-agent": "^2.1.1",
70-
"@types/jest": "^27.4.1",
71+
"@types/jest": "^27.5.1",
7172
"@types/js-yaml": "^4.0.5",
7273
"@types/micromatch": "^4.0.2",
73-
"jest": "^27.5.1",
74-
"ts-jest": "^27.1.4",
75-
"ts-node": "^10.7.0",
74+
"jest": "^28.1.0",
75+
"ts-jest": "^28.0.2",
76+
"ts-node": "^10.8.0",
7677
"type-coverage": "^2.21.1",
77-
"typescript": "^4.6.3"
78+
"typescript": "^4.6.4"
7879
},
7980
"resolutions": {
8081
"prettier": "^2.6.2"

src/cli.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import './env.js'
44

5-
import _ from 'module'
5+
import _ from 'node:module'
66

77
import { setFailed } from '@actions/core'
88
import { program } from 'commander'
@@ -48,5 +48,5 @@ const run = async () => {
4848

4949
run().catch((err: Error) => {
5050
console.error(err)
51-
process.exit(1)
51+
process.exitCode = 1
5252
})

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { URL } from 'url'
1+
import { URL } from 'node:url'
22

33
import { getInput, setFailed, setOutput } from '@actions/core'
44
import { exec } from '@actions/exec'

src/run.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import _ from 'module'
2-
import path from 'path'
1+
import _ from 'node:module'
2+
import path from 'node:path'
33

44
import { exec } from '@actions/exec'
55
import type { Gitlab } from '@gitbeaker/core'

src/utils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { execSync as _execSync } from 'child_process'
2-
import fs from 'fs'
3-
import path from 'path'
1+
import { execSync as _execSync } from 'node:child_process'
2+
import fs from 'node:fs'
3+
import path from 'node:path'
44

55
import { getInput } from '@actions/core'
66
import { exec } from '@actions/exec'

0 commit comments

Comments
 (0)