Skip to content

Commit 9a1a43b

Browse files
committed
fix build
1 parent 80f603c commit 9a1a43b

File tree

6 files changed

+9
-14
lines changed

6 files changed

+9
-14
lines changed

packages/editor/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"dependencies": {
2929
"@codemirror/language": "^6.9.0",
3030
"@codemirror/view": "^6.17.1",
31-
"@lezer/highlight": "^1.1.6",
3231
"@orgajs/cm-lang": "workspace:^"
3332
},
3433
"devDependencies": {

packages/lezer/lib/fragments.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export function fragmentCursor(fragments, input, log) {
5757
fragmentEnd = end ? end - 1 : 0
5858
}
5959

60-
let c = cursor || fragment.tree.cursor(0)
60+
let c = cursor || fragment.tree.cursor()
6161
if (!cursor) {
6262
cursor = c
6363
c.firstChild()

packages/rollup/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ export default function (options) {
4949
const compiled = await processor.process(file)
5050
const code = String(compiled.value)
5151
/** @type {SourceDescription} */
52-
// @ts-expect-error: a) `undefined` is fine, b) `sourceRoot: undefined` is fine too.
5352
const result = { code, map: compiled.map }
5453
return result
5554
}

packages/rollup/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"directory": "packages/rollup"
1919
},
2020
"scripts": {
21-
"build": "tsc -b",
21+
"clean": "tsc --build --clean",
22+
"build": "tsc --build",
2223
"test": "node --test test.js"
2324
},
2425
"devDependencies": {

pnpm-lock.yaml

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

tsconfig.types.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"allowJs": true,
55
"declaration": true,
66
"emitDeclarationOnly": true,
7-
"exactOptionalPropertyTypes": true,
87
"forceConsistentCasingInFileNames": true,
98
"lib": ["es2021"],
109
"module": "node16",

0 commit comments

Comments
 (0)