2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-05-15 11:59:37 +03:00
Commit Graph

113 Commits

Author SHA1 Message Date
Nikolay Kostyurin c4a88e5036 chore: v2.5.1 (#21)
* fix(parser): fix issue with escaping backslashes when enableEscapeTags is set (#20)

there is a bug in the lexer where when enableEscapeTags is set, backslashes
are not always escaped (ie. \\[b] is treated as an escaped tag, rather than a
literal backslash, and then a tag).

* chore: v2.5.1
2019-06-18 09:56:21 +02:00
Nikolay Kostyurin 3b46fbe23c chore: v2.5.0 (#19) 2019-06-17 22:30:51 +02:00
Nikolay Kostyurin 847c55e836 feat(preset-html5): list type attribute support (#18)
now you can use [list=1] or [list=A] to produce <ol type="A"></ol> lists
2019-06-17 22:09:30 +02:00
David Ferguson c4f78c1230 feat(parse): allow tags to be escaped with backslash (#17)
* feat(parse): allow tags to be escaped with backslash

adds additional option `enableEscapeTags` to `parse` and `createLexer` that
when true will parse openTag and closeTag as WORD (rather than TAG) when
proceeded with backslash
2019-06-17 21:29:10 +02:00
Nikolay Kostyurin 37f43927bf v2.4.1 2019-03-29 13:22:45 +02:00
Nikolay Kostyurin 3af3ea8539 fix(react): move @bbob/preset-react to dev deps due to circular deps 2019-03-29 13:21:42 +02:00
Nikolay Kostyurin c0b4eb7c05 v2.4.0 2019-03-29 10:37:03 +02:00
Nikolay Kostyurin cd2b6fd2fb feat(core): add tree.messages array and tree.options
a way to communicate between plugins
2019-03-29 10:33:26 +02:00
Nikolay Kostyurin c9e1dabf40 feat(html): @bbob/html now can be used without @bbob/core 2019-03-29 10:29:16 +02:00
Nikolay Kostyurin 788d22e081 v2.3.4 2019-03-29 10:09:02 +02:00
Nikita Gordeev 1dafb69dc9 fix(react): add prop componentProps (#9)
Added the ability to add component props componentProps
2019-03-28 18:40:21 +02:00
Nikolay Kostyurin a8d3c496a3 v2.3.2 2019-03-10 00:35:42 +02:00
Nikolay Kostyurin 8507557f25 chore(core): remove peer deps 2019-03-10 00:32:32 +02:00
Nikolay Kostyurin 6e0f5bdf92 chore: add descriptions for all package.json files 2019-03-06 00:03:51 +02:00
Nikolay Kostyurin 8b0ceae591 v2.3.1 2019-03-04 02:52:37 +02:00
Nikolay Kostyurin 8cb1d495dd refactor(parser): better jsdoc, some behavior fixes, more tests
— all operations on nodes moved to `createList` function
- fixed problem with single tags with value only like `[url=value]` fixes #6
- write tests for `Token` class
- moved all node arrays to parse func, now parser supports many instances
- add jsdoc to critical parts of the parser to better understanding how it works
2019-03-04 02:24:12 +02:00
Nikolay Kostyurin ef6a778f45 refactor(parser): jsdoc, move some utility functions to separate files 2019-03-02 22:21:44 +02:00
Nikolay Kostyurin a1d859fdad chore: add bundle size restrictions to all packages 2018-10-30 23:32:06 +02:00
Nikolay Kostyurin 0fb4e1930b style(react): eslint errors 2018-10-25 17:39:11 +02:00
Nikolay Kostyurin 0f8071315d chore(react): tests for options.onlyAllowTags 2018-10-25 16:55:16 +02:00
Nikolay Kostyurin 9d5c537436 v2.3.0 2018-10-25 16:41:41 +02:00
Nikolay Kostyurin 77b30f3d44 feat(react): allow pass custom options to react component 2018-10-25 16:39:49 +02:00
Nikolay Kostyurin 6d37793001 v2.2.0 2018-10-12 00:45:25 +02:00
Nikolay Kostyurin 575c1bb932 feat: new @bbob/html api (#4) 2018-10-12 00:43:20 +02:00
Nikolay Kostyurin 67ccc740e3 Publish
- @bbob/cli@2.0.3
 - @bbob/core@2.1.0
 - @bbob/preset-html5@2.1.2
 - @bbob/preset-react@2.0.3
 - @bbob/react@2.0.3
2018-10-07 22:38:22 +02:00
Nikolay Kostyurin bdfd3f6e93 feat(core): raw tree property support 2018-10-07 22:37:20 +02:00
Nikolay Kostyurin fe9454c8a2 chore: build changelog when publish 2018-10-07 22:33:22 +02:00
Nikolay Kostyurin c5aa4f08d1 Publish
- @bbob/cli@2.0.2
 - @bbob/core@2.0.2
 - @bbob/html@2.1.1
 - @bbob/parser@2.2.0
 - @bbob/preset-html5@2.1.1
 - @bbob/preset-react@2.0.2
 - @bbob/react@2.0.2
2018-10-07 22:27:07 +02:00
Nikolay Kostyurin 1c3bebef22 feat(parser): better line and column counting support in tokens 2018-10-07 22:20:49 +02:00
Nikolay Kostyurin 485852d7e5 fix(html): rigt import to support three shaking 2018-10-07 22:18:44 +02:00
Nikolay Kostyurin bdd8bbd65d fix(core): string walk api test error 2018-09-24 01:02:43 +02:00
Nikolay Kostyurin f35a37433b Publish
- @bbob/cli@2.0.1
 - @bbob/core@2.0.1
 - @bbob/html@2.1.0
 - @bbob/parser@2.1.0
 - @bbob/plugin-helper@2.0.1
 - @bbob/preset-html5@2.1.0
 - @bbob/preset-react@2.0.1
 - @bbob/preset@2.1.0
 - @bbob/react@2.0.1
2018-09-24 00:56:50 +02:00
Nikolay Kostyurin b56b3c71a5 style(parser): remove unused func 2018-09-24 00:45:01 +02:00
Nikolay Kostyurin b63864ca07 feat: base preset package '@bbob/preset'
rewrite '@bbob/preset-html5' using new package
selfclosed html tags now without space
2018-09-24 00:41:02 +02:00
Nikolay Kostyurin ee29d499e5 chore(core): string node walk plugin test 2018-09-24 00:39:13 +02:00
Nikolay Kostyurin b49b7435da feat(parser): better handlinf of unclosed tags like '[My unclosed and [closed] tag' 2018-09-24 00:33:27 +02:00
Nikolay Kostyurin 505152bf4c fix(plugin-helper): better handle content of TagNode 2018-09-24 00:30:46 +02:00
Nikolay Kostyurin e3c2a2f4dd Publish
- @bbob/cli@2.0.0
 - @bbob/core@2.0.0
 - @bbob/html@2.0.0
 - @bbob/parser@2.0.0
 - @bbob/plugin-helper@2.0.0
 - @bbob/preset-html5@2.0.0
 - @bbob/preset-react@2.0.0
 - @bbob/preset@2.0.0
 - @bbob/react@2.0.0
2018-09-18 23:50:16 +02:00
Nikolay Kostyurin 790825af30 feat(parser): custom open and close tags support, html tags tests (#3) 2018-09-18 23:41:52 +02:00
Nikolay Kostyurin a11aeffdd9 chore(parser): publish 1.3.2 2018-09-10 09:42:02 +02:00
Nikolay Kostyurin 7300535aff fix(parser): dependency fail 2018-09-10 09:40:49 +02:00
Nikolay Kostyurin 4ab06bed08 Publish
- @bbob/cli@1.0.8
 - @bbob/core@1.1.1
 - @bbob/html@1.1.1
 - @bbob/parser@1.3.1
 - @bbob/plugin-helper@1.1.1
 - @bbob/preset-html5@1.1.1
 - @bbob/preset-react@1.1.1
 - @bbob/preset@1.1.1
 - @bbob/react@1.1.1
2018-09-09 23:56:22 +02:00
Nikolay Kostyurin 32a7fb51da refactor(*): convert to babel and generation to lib, es, dist folders (#2)
* refactor(*): convert to babel and generation to lib, es, dist

* chore(*): remove generated files

* fix(*): lint run command
2018-09-09 23:55:28 +02:00
Nikolay Kostyurin d22a2895a4 chore(parser): update readme 2018-08-20 08:54:50 +02:00
Nikolay Kostyurin b48feab135 chore(parser): bump to 1.3.0 2018-08-14 18:17:35 +02:00
Nikolay Kostyurin 88826512e7 feat(lexer): new lexer (#1) 2018-08-14 18:12:58 +02:00
Nikolay Kostyurin 4dd7177d89 chore(react): add more info to readme 2018-08-10 09:41:34 +02:00
Nikolay Kostyurin ada2c0067e fix(react): remove jsx 2018-08-09 11:14:46 +02:00
Nikolay Kostyurin 4ebc512732 fix(html): add more tests 2018-08-09 10:06:00 +02:00
Nikolay Kostyurin 10f6ff9ff1 Publish
- @bbob/cli@1.0.7
 - @bbob/core@1.1.0
 - @bbob/html@1.1.0
 - @bbob/parser@1.2.0
 - @bbob/plugin-helper@1.1.0
 - @bbob/preset-html5@1.1.0
 - @bbob/react@1.1.0
2018-08-09 02:46:35 +02:00