Skip to content

Commit c9c37c2

Browse files
authored
chore: use node's native type stripping (#1919)
1 parent ed74e0a commit c9c37c2

6 files changed

Lines changed: 4 additions & 7 deletions

File tree

‎.github/workflows/changelogensets.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
- name: Install dependencies
3232
run: pnpm install
3333

34-
- run: pnpm jiti ./scripts/update-changelog.ts
34+
- run: node ./scripts/update-changelog.ts
3535
env:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

‎package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"h3": "1.15.11",
3939
"happy-dom": "^20.10.6",
4040
"installed-check": "11.0.0",
41-
"jiti": "2.7.0",
4241
"knip": "6.17.1",
4342
"neostandard": "^0.13.0",
4443
"nuxi": "3.37.0",

‎pnpm-lock.yaml‎

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎scripts/release-edge.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -xe
88
git restore -s@ -SW -- packages
99

1010
# Bump versions to edge
11-
pnpm jiti ./scripts/bump-edge
11+
node ./scripts/bump-edge.ts
1212

1313
# Update token
1414
if [[ ! -z ${NODE_AUTH_TOKEN} ]] ; then

‎scripts/update-changelog.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { $fetch } from 'ofetch'
33
import { inc } from 'semver'
44
import { generateMarkDown, getCurrentGitBranch, loadChangelogConfig } from 'changelogen'
55
import { consola } from 'consola'
6-
import { determineBumpType, getContributors, getLatestCommits, loadWorkspace } from './_utils'
6+
import { determineBumpType, getContributors, getLatestCommits, loadWorkspace } from './_utils.ts'
77

88
async function main () {
99
const releaseBranch = await getCurrentGitBranch()

‎tsconfig.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"allowJs": true,
1111
"noUnusedLocals": true,
1212
"resolveJsonModule": true,
13+
"erasableSyntaxOnly": true,
1314
"types": [
1415
"node"
1516
],

0 commit comments

Comments
 (0)