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
11 changes: 3 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false

- uses: actions/setup-node@v4
with:
node-version: lts/*

- run: pnpm install --frozen-lockfile
- run: pnpm run compile
- run: pnpm install
- run: pnpm run build
- run: pnpm run typecheck
- run: pnpm run test
3 changes: 3 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"node-option": ["import=tsx"]
}
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@shikijs/vscode-textmate",
"version": "9.3.1",
"type": "module",
"packageManager": "pnpm@9.15.0",
"description": "Shiki's fork of `vscode-textmate`",
"author": {
Expand All @@ -27,24 +28,24 @@
},
"scripts": {
"build": "tsup",
"watch": "tsc --watch",
"compile": "tsc",
"test": "mocha --ui=tdd ./out/tests/all.test.js",
"test": "mocha --ui=tdd ./src/tests/all.test.ts",
"benchmark": "node benchmark/benchmark.js",
"inspect": "node out/tests/inspect.js",
"inspect": "tsx src/tests/inspect.ts",
"typecheck": "tsc --noEmit",
"tmconvert": "node scripts/tmconvert.js",
"version": "npm run compile && npm run test",
"postversion": "git push && git push --tags",
"prepublishOnly": "npm run build",
"release": "bumpp && npm publish"
"release": "bumpp && pnpm publish"
},
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/node": "^16.18.121",
"bumpp": "^9.9.0",
"mocha": "^9.2.2",
"tsup": "^8.3.5",
"typescript": "^4.3.5",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vscode-oniguruma": "^1.7.0"
}
}
Loading
Loading