Skip to content

Commit

Permalink
fix: compile errors
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew den Hertog <[email protected]>
  • Loading branch information
andrewhertog committed Sep 4, 2024
1 parent 402091f commit 5fbeaf6
Show file tree
Hide file tree
Showing 9 changed files with 281 additions and 280 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:

- name: Publish to OpenVSX
run: |
npx ovsx publish -p ${{ secrets.OPENVSX_TOKEN }}
npx ovsx publish --no-dependencies -p ${{ secrets.OPENVSX_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@
]
},
"scripts": {
"vscode:prepublish": "npm run build:ci && npm run compile",
"vscode:prepublish": "npm run build:webviews && npm run compile",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ export function searchParallelVerses(translationPairsIndex: MiniSearch, sourceBi

// Get source content from sourceBibleIndex
const sourceResult = sourceBibleIndex.getStoredFields(result.vref);
const sourceContent = sourceResult ? sourceResult.content : '';

const sourceContent = sourceResult ? sourceResult.content as string : '';
return {
vref: result.vref,
sourceVerse: {
Expand Down
1 change: 1 addition & 0 deletions src/tsServer/spellCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ export class SpellChecker {
// FIXME: this should be an image hash
return word.split('').reduce((acc, char) => acc + char.charCodeAt(0), 0).toString();
}
}

export class SpellCheckDiagnosticsProvider {
private spellChecker: SpellChecker;
Expand Down
6 changes: 3 additions & 3 deletions webviews/codex-webviews/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"type": "module",
"scripts": {
"dev": "vite",
"build:ParallelView": "cross-env APP_NAME=ParallelView vite build",
"build:SemanticView": "cross-env APP_NAME=SemanticView vite build",
"build:TranslationNotesView": "cross-env APP_NAME=TranslationNotesView vite build",
"build:ParallelView": "npx cross-env APP_NAME=ParallelView vite build",
"build:SemanticView": "npx cross-env APP_NAME=SemanticView vite build",
"build:TranslationNotesView": "npx cross-env APP_NAME=TranslationNotesView vite build",
"build:all": "npm run build:ParallelView && npm run build:TranslationNotesView && npm run build:SemanticView",
"watch": "nodemon --watch src --ext ts,tsx --exec npm run build:all",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
Expand Down
14 changes: 7 additions & 7 deletions webviews/usfm-viewer/build/assets/App.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion webviews/usfm-viewer/build/assets/index.css

Large diffs are not rendered by default.

528 changes: 264 additions & 264 deletions webviews/usfm-viewer/build/assets/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion webviews/usfm-viewer/build/assets/views/BibleNavigator.js

Large diffs are not rendered by default.

0 comments on commit 5fbeaf6

Please sign in to comment.