Commit graph

258 commits

Author SHA1 Message Date
Jakub Jirutka
fcdfb50698 Bump minimist from ^1.2.3 to ^1.2.5 2020-04-08 17:41:55 +02:00
Jakub Jirutka
ca6e88159e Strip accents from generated header ids 2020-04-08 17:26:27 +02:00
Jakub Jirutka
af91c38a02 Add tests for markdownRenderer 2020-04-08 17:23:19 +02:00
Jakub Jirutka
40011569ab Backport patch for node-html-parser to fix rendering of void tags 2020-04-08 17:23:19 +02:00
Jakub Jirutka
03f89b2196 Install node-html-parser as dev dependency 2020-04-08 17:23:18 +02:00
Jakub Jirutka
1f5e0fdab8 Strip math from generated alt, id, href, and title attributes 2020-04-08 17:23:18 +02:00
Jakub Jirutka
e1b817b13b Backport patch for @types/marked to fix type on nullable parameters
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/43732
2020-04-08 16:37:03 +02:00
Jakub Jirutka
e7402a80ea Add anchors to Markdown headings 2020-04-08 12:25:22 +02:00
Jakub Jirutka
498112834c Use markdownRenderer even when katex is not available 2020-04-08 12:25:22 +02:00
Jakub Jirutka
e6b9ecf96b Change options for ESLint rule @typescript-eslint/unbound-method 2020-04-08 12:24:24 +02:00
Jakub Jirutka
ad741eaf48 Make toMatchElement compatible with other DOM implementations 2020-04-08 12:24:23 +02:00
Jakub Jirutka
6eebe39b4d Fix swapped arguments in toMatchElement 2020-04-08 01:26:44 +02:00
Jakub Jirutka
c13cb544cb Change structure of tsconfigs for tests to fix issues in VSCode 2020-04-07 22:49:45 +02:00
Jakub Jirutka
bbbcd2398e Enable ESLint rule import/order 2020-04-07 22:46:47 +02:00
Jakub Jirutka
7e35810c7f Remove types/ from compilerOptions.paths in tsconfigs
It's not needed here and it breaks ESLint rule import/order.
2020-04-07 22:45:10 +02:00
Jakub Jirutka
4c47e54acf Bump marked from ^0.8.0 to ^0.8.2
This version fixes insufficient sanitization of IDs.
2020-04-07 01:02:50 +02:00
dependabot[bot]
dbd6bc8821 Bump minimist from 1.2.0 to 1.2.3
Bumps [minimist](https://github.com/substack/minimist) from 1.2.0 to 1.2.3.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-06 19:44:26 +02:00
Jakub Jirutka
51e625dd55 Replace eslint-import-resolver-ts with eslint-import-resolver-typescript 2020-03-30 18:11:53 +02:00
Jakub Jirutka
ea852d43f7 Add meta tag generator to HTML template for CLI 2020-03-27 23:55:16 +01:00
Jakub Jirutka
47dc53b1a7 Bump babel to ^7.8.7 to fix build error on Node.js 13 2020-03-07 17:05:20 +01:00
Jakub Jirutka
a17cbefa51 CI: Add Node.js 13 and lts/* to build matrix 2020-03-07 16:10:16 +01:00
Jakub Jirutka
001219b173 Fix base header level in generated README.md 2020-03-07 13:07:10 +01:00
Jakub Jirutka
56608c2704 Use ESLint cache 2020-02-07 01:08:25 +01:00
Jakub Jirutka
ddef7d0da5 Fix package script "lint" in packages/* 2020-02-07 00:59:07 +01:00
Jakub Jirutka
1e0400a160 Switch ESLint rule no-non-null-assertion to warn 2020-02-06 12:08:52 +01:00
Jakub Jirutka
38048f84de Replace ESLint rule no-unused-vars-experimental with no-unused-vars
The experimental rule leverages the TypeScript compiler's unused
variable checks to report. Thus it correctly identifies even import
used for compilerOptions.jsxFactory etc.
2020-02-06 12:02:55 +01:00
Jakub Jirutka
ed62ee01e3 Release version 0.1.0 2020-01-23 18:03:26 +01:00
Jakub Jirutka
9c452d370c License: Bump year 2020-01-23 18:03:11 +01:00
Jakub Jirutka
0bf96274f9 Upgrade yarn.lock 2020-01-23 17:54:04 +01:00
Jakub Jirutka
28735b24c2 Replace rollup-plugin-node-resolve with @rollup/plugin-node-resolve 2020-01-23 17:50:56 +01:00
Jakub Jirutka
f7e794f0fe Replace rollup-plugin-commonjs with @rollup/plugin-commonjs 2020-01-23 17:50:20 +01:00
Jakub Jirutka
063847f0c7 Bump wsrun from 5.0.2 to 5.2.0 2020-01-23 17:34:28 +01:00
Jakub Jirutka
fd5d79319c Bump eslint and its plugins, fix new code-style violations 2020-01-23 17:31:46 +01:00
Jakub Jirutka
b7d33396fb Bump typescript from 3.6.4 to 3.7.5, ttypescript and ts-node 2020-01-23 17:05:14 +01:00
Jakub Jirutka
7e06fdc664 Bump babel from 7.6.3 to 7.8.3 and core-js from 3.2.1 to 3.6.4 2020-01-23 16:25:14 +01:00
Jakub Jirutka
bc4d2e1d9a Bump jest and ts-jest from 24.x to 25.x 2020-01-23 15:29:06 +01:00
Jakub Jirutka
d863e8cbaf Bump rollup and its plugins 2020-01-23 14:54:40 +01:00
Jakub Jirutka
35b26db42b Bump common-path-prefix from 2.0.0 to 3.0.0 2020-01-23 14:40:42 +01:00
Jakub Jirutka
1b6d3b2524 Bump marked from 0.7.0 to 0.8.0 2020-01-23 12:34:38 +01:00
Jakub Jirutka
9e8c3752b0 Fix readNotebookTitle to be compatible with marked 0.8.0 2020-01-23 12:07:58 +01:00
Jakub Jirutka
049703e14c Bump highlightjs, katex and source-map-support 2020-01-23 12:07:58 +01:00
Jakub Jirutka
1ccabd4d07 Add node_modules/ to .eslintignore
I thought that it's by default, but apparently it's not. Maybe only the
root node_modules/ is ignored by default? This change speeds up eslint
by factor 2.
2020-01-23 12:06:21 +01:00
dependabot[bot]
fb539853da Bump handlebars from 4.2.0 to 4.5.3
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.2.0 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.2.0...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-23 10:59:41 +01:00
Jakub Jirutka
712c0dbb0c Add prefix "render" to NbRenderer's methods 2020-01-22 16:57:27 +01:00
Jakub Jirutka
6c2fa15393 Refactor renderer object to class
It's more flexible in terms of extensibility and more familiar for devs.
Avoiding classes doesn't seem to be really worth it in this particular
case.
2020-01-22 16:19:07 +01:00
Jakub Jirutka
31173df623 Rename type Options in renderer to NbRendererOpts 2020-01-22 16:13:40 +01:00
Jakub Jirutka
93a559493f Rename dataRenderersOrder to dataTypesPriority 2019-11-08 19:31:27 +01:00
Jakub Jirutka
875e57639e Rename template.ts to page.ts 2019-11-04 10:43:04 +01:00
Jakub Jirutka
842f652ca5 Increase margin before headings in CLI styles 2019-11-04 01:37:41 +01:00
Jakub Jirutka
d658d9b5b7 Use box-shadow on .nb-notebook in CLI styles 2019-11-04 01:37:41 +01:00