2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-05-27 14:45:03 +03:00
This commit is contained in:
Nikolay Kostyurin
2019-03-04 02:52:37 +02:00
parent 8cb1d495dd
commit 8b0ceae591
31 changed files with 96486 additions and 28 deletions
+11
View File
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="2.3.1"></a>
## [2.3.1](https://github.com/JiLiZART/bbob/compare/v2.3.0...v2.3.1) (2019-03-04)
### Bug Fixes
* lerna lint command ([424c3a8](https://github.com/JiLiZART/bbob/commit/424c3a8))
<a name="2.3.0"></a>
# [2.3.0](https://github.com/JiLiZART/bbob/compare/v2.2.0...v2.3.0) (2018-10-25)
File diff suppressed because it is too large Load Diff
+17
View File
File diff suppressed because one or more lines are too long
+548
View File
File diff suppressed because one or more lines are too long
+13
View File
@@ -0,0 +1,13 @@
const fs = require('fs');
const path = require('path');
const parse = require('../../packages/bbob-parser/lib/index').parse;
const render = require('../../packages/bbob-html/lib/index').render;
const data = fs.readFileSync(path.resolve('./yahoo.html'));
console.time('parse html');
const ast = parse(data, { openTag: '<', closeTag: '>' });
console.timeEnd('parse html');
fs.writeFileSync(path.resolve('./yahoo.json'), JSON.stringify(ast));
+185
View File
File diff suppressed because one or more lines are too long
+22
View File
File diff suppressed because one or more lines are too long
+84888
View File
File diff suppressed because one or more lines are too long
+3123
View File
File diff suppressed because it is too large Load Diff
+3696
View File
File diff suppressed because it is too large Load Diff
+1736
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -15,5 +15,5 @@
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"version": "2.3.0"
"version": "2.3.1"
}
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="2.3.1"></a>
## [2.3.1](https://github.com/JiLiZART/bbob/compare/v2.3.0...v2.3.1) (2019-03-04)
**Note:** Version bump only for package @bbob/cli
<a name="2.2.0"></a>
# 2.2.0 (2018-10-11)
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env node
require('../lib/cli');
+5 -5
View File
@@ -1,17 +1,17 @@
{
"name": "@bbob/cli",
"version": "2.2.0",
"version": "2.3.1",
"description": "Comand line bbcode parser",
"main": "lib/bbob.js",
"main": "lib/cli.js",
"bin": {
"bbob": "bbob.js"
"bbob": "bin/bbob"
},
"directories": {
"lib": "lib"
},
"dependencies": {
"@bbob/html": "^2.2.0",
"@bbob/preset-html5": "^2.2.0",
"@bbob/html": "^2.3.1",
"@bbob/preset-html5": "^2.3.1",
"commander": "^2.15.1"
},
"repository": {
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="2.3.1"></a>
## [2.3.1](https://github.com/JiLiZART/bbob/compare/v2.3.0...v2.3.1) (2019-03-04)
**Note:** Version bump only for package @bbob/core
<a name="2.2.0"></a>
# 2.2.0 (2018-10-11)
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@bbob/core",
"version": "2.2.0",
"version": "2.3.1",
"description": "Fast, flexible, and lean implementation of BBcode parser with plugins",
"keywords": [
"bbcode",
@@ -19,7 +19,7 @@
"transform"
],
"dependencies": {
"@bbob/parser": "^2.2.0"
"@bbob/parser": "^2.3.1"
},
"peerDependencies": {
"@bbob/html": "^1.x",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="2.3.1"></a>
## [2.3.1](https://github.com/JiLiZART/bbob/compare/v2.3.0...v2.3.1) (2019-03-04)
**Note:** Version bump only for package @bbob/html
<a name="2.2.0"></a>
# 2.2.0 (2018-10-11)
+3 -3
View File
@@ -1,11 +1,11 @@
{
"name": "@bbob/html",
"version": "2.2.0",
"version": "2.3.1",
"description": "HTML renderer for BBCode pareser BBob",
"keywords": [],
"dependencies": {
"@bbob/core": "^2.2.0",
"@bbob/plugin-helper": "^2.0.1"
"@bbob/core": "^2.3.1",
"@bbob/plugin-helper": "^2.3.1"
},
"main": "lib/index.js",
"module": "es/index.js",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="2.3.1"></a>
## [2.3.1](https://github.com/JiLiZART/bbob/compare/v2.3.0...v2.3.1) (2019-03-04)
**Note:** Version bump only for package @bbob/parser
<a name="2.2.0"></a>
# [2.2.0](https://github.com/JiLiZART/bbob/compare/@bbob/parser@2.1.0...@bbob/parser@2.2.0) (2018-10-07)
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@bbob/parser",
"version": "2.2.0",
"version": "2.3.1",
"description": "Just parses BBcode to AST array",
"keywords": [
"bbcode",
@@ -13,7 +13,7 @@
"parse"
],
"dependencies": {
"@bbob/plugin-helper": "^2.0.1"
"@bbob/plugin-helper": "^2.3.1"
},
"main": "lib/index.js",
"module": "es/index.js",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="2.3.1"></a>
## [2.3.1](https://github.com/JiLiZART/bbob/compare/v2.3.0...v2.3.1) (2019-03-04)
**Note:** Version bump only for package @bbob/plugin-helper
<a name="2.0.1"></a>
## [2.0.1](https://github.com/JiLiZART/bbob/compare/@bbob/plugin-helper@2.0.0...@bbob/plugin-helper@2.0.1) (2018-09-23)
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@bbob/plugin-helper",
"version": "2.0.1",
"version": "2.3.1",
"description": "Set of utils to help write plugins",
"keywords": [
"bbob",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="2.3.1"></a>
## [2.3.1](https://github.com/JiLiZART/bbob/compare/v2.3.0...v2.3.1) (2019-03-04)
**Note:** Version bump only for package @bbob/preset-html5
<a name="2.2.0"></a>
# 2.2.0 (2018-10-11)
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@bbob/preset-html5",
"version": "2.2.0",
"version": "2.3.1",
"description": "HTML5 Preset to transform BBCode to HTML",
"keywords": [
"bbcode",
@@ -10,11 +10,11 @@
"transform"
],
"dependencies": {
"@bbob/plugin-helper": "^2.0.1",
"@bbob/preset": "^2.1.0"
"@bbob/plugin-helper": "^2.3.1",
"@bbob/preset": "^2.3.1"
},
"devDependencies": {
"@bbob/html": "^2.2.0"
"@bbob/html": "^2.3.1"
},
"main": "lib/index.js",
"module": "es/index.js",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="2.3.1"></a>
## [2.3.1](https://github.com/JiLiZART/bbob/compare/v2.3.0...v2.3.1) (2019-03-04)
**Note:** Version bump only for package @bbob/preset-react
<a name="2.2.0"></a>
# 2.2.0 (2018-10-11)
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@bbob/preset-react",
"version": "2.2.0",
"version": "2.3.1",
"description": "React preset to transform BBCode to React Components",
"keywords": [
"bbcode",
@@ -10,10 +10,10 @@
"transform"
],
"dependencies": {
"@bbob/preset-html5": "^2.2.0"
"@bbob/preset-html5": "^2.3.1"
},
"devDependencies": {
"@bbob/core": "^2.2.0"
"@bbob/core": "^2.3.1"
},
"main": "lib/index.js",
"module": "es/index.js",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="2.3.1"></a>
## [2.3.1](https://github.com/JiLiZART/bbob/compare/v2.3.0...v2.3.1) (2019-03-04)
**Note:** Version bump only for package @bbob/preset
<a name="2.1.0"></a>
# [2.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/preset@2.0.0...@bbob/preset@2.1.0) (2018-09-23)
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@bbob/preset",
"version": "2.1.0",
"version": "2.3.1",
"description": "Base preset for creating extensible presets for BBob",
"keywords": [
"bbcode",
@@ -10,7 +10,7 @@
"transform"
],
"dependencies": {
"@bbob/plugin-helper": "^2.0.1"
"@bbob/plugin-helper": "^2.3.1"
},
"main": "lib/index.js",
"module": "es/index.js",
+8
View File
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
<a name="2.3.1"></a>
## [2.3.1](https://github.com/JiLiZART/bbob/compare/v2.3.0...v2.3.1) (2019-03-04)
**Note:** Version bump only for package @bbob/react
<a name="2.3.0"></a>
# [2.3.0](https://github.com/JiLiZART/bbob/compare/v2.2.0...v2.3.0) (2018-10-25)
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@bbob/react",
"version": "2.3.0",
"version": "2.3.1",
"description": "",
"keywords": [
"bbob",
@@ -8,10 +8,10 @@
"helper"
],
"dependencies": {
"@bbob/core": "^2.2.0",
"@bbob/html": "^2.2.0",
"@bbob/plugin-helper": "^2.0.1",
"@bbob/preset-react": "^2.2.0",
"@bbob/core": "^2.3.1",
"@bbob/html": "^2.3.1",
"@bbob/plugin-helper": "^2.3.1",
"@bbob/preset-react": "^2.3.1",
"prop-types": "^15.6.1"
},
"peerDependencies": {