mirror of
https://github.com/tenrok/BBob.git
synced 2026-05-15 11:59:37 +03:00
chore(release): publish v3.0.0 (#183)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
50e8a9c8a2
commit
485bb11df0
@@ -1,56 +0,0 @@
|
||||
---
|
||||
"@bbob/cli": major
|
||||
"@bbob/core": major
|
||||
"@bbob/html": major
|
||||
"@bbob/parser": major
|
||||
"@bbob/plugin-helper": major
|
||||
"@bbob/preset": major
|
||||
"@bbob/preset-html5": major
|
||||
"@bbob/preset-react": major
|
||||
"@bbob/preset-vue": major
|
||||
"@bbob/react": major
|
||||
"@bbob/vue2": major
|
||||
"@bbob/vue3": major
|
||||
---
|
||||
|
||||
# Vue3 support
|
||||
|
||||
Now you can use `@bbob` parser in `vue3`
|
||||
|
||||
Example usage
|
||||
|
||||
```shell
|
||||
npm i @bbob/vue3 @bbob/preset-vue
|
||||
```
|
||||
|
||||
```js
|
||||
import { defineComponent } from 'vue'
|
||||
import VueBbob from '@bbob/vue3';
|
||||
|
||||
Vue.use(VueBbob);
|
||||
```
|
||||
|
||||
```html
|
||||
<template>
|
||||
<div class="vue3">
|
||||
<h2>Generated vue3 here</h2>
|
||||
<bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { defineComponent } from 'vue'
|
||||
import preset from '@bbob/preset-vue'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'App',
|
||||
data() {
|
||||
return {
|
||||
bbcode: 'Text [b]bolded[/b] and [i]Some Name[/i]',
|
||||
plugins: [
|
||||
preset()
|
||||
],
|
||||
}
|
||||
}
|
||||
})
|
||||
</script>
|
||||
```
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
# benchmark
|
||||
|
||||
## null
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d)]:
|
||||
- @bbob/parser@3.0.0
|
||||
- benchmark@null
|
||||
Vendored
+4
-3
@@ -13,10 +13,11 @@
|
||||
"url": "https://artkost.ru/"
|
||||
},
|
||||
"dependencies": {
|
||||
"@bbob/parser": "^2.7.1",
|
||||
"benchmark": "2.1.4",
|
||||
"@bbob/parser": "^3.0.0",
|
||||
"benchmark": "null",
|
||||
"picocolors": "1.0.0",
|
||||
"xbbcode-parser": "0.1.2",
|
||||
"ya-bbcode": "1.0.12"
|
||||
}
|
||||
},
|
||||
"version": null
|
||||
}
|
||||
|
||||
+84
-130
@@ -1,5 +1,55 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- [#182](https://github.com/JiLiZART/BBob/pull/182) [`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d) Thanks [@JiLiZART](https://github.com/JiLiZART)! - # Vue3 support
|
||||
|
||||
Now you can use `@bbob` parser in `vue3`
|
||||
|
||||
Example usage
|
||||
|
||||
```shell
|
||||
npm i @bbob/vue3 @bbob/preset-vue
|
||||
```
|
||||
|
||||
```js
|
||||
import { defineComponent } from "vue";
|
||||
import VueBbob from "@bbob/vue3";
|
||||
|
||||
Vue.use(VueBbob);
|
||||
```
|
||||
|
||||
```html
|
||||
<template>
|
||||
<div class="vue3">
|
||||
<h2>Generated vue3 here</h2>
|
||||
<bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { defineComponent } from "vue";
|
||||
import preset from "@bbob/preset-vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
|
||||
plugins: [preset()],
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d)]:
|
||||
- @bbob/html@3.0.0
|
||||
- @bbob/preset-html5@3.0.0
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
@@ -7,300 +57,204 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.3](https://github.com/JiLiZART/bbob/compare/v2.8.2...v2.8.3) (2022-12-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
|
||||
|
||||
|
||||
- remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
## [2.8.2](https://github.com/JiLiZART/bbob/compare/v2.8.1...v2.8.2) (2022-11-28)
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.1](https://github.com/JiLiZART/bbob/compare/v2.8.0...v2.8.1) (2022-05-24)
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.8.0](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.8.0) (2021-11-28)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
- update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* now we use swc.rs as main bundler and transpiler instead of babel
|
||||
- now we use swc.rs as main bundler and transpiler instead of babel
|
||||
|
||||
- jest now uses swc
|
||||
- rollup now uses swc
|
||||
|
||||
* feat: benchmark now separate package with `npm start` and colored output
|
||||
- feat: benchmark now separate package with `npm start` and colored output
|
||||
|
||||
- benchmark as separate package with error throw if package drops performance
|
||||
|
||||
* feat: all lerna packages now using scripts/pkg-task
|
||||
- feat: all lerna packages now using scripts/pkg-task
|
||||
|
||||
- feat(github): publish to npm and github registry
|
||||
|
||||
* feat(github): publish to npm and github registry
|
||||
- when release was created this action automaticly publish packages to npm and github
|
||||
|
||||
* feat(github): move all from Travis CI to Github Actions
|
||||
- feat(github): move all from Travis CI to Github Actions
|
||||
|
||||
- code analysis and tests now using github actions
|
||||
|
||||
* test: increase tests coverage
|
||||
- test: increase tests coverage
|
||||
- add more tests for @bbob/react, @bbob/vue2 and @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.7.1](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.7.1) (2021-11-04)
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.7.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.7.0) (2021-05-19)
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.6.2](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.2) (2020-12-16)
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.6.1](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.1) (2020-12-15)
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.6.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.0) (2020-12-10)
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.8](https://github.com/JiLiZART/bbob/compare/v2.5.7...v2.5.8) (2020-07-08)
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.7](https://github.com/JiLiZART/bbob/compare/v2.5.6...v2.5.7) (2020-07-05)
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.6](https://github.com/JiLiZART/bbob/compare/v2.5.5...v2.5.6) (2020-04-12)
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.5](https://github.com/JiLiZART/bbob/compare/v2.5.4...v2.5.5) (2020-03-25)
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="2.5.4"></a>
|
||||
|
||||
## [2.5.4](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.4) (2019-09-25)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<a name="2.5.3"></a>
|
||||
|
||||
## [2.5.3](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.3) (2019-08-11)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<a name="2.5.2"></a>
|
||||
|
||||
## [2.5.2](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.2) (2019-06-30)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<a name="2.5.1"></a>
|
||||
|
||||
## [2.5.1](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.1) (2019-06-18)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<a name="2.5.0"></a>
|
||||
|
||||
# [2.5.0](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.0) (2019-06-17)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<a name="2.4.1"></a>
|
||||
|
||||
## [2.4.1](https://github.com/JiLiZART/bbob/compare/v2.4.0...v2.4.1) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<a name="2.4.0"></a>
|
||||
|
||||
# [2.4.0](https://github.com/JiLiZART/bbob/compare/v2.3.4...v2.4.0) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<a name="2.3.4"></a>
|
||||
|
||||
## [2.3.4](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.4) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<a name="2.3.3"></a>
|
||||
|
||||
## [2.3.3](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.3) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<a name="2.3.2"></a>
|
||||
|
||||
## [2.3.2](https://github.com/JiLiZART/bbob/compare/v2.3.1...v2.3.2) (2019-03-09)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<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)
|
||||
|
||||
# 2.2.0 (2018-10-11)
|
||||
|
||||
### Features
|
||||
|
||||
* new [@bbob](https://github.com/bbob)/html api ([#4](https://github.com/JiLiZART/bbob/issues/4)) ([575c1bb](https://github.com/JiLiZART/bbob/commit/575c1bb))
|
||||
|
||||
|
||||
|
||||
- new [@bbob](https://github.com/bbob)/html api ([#4](https://github.com/JiLiZART/bbob/issues/4)) ([575c1bb](https://github.com/JiLiZART/bbob/commit/575c1bb))
|
||||
|
||||
<a name="2.0.3"></a>
|
||||
|
||||
## <small>2.0.3 (2018-10-07)</small>
|
||||
|
||||
* chore: build changelog when publish ([fe9454c](https://github.com/JiLiZART/bbob/commit/fe9454c))
|
||||
|
||||
|
||||
|
||||
- chore: build changelog when publish ([fe9454c](https://github.com/JiLiZART/bbob/commit/fe9454c))
|
||||
|
||||
<a name="2.0.2"></a>
|
||||
|
||||
## [2.0.2](https://github.com/JiLiZART/bbob/compare/@bbob/cli@2.0.1...@bbob/cli@2.0.2) (2018-10-07)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<a name="2.0.1"></a>
|
||||
|
||||
## [2.0.1](https://github.com/JiLiZART/bbob/compare/@bbob/cli@2.0.0...@bbob/cli@2.0.1) (2018-09-23)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<a name="1.0.7"></a>
|
||||
|
||||
## [1.0.7](https://github.com/JiLiZART/bbob/compare/@bbob/cli@1.0.6...@bbob/cli@1.0.7) (2018-08-09)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<a name="1.0.6"></a>
|
||||
|
||||
## [1.0.6](https://github.com/JiLiZART/bbob/compare/@bbob/cli@1.0.5...@bbob/cli@1.0.6) (2018-07-13)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<a name="1.0.5"></a>
|
||||
|
||||
## [1.0.5](https://github.com/JiLiZART/bbob/compare/@bbob/cli@1.0.4...@bbob/cli@1.0.5) (2018-07-11)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<a name="1.0.4"></a>
|
||||
|
||||
## [1.0.4](https://github.com/JiLiZART/bbob/compare/@bbob/cli@1.0.3...@bbob/cli@1.0.4) (2018-07-10)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
<a name="1.0.3"></a>
|
||||
|
||||
## [1.0.3](https://github.com/JiLiZART/bbob/compare/@bbob/cli@1.0.2...@bbob/cli@1.0.3) (2018-07-10)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/cli
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bbob/cli",
|
||||
"version": "2.9.0",
|
||||
"version": "3.0.0",
|
||||
"description": "Comand line bbcode parser",
|
||||
"main": "lib/cli.js",
|
||||
"bin": {
|
||||
@@ -10,8 +10,8 @@
|
||||
"lib": "lib"
|
||||
},
|
||||
"dependencies": {
|
||||
"@bbob/html": "^2.9.0",
|
||||
"@bbob/preset-html5": "^2.9.0",
|
||||
"@bbob/html": "^3.0.0",
|
||||
"@bbob/preset-html5": "^3.0.0",
|
||||
"commander": "^2.15.1"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
+96
-150
@@ -1,5 +1,54 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- [#182](https://github.com/JiLiZART/BBob/pull/182) [`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d) Thanks [@JiLiZART](https://github.com/JiLiZART)! - # Vue3 support
|
||||
|
||||
Now you can use `@bbob` parser in `vue3`
|
||||
|
||||
Example usage
|
||||
|
||||
```shell
|
||||
npm i @bbob/vue3 @bbob/preset-vue
|
||||
```
|
||||
|
||||
```js
|
||||
import { defineComponent } from "vue";
|
||||
import VueBbob from "@bbob/vue3";
|
||||
|
||||
Vue.use(VueBbob);
|
||||
```
|
||||
|
||||
```html
|
||||
<template>
|
||||
<div class="vue3">
|
||||
<h2>Generated vue3 here</h2>
|
||||
<bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { defineComponent } from "vue";
|
||||
import preset from "@bbob/preset-vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
|
||||
plugins: [preset()],
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d)]:
|
||||
- @bbob/parser@3.0.0
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
@@ -7,326 +56,223 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.3](https://github.com/JiLiZART/bbob/compare/v2.8.2...v2.8.3) (2022-12-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
|
||||
|
||||
|
||||
- remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
## [2.8.2](https://github.com/JiLiZART/bbob/compare/v2.8.1...v2.8.2) (2022-11-28)
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.1](https://github.com/JiLiZART/bbob/compare/v2.8.0...v2.8.1) (2022-05-24)
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.8.0](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.8.0) (2021-11-28)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
- update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* now we use swc.rs as main bundler and transpiler instead of babel
|
||||
- now we use swc.rs as main bundler and transpiler instead of babel
|
||||
|
||||
- jest now uses swc
|
||||
- rollup now uses swc
|
||||
|
||||
* feat: benchmark now separate package with `npm start` and colored output
|
||||
- feat: benchmark now separate package with `npm start` and colored output
|
||||
|
||||
- benchmark as separate package with error throw if package drops performance
|
||||
|
||||
* feat: all lerna packages now using scripts/pkg-task
|
||||
- feat: all lerna packages now using scripts/pkg-task
|
||||
|
||||
- feat(github): publish to npm and github registry
|
||||
|
||||
* feat(github): publish to npm and github registry
|
||||
- when release was created this action automaticly publish packages to npm and github
|
||||
|
||||
* feat(github): move all from Travis CI to Github Actions
|
||||
- feat(github): move all from Travis CI to Github Actions
|
||||
|
||||
- code analysis and tests now using github actions
|
||||
|
||||
* test: increase tests coverage
|
||||
- test: increase tests coverage
|
||||
- add more tests for @bbob/react, @bbob/vue2 and @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.7.1](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.7.1) (2021-11-04)
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.7.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.7.0) (2021-05-19)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* support for vue2 ([#88](https://github.com/JiLiZART/bbob/issues/88)) ([cbccbaf](https://github.com/JiLiZART/bbob/commit/cbccbaf896e675ce70273234577544b7861859f6))
|
||||
* **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
|
||||
|
||||
|
||||
- support for vue2 ([#88](https://github.com/JiLiZART/bbob/issues/88)) ([cbccbaf](https://github.com/JiLiZART/bbob/commit/cbccbaf896e675ce70273234577544b7861859f6))
|
||||
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
## [2.6.2](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.2) (2020-12-16)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
|
||||
|
||||
|
||||
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
## [2.6.1](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.1) (2020-12-15)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
|
||||
|
||||
|
||||
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
# [2.6.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.0) (2020-12-10)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
|
||||
|
||||
|
||||
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
## [2.5.8](https://github.com/JiLiZART/bbob/compare/v2.5.7...v2.5.8) (2020-07-08)
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.7](https://github.com/JiLiZART/bbob/compare/v2.5.6...v2.5.7) (2020-07-05)
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.6](https://github.com/JiLiZART/bbob/compare/v2.5.5...v2.5.6) (2020-04-12)
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.5](https://github.com/JiLiZART/bbob/compare/v2.5.4...v2.5.5) (2020-03-25)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **core:** allow to pass dynamic data in options for render ([#59](https://github.com/JiLiZART/bbob/issues/59)) ([0b74be7](https://github.com/JiLiZART/bbob/commit/0b74be78304f8206f1b36627206fb517924e08e4))
|
||||
|
||||
|
||||
|
||||
|
||||
- **core:** allow to pass dynamic data in options for render ([#59](https://github.com/JiLiZART/bbob/issues/59)) ([0b74be7](https://github.com/JiLiZART/bbob/commit/0b74be78304f8206f1b36627206fb517924e08e4))
|
||||
|
||||
<a name="2.5.4"></a>
|
||||
|
||||
## [2.5.4](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.4) (2019-09-25)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
<a name="2.5.3"></a>
|
||||
|
||||
## [2.5.3](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.3) (2019-08-11)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
<a name="2.5.2"></a>
|
||||
|
||||
## [2.5.2](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.2) (2019-06-30)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
<a name="2.5.1"></a>
|
||||
|
||||
## [2.5.1](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.1) (2019-06-18)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
<a name="2.5.0"></a>
|
||||
|
||||
# [2.5.0](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.0) (2019-06-17)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
<a name="2.4.0"></a>
|
||||
# [2.4.0](https://github.com/JiLiZART/bbob/compare/v2.3.4...v2.4.0) (2019-03-29)
|
||||
|
||||
# [2.4.0](https://github.com/JiLiZART/bbob/compare/v2.3.4...v2.4.0) (2019-03-29)
|
||||
|
||||
### Features
|
||||
|
||||
* **core:** add tree.messages array and tree.options ([cd2b6fd](https://github.com/JiLiZART/bbob/commit/cd2b6fd))
|
||||
|
||||
|
||||
|
||||
- **core:** add tree.messages array and tree.options ([cd2b6fd](https://github.com/JiLiZART/bbob/commit/cd2b6fd))
|
||||
|
||||
<a name="2.3.4"></a>
|
||||
|
||||
## [2.3.4](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.4) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
<a name="2.3.3"></a>
|
||||
|
||||
## [2.3.3](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.3) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
<a name="2.3.2"></a>
|
||||
|
||||
## [2.3.2](https://github.com/JiLiZART/bbob/compare/v2.3.1...v2.3.2) (2019-03-09)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
<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.0 (2018-10-11)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **core:** string walk api test error ([bdd8bbd](https://github.com/JiLiZART/bbob/commit/bdd8bbd))
|
||||
|
||||
- **core:** string walk api test error ([bdd8bbd](https://github.com/JiLiZART/bbob/commit/bdd8bbd))
|
||||
|
||||
### Features
|
||||
|
||||
* **core:** add helper function to plugin api ([e189a39](https://github.com/JiLiZART/bbob/commit/e189a39))
|
||||
* **core:** implement plugin api ([ee047e8](https://github.com/JiLiZART/bbob/commit/ee047e8))
|
||||
* **core:** raw tree property support ([bdfd3f6](https://github.com/JiLiZART/bbob/commit/bdfd3f6))
|
||||
* new [@bbob](https://github.com/bbob)/html api ([#4](https://github.com/JiLiZART/bbob/issues/4)) ([575c1bb](https://github.com/JiLiZART/bbob/commit/575c1bb))
|
||||
|
||||
|
||||
|
||||
- **core:** add helper function to plugin api ([e189a39](https://github.com/JiLiZART/bbob/commit/e189a39))
|
||||
- **core:** implement plugin api ([ee047e8](https://github.com/JiLiZART/bbob/commit/ee047e8))
|
||||
- **core:** raw tree property support ([bdfd3f6](https://github.com/JiLiZART/bbob/commit/bdfd3f6))
|
||||
- new [@bbob](https://github.com/bbob)/html api ([#4](https://github.com/JiLiZART/bbob/issues/4)) ([575c1bb](https://github.com/JiLiZART/bbob/commit/575c1bb))
|
||||
|
||||
<a name="2.1.0"></a>
|
||||
|
||||
## 2.1.0 (2018-10-07)
|
||||
|
||||
* feat(core): raw tree property support ([bdfd3f6](https://github.com/JiLiZART/bbob/commit/bdfd3f6))
|
||||
|
||||
|
||||
|
||||
- feat(core): raw tree property support ([bdfd3f6](https://github.com/JiLiZART/bbob/commit/bdfd3f6))
|
||||
|
||||
<a name="2.0.2"></a>
|
||||
## [2.0.2](https://github.com/JiLiZART/bbob/compare/@bbob/core@2.0.1...@bbob/core@2.0.2) (2018-10-07)
|
||||
|
||||
## [2.0.2](https://github.com/JiLiZART/bbob/compare/@bbob/core@2.0.1...@bbob/core@2.0.2) (2018-10-07)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **core:** string walk api test error ([bdd8bbd](https://github.com/JiLiZART/bbob/commit/bdd8bbd))
|
||||
|
||||
|
||||
|
||||
- **core:** string walk api test error ([bdd8bbd](https://github.com/JiLiZART/bbob/commit/bdd8bbd))
|
||||
|
||||
<a name="2.0.1"></a>
|
||||
|
||||
## [2.0.1](https://github.com/JiLiZART/bbob/compare/@bbob/core@2.0.0...@bbob/core@2.0.1) (2018-09-23)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
<a name="1.1.0"></a>
|
||||
# [1.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/core@1.0.6...@bbob/core@1.1.0) (2018-08-09)
|
||||
|
||||
# [1.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/core@1.0.6...@bbob/core@1.1.0) (2018-08-09)
|
||||
|
||||
### Features
|
||||
|
||||
* **core:** add helper function to plugin api ([e189a39](https://github.com/JiLiZART/bbob/commit/e189a39))
|
||||
* **core:** implement plugin api ([ee047e8](https://github.com/JiLiZART/bbob/commit/ee047e8))
|
||||
|
||||
|
||||
|
||||
- **core:** add helper function to plugin api ([e189a39](https://github.com/JiLiZART/bbob/commit/e189a39))
|
||||
- **core:** implement plugin api ([ee047e8](https://github.com/JiLiZART/bbob/commit/ee047e8))
|
||||
|
||||
<a name="1.0.6"></a>
|
||||
|
||||
## [1.0.6](https://github.com/JiLiZART/bbob/compare/@bbob/core@1.0.5...@bbob/core@1.0.6) (2018-07-13)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
<a name="1.0.5"></a>
|
||||
|
||||
## [1.0.5](https://github.com/JiLiZART/bbob/compare/@bbob/core@1.0.4...@bbob/core@1.0.5) (2018-07-11)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
<a name="1.0.4"></a>
|
||||
|
||||
## [1.0.4](https://github.com/JiLiZART/bbob/compare/@bbob/core@1.0.3...@bbob/core@1.0.4) (2018-07-10)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
<a name="1.0.3"></a>
|
||||
|
||||
## [1.0.3](https://github.com/JiLiZART/bbob/compare/@bbob/core@1.0.2...@bbob/core@1.0.3) (2018-07-10)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/core
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bbob/core",
|
||||
"version": "2.9.0",
|
||||
"version": "3.0.0",
|
||||
"description": "⚡️Blazing-fast js-bbcode-parser, bbcode js, that transforms and parses to AST with plugin support in pure javascript, no dependencies",
|
||||
"keywords": [
|
||||
"bbcode",
|
||||
@@ -20,7 +20,7 @@
|
||||
"core"
|
||||
],
|
||||
"dependencies": {
|
||||
"@bbob/parser": "^2.9.0"
|
||||
"@bbob/parser": "^3.0.0"
|
||||
},
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
||||
+90
-137
@@ -1,5 +1,55 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- [#182](https://github.com/JiLiZART/BBob/pull/182) [`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d) Thanks [@JiLiZART](https://github.com/JiLiZART)! - # Vue3 support
|
||||
|
||||
Now you can use `@bbob` parser in `vue3`
|
||||
|
||||
Example usage
|
||||
|
||||
```shell
|
||||
npm i @bbob/vue3 @bbob/preset-vue
|
||||
```
|
||||
|
||||
```js
|
||||
import { defineComponent } from "vue";
|
||||
import VueBbob from "@bbob/vue3";
|
||||
|
||||
Vue.use(VueBbob);
|
||||
```
|
||||
|
||||
```html
|
||||
<template>
|
||||
<div class="vue3">
|
||||
<h2>Generated vue3 here</h2>
|
||||
<bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { defineComponent } from "vue";
|
||||
import preset from "@bbob/preset-vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
|
||||
plugins: [preset()],
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d)]:
|
||||
- @bbob/core@3.0.0
|
||||
- @bbob/plugin-helper@3.0.0
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
@@ -7,305 +57,208 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.3](https://github.com/JiLiZART/bbob/compare/v2.8.2...v2.8.3) (2022-12-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
|
||||
|
||||
|
||||
- remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
## [2.8.2](https://github.com/JiLiZART/bbob/compare/v2.8.1...v2.8.2) (2022-11-28)
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.1](https://github.com/JiLiZART/bbob/compare/v2.8.0...v2.8.1) (2022-05-24)
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.8.0](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.8.0) (2021-11-28)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
- update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* now we use swc.rs as main bundler and transpiler instead of babel
|
||||
- now we use swc.rs as main bundler and transpiler instead of babel
|
||||
|
||||
- jest now uses swc
|
||||
- rollup now uses swc
|
||||
|
||||
* feat: benchmark now separate package with `npm start` and colored output
|
||||
- feat: benchmark now separate package with `npm start` and colored output
|
||||
|
||||
- benchmark as separate package with error throw if package drops performance
|
||||
|
||||
* feat: all lerna packages now using scripts/pkg-task
|
||||
- feat: all lerna packages now using scripts/pkg-task
|
||||
|
||||
- feat(github): publish to npm and github registry
|
||||
|
||||
* feat(github): publish to npm and github registry
|
||||
- when release was created this action automaticly publish packages to npm and github
|
||||
|
||||
* feat(github): move all from Travis CI to Github Actions
|
||||
- feat(github): move all from Travis CI to Github Actions
|
||||
|
||||
- code analysis and tests now using github actions
|
||||
|
||||
* test: increase tests coverage
|
||||
- test: increase tests coverage
|
||||
- add more tests for @bbob/react, @bbob/vue2 and @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.7.1](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.7.1) (2021-11-04)
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.7.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.7.0) (2021-05-19)
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.6.2](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.2) (2020-12-16)
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.6.1](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.1) (2020-12-15)
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.6.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.0) (2020-12-10)
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.8](https://github.com/JiLiZART/bbob/compare/v2.5.7...v2.5.8) (2020-07-08)
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.7](https://github.com/JiLiZART/bbob/compare/v2.5.6...v2.5.7) (2020-07-05)
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.6](https://github.com/JiLiZART/bbob/compare/v2.5.5...v2.5.6) (2020-04-12)
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.5](https://github.com/JiLiZART/bbob/compare/v2.5.4...v2.5.5) (2020-03-25)
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="2.5.4"></a>
|
||||
|
||||
## [2.5.4](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.4) (2019-09-25)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
<a name="2.5.3"></a>
|
||||
|
||||
## [2.5.3](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.3) (2019-08-11)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
<a name="2.5.2"></a>
|
||||
|
||||
## [2.5.2](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.2) (2019-06-30)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
<a name="2.5.1"></a>
|
||||
|
||||
## [2.5.1](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.1) (2019-06-18)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
<a name="2.5.0"></a>
|
||||
|
||||
# [2.5.0](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.0) (2019-06-17)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
<a name="2.4.0"></a>
|
||||
# [2.4.0](https://github.com/JiLiZART/bbob/compare/v2.3.4...v2.4.0) (2019-03-29)
|
||||
|
||||
# [2.4.0](https://github.com/JiLiZART/bbob/compare/v2.3.4...v2.4.0) (2019-03-29)
|
||||
|
||||
### Features
|
||||
|
||||
* **html:** [@bbob](https://github.com/bbob)/html now can be used without [@bbob](https://github.com/bbob)/core ([c9e1dab](https://github.com/JiLiZART/bbob/commit/c9e1dab))
|
||||
|
||||
|
||||
|
||||
- **html:** [@bbob](https://github.com/bbob)/html now can be used without [@bbob](https://github.com/bbob)/core ([c9e1dab](https://github.com/JiLiZART/bbob/commit/c9e1dab))
|
||||
|
||||
<a name="2.3.4"></a>
|
||||
|
||||
## [2.3.4](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.4) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
<a name="2.3.3"></a>
|
||||
|
||||
## [2.3.3](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.3) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
<a name="2.3.2"></a>
|
||||
|
||||
## [2.3.2](https://github.com/JiLiZART/bbob/compare/v2.3.1...v2.3.2) (2019-03-09)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **html:** add more tests ([4ebc512](https://github.com/JiLiZART/bbob/commit/4ebc512))
|
||||
* **html:** rigt import to support three shaking ([485852d](https://github.com/JiLiZART/bbob/commit/485852d))
|
||||
|
||||
- **html:** add more tests ([4ebc512](https://github.com/JiLiZART/bbob/commit/4ebc512))
|
||||
- **html:** rigt import to support three shaking ([485852d](https://github.com/JiLiZART/bbob/commit/485852d))
|
||||
|
||||
### Features
|
||||
|
||||
* react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
* **parser:** custom open and close tags support, html tags tests ([#3](https://github.com/JiLiZART/bbob/issues/3)) ([790825a](https://github.com/JiLiZART/bbob/commit/790825a))
|
||||
* base preset package '[@bbob](https://github.com/bbob)/preset' ([b63864c](https://github.com/JiLiZART/bbob/commit/b63864c))
|
||||
* new [@bbob](https://github.com/bbob)/html api ([#4](https://github.com/JiLiZART/bbob/issues/4)) ([575c1bb](https://github.com/JiLiZART/bbob/commit/575c1bb))
|
||||
|
||||
|
||||
|
||||
- react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
- **parser:** custom open and close tags support, html tags tests ([#3](https://github.com/JiLiZART/bbob/issues/3)) ([790825a](https://github.com/JiLiZART/bbob/commit/790825a))
|
||||
- base preset package '[@bbob](https://github.com/bbob)/preset' ([b63864c](https://github.com/JiLiZART/bbob/commit/b63864c))
|
||||
- new [@bbob](https://github.com/bbob)/html api ([#4](https://github.com/JiLiZART/bbob/issues/4)) ([575c1bb](https://github.com/JiLiZART/bbob/commit/575c1bb))
|
||||
|
||||
<a name="2.1.1"></a>
|
||||
## [2.1.1](https://github.com/JiLiZART/bbob/compare/@bbob/html@2.1.0...@bbob/html@2.1.1) (2018-10-07)
|
||||
|
||||
## [2.1.1](https://github.com/JiLiZART/bbob/compare/@bbob/html@2.1.0...@bbob/html@2.1.1) (2018-10-07)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **html:** rigt import to support three shaking ([485852d](https://github.com/JiLiZART/bbob/commit/485852d))
|
||||
|
||||
|
||||
|
||||
- **html:** rigt import to support three shaking ([485852d](https://github.com/JiLiZART/bbob/commit/485852d))
|
||||
|
||||
<a name="2.1.0"></a>
|
||||
|
||||
# [2.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/html@2.0.0...@bbob/html@2.1.0) (2018-09-23)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* base preset package '[@bbob](https://github.com/bbob)/preset' ([b63864c](https://github.com/JiLiZART/bbob/commit/b63864c))
|
||||
|
||||
|
||||
|
||||
- base preset package '[@bbob](https://github.com/bbob)/preset' ([b63864c](https://github.com/JiLiZART/bbob/commit/b63864c))
|
||||
|
||||
<a name="1.1.0"></a>
|
||||
# [1.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/html@1.0.7...@bbob/html@1.1.0) (2018-08-09)
|
||||
|
||||
# [1.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/html@1.0.7...@bbob/html@1.1.0) (2018-08-09)
|
||||
|
||||
### Features
|
||||
|
||||
* react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
|
||||
|
||||
|
||||
- react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
|
||||
<a name="1.0.7"></a>
|
||||
|
||||
## [1.0.7](https://github.com/JiLiZART/bbob/compare/@bbob/html@1.0.6...@bbob/html@1.0.7) (2018-07-13)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
<a name="1.0.6"></a>
|
||||
|
||||
## [1.0.6](https://github.com/JiLiZART/bbob/compare/@bbob/html@1.0.5...@bbob/html@1.0.6) (2018-07-11)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
<a name="1.0.5"></a>
|
||||
|
||||
## [1.0.5](https://github.com/JiLiZART/bbob/compare/@bbob/html@1.0.4...@bbob/html@1.0.5) (2018-07-10)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
<a name="1.0.4"></a>
|
||||
|
||||
## [1.0.4](https://github.com/JiLiZART/bbob/compare/@bbob/html@1.0.3...@bbob/html@1.0.4) (2018-07-10)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/html
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bbob/html",
|
||||
"version": "2.9.0",
|
||||
"version": "3.0.0",
|
||||
"description": "A BBCode to HTML Renderer part of @bbob",
|
||||
"keywords": [
|
||||
"html",
|
||||
@@ -9,8 +9,8 @@
|
||||
"bbob"
|
||||
],
|
||||
"dependencies": {
|
||||
"@bbob/core": "^2.9.0",
|
||||
"@bbob/plugin-helper": "^2.9.0"
|
||||
"@bbob/core": "^3.0.0",
|
||||
"@bbob/plugin-helper": "^3.0.0"
|
||||
},
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
||||
+114
-182
@@ -1,393 +1,325 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- [#182](https://github.com/JiLiZART/BBob/pull/182) [`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d) Thanks [@JiLiZART](https://github.com/JiLiZART)! - # Vue3 support
|
||||
|
||||
Now you can use `@bbob` parser in `vue3`
|
||||
|
||||
Example usage
|
||||
|
||||
```shell
|
||||
npm i @bbob/vue3 @bbob/preset-vue
|
||||
```
|
||||
|
||||
```js
|
||||
import { defineComponent } from "vue";
|
||||
import VueBbob from "@bbob/vue3";
|
||||
|
||||
Vue.use(VueBbob);
|
||||
```
|
||||
|
||||
```html
|
||||
<template>
|
||||
<div class="vue3">
|
||||
<h2>Generated vue3 here</h2>
|
||||
<bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { defineComponent } from "vue";
|
||||
import preset from "@bbob/preset-vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
|
||||
plugins: [preset()],
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d)]:
|
||||
- @bbob/plugin-helper@3.0.0
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.9.0](https://github.com/JiLiZART/bbob/compare/v2.8.3...v2.9.0) (2023-01-29)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** context free tag mode ([#165](https://github.com/JiLiZART/bbob/issues/165)) ([19e8dd6](https://github.com/JiLiZART/bbob/commit/19e8dd659e8c36779c73def8d914edfc219fbf72))
|
||||
|
||||
|
||||
|
||||
|
||||
- **parser:** context free tag mode ([#165](https://github.com/JiLiZART/bbob/issues/165)) ([19e8dd6](https://github.com/JiLiZART/bbob/commit/19e8dd659e8c36779c73def8d914edfc219fbf72))
|
||||
|
||||
## [2.8.3](https://github.com/JiLiZART/bbob/compare/v2.8.2...v2.8.3) (2022-12-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* bbob plugin helper imports ([5f76548](https://github.com/JiLiZART/bbob/commit/5f76548b78b29f0905f74804e4a1d0634f085c1b))
|
||||
* remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
|
||||
|
||||
|
||||
- bbob plugin helper imports ([5f76548](https://github.com/JiLiZART/bbob/commit/5f76548b78b29f0905f74804e4a1d0634f085c1b))
|
||||
- remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
## [2.8.2](https://github.com/JiLiZART/bbob/compare/v2.8.1...v2.8.2) (2022-11-28)
|
||||
|
||||
**Note:** Version bump only for package @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.1](https://github.com/JiLiZART/bbob/compare/v2.8.0...v2.8.1) (2022-05-24)
|
||||
|
||||
**Note:** Version bump only for package @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.8.0](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.8.0) (2021-11-28)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
- update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* now we use swc.rs as main bundler and transpiler instead of babel
|
||||
- now we use swc.rs as main bundler and transpiler instead of babel
|
||||
|
||||
- jest now uses swc
|
||||
- rollup now uses swc
|
||||
|
||||
* feat: benchmark now separate package with `npm start` and colored output
|
||||
- feat: benchmark now separate package with `npm start` and colored output
|
||||
|
||||
- benchmark as separate package with error throw if package drops performance
|
||||
|
||||
* feat: all lerna packages now using scripts/pkg-task
|
||||
- feat: all lerna packages now using scripts/pkg-task
|
||||
|
||||
- feat(github): publish to npm and github registry
|
||||
|
||||
* feat(github): publish to npm and github registry
|
||||
- when release was created this action automaticly publish packages to npm and github
|
||||
|
||||
* feat(github): move all from Travis CI to Github Actions
|
||||
- feat(github): move all from Travis CI to Github Actions
|
||||
|
||||
- code analysis and tests now using github actions
|
||||
|
||||
* test: increase tests coverage
|
||||
- test: increase tests coverage
|
||||
- add more tests for @bbob/react, @bbob/vue2 and @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.7.1](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.7.1) (2021-11-04)
|
||||
|
||||
**Note:** Version bump only for package @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.7.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.7.0) (2021-05-19)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parser:** dont process nested tags as string if parent is not allowed ([#84](https://github.com/JiLiZART/bbob/issues/84)) ([70ff2e6](https://github.com/JiLiZART/bbob/commit/70ff2e6660bb507f6ed57cb91e850b3879bdb7eb))
|
||||
* **parser:** tag inside tag parsing regression ([#81](https://github.com/JiLiZART/bbob/issues/81)) ([09bda26](https://github.com/JiLiZART/bbob/commit/09bda26d7ca9c3f4c5f1565a2ca22d16bf1d27ab))
|
||||
|
||||
- **parser:** dont process nested tags as string if parent is not allowed ([#84](https://github.com/JiLiZART/bbob/issues/84)) ([70ff2e6](https://github.com/JiLiZART/bbob/commit/70ff2e6660bb507f6ed57cb91e850b3879bdb7eb))
|
||||
- **parser:** tag inside tag parsing regression ([#81](https://github.com/JiLiZART/bbob/issues/81)) ([09bda26](https://github.com/JiLiZART/bbob/commit/09bda26d7ca9c3f4c5f1565a2ca22d16bf1d27ab))
|
||||
|
||||
### Features
|
||||
|
||||
* support for vue2 ([#88](https://github.com/JiLiZART/bbob/issues/88)) ([cbccbaf](https://github.com/JiLiZART/bbob/commit/cbccbaf896e675ce70273234577544b7861859f6))
|
||||
* **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
- support for vue2 ([#88](https://github.com/JiLiZART/bbob/issues/88)) ([cbccbaf](https://github.com/JiLiZART/bbob/commit/cbccbaf896e675ce70273234577544b7861859f6))
|
||||
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
### Performance Improvements
|
||||
|
||||
* **parser:** cache nested tokens in Set to prevent deoptimization ([#83](https://github.com/JiLiZART/bbob/issues/83)) ([cad0e9e](https://github.com/JiLiZART/bbob/commit/cad0e9e7f4cc5fd9f82cfd25223561d186804e22))
|
||||
|
||||
|
||||
|
||||
|
||||
- **parser:** cache nested tokens in Set to prevent deoptimization ([#83](https://github.com/JiLiZART/bbob/issues/83)) ([cad0e9e](https://github.com/JiLiZART/bbob/commit/cad0e9e7f4cc5fd9f82cfd25223561d186804e22))
|
||||
|
||||
## [2.6.2](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.2) (2020-12-16)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parser:** dont process nested tags as string if parent is not allowed ([#84](https://github.com/JiLiZART/bbob/issues/84)) ([70ff2e6](https://github.com/JiLiZART/bbob/commit/70ff2e6660bb507f6ed57cb91e850b3879bdb7eb))
|
||||
* **parser:** tag inside tag parsing regression ([#81](https://github.com/JiLiZART/bbob/issues/81)) ([09bda26](https://github.com/JiLiZART/bbob/commit/09bda26d7ca9c3f4c5f1565a2ca22d16bf1d27ab))
|
||||
|
||||
- **parser:** dont process nested tags as string if parent is not allowed ([#84](https://github.com/JiLiZART/bbob/issues/84)) ([70ff2e6](https://github.com/JiLiZART/bbob/commit/70ff2e6660bb507f6ed57cb91e850b3879bdb7eb))
|
||||
- **parser:** tag inside tag parsing regression ([#81](https://github.com/JiLiZART/bbob/issues/81)) ([09bda26](https://github.com/JiLiZART/bbob/commit/09bda26d7ca9c3f4c5f1565a2ca22d16bf1d27ab))
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
### Performance Improvements
|
||||
|
||||
* **parser:** cache nested tokens in Set to prevent deoptimization ([#83](https://github.com/JiLiZART/bbob/issues/83)) ([cad0e9e](https://github.com/JiLiZART/bbob/commit/cad0e9e7f4cc5fd9f82cfd25223561d186804e22))
|
||||
|
||||
|
||||
|
||||
|
||||
- **parser:** cache nested tokens in Set to prevent deoptimization ([#83](https://github.com/JiLiZART/bbob/issues/83)) ([cad0e9e](https://github.com/JiLiZART/bbob/commit/cad0e9e7f4cc5fd9f82cfd25223561d186804e22))
|
||||
|
||||
## [2.6.1](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.1) (2020-12-15)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parser:** tag inside tag parsing regression ([#81](https://github.com/JiLiZART/bbob/issues/81)) ([09bda26](https://github.com/JiLiZART/bbob/commit/09bda26d7ca9c3f4c5f1565a2ca22d16bf1d27ab))
|
||||
|
||||
- **parser:** tag inside tag parsing regression ([#81](https://github.com/JiLiZART/bbob/issues/81)) ([09bda26](https://github.com/JiLiZART/bbob/commit/09bda26d7ca9c3f4c5f1565a2ca22d16bf1d27ab))
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
|
||||
|
||||
|
||||
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
# [2.6.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.0) (2020-12-10)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
|
||||
|
||||
|
||||
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
## [2.5.8](https://github.com/JiLiZART/bbob/compare/v2.5.7...v2.5.8) (2020-07-08)
|
||||
|
||||
**Note:** Version bump only for package @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.7](https://github.com/JiLiZART/bbob/compare/v2.5.6...v2.5.7) (2020-07-05)
|
||||
|
||||
**Note:** Version bump only for package @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.6](https://github.com/JiLiZART/bbob/compare/v2.5.5...v2.5.6) (2020-04-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parser:** don't eat not allowed tags with params ([#58](https://github.com/JiLiZART/bbob/issues/58)) fixes [#54](https://github.com/JiLiZART/bbob/issues/54) ([a16b9f7](https://github.com/JiLiZART/bbob/commit/a16b9f73b0737a46e852f9c55a17a612f17a9587))
|
||||
|
||||
- **parser:** don't eat not allowed tags with params ([#58](https://github.com/JiLiZART/bbob/issues/58)) fixes [#54](https://github.com/JiLiZART/bbob/issues/54) ([a16b9f7](https://github.com/JiLiZART/bbob/commit/a16b9f73b0737a46e852f9c55a17a612f17a9587))
|
||||
|
||||
### Performance Improvements
|
||||
|
||||
* **parser:** optimize v8 perf deoptimizations ([#61](https://github.com/JiLiZART/bbob/issues/61)) ([97ecba0](https://github.com/JiLiZART/bbob/commit/97ecba0af61c05ab4f57516589e64c7419138fde))
|
||||
|
||||
|
||||
|
||||
|
||||
- **parser:** optimize v8 perf deoptimizations ([#61](https://github.com/JiLiZART/bbob/issues/61)) ([97ecba0](https://github.com/JiLiZART/bbob/commit/97ecba0af61c05ab4f57516589e64c7419138fde))
|
||||
|
||||
## [2.5.5](https://github.com/JiLiZART/bbob/compare/v2.5.4...v2.5.5) (2020-03-25)
|
||||
|
||||
**Note:** Version bump only for package @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="2.5.4"></a>
|
||||
|
||||
## [2.5.4](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.4) (2019-09-25)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parser:** infinity loop problem when escape `[\b]` ([#31](https://github.com/JiLiZART/bbob/issues/31)) ([b4cf271](https://github.com/JiLiZART/bbob/commit/b4cf271)), closes [#23](https://github.com/JiLiZART/bbob/issues/23)
|
||||
* **parser:** try to hack terser minifier that removes working code ([#49](https://github.com/JiLiZART/bbob/issues/49)) ([be938fd](https://github.com/JiLiZART/bbob/commit/be938fd)), closes [#48](https://github.com/JiLiZART/bbob/issues/48)
|
||||
|
||||
- **parser:** infinity loop problem when escape `[\b]` ([#31](https://github.com/JiLiZART/bbob/issues/31)) ([b4cf271](https://github.com/JiLiZART/bbob/commit/b4cf271)), closes [#23](https://github.com/JiLiZART/bbob/issues/23)
|
||||
- **parser:** try to hack terser minifier that removes working code ([#49](https://github.com/JiLiZART/bbob/issues/49)) ([be938fd](https://github.com/JiLiZART/bbob/commit/be938fd)), closes [#48](https://github.com/JiLiZART/bbob/issues/48)
|
||||
|
||||
### Features
|
||||
|
||||
* **parse:** allow tags to be escaped with backslash ([#17](https://github.com/JiLiZART/bbob/issues/17)) ([c4f78c1](https://github.com/JiLiZART/bbob/commit/c4f78c1))
|
||||
* **plugin-helper:** lowercase resulting tag names ([#42](https://github.com/JiLiZART/bbob/issues/42)) ([597c2a9](https://github.com/JiLiZART/bbob/commit/597c2a9))
|
||||
|
||||
|
||||
|
||||
- **parse:** allow tags to be escaped with backslash ([#17](https://github.com/JiLiZART/bbob/issues/17)) ([c4f78c1](https://github.com/JiLiZART/bbob/commit/c4f78c1))
|
||||
- **plugin-helper:** lowercase resulting tag names ([#42](https://github.com/JiLiZART/bbob/issues/42)) ([597c2a9](https://github.com/JiLiZART/bbob/commit/597c2a9))
|
||||
|
||||
<a name="2.5.3"></a>
|
||||
|
||||
## [2.5.3](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.3) (2019-08-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parser:** infinity loop problem when escape `[\b]` ([#31](https://github.com/JiLiZART/bbob/issues/31)) ([b4cf271](https://github.com/JiLiZART/bbob/commit/b4cf271)), closes [#23](https://github.com/JiLiZART/bbob/issues/23)
|
||||
|
||||
- **parser:** infinity loop problem when escape `[\b]` ([#31](https://github.com/JiLiZART/bbob/issues/31)) ([b4cf271](https://github.com/JiLiZART/bbob/commit/b4cf271)), closes [#23](https://github.com/JiLiZART/bbob/issues/23)
|
||||
|
||||
### Features
|
||||
|
||||
* **parse:** allow tags to be escaped with backslash ([#17](https://github.com/JiLiZART/bbob/issues/17)) ([c4f78c1](https://github.com/JiLiZART/bbob/commit/c4f78c1))
|
||||
* **plugin-helper:** lowercase resulting tag names ([#42](https://github.com/JiLiZART/bbob/issues/42)) ([597c2a9](https://github.com/JiLiZART/bbob/commit/597c2a9))
|
||||
|
||||
|
||||
|
||||
- **parse:** allow tags to be escaped with backslash ([#17](https://github.com/JiLiZART/bbob/issues/17)) ([c4f78c1](https://github.com/JiLiZART/bbob/commit/c4f78c1))
|
||||
- **plugin-helper:** lowercase resulting tag names ([#42](https://github.com/JiLiZART/bbob/issues/42)) ([597c2a9](https://github.com/JiLiZART/bbob/commit/597c2a9))
|
||||
|
||||
<a name="2.5.2"></a>
|
||||
|
||||
## [2.5.2](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.2) (2019-06-30)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parser:** infinity loop problem when escape `[\b]` ([#31](https://github.com/JiLiZART/bbob/issues/31)) ([b4cf271](https://github.com/JiLiZART/bbob/commit/b4cf271)), closes [#23](https://github.com/JiLiZART/bbob/issues/23)
|
||||
|
||||
- **parser:** infinity loop problem when escape `[\b]` ([#31](https://github.com/JiLiZART/bbob/issues/31)) ([b4cf271](https://github.com/JiLiZART/bbob/commit/b4cf271)), closes [#23](https://github.com/JiLiZART/bbob/issues/23)
|
||||
|
||||
### Features
|
||||
|
||||
* **parse:** allow tags to be escaped with backslash ([#17](https://github.com/JiLiZART/bbob/issues/17)) ([c4f78c1](https://github.com/JiLiZART/bbob/commit/c4f78c1))
|
||||
|
||||
|
||||
|
||||
- **parse:** allow tags to be escaped with backslash ([#17](https://github.com/JiLiZART/bbob/issues/17)) ([c4f78c1](https://github.com/JiLiZART/bbob/commit/c4f78c1))
|
||||
|
||||
<a name="2.5.1"></a>
|
||||
## [2.5.1](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.1) (2019-06-18)
|
||||
|
||||
## [2.5.1](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.1) (2019-06-18)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parser:** fix issue with escaping backslashes when enableEscapeTags is set ([#20](https://github.com/JiLiZART/bbob/issues/20)) ([8a9e930](https://github.com/JiLiZART/bbob/commit/8a9e930))
|
||||
|
||||
- **parser:** fix issue with escaping backslashes when enableEscapeTags is set ([#20](https://github.com/JiLiZART/bbob/issues/20)) ([8a9e930](https://github.com/JiLiZART/bbob/commit/8a9e930))
|
||||
|
||||
### Features
|
||||
|
||||
* **parse:** allow tags to be escaped with backslash ([#17](https://github.com/JiLiZART/bbob/issues/17)) ([c4f78c1](https://github.com/JiLiZART/bbob/commit/c4f78c1))
|
||||
|
||||
|
||||
|
||||
- **parse:** allow tags to be escaped with backslash ([#17](https://github.com/JiLiZART/bbob/issues/17)) ([c4f78c1](https://github.com/JiLiZART/bbob/commit/c4f78c1))
|
||||
|
||||
<a name="2.5.0"></a>
|
||||
# [2.5.0](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.0) (2019-06-17)
|
||||
|
||||
# [2.5.0](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.0) (2019-06-17)
|
||||
|
||||
### Features
|
||||
|
||||
* **parse:** allow tags to be escaped with backslash ([#17](https://github.com/JiLiZART/bbob/issues/17)) ([c4f78c1](https://github.com/JiLiZART/bbob/commit/c4f78c1))
|
||||
|
||||
|
||||
|
||||
- **parse:** allow tags to be escaped with backslash ([#17](https://github.com/JiLiZART/bbob/issues/17)) ([c4f78c1](https://github.com/JiLiZART/bbob/commit/c4f78c1))
|
||||
|
||||
<a name="2.4.0"></a>
|
||||
|
||||
# [2.4.0](https://github.com/JiLiZART/bbob/compare/v2.3.4...v2.4.0) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/parser
|
||||
|
||||
<a name="2.3.4"></a>
|
||||
|
||||
## [2.3.4](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.4) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/parser
|
||||
|
||||
<a name="2.3.3"></a>
|
||||
|
||||
## [2.3.3](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.3) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/parser
|
||||
|
||||
<a name="2.3.2"></a>
|
||||
|
||||
## [2.3.2](https://github.com/JiLiZART/bbob/compare/v2.3.1...v2.3.2) (2019-03-09)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/parser
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** better line and column counting support in tokens ([1c3bebe](https://github.com/JiLiZART/bbob/commit/1c3bebe))
|
||||
|
||||
|
||||
|
||||
- **parser:** better line and column counting support in tokens ([1c3bebe](https://github.com/JiLiZART/bbob/commit/1c3bebe))
|
||||
|
||||
<a name="2.1.0"></a>
|
||||
|
||||
# [2.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/parser@2.0.0...@bbob/parser@2.1.0) (2018-09-23)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** better handlinf of unclosed tags like '[My unclosed and [closed] tag' ([b49b743](https://github.com/JiLiZART/bbob/commit/b49b743))
|
||||
|
||||
|
||||
|
||||
- **parser:** better handlinf of unclosed tags like '[My unclosed and [closed] tag' ([b49b743](https://github.com/JiLiZART/bbob/commit/b49b743))
|
||||
|
||||
<a name="1.2.0"></a>
|
||||
|
||||
# [1.2.0](https://github.com/JiLiZART/bbob/compare/@bbob/parser@1.1.0...@bbob/parser@1.2.0) (2018-08-09)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parser:** remove bad code ([4d9dc34](https://github.com/JiLiZART/bbob/commit/4d9dc34))
|
||||
|
||||
- **parser:** remove bad code ([4d9dc34](https://github.com/JiLiZART/bbob/commit/4d9dc34))
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** add support for custom tokenizer ([ce03b2f](https://github.com/JiLiZART/bbob/commit/ce03b2f))
|
||||
* **parser:** inconsistent tag detection test ([2eb83c1](https://github.com/JiLiZART/bbob/commit/2eb83c1))
|
||||
|
||||
|
||||
|
||||
- **parser:** add support for custom tokenizer ([ce03b2f](https://github.com/JiLiZART/bbob/commit/ce03b2f))
|
||||
- **parser:** inconsistent tag detection test ([2eb83c1](https://github.com/JiLiZART/bbob/commit/2eb83c1))
|
||||
|
||||
<a name="1.1.0"></a>
|
||||
# [1.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/parser@1.0.10...@bbob/parser@1.1.0) (2018-07-13)
|
||||
|
||||
# [1.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/parser@1.0.10...@bbob/parser@1.1.0) (2018-07-13)
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** optimize size ([4c8dbed](https://github.com/JiLiZART/bbob/commit/4c8dbed))
|
||||
|
||||
|
||||
|
||||
- **parser:** optimize size ([4c8dbed](https://github.com/JiLiZART/bbob/commit/4c8dbed))
|
||||
|
||||
<a name="1.0.10"></a>
|
||||
|
||||
## [1.0.10](https://github.com/JiLiZART/bbob/compare/@bbob/parser@1.0.9...@bbob/parser@1.0.10) (2018-07-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parser:** tokenizer error with quotemark strings ([7f40050](https://github.com/JiLiZART/bbob/commit/7f40050))
|
||||
|
||||
|
||||
|
||||
- **parser:** tokenizer error with quotemark strings ([7f40050](https://github.com/JiLiZART/bbob/commit/7f40050))
|
||||
|
||||
<a name="1.0.9"></a>
|
||||
## [1.0.9](https://github.com/JiLiZART/bbob/compare/@bbob/parser@1.0.8...@bbob/parser@1.0.9) (2018-07-10)
|
||||
|
||||
## [1.0.9](https://github.com/JiLiZART/bbob/compare/@bbob/parser@1.0.8...@bbob/parser@1.0.9) (2018-07-10)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parser:** only allowed tags error ([d3e8e4a](https://github.com/JiLiZART/bbob/commit/d3e8e4a))
|
||||
|
||||
|
||||
|
||||
- **parser:** only allowed tags error ([d3e8e4a](https://github.com/JiLiZART/bbob/commit/d3e8e4a))
|
||||
|
||||
<a name="1.0.8"></a>
|
||||
|
||||
## [1.0.8](https://github.com/JiLiZART/bbob/compare/@bbob/parser@1.0.7...@bbob/parser@1.0.8) (2018-07-10)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/parser
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bbob/parser",
|
||||
"version": "2.9.0",
|
||||
"version": "3.0.0",
|
||||
"description": "A BBCode to AST Parser part of @bbob",
|
||||
"keywords": [
|
||||
"bbcode",
|
||||
@@ -13,7 +13,7 @@
|
||||
"parse"
|
||||
],
|
||||
"dependencies": {
|
||||
"@bbob/plugin-helper": "^2.9.0"
|
||||
"@bbob/plugin-helper": "^3.0.0"
|
||||
},
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
||||
@@ -1,292 +1,245 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- [#182](https://github.com/JiLiZART/BBob/pull/182) [`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d) Thanks [@JiLiZART](https://github.com/JiLiZART)! - # Vue3 support
|
||||
|
||||
Now you can use `@bbob` parser in `vue3`
|
||||
|
||||
Example usage
|
||||
|
||||
```shell
|
||||
npm i @bbob/vue3 @bbob/preset-vue
|
||||
```
|
||||
|
||||
```js
|
||||
import { defineComponent } from "vue";
|
||||
import VueBbob from "@bbob/vue3";
|
||||
|
||||
Vue.use(VueBbob);
|
||||
```
|
||||
|
||||
```html
|
||||
<template>
|
||||
<div class="vue3">
|
||||
<h2>Generated vue3 here</h2>
|
||||
<bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { defineComponent } from "vue";
|
||||
import preset from "@bbob/preset-vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
|
||||
plugins: [preset()],
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [2.9.0](https://github.com/JiLiZART/bbob/compare/v2.8.3...v2.9.0) (2023-01-29)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** context free tag mode ([#165](https://github.com/JiLiZART/bbob/issues/165)) ([19e8dd6](https://github.com/JiLiZART/bbob/commit/19e8dd659e8c36779c73def8d914edfc219fbf72))
|
||||
|
||||
|
||||
|
||||
|
||||
- **parser:** context free tag mode ([#165](https://github.com/JiLiZART/bbob/issues/165)) ([19e8dd6](https://github.com/JiLiZART/bbob/commit/19e8dd659e8c36779c73def8d914edfc219fbf72))
|
||||
|
||||
## [2.8.3](https://github.com/JiLiZART/bbob/compare/v2.8.2...v2.8.3) (2022-12-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* bbob plugin helper imports ([5f76548](https://github.com/JiLiZART/bbob/commit/5f76548b78b29f0905f74804e4a1d0634f085c1b))
|
||||
* bundle size limits ([edfdfed](https://github.com/JiLiZART/bbob/commit/edfdfedd06214ec9769f892407153d5b023e35aa))
|
||||
* code ql ([d6cbafe](https://github.com/JiLiZART/bbob/commit/d6cbafe8ba24e1e837333e644073a0e76c3eed07))
|
||||
* plugin helper build priority and circular deps ([cac47c6](https://github.com/JiLiZART/bbob/commit/cac47c6fc7e30c419691f7e8bc33f118211fc044))
|
||||
* remove exports directive ([a6efc40](https://github.com/JiLiZART/bbob/commit/a6efc4023b5cb09b56436a0dbe698423b2feecf1))
|
||||
* remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
|
||||
|
||||
|
||||
- bbob plugin helper imports ([5f76548](https://github.com/JiLiZART/bbob/commit/5f76548b78b29f0905f74804e4a1d0634f085c1b))
|
||||
- bundle size limits ([edfdfed](https://github.com/JiLiZART/bbob/commit/edfdfedd06214ec9769f892407153d5b023e35aa))
|
||||
- code ql ([d6cbafe](https://github.com/JiLiZART/bbob/commit/d6cbafe8ba24e1e837333e644073a0e76c3eed07))
|
||||
- plugin helper build priority and circular deps ([cac47c6](https://github.com/JiLiZART/bbob/commit/cac47c6fc7e30c419691f7e8bc33f118211fc044))
|
||||
- remove exports directive ([a6efc40](https://github.com/JiLiZART/bbob/commit/a6efc4023b5cb09b56436a0dbe698423b2feecf1))
|
||||
- remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
## [2.8.2](https://github.com/JiLiZART/bbob/compare/v2.8.1...v2.8.2) (2022-11-28)
|
||||
|
||||
**Note:** Version bump only for package @bbob/plugin-helper
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.1](https://github.com/JiLiZART/bbob/compare/v2.8.0...v2.8.1) (2022-05-24)
|
||||
|
||||
**Note:** Version bump only for package @bbob/plugin-helper
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.8.0](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.8.0) (2021-11-28)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
- update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* now we use swc.rs as main bundler and transpiler instead of babel
|
||||
- now we use swc.rs as main bundler and transpiler instead of babel
|
||||
|
||||
- jest now uses swc
|
||||
- rollup now uses swc
|
||||
|
||||
* feat: benchmark now separate package with `npm start` and colored output
|
||||
- feat: benchmark now separate package with `npm start` and colored output
|
||||
|
||||
- benchmark as separate package with error throw if package drops performance
|
||||
|
||||
* feat: all lerna packages now using scripts/pkg-task
|
||||
- feat: all lerna packages now using scripts/pkg-task
|
||||
|
||||
- feat(github): publish to npm and github registry
|
||||
|
||||
* feat(github): publish to npm and github registry
|
||||
- when release was created this action automaticly publish packages to npm and github
|
||||
|
||||
* feat(github): move all from Travis CI to Github Actions
|
||||
- feat(github): move all from Travis CI to Github Actions
|
||||
|
||||
- code analysis and tests now using github actions
|
||||
|
||||
* test: increase tests coverage
|
||||
- test: increase tests coverage
|
||||
- add more tests for @bbob/react, @bbob/vue2 and @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.7.1](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.7.1) (2021-11-04)
|
||||
|
||||
**Note:** Version bump only for package @bbob/plugin-helper
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.7.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.7.0) (2021-05-19)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parser:** dont process nested tags as string if parent is not allowed ([#84](https://github.com/JiLiZART/bbob/issues/84)) ([70ff2e6](https://github.com/JiLiZART/bbob/commit/70ff2e6660bb507f6ed57cb91e850b3879bdb7eb))
|
||||
|
||||
- **parser:** dont process nested tags as string if parent is not allowed ([#84](https://github.com/JiLiZART/bbob/issues/84)) ([70ff2e6](https://github.com/JiLiZART/bbob/commit/70ff2e6660bb507f6ed57cb91e850b3879bdb7eb))
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
|
||||
|
||||
|
||||
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
## [2.6.2](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.2) (2020-12-16)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parser:** dont process nested tags as string if parent is not allowed ([#84](https://github.com/JiLiZART/bbob/issues/84)) ([70ff2e6](https://github.com/JiLiZART/bbob/commit/70ff2e6660bb507f6ed57cb91e850b3879bdb7eb))
|
||||
|
||||
- **parser:** dont process nested tags as string if parent is not allowed ([#84](https://github.com/JiLiZART/bbob/issues/84)) ([70ff2e6](https://github.com/JiLiZART/bbob/commit/70ff2e6660bb507f6ed57cb91e850b3879bdb7eb))
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
|
||||
|
||||
|
||||
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
## [2.6.1](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.1) (2020-12-15)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
|
||||
|
||||
|
||||
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
# [2.6.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.0) (2020-12-10)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
|
||||
|
||||
|
||||
- **parser:** rewrite lexer to make it faster ([#50](https://github.com/JiLiZART/bbob/issues/50)) ([772d422](https://github.com/JiLiZART/bbob/commit/772d422d770b0f7716a86ac82c10eb3baaf77828))
|
||||
|
||||
## [2.5.8](https://github.com/JiLiZART/bbob/compare/v2.5.7...v2.5.8) (2020-07-08)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **plugin-helper:** escape case insensitive javascript: attrs ([5ceb2f0](https://github.com/JiLiZART/bbob/commit/5ceb2f0fa4bb5c7b48ec18010fabc406a4d0b8c5))
|
||||
|
||||
|
||||
|
||||
|
||||
- **plugin-helper:** escape case insensitive javascript: attrs ([5ceb2f0](https://github.com/JiLiZART/bbob/commit/5ceb2f0fa4bb5c7b48ec18010fabc406a4d0b8c5))
|
||||
|
||||
## [2.5.7](https://github.com/JiLiZART/bbob/compare/v2.5.6...v2.5.7) (2020-07-05)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **html:** escape bad html ([#67](https://github.com/JiLiZART/bbob/issues/67)) ([87f38fe](https://github.com/JiLiZART/bbob/commit/87f38fe97ef7881be982b3d47c727cd280f1b057))
|
||||
|
||||
|
||||
|
||||
|
||||
- **html:** escape bad html ([#67](https://github.com/JiLiZART/bbob/issues/67)) ([87f38fe](https://github.com/JiLiZART/bbob/commit/87f38fe97ef7881be982b3d47c727cd280f1b057))
|
||||
|
||||
## [2.5.6](https://github.com/JiLiZART/bbob/compare/v2.5.5...v2.5.6) (2020-04-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **parser:** don't eat not allowed tags with params ([#58](https://github.com/JiLiZART/bbob/issues/58)) fixes [#54](https://github.com/JiLiZART/bbob/issues/54) ([a16b9f7](https://github.com/JiLiZART/bbob/commit/a16b9f73b0737a46e852f9c55a17a612f17a9587))
|
||||
|
||||
- **parser:** don't eat not allowed tags with params ([#58](https://github.com/JiLiZART/bbob/issues/58)) fixes [#54](https://github.com/JiLiZART/bbob/issues/54) ([a16b9f7](https://github.com/JiLiZART/bbob/commit/a16b9f73b0737a46e852f9c55a17a612f17a9587))
|
||||
|
||||
### Features
|
||||
|
||||
* **plugin-helper:** move `getUniqAttr` from preset to plugin helper ([#63](https://github.com/JiLiZART/bbob/issues/63)) ([f28f19e](https://github.com/JiLiZART/bbob/commit/f28f19e64ce5124db92c446bcc69e78761101744))
|
||||
|
||||
|
||||
|
||||
|
||||
- **plugin-helper:** move `getUniqAttr` from preset to plugin helper ([#63](https://github.com/JiLiZART/bbob/issues/63)) ([f28f19e](https://github.com/JiLiZART/bbob/commit/f28f19e64ce5124db92c446bcc69e78761101744))
|
||||
|
||||
## [2.5.5](https://github.com/JiLiZART/bbob/compare/v2.5.4...v2.5.5) (2020-03-25)
|
||||
|
||||
**Note:** Version bump only for package @bbob/plugin-helper
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="2.5.4"></a>
|
||||
|
||||
## [2.5.4](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.4) (2019-09-25)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **plugin-helper:** avoid some malformed attributes in attrsToString ([#26](https://github.com/JiLiZART/bbob/issues/26)) ([09ff9af](https://github.com/JiLiZART/bbob/commit/09ff9af))
|
||||
|
||||
- **plugin-helper:** avoid some malformed attributes in attrsToString ([#26](https://github.com/JiLiZART/bbob/issues/26)) ([09ff9af](https://github.com/JiLiZART/bbob/commit/09ff9af))
|
||||
|
||||
### Features
|
||||
|
||||
* **plugin-helper:** lowercase resulting tag names ([#42](https://github.com/JiLiZART/bbob/issues/42)) ([597c2a9](https://github.com/JiLiZART/bbob/commit/597c2a9))
|
||||
|
||||
|
||||
|
||||
- **plugin-helper:** lowercase resulting tag names ([#42](https://github.com/JiLiZART/bbob/issues/42)) ([597c2a9](https://github.com/JiLiZART/bbob/commit/597c2a9))
|
||||
|
||||
<a name="2.5.3"></a>
|
||||
|
||||
## [2.5.3](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.3) (2019-08-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **plugin-helper:** avoid some malformed attributes in attrsToString ([#26](https://github.com/JiLiZART/bbob/issues/26)) ([09ff9af](https://github.com/JiLiZART/bbob/commit/09ff9af))
|
||||
|
||||
- **plugin-helper:** avoid some malformed attributes in attrsToString ([#26](https://github.com/JiLiZART/bbob/issues/26)) ([09ff9af](https://github.com/JiLiZART/bbob/commit/09ff9af))
|
||||
|
||||
### Features
|
||||
|
||||
* **plugin-helper:** lowercase resulting tag names ([#42](https://github.com/JiLiZART/bbob/issues/42)) ([597c2a9](https://github.com/JiLiZART/bbob/commit/597c2a9))
|
||||
|
||||
|
||||
|
||||
- **plugin-helper:** lowercase resulting tag names ([#42](https://github.com/JiLiZART/bbob/issues/42)) ([597c2a9](https://github.com/JiLiZART/bbob/commit/597c2a9))
|
||||
|
||||
<a name="2.5.2"></a>
|
||||
## [2.5.2](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.2) (2019-06-30)
|
||||
|
||||
## [2.5.2](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.2) (2019-06-30)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **plugin-helper:** avoid some malformed attributes in attrsToString ([#26](https://github.com/JiLiZART/bbob/issues/26)) ([09ff9af](https://github.com/JiLiZART/bbob/commit/09ff9af))
|
||||
|
||||
|
||||
|
||||
- **plugin-helper:** avoid some malformed attributes in attrsToString ([#26](https://github.com/JiLiZART/bbob/issues/26)) ([09ff9af](https://github.com/JiLiZART/bbob/commit/09ff9af))
|
||||
|
||||
<a name="2.4.0"></a>
|
||||
# [2.4.0](https://github.com/JiLiZART/bbob/compare/v2.3.4...v2.4.0) (2019-03-29)
|
||||
|
||||
# [2.4.0](https://github.com/JiLiZART/bbob/compare/v2.3.4...v2.4.0) (2019-03-29)
|
||||
|
||||
### Features
|
||||
|
||||
* **html:** [@bbob](https://github.com/bbob)/html now can be used without [@bbob](https://github.com/bbob)/core ([c9e1dab](https://github.com/JiLiZART/bbob/commit/c9e1dab))
|
||||
|
||||
|
||||
|
||||
- **html:** [@bbob](https://github.com/bbob)/html now can be used without [@bbob](https://github.com/bbob)/core ([c9e1dab](https://github.com/JiLiZART/bbob/commit/c9e1dab))
|
||||
|
||||
<a name="2.3.4"></a>
|
||||
|
||||
## [2.3.4](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.4) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/plugin-helper
|
||||
|
||||
<a name="2.3.3"></a>
|
||||
|
||||
## [2.3.3](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.3) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/plugin-helper
|
||||
|
||||
<a name="2.3.2"></a>
|
||||
|
||||
## [2.3.2](https://github.com/JiLiZART/bbob/compare/v2.3.1...v2.3.2) (2019-03-09)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/plugin-helper
|
||||
|
||||
<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)
|
||||
|
||||
## [2.0.1](https://github.com/JiLiZART/bbob/compare/@bbob/plugin-helper@2.0.0...@bbob/plugin-helper@2.0.1) (2018-09-23)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **plugin-helper:** better handle content of TagNode ([505152b](https://github.com/JiLiZART/bbob/commit/505152b))
|
||||
|
||||
|
||||
|
||||
- **plugin-helper:** better handle content of TagNode ([505152b](https://github.com/JiLiZART/bbob/commit/505152b))
|
||||
|
||||
<a name="1.1.0"></a>
|
||||
# 1.1.0 (2018-08-09)
|
||||
|
||||
# 1.1.0 (2018-08-09)
|
||||
|
||||
### Features
|
||||
|
||||
* react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
- react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bbob/plugin-helper",
|
||||
"version": "2.9.0",
|
||||
"version": "3.0.0",
|
||||
"description": "Set of utils to help write plugins for @bbob/core",
|
||||
"keywords": [
|
||||
"bbob",
|
||||
|
||||
@@ -1,5 +1,55 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- [#182](https://github.com/JiLiZART/BBob/pull/182) [`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d) Thanks [@JiLiZART](https://github.com/JiLiZART)! - # Vue3 support
|
||||
|
||||
Now you can use `@bbob` parser in `vue3`
|
||||
|
||||
Example usage
|
||||
|
||||
```shell
|
||||
npm i @bbob/vue3 @bbob/preset-vue
|
||||
```
|
||||
|
||||
```js
|
||||
import { defineComponent } from "vue";
|
||||
import VueBbob from "@bbob/vue3";
|
||||
|
||||
Vue.use(VueBbob);
|
||||
```
|
||||
|
||||
```html
|
||||
<template>
|
||||
<div class="vue3">
|
||||
<h2>Generated vue3 here</h2>
|
||||
<bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { defineComponent } from "vue";
|
||||
import preset from "@bbob/preset-vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
|
||||
plugins: [preset()],
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d)]:
|
||||
- @bbob/plugin-helper@3.0.0
|
||||
- @bbob/preset@3.0.0
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
@@ -7,326 +57,222 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.3](https://github.com/JiLiZART/bbob/compare/v2.8.2...v2.8.3) (2022-12-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* bbob plugin helper imports ([5f76548](https://github.com/JiLiZART/bbob/commit/5f76548b78b29f0905f74804e4a1d0634f085c1b))
|
||||
* remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
|
||||
|
||||
|
||||
- bbob plugin helper imports ([5f76548](https://github.com/JiLiZART/bbob/commit/5f76548b78b29f0905f74804e4a1d0634f085c1b))
|
||||
- remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
## [2.8.2](https://github.com/JiLiZART/bbob/compare/v2.8.1...v2.8.2) (2022-11-28)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.1](https://github.com/JiLiZART/bbob/compare/v2.8.0...v2.8.1) (2022-05-24)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.8.0](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.8.0) (2021-11-28)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
- update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* now we use swc.rs as main bundler and transpiler instead of babel
|
||||
- now we use swc.rs as main bundler and transpiler instead of babel
|
||||
|
||||
- jest now uses swc
|
||||
- rollup now uses swc
|
||||
|
||||
* feat: benchmark now separate package with `npm start` and colored output
|
||||
- feat: benchmark now separate package with `npm start` and colored output
|
||||
|
||||
- benchmark as separate package with error throw if package drops performance
|
||||
|
||||
* feat: all lerna packages now using scripts/pkg-task
|
||||
- feat: all lerna packages now using scripts/pkg-task
|
||||
|
||||
- feat(github): publish to npm and github registry
|
||||
|
||||
* feat(github): publish to npm and github registry
|
||||
- when release was created this action automaticly publish packages to npm and github
|
||||
|
||||
* feat(github): move all from Travis CI to Github Actions
|
||||
- feat(github): move all from Travis CI to Github Actions
|
||||
|
||||
- code analysis and tests now using github actions
|
||||
|
||||
* test: increase tests coverage
|
||||
- test: increase tests coverage
|
||||
- add more tests for @bbob/react, @bbob/vue2 and @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.7.1](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.7.1) (2021-11-04)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.7.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.7.0) (2021-05-19)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.6.2](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.2) (2020-12-16)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.6.1](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.1) (2020-12-15)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.6.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.0) (2020-12-10)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.8](https://github.com/JiLiZART/bbob/compare/v2.5.7...v2.5.8) (2020-07-08)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.7](https://github.com/JiLiZART/bbob/compare/v2.5.6...v2.5.7) (2020-07-05)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **html:** escape bad html ([#67](https://github.com/JiLiZART/bbob/issues/67)) ([87f38fe](https://github.com/JiLiZART/bbob/commit/87f38fe97ef7881be982b3d47c727cd280f1b057))
|
||||
|
||||
|
||||
|
||||
|
||||
- **html:** escape bad html ([#67](https://github.com/JiLiZART/bbob/issues/67)) ([87f38fe](https://github.com/JiLiZART/bbob/commit/87f38fe97ef7881be982b3d47c727cd280f1b057))
|
||||
|
||||
## [2.5.6](https://github.com/JiLiZART/bbob/compare/v2.5.5...v2.5.6) (2020-04-12)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **plugin-helper:** move `getUniqAttr` from preset to plugin helper ([#63](https://github.com/JiLiZART/bbob/issues/63)) ([f28f19e](https://github.com/JiLiZART/bbob/commit/f28f19e64ce5124db92c446bcc69e78761101744))
|
||||
|
||||
|
||||
|
||||
|
||||
- **plugin-helper:** move `getUniqAttr` from preset to plugin helper ([#63](https://github.com/JiLiZART/bbob/issues/63)) ([f28f19e](https://github.com/JiLiZART/bbob/commit/f28f19e64ce5124db92c446bcc69e78761101744))
|
||||
|
||||
## [2.5.5](https://github.com/JiLiZART/bbob/compare/v2.5.4...v2.5.5) (2020-03-25)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="2.5.4"></a>
|
||||
|
||||
## [2.5.4](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.4) (2019-09-25)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **preset-html5:** list type attribute support ([#18](https://github.com/JiLiZART/bbob/issues/18)) ([847c55e](https://github.com/JiLiZART/bbob/commit/847c55e))
|
||||
|
||||
|
||||
|
||||
- **preset-html5:** list type attribute support ([#18](https://github.com/JiLiZART/bbob/issues/18)) ([847c55e](https://github.com/JiLiZART/bbob/commit/847c55e))
|
||||
|
||||
<a name="2.5.3"></a>
|
||||
|
||||
## [2.5.3](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.3) (2019-08-11)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **preset-html5:** list type attribute support ([#18](https://github.com/JiLiZART/bbob/issues/18)) ([847c55e](https://github.com/JiLiZART/bbob/commit/847c55e))
|
||||
|
||||
|
||||
|
||||
- **preset-html5:** list type attribute support ([#18](https://github.com/JiLiZART/bbob/issues/18)) ([847c55e](https://github.com/JiLiZART/bbob/commit/847c55e))
|
||||
|
||||
<a name="2.5.2"></a>
|
||||
|
||||
## [2.5.2](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.2) (2019-06-30)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **preset-html5:** list type attribute support ([#18](https://github.com/JiLiZART/bbob/issues/18)) ([847c55e](https://github.com/JiLiZART/bbob/commit/847c55e))
|
||||
|
||||
|
||||
|
||||
- **preset-html5:** list type attribute support ([#18](https://github.com/JiLiZART/bbob/issues/18)) ([847c55e](https://github.com/JiLiZART/bbob/commit/847c55e))
|
||||
|
||||
<a name="2.5.1"></a>
|
||||
|
||||
## [2.5.1](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.1) (2019-06-18)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **preset-html5:** list type attribute support ([#18](https://github.com/JiLiZART/bbob/issues/18)) ([847c55e](https://github.com/JiLiZART/bbob/commit/847c55e))
|
||||
|
||||
|
||||
|
||||
- **preset-html5:** list type attribute support ([#18](https://github.com/JiLiZART/bbob/issues/18)) ([847c55e](https://github.com/JiLiZART/bbob/commit/847c55e))
|
||||
|
||||
<a name="2.5.0"></a>
|
||||
# [2.5.0](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.0) (2019-06-17)
|
||||
|
||||
# [2.5.0](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.0) (2019-06-17)
|
||||
|
||||
### Features
|
||||
|
||||
* **preset-html5:** list type attribute support ([#18](https://github.com/JiLiZART/bbob/issues/18)) ([847c55e](https://github.com/JiLiZART/bbob/commit/847c55e))
|
||||
|
||||
|
||||
|
||||
- **preset-html5:** list type attribute support ([#18](https://github.com/JiLiZART/bbob/issues/18)) ([847c55e](https://github.com/JiLiZART/bbob/commit/847c55e))
|
||||
|
||||
<a name="2.4.0"></a>
|
||||
|
||||
# [2.4.0](https://github.com/JiLiZART/bbob/compare/v2.3.4...v2.4.0) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
<a name="2.3.4"></a>
|
||||
|
||||
## [2.3.4](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.4) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
<a name="2.3.3"></a>
|
||||
|
||||
## [2.3.3](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.3) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
<a name="2.3.2"></a>
|
||||
|
||||
## [2.3.2](https://github.com/JiLiZART/bbob/compare/v2.3.1...v2.3.2) (2019-03-09)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
<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)
|
||||
|
||||
# 2.2.0 (2018-10-11)
|
||||
|
||||
### Features
|
||||
|
||||
* react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
* **parser:** custom open and close tags support, html tags tests ([#3](https://github.com/JiLiZART/bbob/issues/3)) ([790825a](https://github.com/JiLiZART/bbob/commit/790825a))
|
||||
* **preset-html5:** add basic preset with tests ([18ab61b](https://github.com/JiLiZART/bbob/commit/18ab61b))
|
||||
* base preset package '[@bbob](https://github.com/bbob)/preset' ([b63864c](https://github.com/JiLiZART/bbob/commit/b63864c))
|
||||
* new [@bbob](https://github.com/bbob)/html api ([#4](https://github.com/JiLiZART/bbob/issues/4)) ([575c1bb](https://github.com/JiLiZART/bbob/commit/575c1bb))
|
||||
|
||||
|
||||
|
||||
- react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
- **parser:** custom open and close tags support, html tags tests ([#3](https://github.com/JiLiZART/bbob/issues/3)) ([790825a](https://github.com/JiLiZART/bbob/commit/790825a))
|
||||
- **preset-html5:** add basic preset with tests ([18ab61b](https://github.com/JiLiZART/bbob/commit/18ab61b))
|
||||
- base preset package '[@bbob](https://github.com/bbob)/preset' ([b63864c](https://github.com/JiLiZART/bbob/commit/b63864c))
|
||||
- new [@bbob](https://github.com/bbob)/html api ([#4](https://github.com/JiLiZART/bbob/issues/4)) ([575c1bb](https://github.com/JiLiZART/bbob/commit/575c1bb))
|
||||
|
||||
<a name="2.1.2"></a>
|
||||
|
||||
## <small>2.1.2 (2018-10-07)</small>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
<a name="2.1.1"></a>
|
||||
|
||||
## [2.1.1](https://github.com/JiLiZART/bbob/compare/@bbob/preset-html5@2.1.0...@bbob/preset-html5@2.1.1) (2018-10-07)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
<a name="2.1.0"></a>
|
||||
|
||||
# [2.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/preset-html5@2.0.0...@bbob/preset-html5@2.1.0) (2018-09-23)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* base preset package '[@bbob](https://github.com/bbob)/preset' ([b63864c](https://github.com/JiLiZART/bbob/commit/b63864c))
|
||||
|
||||
|
||||
|
||||
- base preset package '[@bbob](https://github.com/bbob)/preset' ([b63864c](https://github.com/JiLiZART/bbob/commit/b63864c))
|
||||
|
||||
<a name="1.1.0"></a>
|
||||
# [1.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/preset-html5@1.0.6...@bbob/preset-html5@1.1.0) (2018-08-09)
|
||||
|
||||
# [1.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/preset-html5@1.0.6...@bbob/preset-html5@1.1.0) (2018-08-09)
|
||||
|
||||
### Features
|
||||
|
||||
* react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
* **preset-html5:** add basic preset with tests ([18ab61b](https://github.com/JiLiZART/bbob/commit/18ab61b))
|
||||
|
||||
|
||||
|
||||
- react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
- **preset-html5:** add basic preset with tests ([18ab61b](https://github.com/JiLiZART/bbob/commit/18ab61b))
|
||||
|
||||
<a name="1.0.6"></a>
|
||||
|
||||
## [1.0.6](https://github.com/JiLiZART/bbob/compare/@bbob/preset-html5@1.0.5...@bbob/preset-html5@1.0.6) (2018-07-13)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
<a name="1.0.5"></a>
|
||||
|
||||
## [1.0.5](https://github.com/JiLiZART/bbob/compare/@bbob/preset-html5@1.0.4...@bbob/preset-html5@1.0.5) (2018-07-11)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
<a name="1.0.4"></a>
|
||||
|
||||
## [1.0.4](https://github.com/JiLiZART/bbob/compare/@bbob/preset-html5@1.0.3...@bbob/preset-html5@1.0.4) (2018-07-10)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
<a name="1.0.3"></a>
|
||||
|
||||
## [1.0.3](https://github.com/JiLiZART/bbob/compare/@bbob/preset-html5@1.0.2...@bbob/preset-html5@1.0.3) (2018-07-10)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bbob/preset-html5",
|
||||
"version": "2.9.0",
|
||||
"version": "3.0.0",
|
||||
"description": "HTML5 preset to transform BBCode to HTML for @bbob/parser",
|
||||
"keywords": [
|
||||
"preset",
|
||||
@@ -8,11 +8,11 @@
|
||||
"bbob"
|
||||
],
|
||||
"dependencies": {
|
||||
"@bbob/plugin-helper": "^2.9.0",
|
||||
"@bbob/preset": "^2.9.0"
|
||||
"@bbob/plugin-helper": "^3.0.0",
|
||||
"@bbob/preset": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@bbob/html": "^2.9.0"
|
||||
"@bbob/html": "^3.0.0"
|
||||
},
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
||||
@@ -1,5 +1,54 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- [#182](https://github.com/JiLiZART/BBob/pull/182) [`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d) Thanks [@JiLiZART](https://github.com/JiLiZART)! - # Vue3 support
|
||||
|
||||
Now you can use `@bbob` parser in `vue3`
|
||||
|
||||
Example usage
|
||||
|
||||
```shell
|
||||
npm i @bbob/vue3 @bbob/preset-vue
|
||||
```
|
||||
|
||||
```js
|
||||
import { defineComponent } from "vue";
|
||||
import VueBbob from "@bbob/vue3";
|
||||
|
||||
Vue.use(VueBbob);
|
||||
```
|
||||
|
||||
```html
|
||||
<template>
|
||||
<div class="vue3">
|
||||
<h2>Generated vue3 here</h2>
|
||||
<bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { defineComponent } from "vue";
|
||||
import preset from "@bbob/preset-vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
|
||||
plugins: [preset()],
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d)]:
|
||||
- @bbob/preset-html5@3.0.0
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
@@ -7,294 +56,199 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.3](https://github.com/JiLiZART/bbob/compare/v2.8.2...v2.8.3) (2022-12-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
|
||||
|
||||
|
||||
- remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
## [2.8.2](https://github.com/JiLiZART/bbob/compare/v2.8.1...v2.8.2) (2022-11-28)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.1](https://github.com/JiLiZART/bbob/compare/v2.8.0...v2.8.1) (2022-05-24)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.8.0](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.8.0) (2021-11-28)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
- update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* now we use swc.rs as main bundler and transpiler instead of babel
|
||||
- now we use swc.rs as main bundler and transpiler instead of babel
|
||||
|
||||
- jest now uses swc
|
||||
- rollup now uses swc
|
||||
|
||||
* feat: benchmark now separate package with `npm start` and colored output
|
||||
- feat: benchmark now separate package with `npm start` and colored output
|
||||
|
||||
- benchmark as separate package with error throw if package drops performance
|
||||
|
||||
* feat: all lerna packages now using scripts/pkg-task
|
||||
- feat: all lerna packages now using scripts/pkg-task
|
||||
|
||||
- feat(github): publish to npm and github registry
|
||||
|
||||
* feat(github): publish to npm and github registry
|
||||
- when release was created this action automaticly publish packages to npm and github
|
||||
|
||||
* feat(github): move all from Travis CI to Github Actions
|
||||
- feat(github): move all from Travis CI to Github Actions
|
||||
|
||||
- code analysis and tests now using github actions
|
||||
|
||||
* test: increase tests coverage
|
||||
- test: increase tests coverage
|
||||
- add more tests for @bbob/react, @bbob/vue2 and @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.7.1](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.7.1) (2021-11-04)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.7.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.7.0) (2021-05-19)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.6.2](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.2) (2020-12-16)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.6.1](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.1) (2020-12-15)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.6.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.0) (2020-12-10)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.8](https://github.com/JiLiZART/bbob/compare/v2.5.7...v2.5.8) (2020-07-08)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.7](https://github.com/JiLiZART/bbob/compare/v2.5.6...v2.5.7) (2020-07-05)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.6](https://github.com/JiLiZART/bbob/compare/v2.5.5...v2.5.6) (2020-04-12)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.5](https://github.com/JiLiZART/bbob/compare/v2.5.4...v2.5.5) (2020-03-25)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="2.5.4"></a>
|
||||
|
||||
## [2.5.4](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.4) (2019-09-25)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
<a name="2.5.3"></a>
|
||||
|
||||
## [2.5.3](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.3) (2019-08-11)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
<a name="2.5.2"></a>
|
||||
|
||||
## [2.5.2](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.2) (2019-06-30)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
<a name="2.5.1"></a>
|
||||
|
||||
## [2.5.1](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.1) (2019-06-18)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
<a name="2.5.0"></a>
|
||||
|
||||
# [2.5.0](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.0) (2019-06-17)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
<a name="2.4.0"></a>
|
||||
|
||||
# [2.4.0](https://github.com/JiLiZART/bbob/compare/v2.3.4...v2.4.0) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
<a name="2.3.4"></a>
|
||||
|
||||
## [2.3.4](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.4) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
<a name="2.3.3"></a>
|
||||
|
||||
## [2.3.3](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.3) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
<a name="2.3.2"></a>
|
||||
|
||||
## [2.3.2](https://github.com/JiLiZART/bbob/compare/v2.3.1...v2.3.2) (2019-03-09)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
<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)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
<a name="2.0.3"></a>
|
||||
|
||||
## <small>2.0.3 (2018-10-07)</small>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
<a name="2.0.2"></a>
|
||||
|
||||
## [2.0.2](https://github.com/JiLiZART/bbob/compare/@bbob/preset-react@2.0.1...@bbob/preset-react@2.0.2) (2018-10-07)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
<a name="2.0.1"></a>
|
||||
|
||||
## [2.0.1](https://github.com/JiLiZART/bbob/compare/@bbob/preset-react@2.0.0...@bbob/preset-react@2.0.1) (2018-09-23)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-react
|
||||
|
||||
<a name="1.1.0"></a>
|
||||
# [1.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/preset-html5@1.0.6...@bbob/preset-html5@1.1.0) (2018-08-09)
|
||||
|
||||
# [1.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/preset-html5@1.0.6...@bbob/preset-html5@1.1.0) (2018-08-09)
|
||||
|
||||
### Features
|
||||
|
||||
* react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
* **preset-html5:** add basic preset with tests ([18ab61b](https://github.com/JiLiZART/bbob/commit/18ab61b))
|
||||
|
||||
|
||||
|
||||
- react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
- **preset-html5:** add basic preset with tests ([18ab61b](https://github.com/JiLiZART/bbob/commit/18ab61b))
|
||||
|
||||
<a name="1.0.6"></a>
|
||||
|
||||
## [1.0.6](https://github.com/JiLiZART/bbob/compare/@bbob/preset-html5@1.0.5...@bbob/preset-html5@1.0.6) (2018-07-13)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
<a name="1.0.5"></a>
|
||||
|
||||
## [1.0.5](https://github.com/JiLiZART/bbob/compare/@bbob/preset-html5@1.0.4...@bbob/preset-html5@1.0.5) (2018-07-11)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
<a name="1.0.4"></a>
|
||||
|
||||
## [1.0.4](https://github.com/JiLiZART/bbob/compare/@bbob/preset-html5@1.0.3...@bbob/preset-html5@1.0.4) (2018-07-10)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
<a name="1.0.3"></a>
|
||||
|
||||
## [1.0.3](https://github.com/JiLiZART/bbob/compare/@bbob/preset-html5@1.0.2...@bbob/preset-html5@1.0.3) (2018-07-10)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-html5
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bbob/preset-react",
|
||||
"version": "2.9.0",
|
||||
"version": "3.0.0",
|
||||
"description": "React preset to transform BBCode to React for @bbob/react",
|
||||
"keywords": [
|
||||
"bbob",
|
||||
@@ -8,10 +8,10 @@
|
||||
"react"
|
||||
],
|
||||
"dependencies": {
|
||||
"@bbob/preset-html5": "^2.9.0"
|
||||
"@bbob/preset-html5": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@bbob/core": "^2.9.0"
|
||||
"@bbob/core": "^3.0.0"
|
||||
},
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
||||
@@ -1,5 +1,54 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- [#182](https://github.com/JiLiZART/BBob/pull/182) [`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d) Thanks [@JiLiZART](https://github.com/JiLiZART)! - # Vue3 support
|
||||
|
||||
Now you can use `@bbob` parser in `vue3`
|
||||
|
||||
Example usage
|
||||
|
||||
```shell
|
||||
npm i @bbob/vue3 @bbob/preset-vue
|
||||
```
|
||||
|
||||
```js
|
||||
import { defineComponent } from "vue";
|
||||
import VueBbob from "@bbob/vue3";
|
||||
|
||||
Vue.use(VueBbob);
|
||||
```
|
||||
|
||||
```html
|
||||
<template>
|
||||
<div class="vue3">
|
||||
<h2>Generated vue3 here</h2>
|
||||
<bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { defineComponent } from "vue";
|
||||
import preset from "@bbob/preset-vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
|
||||
plugins: [preset()],
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d)]:
|
||||
- @bbob/preset-html5@3.0.0
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
@@ -7,80 +56,56 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-vue
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.3](https://github.com/JiLiZART/bbob/compare/v2.8.2...v2.8.3) (2022-12-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
|
||||
|
||||
|
||||
- remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
## [2.8.2](https://github.com/JiLiZART/bbob/compare/v2.8.1...v2.8.2) (2022-11-28)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-vue
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.1](https://github.com/JiLiZART/bbob/compare/v2.8.0...v2.8.1) (2022-05-24)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-vue
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.8.0](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.8.0) (2021-11-28)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
- update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* now we use swc.rs as main bundler and transpiler instead of babel
|
||||
- now we use swc.rs as main bundler and transpiler instead of babel
|
||||
|
||||
- jest now uses swc
|
||||
- rollup now uses swc
|
||||
|
||||
* feat: benchmark now separate package with `npm start` and colored output
|
||||
- feat: benchmark now separate package with `npm start` and colored output
|
||||
|
||||
- benchmark as separate package with error throw if package drops performance
|
||||
|
||||
* feat: all lerna packages now using scripts/pkg-task
|
||||
- feat: all lerna packages now using scripts/pkg-task
|
||||
|
||||
- feat(github): publish to npm and github registry
|
||||
|
||||
* feat(github): publish to npm and github registry
|
||||
- when release was created this action automaticly publish packages to npm and github
|
||||
|
||||
* feat(github): move all from Travis CI to Github Actions
|
||||
- feat(github): move all from Travis CI to Github Actions
|
||||
|
||||
- code analysis and tests now using github actions
|
||||
|
||||
* test: increase tests coverage
|
||||
- test: increase tests coverage
|
||||
- add more tests for @bbob/react, @bbob/vue2 and @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.7.1](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.7.1) (2021-11-04)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset-vue
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.7.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.7.0) (2021-05-19)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* support for vue2 ([#88](https://github.com/JiLiZART/bbob/issues/88)) ([cbccbaf](https://github.com/JiLiZART/bbob/commit/cbccbaf896e675ce70273234577544b7861859f6))
|
||||
- support for vue2 ([#88](https://github.com/JiLiZART/bbob/issues/88)) ([cbccbaf](https://github.com/JiLiZART/bbob/commit/cbccbaf896e675ce70273234577544b7861859f6))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bbob/preset-vue",
|
||||
"version": "2.9.0",
|
||||
"version": "3.0.0",
|
||||
"description": "Vue preset to transform BBCode to Vue for @bbob/vue*",
|
||||
"keywords": [
|
||||
"bbob",
|
||||
@@ -8,10 +8,10 @@
|
||||
"vue"
|
||||
],
|
||||
"dependencies": {
|
||||
"@bbob/preset-html5": "^2.9.0"
|
||||
"@bbob/preset-html5": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@bbob/core": "^2.9.0"
|
||||
"@bbob/core": "^3.0.0"
|
||||
},
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
||||
@@ -1,5 +1,49 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- [#182](https://github.com/JiLiZART/BBob/pull/182) [`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d) Thanks [@JiLiZART](https://github.com/JiLiZART)! - # Vue3 support
|
||||
|
||||
Now you can use `@bbob` parser in `vue3`
|
||||
|
||||
Example usage
|
||||
|
||||
```shell
|
||||
npm i @bbob/vue3 @bbob/preset-vue
|
||||
```
|
||||
|
||||
```js
|
||||
import { defineComponent } from "vue";
|
||||
import VueBbob from "@bbob/vue3";
|
||||
|
||||
Vue.use(VueBbob);
|
||||
```
|
||||
|
||||
```html
|
||||
<template>
|
||||
<div class="vue3">
|
||||
<h2>Generated vue3 here</h2>
|
||||
<bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { defineComponent } from "vue";
|
||||
import preset from "@bbob/preset-vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
|
||||
plugins: [preset()],
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
@@ -7,215 +51,142 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.3](https://github.com/JiLiZART/bbob/compare/v2.8.2...v2.8.3) (2022-12-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
|
||||
|
||||
|
||||
- remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
## [2.8.2](https://github.com/JiLiZART/bbob/compare/v2.8.1...v2.8.2) (2022-11-28)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.1](https://github.com/JiLiZART/bbob/compare/v2.8.0...v2.8.1) (2022-05-24)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.8.0](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.8.0) (2021-11-28)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
- update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* now we use swc.rs as main bundler and transpiler instead of babel
|
||||
- now we use swc.rs as main bundler and transpiler instead of babel
|
||||
|
||||
- jest now uses swc
|
||||
- rollup now uses swc
|
||||
|
||||
* feat: benchmark now separate package with `npm start` and colored output
|
||||
- feat: benchmark now separate package with `npm start` and colored output
|
||||
|
||||
- benchmark as separate package with error throw if package drops performance
|
||||
|
||||
* feat: all lerna packages now using scripts/pkg-task
|
||||
- feat: all lerna packages now using scripts/pkg-task
|
||||
|
||||
- feat(github): publish to npm and github registry
|
||||
|
||||
* feat(github): publish to npm and github registry
|
||||
- when release was created this action automaticly publish packages to npm and github
|
||||
|
||||
* feat(github): move all from Travis CI to Github Actions
|
||||
- feat(github): move all from Travis CI to Github Actions
|
||||
|
||||
- code analysis and tests now using github actions
|
||||
|
||||
* test: increase tests coverage
|
||||
- test: increase tests coverage
|
||||
- add more tests for @bbob/react, @bbob/vue2 and @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.7.1](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.7.1) (2021-11-04)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.7.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.7.0) (2021-05-19)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* support for vue2 ([#88](https://github.com/JiLiZART/bbob/issues/88)) ([cbccbaf](https://github.com/JiLiZART/bbob/commit/cbccbaf896e675ce70273234577544b7861859f6))
|
||||
|
||||
|
||||
|
||||
|
||||
- support for vue2 ([#88](https://github.com/JiLiZART/bbob/issues/88)) ([cbccbaf](https://github.com/JiLiZART/bbob/commit/cbccbaf896e675ce70273234577544b7861859f6))
|
||||
|
||||
## [2.6.2](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.2) (2020-12-16)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.6.1](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.1) (2020-12-15)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.6.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.0) (2020-12-10)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.8](https://github.com/JiLiZART/bbob/compare/v2.5.7...v2.5.8) (2020-07-08)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.7](https://github.com/JiLiZART/bbob/compare/v2.5.6...v2.5.7) (2020-07-05)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **html:** escape bad html ([#67](https://github.com/JiLiZART/bbob/issues/67)) ([87f38fe](https://github.com/JiLiZART/bbob/commit/87f38fe97ef7881be982b3d47c727cd280f1b057))
|
||||
|
||||
|
||||
|
||||
|
||||
- **html:** escape bad html ([#67](https://github.com/JiLiZART/bbob/issues/67)) ([87f38fe](https://github.com/JiLiZART/bbob/commit/87f38fe97ef7881be982b3d47c727cd280f1b057))
|
||||
|
||||
## [2.5.6](https://github.com/JiLiZART/bbob/compare/v2.5.5...v2.5.6) (2020-04-12)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.5](https://github.com/JiLiZART/bbob/compare/v2.5.4...v2.5.5) (2020-03-25)
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="2.5.4"></a>
|
||||
|
||||
## [2.5.4](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.4) (2019-09-25)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
<a name="2.5.3"></a>
|
||||
|
||||
## [2.5.3](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.3) (2019-08-11)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
<a name="2.5.2"></a>
|
||||
|
||||
## [2.5.2](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.2) (2019-06-30)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
<a name="2.4.0"></a>
|
||||
|
||||
# [2.4.0](https://github.com/JiLiZART/bbob/compare/v2.3.4...v2.4.0) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
<a name="2.3.4"></a>
|
||||
|
||||
## [2.3.4](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.4) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
<a name="2.3.3"></a>
|
||||
|
||||
## [2.3.3](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.3) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
<a name="2.3.2"></a>
|
||||
|
||||
## [2.3.2](https://github.com/JiLiZART/bbob/compare/v2.3.1...v2.3.2) (2019-03-09)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/preset
|
||||
|
||||
<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.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/preset@2.0.0...@bbob/preset@2.1.0) (2018-09-23)
|
||||
|
||||
### Features
|
||||
|
||||
* base preset package '[@bbob](https://github.com/bbob)/preset' ([b63864c](https://github.com/JiLiZART/bbob/commit/b63864c))
|
||||
- base preset package '[@bbob](https://github.com/bbob)/preset' ([b63864c](https://github.com/JiLiZART/bbob/commit/b63864c))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bbob/preset",
|
||||
"version": "2.9.0",
|
||||
"version": "3.0.0",
|
||||
"description": "Base preset for creating extensible presets for @bbob/core",
|
||||
"keywords": [
|
||||
"preset",
|
||||
|
||||
+107
-177
@@ -1,5 +1,56 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- [#182](https://github.com/JiLiZART/BBob/pull/182) [`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d) Thanks [@JiLiZART](https://github.com/JiLiZART)! - # Vue3 support
|
||||
|
||||
Now you can use `@bbob` parser in `vue3`
|
||||
|
||||
Example usage
|
||||
|
||||
```shell
|
||||
npm i @bbob/vue3 @bbob/preset-vue
|
||||
```
|
||||
|
||||
```js
|
||||
import { defineComponent } from "vue";
|
||||
import VueBbob from "@bbob/vue3";
|
||||
|
||||
Vue.use(VueBbob);
|
||||
```
|
||||
|
||||
```html
|
||||
<template>
|
||||
<div class="vue3">
|
||||
<h2>Generated vue3 here</h2>
|
||||
<bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { defineComponent } from "vue";
|
||||
import preset from "@bbob/preset-vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
|
||||
plugins: [preset()],
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d)]:
|
||||
- @bbob/core@3.0.0
|
||||
- @bbob/html@3.0.0
|
||||
- @bbob/plugin-helper@3.0.0
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
@@ -7,379 +58,258 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.3](https://github.com/JiLiZART/bbob/compare/v2.8.2...v2.8.3) (2022-12-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
|
||||
|
||||
|
||||
- remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
|
||||
## [2.8.2](https://github.com/JiLiZART/bbob/compare/v2.8.1...v2.8.2) (2022-11-28)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **react:** add range of peer deps ([#151](https://github.com/JiLiZART/bbob/issues/151)) ([7cd648d](https://github.com/JiLiZART/bbob/commit/7cd648d876bfdd9c4ed97f57a74f18f70b0e73fb))
|
||||
|
||||
|
||||
|
||||
|
||||
- **react:** add range of peer deps ([#151](https://github.com/JiLiZART/bbob/issues/151)) ([7cd648d](https://github.com/JiLiZART/bbob/commit/7cd648d876bfdd9c4ed97f57a74f18f70b0e73fb))
|
||||
|
||||
## [2.8.1](https://github.com/JiLiZART/bbob/compare/v2.8.0...v2.8.1) (2022-05-24)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **react:** update to react 18 and testing-library ([#138](https://github.com/JiLiZART/bbob/issues/138)) ([502362c](https://github.com/JiLiZART/bbob/commit/502362cc8cf63104e6107aa01b7e3b1af6cf464e))
|
||||
|
||||
|
||||
|
||||
|
||||
- **react:** update to react 18 and testing-library ([#138](https://github.com/JiLiZART/bbob/issues/138)) ([502362c](https://github.com/JiLiZART/bbob/commit/502362cc8cf63104e6107aa01b7e3b1af6cf464e))
|
||||
|
||||
# [2.8.0](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.8.0) (2021-11-28)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **react:** adjust PropTypes for React Component `container` ([#107](https://github.com/JiLiZART/bbob/issues/107)) ([93d8027](https://github.com/JiLiZART/bbob/commit/93d802773cbe733ccf4b0124257c6fc6707c873b))
|
||||
|
||||
- **react:** adjust PropTypes for React Component `container` ([#107](https://github.com/JiLiZART/bbob/issues/107)) ([93d8027](https://github.com/JiLiZART/bbob/commit/93d802773cbe733ccf4b0124257c6fc6707c873b))
|
||||
|
||||
### Features
|
||||
|
||||
* update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
- update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* now we use swc.rs as main bundler and transpiler instead of babel
|
||||
- now we use swc.rs as main bundler and transpiler instead of babel
|
||||
|
||||
- jest now uses swc
|
||||
- rollup now uses swc
|
||||
|
||||
* feat: benchmark now separate package with `npm start` and colored output
|
||||
- feat: benchmark now separate package with `npm start` and colored output
|
||||
|
||||
- benchmark as separate package with error throw if package drops performance
|
||||
|
||||
* feat: all lerna packages now using scripts/pkg-task
|
||||
- feat: all lerna packages now using scripts/pkg-task
|
||||
|
||||
- feat(github): publish to npm and github registry
|
||||
|
||||
* feat(github): publish to npm and github registry
|
||||
- when release was created this action automaticly publish packages to npm and github
|
||||
|
||||
* feat(github): move all from Travis CI to Github Actions
|
||||
- feat(github): move all from Travis CI to Github Actions
|
||||
|
||||
- code analysis and tests now using github actions
|
||||
|
||||
* test: increase tests coverage
|
||||
- test: increase tests coverage
|
||||
- add more tests for @bbob/react, @bbob/vue2 and @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.7.1](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.7.1) (2021-11-04)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **react:** adjust PropTypes for React Component `container` ([#107](https://github.com/JiLiZART/bbob/issues/107)) ([93d8027](https://github.com/JiLiZART/bbob/commit/93d802773cbe733ccf4b0124257c6fc6707c873b))
|
||||
|
||||
|
||||
|
||||
|
||||
- **react:** adjust PropTypes for React Component `container` ([#107](https://github.com/JiLiZART/bbob/issues/107)) ([93d8027](https://github.com/JiLiZART/bbob/commit/93d802773cbe733ccf4b0124257c6fc6707c873b))
|
||||
|
||||
# [2.7.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.7.0) (2021-05-19)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **react:** rendering self-closed tags and tags without content ([#74](https://github.com/JiLiZART/bbob/issues/74)) ([5a7211d](https://github.com/JiLiZART/bbob/commit/5a7211db918fd773ffc5b3ec5c82a2a3d1c2821c))
|
||||
|
||||
|
||||
|
||||
|
||||
- **react:** rendering self-closed tags and tags without content ([#74](https://github.com/JiLiZART/bbob/issues/74)) ([5a7211d](https://github.com/JiLiZART/bbob/commit/5a7211db918fd773ffc5b3ec5c82a2a3d1c2821c))
|
||||
|
||||
## [2.6.2](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.2) (2020-12-16)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **react:** rendering self-closed tags and tags without content ([#74](https://github.com/JiLiZART/bbob/issues/74)) ([5a7211d](https://github.com/JiLiZART/bbob/commit/5a7211db918fd773ffc5b3ec5c82a2a3d1c2821c))
|
||||
|
||||
|
||||
|
||||
|
||||
- **react:** rendering self-closed tags and tags without content ([#74](https://github.com/JiLiZART/bbob/issues/74)) ([5a7211d](https://github.com/JiLiZART/bbob/commit/5a7211db918fd773ffc5b3ec5c82a2a3d1c2821c))
|
||||
|
||||
## [2.6.1](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.1) (2020-12-15)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **react:** rendering self-closed tags and tags without content ([#74](https://github.com/JiLiZART/bbob/issues/74)) ([5a7211d](https://github.com/JiLiZART/bbob/commit/5a7211db918fd773ffc5b3ec5c82a2a3d1c2821c))
|
||||
|
||||
|
||||
|
||||
|
||||
- **react:** rendering self-closed tags and tags without content ([#74](https://github.com/JiLiZART/bbob/issues/74)) ([5a7211d](https://github.com/JiLiZART/bbob/commit/5a7211db918fd773ffc5b3ec5c82a2a3d1c2821c))
|
||||
|
||||
# [2.6.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.6.0) (2020-12-10)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **react:** rendering self-closed tags and tags without content ([#74](https://github.com/JiLiZART/bbob/issues/74)) ([5a7211d](https://github.com/JiLiZART/bbob/commit/5a7211db918fd773ffc5b3ec5c82a2a3d1c2821c))
|
||||
|
||||
|
||||
|
||||
|
||||
- **react:** rendering self-closed tags and tags without content ([#74](https://github.com/JiLiZART/bbob/issues/74)) ([5a7211d](https://github.com/JiLiZART/bbob/commit/5a7211db918fd773ffc5b3ec5c82a2a3d1c2821c))
|
||||
|
||||
## [2.5.9](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.5.9) (2020-11-16)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **react:** rendering self-closed tags and tags without content ([#74](https://github.com/JiLiZART/bbob/issues/74)) ([5a7211d](https://github.com/JiLiZART/bbob/commit/5a7211db918fd773ffc5b3ec5c82a2a3d1c2821c))
|
||||
|
||||
|
||||
|
||||
|
||||
- **react:** rendering self-closed tags and tags without content ([#74](https://github.com/JiLiZART/bbob/issues/74)) ([5a7211d](https://github.com/JiLiZART/bbob/commit/5a7211db918fd773ffc5b3ec5c82a2a3d1c2821c))
|
||||
|
||||
## [2.5.8](https://github.com/JiLiZART/bbob/compare/v2.5.7...v2.5.8) (2020-07-08)
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.7](https://github.com/JiLiZART/bbob/compare/v2.5.6...v2.5.7) (2020-07-05)
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.6](https://github.com/JiLiZART/bbob/compare/v2.5.5...v2.5.6) (2020-04-12)
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.5.5](https://github.com/JiLiZART/bbob/compare/v2.5.4...v2.5.5) (2020-03-25)
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a name="2.5.4"></a>
|
||||
|
||||
## [2.5.4](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.4) (2019-09-25)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **bbob-react:** remove `unique "key" prop` warning ([#30](https://github.com/JiLiZART/bbob/issues/30)) ([3d5c1f1](https://github.com/JiLiZART/bbob/commit/3d5c1f1)), closes [#28](https://github.com/JiLiZART/bbob/issues/28)
|
||||
* **react:** fix broken prop type definition ([#27](https://github.com/JiLiZART/bbob/issues/27)) ([19d7ff2](https://github.com/JiLiZART/bbob/commit/19d7ff2))
|
||||
|
||||
|
||||
|
||||
- **bbob-react:** remove `unique "key" prop` warning ([#30](https://github.com/JiLiZART/bbob/issues/30)) ([3d5c1f1](https://github.com/JiLiZART/bbob/commit/3d5c1f1)), closes [#28](https://github.com/JiLiZART/bbob/issues/28)
|
||||
- **react:** fix broken prop type definition ([#27](https://github.com/JiLiZART/bbob/issues/27)) ([19d7ff2](https://github.com/JiLiZART/bbob/commit/19d7ff2))
|
||||
|
||||
<a name="2.5.3"></a>
|
||||
|
||||
## [2.5.3](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.3) (2019-08-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **bbob-react:** remove `unique "key" prop` warning ([#30](https://github.com/JiLiZART/bbob/issues/30)) ([3d5c1f1](https://github.com/JiLiZART/bbob/commit/3d5c1f1)), closes [#28](https://github.com/JiLiZART/bbob/issues/28)
|
||||
* **react:** fix broken prop type definition ([#27](https://github.com/JiLiZART/bbob/issues/27)) ([19d7ff2](https://github.com/JiLiZART/bbob/commit/19d7ff2))
|
||||
|
||||
|
||||
|
||||
- **bbob-react:** remove `unique "key" prop` warning ([#30](https://github.com/JiLiZART/bbob/issues/30)) ([3d5c1f1](https://github.com/JiLiZART/bbob/commit/3d5c1f1)), closes [#28](https://github.com/JiLiZART/bbob/issues/28)
|
||||
- **react:** fix broken prop type definition ([#27](https://github.com/JiLiZART/bbob/issues/27)) ([19d7ff2](https://github.com/JiLiZART/bbob/commit/19d7ff2))
|
||||
|
||||
<a name="2.5.2"></a>
|
||||
## [2.5.2](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.2) (2019-06-30)
|
||||
|
||||
## [2.5.2](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.2) (2019-06-30)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **bbob-react:** remove `unique "key" prop` warning ([#30](https://github.com/JiLiZART/bbob/issues/30)) ([3d5c1f1](https://github.com/JiLiZART/bbob/commit/3d5c1f1)), closes [#28](https://github.com/JiLiZART/bbob/issues/28)
|
||||
* **react:** fix broken prop type definition ([#27](https://github.com/JiLiZART/bbob/issues/27)) ([19d7ff2](https://github.com/JiLiZART/bbob/commit/19d7ff2))
|
||||
|
||||
|
||||
|
||||
- **bbob-react:** remove `unique "key" prop` warning ([#30](https://github.com/JiLiZART/bbob/issues/30)) ([3d5c1f1](https://github.com/JiLiZART/bbob/commit/3d5c1f1)), closes [#28](https://github.com/JiLiZART/bbob/issues/28)
|
||||
- **react:** fix broken prop type definition ([#27](https://github.com/JiLiZART/bbob/issues/27)) ([19d7ff2](https://github.com/JiLiZART/bbob/commit/19d7ff2))
|
||||
|
||||
<a name="2.5.1"></a>
|
||||
|
||||
## [2.5.1](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.1) (2019-06-18)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
<a name="2.5.0"></a>
|
||||
|
||||
# [2.5.0](https://github.com/JiLiZART/bbob/compare/v2.4.1...v2.5.0) (2019-06-17)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
<a name="2.4.1"></a>
|
||||
## [2.4.1](https://github.com/JiLiZART/bbob/compare/v2.4.0...v2.4.1) (2019-03-29)
|
||||
|
||||
## [2.4.1](https://github.com/JiLiZART/bbob/compare/v2.4.0...v2.4.1) (2019-03-29)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **react:** move [@bbob](https://github.com/bbob)/preset-react to dev deps due to circular deps ([3af3ea8](https://github.com/JiLiZART/bbob/commit/3af3ea8))
|
||||
|
||||
|
||||
|
||||
- **react:** move [@bbob](https://github.com/bbob)/preset-react to dev deps due to circular deps ([3af3ea8](https://github.com/JiLiZART/bbob/commit/3af3ea8))
|
||||
|
||||
<a name="2.4.0"></a>
|
||||
|
||||
# [2.4.0](https://github.com/JiLiZART/bbob/compare/v2.3.4...v2.4.0) (2019-03-29)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
<a name="2.3.4"></a>
|
||||
|
||||
## [2.3.4](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.4) (2019-03-29)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **react:** add prop componentProps ([#9](https://github.com/JiLiZART/bbob/issues/9)) ([1dafb69](https://github.com/JiLiZART/bbob/commit/1dafb69))
|
||||
|
||||
|
||||
|
||||
- **react:** add prop componentProps ([#9](https://github.com/JiLiZART/bbob/issues/9)) ([1dafb69](https://github.com/JiLiZART/bbob/commit/1dafb69))
|
||||
|
||||
<a name="2.3.3"></a>
|
||||
## [2.3.3](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.3) (2019-03-29)
|
||||
|
||||
## [2.3.3](https://github.com/JiLiZART/bbob/compare/v2.3.2...v2.3.3) (2019-03-29)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **react:** add prop componentProps ([#9](https://github.com/JiLiZART/bbob/issues/9)) ([1dafb69](https://github.com/JiLiZART/bbob/commit/1dafb69))
|
||||
|
||||
|
||||
|
||||
- **react:** add prop componentProps ([#9](https://github.com/JiLiZART/bbob/issues/9)) ([1dafb69](https://github.com/JiLiZART/bbob/commit/1dafb69))
|
||||
|
||||
<a name="2.3.2"></a>
|
||||
|
||||
## [2.3.2](https://github.com/JiLiZART/bbob/compare/v2.3.1...v2.3.2) (2019-03-09)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
<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)
|
||||
|
||||
# [2.3.0](https://github.com/JiLiZART/bbob/compare/v2.2.0...v2.3.0) (2018-10-25)
|
||||
|
||||
### Features
|
||||
|
||||
* **react:** allow pass custom options to react component ([77b30f3](https://github.com/JiLiZART/bbob/commit/77b30f3))
|
||||
|
||||
|
||||
|
||||
- **react:** allow pass custom options to react component ([77b30f3](https://github.com/JiLiZART/bbob/commit/77b30f3))
|
||||
|
||||
<a name="2.2.0"></a>
|
||||
# 2.2.0 (2018-10-11)
|
||||
|
||||
# 2.2.0 (2018-10-11)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **react:** remove jsx ([ada2c00](https://github.com/JiLiZART/bbob/commit/ada2c00))
|
||||
|
||||
- **react:** remove jsx ([ada2c00](https://github.com/JiLiZART/bbob/commit/ada2c00))
|
||||
|
||||
### Features
|
||||
|
||||
* react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
* new [@bbob](https://github.com/bbob)/html api ([#4](https://github.com/JiLiZART/bbob/issues/4)) ([575c1bb](https://github.com/JiLiZART/bbob/commit/575c1bb))
|
||||
|
||||
|
||||
|
||||
- react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
- new [@bbob](https://github.com/bbob)/html api ([#4](https://github.com/JiLiZART/bbob/issues/4)) ([575c1bb](https://github.com/JiLiZART/bbob/commit/575c1bb))
|
||||
|
||||
<a name="2.0.3"></a>
|
||||
|
||||
## <small>2.0.3 (2018-10-07)</small>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
<a name="2.0.2"></a>
|
||||
|
||||
## [2.0.2](https://github.com/JiLiZART/bbob/compare/@bbob/react@2.0.1...@bbob/react@2.0.2) (2018-10-07)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
<a name="2.0.1"></a>
|
||||
|
||||
## [2.0.1](https://github.com/JiLiZART/bbob/compare/@bbob/react@2.0.0...@bbob/react@2.0.1) (2018-09-23)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
<a name="1.1.0"></a>
|
||||
# [1.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/react@1.0.7...@bbob/react@1.1.0) (2018-08-09)
|
||||
|
||||
# [1.1.0](https://github.com/JiLiZART/bbob/compare/@bbob/react@1.0.7...@bbob/react@1.1.0) (2018-08-09)
|
||||
|
||||
### Features
|
||||
|
||||
* react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
|
||||
|
||||
|
||||
- react render support, move some helper functions to plugin-helper ([1a84968](https://github.com/JiLiZART/bbob/commit/1a84968))
|
||||
|
||||
<a name="1.0.7"></a>
|
||||
|
||||
## [1.0.7](https://github.com/JiLiZART/bbob/compare/@bbob/react@1.0.6...@bbob/react@1.0.7) (2018-07-13)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
<a name="1.0.6"></a>
|
||||
|
||||
## [1.0.6](https://github.com/JiLiZART/bbob/compare/@bbob/react@1.0.5...@bbob/react@1.0.6) (2018-07-11)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
<a name="1.0.5"></a>
|
||||
|
||||
## [1.0.5](https://github.com/JiLiZART/bbob/compare/@bbob/react@1.0.4...@bbob/react@1.0.5) (2018-07-10)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
<a name="1.0.4"></a>
|
||||
|
||||
## [1.0.4](https://github.com/JiLiZART/bbob/compare/@bbob/react@1.0.3...@bbob/react@1.0.4) (2018-07-10)
|
||||
|
||||
|
||||
|
||||
|
||||
**Note:** Version bump only for package @bbob/react
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bbob/react",
|
||||
"version": "2.9.0",
|
||||
"version": "3.0.0",
|
||||
"description": "A BBCode to React Renderer part of @bbob",
|
||||
"keywords": [
|
||||
"react",
|
||||
@@ -9,16 +9,16 @@
|
||||
"bbob"
|
||||
],
|
||||
"dependencies": {
|
||||
"@bbob/core": "^2.9.0",
|
||||
"@bbob/html": "^2.9.0",
|
||||
"@bbob/plugin-helper": "^2.9.0"
|
||||
"@bbob/core": "^3.0.0",
|
||||
"@bbob/html": "^3.0.0",
|
||||
"@bbob/plugin-helper": "^3.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"prop-types": "> 15.0",
|
||||
"react": "> 15.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@bbob/preset-react": "^2.9.0",
|
||||
"@bbob/preset-react": "^3.0.0",
|
||||
"@testing-library/jest-dom": "^5.16.4",
|
||||
"@testing-library/react": "13.x",
|
||||
"react": "18.x",
|
||||
|
||||
@@ -1,5 +1,56 @@
|
||||
# Change Log
|
||||
|
||||
## 3.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- [#182](https://github.com/JiLiZART/BBob/pull/182) [`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d) Thanks [@JiLiZART](https://github.com/JiLiZART)! - # Vue3 support
|
||||
|
||||
Now you can use `@bbob` parser in `vue3`
|
||||
|
||||
Example usage
|
||||
|
||||
```shell
|
||||
npm i @bbob/vue3 @bbob/preset-vue
|
||||
```
|
||||
|
||||
```js
|
||||
import { defineComponent } from "vue";
|
||||
import VueBbob from "@bbob/vue3";
|
||||
|
||||
Vue.use(VueBbob);
|
||||
```
|
||||
|
||||
```html
|
||||
<template>
|
||||
<div class="vue3">
|
||||
<h2>Generated vue3 here</h2>
|
||||
<bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { defineComponent } from "vue";
|
||||
import preset from "@bbob/preset-vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
|
||||
plugins: [preset()],
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d)]:
|
||||
- @bbob/core@3.0.0
|
||||
- @bbob/html@3.0.0
|
||||
- @bbob/plugin-helper@3.0.0
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
@@ -7,81 +58,57 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
||||
|
||||
**Note:** Version bump only for package @bbob/vue2
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.3](https://github.com/JiLiZART/bbob/compare/v2.8.2...v2.8.3) (2022-12-18)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
* vue2 test and minify ([af3ba58](https://github.com/JiLiZART/bbob/commit/af3ba58c40717f07ce5be4a6df0aaa6f791e81f0))
|
||||
|
||||
|
||||
|
||||
|
||||
- remove gitHead from package.json ([2b3ffa9](https://github.com/JiLiZART/bbob/commit/2b3ffa93233decdb3f2c93e91bd93582525f9210))
|
||||
- vue2 test and minify ([af3ba58](https://github.com/JiLiZART/bbob/commit/af3ba58c40717f07ce5be4a6df0aaa6f791e81f0))
|
||||
|
||||
## [2.8.2](https://github.com/JiLiZART/bbob/compare/v2.8.1...v2.8.2) (2022-11-28)
|
||||
|
||||
**Note:** Version bump only for package @bbob/vue2
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.8.1](https://github.com/JiLiZART/bbob/compare/v2.8.0...v2.8.1) (2022-05-24)
|
||||
|
||||
**Note:** Version bump only for package @bbob/vue2
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.8.0](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.8.0) (2021-11-28)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
- update core deps ([#120](https://github.com/JiLiZART/bbob/issues/120)) ([da6709d](https://github.com/JiLiZART/bbob/commit/da6709d43799304e62d51cd03921e261308db80f))
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* now we use swc.rs as main bundler and transpiler instead of babel
|
||||
- now we use swc.rs as main bundler and transpiler instead of babel
|
||||
|
||||
- jest now uses swc
|
||||
- rollup now uses swc
|
||||
|
||||
* feat: benchmark now separate package with `npm start` and colored output
|
||||
- feat: benchmark now separate package with `npm start` and colored output
|
||||
|
||||
- benchmark as separate package with error throw if package drops performance
|
||||
|
||||
* feat: all lerna packages now using scripts/pkg-task
|
||||
- feat: all lerna packages now using scripts/pkg-task
|
||||
|
||||
- feat(github): publish to npm and github registry
|
||||
|
||||
* feat(github): publish to npm and github registry
|
||||
- when release was created this action automaticly publish packages to npm and github
|
||||
|
||||
* feat(github): move all from Travis CI to Github Actions
|
||||
- feat(github): move all from Travis CI to Github Actions
|
||||
|
||||
- code analysis and tests now using github actions
|
||||
|
||||
* test: increase tests coverage
|
||||
- test: increase tests coverage
|
||||
- add more tests for @bbob/react, @bbob/vue2 and @bbob/parser
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## [2.7.1](https://github.com/JiLiZART/bbob/compare/v2.7.0...v2.7.1) (2021-11-04)
|
||||
|
||||
**Note:** Version bump only for package @bbob/vue2
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# [2.7.0](https://github.com/JiLiZART/bbob/compare/v2.5.8...v2.7.0) (2021-05-19)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* support for vue2 ([#88](https://github.com/JiLiZART/bbob/issues/88)) ([cbccbaf](https://github.com/JiLiZART/bbob/commit/cbccbaf896e675ce70273234577544b7861859f6))
|
||||
- support for vue2 ([#88](https://github.com/JiLiZART/bbob/issues/88)) ([cbccbaf](https://github.com/JiLiZART/bbob/commit/cbccbaf896e675ce70273234577544b7861859f6))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bbob/vue2",
|
||||
"version": "2.9.0",
|
||||
"version": "3.0.0",
|
||||
"description": "A BBCode to Vue2 Renderer part of @bbob",
|
||||
"keywords": [
|
||||
"vue",
|
||||
@@ -9,15 +9,15 @@
|
||||
"bbob"
|
||||
],
|
||||
"dependencies": {
|
||||
"@bbob/core": "^2.9.0",
|
||||
"@bbob/html": "^2.9.0",
|
||||
"@bbob/plugin-helper": "^2.9.0"
|
||||
"@bbob/core": "^3.0.0",
|
||||
"@bbob/html": "^3.0.0",
|
||||
"@bbob/plugin-helper": "^3.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "2.x"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@bbob/preset-vue": "^2.9.0",
|
||||
"@bbob/preset-vue": "^3.0.0",
|
||||
"@testing-library/vue": "5.8.3",
|
||||
"vue": "2.7.14",
|
||||
"vue-template-compiler": "2.7.14"
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
# @bbob/vue3
|
||||
|
||||
## 3.0.0
|
||||
|
||||
### Major Changes
|
||||
|
||||
- [#182](https://github.com/JiLiZART/BBob/pull/182) [`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d) Thanks [@JiLiZART](https://github.com/JiLiZART)! - # Vue3 support
|
||||
|
||||
Now you can use `@bbob` parser in `vue3`
|
||||
|
||||
Example usage
|
||||
|
||||
```shell
|
||||
npm i @bbob/vue3 @bbob/preset-vue
|
||||
```
|
||||
|
||||
```js
|
||||
import { defineComponent } from "vue";
|
||||
import VueBbob from "@bbob/vue3";
|
||||
|
||||
Vue.use(VueBbob);
|
||||
```
|
||||
|
||||
```html
|
||||
<template>
|
||||
<div class="vue3">
|
||||
<h2>Generated vue3 here</h2>
|
||||
<bbob-bbcode container="div" :plugins="plugins">{{ bbcode }}</bbob-bbcode>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import { defineComponent } from "vue";
|
||||
import preset from "@bbob/preset-vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
bbcode: "Text [b]bolded[/b] and [i]Some Name[/i]",
|
||||
plugins: [preset()],
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`49065d2`](https://github.com/JiLiZART/BBob/commit/49065d239b69e054b360596353d5b810282d259d)]:
|
||||
- @bbob/core@3.0.0
|
||||
- @bbob/html@3.0.0
|
||||
- @bbob/plugin-helper@3.0.0
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@bbob/vue3",
|
||||
"version": "2.9.0",
|
||||
"version": "3.0.0",
|
||||
"description": "A BBCode to Vue3 Renderer part of @bbob",
|
||||
"keywords": [
|
||||
"vue",
|
||||
@@ -9,15 +9,15 @@
|
||||
"bbob"
|
||||
],
|
||||
"dependencies": {
|
||||
"@bbob/core": "^2.9.0",
|
||||
"@bbob/html": "^2.9.0",
|
||||
"@bbob/plugin-helper": "^2.9.0"
|
||||
"@bbob/core": "^3.0.0",
|
||||
"@bbob/html": "^3.0.0",
|
||||
"@bbob/plugin-helper": "^3.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "3.x"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@bbob/preset-vue": "^2.9.0",
|
||||
"@bbob/preset-vue": "^3.0.0",
|
||||
"@testing-library/vue": "7.0.0",
|
||||
"vue": "3.3.4"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user