Commit graph

136 commits

Author SHA1 Message Date
Jakub Jirutka
3154d20f2b Release version 0.1.0-beta.7 2019-10-23 18:29:12 +02:00
Jakub Jirutka
7129670f63 Add example pages for browser bundles 2019-10-23 18:28:18 +02:00
Jakub Jirutka
4705564489 Add specialized support for browser env. and build browser bundles 2019-10-23 18:28:18 +02:00
Jakub Jirutka
36faf95829 Add version attribute to Readme 2019-10-23 18:28:17 +02:00
Jakub Jirutka
d8c18bd2c6 ipynb2html: Remove dependency on nodom, allow to provide any Document 2019-10-23 01:22:45 +02:00
Jakub Jirutka
dd4bee7118 Readme: Add Usage example 2019-10-22 20:11:54 +02:00
Jakub Jirutka
58aff83cc5 Readme: Add Bundlephobia badges 2019-10-20 22:20:05 +02:00
Jakub Jirutka
3c78b609f4 Readme: Fix wrong level of title System Requirements 2019-10-20 20:42:05 +02:00
Jakub Jirutka
a4aeca48b8 Re-export readNotebookTitle from index 2019-10-20 15:34:23 +02:00
Jakub Jirutka
518c327d78 Change default export in ipynb2html/index to named 2019-10-20 15:33:09 +02:00
Jakub Jirutka
af2ed64899 Release version 0.1.0-beta.6 2019-10-19 20:57:42 +02:00
Jakub Jirutka
91e8aafa10 Add script for converting README.adoc to Markdown before publishing
npmjs.com still doesn't support AsciiDoc for READMEs. >_<
2019-10-19 20:30:22 +02:00
Jakub Jirutka
e2edb19bc0 Readme: Add short preamble 2019-10-19 20:30:22 +02:00
Jakub Jirutka
1ae226918c Split package to ipynb2html and ipynb2html-core 2019-10-19 20:30:22 +02:00
Jakub Jirutka
495f17fd87 Convert repository to "monorepo" 2019-10-19 20:30:21 +02:00
Jakub Jirutka
9e27f0a8ed Bump eslint-config-standard-with-typescript to ^10.0.0 2019-10-18 19:02:55 +02:00
Jakub Jirutka
04a37430d1 Bump @typescript-eslint/* to ^2.4.0 2019-10-18 18:56:23 +02:00
Jakub Jirutka
9b80667f99 Bump ts-node to ^8.4.1 2019-10-18 18:43:11 +02:00
Jakub Jirutka
99092cd975 Bump typescript to ~3.6.4 2019-10-18 18:40:53 +02:00
Jakub Jirutka
b848a9028a VSCode: Use workspace version of tsdk 2019-10-18 18:27:35 +02:00
Jakub Jirutka
c06d13821c VSCode: Add more format settings 2019-10-18 18:25:48 +02:00
Jakub Jirutka
a8c48cc4f2 Add suffix Output to nbformat types Error and Stream
To avoid confusion with standard JS/Node types.
2019-10-14 14:21:44 +02:00
Jakub Jirutka
6e64ab79c6 Readme: Remove yarn from System Requirements
It can be installed using npm which is already described in How to Start.
2019-10-14 01:17:30 +02:00
Jakub Jirutka
f84ba06666 Add Coverage Gutters to list of recommended VS Code extensions 2019-10-14 01:16:07 +02:00
Jakub Jirutka
cde05b7272 Release version 0.1.0-beta.5 2019-10-14 01:06:27 +02:00
Jakub Jirutka
9cabcadd4c Fix wrong named imports and disable corresponding ESLint rule
It doesn't work when the code is bundled using Rollup.js. This problem
was introduced in 0394738a35. KaTeX and
Marked have it wrong in type declarations, so ESLint rule
import/no-named-as-default-member is not very helpful here...
2019-10-14 01:04:55 +02:00
Jakub Jirutka
0d94c8a2ac Add comments to index.ts and improve comment on buildRenderer() 2019-10-14 00:35:58 +02:00
Jakub Jirutka
3919b16d7d Rename hjs to hljs (highlight.js)
hjs was a mistake, I wanted to follow the name used in the highlight.js'
examples on their web.
2019-10-13 23:39:54 +02:00
Jakub Jirutka
00ea724910 Pass provided katexOpts even to htmlRenderer and centralize defaults 2019-10-13 20:48:24 +02:00
Jakub Jirutka
35eb180fe9 Add ts-transformer-export-default-name 2019-10-13 14:24:42 +02:00
Jakub Jirutka
b54d86c3a4 Bump anser to ^1.4.9 2019-10-13 14:18:01 +02:00
Jakub Jirutka
ffaec46e59 Readme: Change clone address to https://
One cannot clone the repository via SSH if doesn't have an SSH key on GitHub.
2019-10-08 00:20:00 +02:00
Jakub Jirutka
2e3236ccde Export package version from the index module 2019-10-07 15:17:09 +02:00
Jakub Jirutka
393e961221 Use ttypescript for TS transpilation 2019-10-07 15:13:35 +02:00
Jakub Jirutka
4e4f16a1ba Add clean script 2019-10-03 02:17:56 +02:00
Jakub Jirutka
610a6c4cbe Generate and include type declarations in the package
It seems that this is needed for consumers of the package.
2019-10-03 02:17:56 +02:00
Jakub Jirutka
0394738a35 Replace eslint-import-resolver-typescript with eslint-import-resolver-ts
The former doesn't support multiple tsconfig.json and as I found out
now, some rules didn't work with it at all.
2019-10-03 02:17:56 +02:00
Jakub Jirutka
a89fad58cf Enable ESLint for tests and update rules overrides 2019-10-03 02:17:55 +02:00
Jakub Jirutka
7b90320c49 Fix code-style: Don't use template literals without placeholders 2019-10-02 02:18:58 +02:00
Jakub Jirutka
48f089c6d7 Use RegExp#exec instead of String#match where possible
See https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/prefer-regexp-exec.md
2019-10-02 02:18:49 +02:00
Jakub Jirutka
909d01e732 Bump eslint packages to the latest versions and update rules 2019-10-02 02:18:49 +02:00
Jakub Jirutka
fd653f08de Fix code-style: Remove unnecessary type annotation 2019-10-02 02:18:44 +02:00
Jakub Jirutka
db98cb4f74 Generalize renderer 2019-10-01 13:22:42 +02:00
Jakub Jirutka
0dd5a9ee53 Generalize elementCreator 2019-10-01 13:22:41 +02:00
Jakub Jirutka
ec70c7713e Don't export HTMLElement from elementCreator module 2019-10-01 13:18:26 +02:00
Jakub Jirutka
782fc305e7 Set class using setAttribute() instead of className
To minimalize used HTMLElement's API surface.
2019-10-01 13:18:13 +02:00
Jakub Jirutka
34ab834a6d Bump nodom to ^2.4.0 2019-09-30 17:23:42 +02:00
Jakub Jirutka
1e0126fc48 Release version 0.1.0-beta.4 2019-09-29 02:10:42 +02:00
Jakub Jirutka
a9a38c4419 Use JSX in renderer tests 2019-09-29 02:05:44 +02:00
Jakub Jirutka
e7d8cfa193 Add Jest matcher toMatchElement() 2019-09-29 02:04:50 +02:00