stable

Clone or download

Read-only

feat: Introduce @tuleap/prism-language-tql

Closes request #39671 TQL syntax highlighting with Prism Introduce js library @tuleap/prism-language-tql to have syntax highlighting for TQL. Comments are not valid TQL but there are available here as it can be usefull in a codeblock. *Testing:* In a text field of an artifact, add a tql codeblock with some TQL inside. After saving, the code should be colored. Change-Id: Ic5db734d94f6832fa5c571756f3c64d5cc616b42

Modified Files

Name
A lib/frontend/prism-language-tql/.gitignore +1 −0 Go to diff View file
A lib/frontend/prism-language-tql/LICENSE +21 −0 Go to diff View file
A lib/frontend/prism-language-tql/README.md +16 −0 Go to diff View file
A lib/frontend/prism-language-tql/package.json +35 −0 Go to diff View file
A lib/frontend/prism-language-tql/pnpm-lock.yaml +13 −0 Go to diff View file
A lib/frontend/prism-language-tql/src/prism-tql.ts +71 −0 Go to diff View file
A lib/frontend/prism-language-tql/tsconfig.json +7 −0 Go to diff View file
A lib/frontend/prism-language-tql/vite.config.ts +30 −0 Go to diff View file
A lib/frontend/tql-syntax/.gitignore +1 −0 Go to diff View file
A lib/frontend/tql-syntax/package.json +26 −0 Go to diff View file
A lib/frontend/tql-syntax/pnpm-lock.yaml +10 −0 Go to diff View file
A lib/frontend/tql-syntax/src/tql-syntax.ts +60 −0 Go to diff View file
A lib/frontend/tql-syntax/tsconfig.json +7 −0 Go to diff View file
A lib/frontend/tql-syntax/vite.config.ts +30 −0 Go to diff View file
M plugins/tracker/scripts/lib/TQL-CodeMirror/package.json +1 −0 Go to diff View file
M plugins/tracker/scripts/lib/TQL-CodeMirror/pnpm-lock.yaml +7 −0 Go to diff View file
M plugins/tracker/scripts/lib/TQL-CodeMirror/src/configuration.ts +17 −17 Go to diff View file
M src/scripts/main/package.json +1 −0 Go to diff View file
M src/scripts/main/pnpm-lock.yaml +4 −1 Go to diff View file
M src/scripts/main/src/syntax-highlight/prism.ts +2 −0 Go to diff View file