Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
22522bb
server: pod: remove server-side HTML escaping
Aequitosh Jan 2, 2025
0ec5e36
server: pod: improve regexes for inline format codes
Aequitosh Jan 2, 2025
49b2262
server: pod: support bold italic / italic bold formatting codes
Aequitosh Jan 2, 2025
f35b1f3
server: pod: rewrite POD parser and markdown converter
Aequitosh Jan 2, 2025
a9127b7
server: pod: test: add unit tests for POD parsing & Markdown conversion
Aequitosh Jan 2, 2025
4db3fd1
server: pod: allow omitting `=cut` if EOF is reached
Aequitosh Jan 2, 2025
1626ea8
server: pod: fix `=for` command without any content causing error
Aequitosh Jan 2, 2025
937c362
server: pod: allow `=begin` and `=over` blocks to be closed with `=cut`
Aequitosh Jan 2, 2025
a275cad
server: pod: start markdown header levels at `3`
Aequitosh Jan 2, 2025
acf35e1
server: pod: fix indentation being converted incorrectly
Aequitosh Jan 2, 2025
6c13c2f
server: pod: add utility functions for iterators
Aequitosh Jan 2, 2025
b5349ef
server: pod: add support for alt. syntax for S, F, X formatting codes
Aequitosh Jan 2, 2025
994c84e
server: pod: rework symbol lookup
Aequitosh Jan 2, 2025
cbf1db4
server: pod: format pod document in general and after symbol lookup
Aequitosh Jan 2, 2025
1e9c884
server: pod: fix symbol lookup edge case regarding list items
Aequitosh Jan 2, 2025
da608b7
server: pod: remove error handling of RawPodParser
Aequitosh Jan 7, 2025
d299f62
server: pod: remove error handling of PodProcessor
Aequitosh Jan 7, 2025
d7650ed
server: pod: use 2 instead of 8 spaces to represent tabs
Aequitosh Jan 7, 2025
269f167
server: pod: use Perl syntax highlighting for verbatim paragraphs
Aequitosh Jan 7, 2025
346422c
server: pod: fix no POD being returned if no symbol name was set
Aequitosh Jan 7, 2025
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
17 changes: 17 additions & 0 deletions server/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import type { JestConfigWithTsJest } from 'ts-jest'

const jestConfig: JestConfigWithTsJest = {
// [...]
transform: {
// '^.+\\.[tj]sx?$' to process ts,js,tsx,jsx with `ts-jest`
// '^.+\\.m?[tj]sx?$' to process ts,js,tsx,jsx,mts,mjs,mtsx,mjsx with `ts-jest`
'^.+\\.tsx?$': [
'ts-jest',
{
// ts-jest configuration goes here
},
],
},
}

export default jestConfig;
10 changes: 8 additions & 2 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,20 @@
"vscode-textmate": "^9.0.0",
"vscode-oniguruma": "^2.0.1"
},
"scripts": {},
"scripts": {
"test": "jest"
},
"main": "./src/dist/serverMain.js",
"bin": {
"perlnavigator": "./bin/perlnavigator"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.19.41",
"typescript": "^4.8.4"
"jest": "^29.7.0",
"ts-jest": "^29.2.4",
"ts-node": "^10.9.2",
"typescript": "^5.5.4"
},
"keywords": [
"perl",
Expand Down
Loading