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

199 Commits

Author SHA1 Message Date
Nikolay Kost 9a6986965e feat(201): add file:// replacement (#280)
* feat: add file://

* feat: add changeset
2025-03-09 20:37:21 +02:00
Nikolay Kost 0566241e23 feat(#271): whitespaceInTags mode (#272)
* fix: test for buggy behavior

* feat: implement whitespaceInTags mode

* feat: move all char arrays to Map

* feat: revert Map for char arrays
2025-03-09 02:23:03 +02:00
Nikolay Kost f0c9da683d fix: img tag cannot be parsed (#263)
* fix: add img test with url

* fix: add more tests
2024-11-26 15:00:27 +02:00
github-actions[bot] b09f4fa3c7 chore(release): publish v4.2.0 (#268)
chore(release): release

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-26 13:34:17 +02:00
Nikolay Kost 8a9cfd67c0 fix: caseFreeTags types (#267)
* fix: try to fix types

* fix: changeset
2024-11-26 12:11:20 +02:00
Nikolay Kost ccab54a454 feat(#250): introduce caseFreeTags option (#251)
* chore: initial tests

* feat: parser test

* feat: add case free tags support

* fix: coverage upload

* fix: --disable=gcov

* fix: npm publish sha commit

* fix: change codecov to coveralls

* fix: change workflow pr build and publish

* chore: change coverage badge [skip ci]
2024-10-16 23:26:06 +02:00
github-actions[bot] a12fd9e7fb chore(release): publish v4.1.1 (#249)
chore(release): release v4.1.1

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-21 15:14:48 +02:00
Sven Grübel 27c8c4b869 fix(react): removed warning for deprecated defaultProps (#248)
* fix(react): Warning for deprecated defaultProps

Fixes #180

* Create late-icons-sit.md

---------

Co-authored-by: Nikolay Kost <JiLiZART@Gmail.com>
2024-08-21 15:01:17 +02:00
github-actions[bot] 934d88af20 chore(release): publish v4.1.0 (#247)
chore(release): release v4.1.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-03 16:42:50 +02:00
Steven Chang 40848747d4 feat: add start and end positions of tag nodes (#246)
Closes #134

* feat: Add start and end positions of tag nodes

Improves accuracy of row/col error reporting. Now targets the start of the relevant token instead of the end.

* Simplify language for TagNode and Token

* Update static TagNode.create to ingest setStart() logic

improve readability of end pos offset for no attr tags
2024-08-01 09:42:29 +02:00
github-actions[bot] 6f71ae23ee chore(release): publish v4.0.3 (#243)
chore(release): release

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-12 02:46:57 +02:00
Nikolay Kost 16ad5216db feat: react, vue3 and vanilla examples (#242)
* feat: react, vue3 and vanilla examples

* fix: vue3 example

* Create rare-worms-tease.md

* fix: vue3 types

* fix: vue3 ts checks

* fix: vue3 render types

* fix: vue3 component types
2024-07-12 02:35:51 +02:00
Nikolay Kostyurin 1490bd6a8b chore: update lock file 2024-07-04 13:38:55 +02:00
github-actions[bot] aedac60a51 chore(release): publish v4.0.2 (#239)
chore(release): release

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-04 13:21:14 +02:00
Romain 7f931eee9a fix(#237): ensure types definitions presence in published packages (#238)
* fix(#237): Ensure types definitions presence in published packages

* Add changeset

---------

Co-authored-by: Romain d'Aversa <romain.daversa@cloud-solutions.fr>
2024-07-04 13:16:57 +02:00
github-actions[bot] 5ec0dfa382 chore(release): publish 4.0.1 (#236)
chore(release): release

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-25 22:54:52 +02:00
github-actions[bot] dae171feeb chore(release): publish v4.0.0 (#200)
chore(release): release

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-25 21:39:44 +02:00
Nikolay Kost f87822f3a3 feat: add ability to publish pre alpha versions in PR #234 (#235)
* feat: add ability to prepublish canary versions

* fix: ci

* fix: pr comment

* fix: ci pr

* fix: ci pr env

* fix: github env name

* fix: github file ignoring

* fix: yml syntax

* fix: codeql

* fix: syntax error

* fix: pnpm version

* fix: remove node 16.x support

* fix: workspace name

* fix: workspace pnpm

* fix: workspace with pnpm

* ci: changeset publish

* ci: changeset pr name

* ci: pr

* ci: fix pr.yml

* ci: fix pr.yml workspaces

* ci: fix steps order in pr.yml

* ci: fix pr publish error

* ci: fix npm publish tag to alpha

* ci: npm publish tag

* ci: npm publish tag

* ci: fix tag with PR number
2024-06-25 21:27:42 +02:00
Nikolay Kost 270f5645f8 fix(#206): TagNode.create now with null content argument by default (#233)
* fix: TagNode.create with null content by default

* Create five-meals-sing.md

* fix: tests

* fix(preset): types inference

* fix: preset types

* fix: preset types

* fix: lock file, parser and utils

* refactor: move types to separate package

* fix(preset): add @bbob/core to dev deps

* fix(preset): lock file

* test(preset-vue): create tags

* test(preset-vue): tests

* chore(nx): fix nx cover deps

* chore: changesets
2024-06-24 01:32:15 +03:00
Nikolay Kost 8797f7f363 feat: typescript support (#185)
* feat: initial typescript support

* feat: typescript support

* feat(plugin-helper): move files to typescript

* chore: update lock files

* feat: preset types

* fix: build

* fix: benchmark

* fix: remove pnpm cache

* fix: bench action

* fix: pnpm recursive install

* fix: nx cache

* fix: lock file

* fix: workflows

* fix: lerna support in pnpm

* fix: pnpm workspace

* fix: remove unused files

* fix: pnpm lock file

* fix: update lerna for support pnpm

* fix: lerna bootstrap

* fix: rollup build

* fix: update nx

* fix: build

* fix: add nx dep target

* fix: remove nx cache

* fix: workflow run on push only for master

* fix: test workflow run on push only for master

* fix: remove parallel for gen types

* fix: benchmark

* fix: benchmark imports

* fix: pnpm

* fix: types errors and pnpm

* fix: types

* fix: types

* refactor: parser

* fix(parser): tests

* fix: preset tests

* fix: react types

* fix: react type declarations

* fix: pnpm lock file

* fix: react preset types

* fix: lock file

* fix: vue2 types

* feat: dev container support

* fix: types

* fix: types

* refactor: rewrite pkg-task, add nx gen-types deps, fix react/render.ts

* refactor: types

* fix: types

* fix: rename gen-types to types

* fix: nx build order

* fix: nx reset

* fix: define nx deps explicit

* fix: build

* fix: nx

* fix: nx order build

* fix: nx deps

* fix: bbob cli tests

* fix: tests

* fix: cli tests and import

* fix: test cover

* fix: cli cover
2024-04-23 21:11:14 +02:00
Steven Chang 05246b2aea fix: treat contextFreeTags case insensitively (#230) 2024-04-14 16:02:29 +03:00
Nikolay Kost f1f9eb39da fix(react): render words and spaces as single node in react (#226)
* fix(react): render words and spaces as single node in react

* chore: create metal-toys-heal.md
2024-03-27 03:29:16 +02:00
Wai Lam Yau e875c7832d fix(react): rendering of react for screenreaders (#220)
* Fix rendering of react for screenreaders

* Fix rendering of react for screenreaders (#1)

Co-authored-by: WAI YAU <waister@ip-192-168-1-52.eu-west-1.compute.internal>

* Tweak

* Change code to be the source instead of the result

---------

Co-authored-by: WAI YAU <waister@ip-192-168-1-52.eu-west-1.compute.internal>
Co-authored-by: richardmtsr <richard.moss@thestudentroom.com>
2024-03-27 02:46:59 +02:00
Nikolay Kost 383d436b63 fix: github actions (#224)
* fix: github actions

* fix: node setup

* fix: node setup cache

* fix: node and npm

* fix: pnpm workspace and .gititnore

* fix: pnpm node setup

* fix: github actions

* fix: lock file

* fix: workflow install after setup node

* fix: lock file

* fix: vue3 tests
2024-03-25 17:06:15 +02:00
Nikolay Kost 3575982b28 chore: pnpm support (#199)
* feat: initial pnpm support

* feat: lock files

* fix: github actions

* fix: lerna bootstrap

* fix: lerna useWorkspaces

* fix: lerna no ci

* fix: lint

* fix: audit

* chore: changeset

* fix: publish action
2023-10-23 13:21:56 +02:00
dependabot[bot] e640649a81 chore(deps-dev): bump postcss in /packages/bbob-vue2 (#195)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.20 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.20...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 00:44:49 +03:00
dependabot[bot] 2154952d10 chore(deps-dev): bump postcss in /packages/bbob-vue3 (#196)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.25 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.25...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-11 00:44:45 +03:00
github-actions[bot] d26f833f1b chore(release): publish v3.0.2 (#192)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-28 04:38:31 +03:00
Nikolay Kost 0c78831372 feat(preset-html5): color tag #189, case insensitive tags #190 (#191)
* fix(preset-html5): add color tag #189

* fix(parser): case insensitive tags bug #190
2023-09-28 04:02:52 +03:00
github-actions[bot] 3bccca086f chore(release): publish v3.0.1 (#188)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-29 00:48:48 +02:00
Nikolay Kost 603c3ead0f fix: bug with lost closing tag (#186)
* fix: closing tag bug

* chore: add changeset thin-crabs-wonder.md

* chore: remove debug code

* chore: add more tests
2023-08-28 14:26:27 +02:00
Nikolay Kostyurin e7aa49e6ed chore: lock files 2023-07-24 16:19:01 +02:00
github-actions[bot] 485bb11df0 chore(release): publish v3.0.0 (#183)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-24 16:00:05 +02:00
Evgeny Kirpichyov f6dfc7dcf4 feat(vue3): add vue3 support (#179)
* feat(vue3): add vue3 package

* fix(vue3): add package to lerna config
2023-07-17 16:27:21 +02:00
Nikolay Kost a05e5cef07 chore(release): publish v2.9.0 (#170)
* chore: update readme to latest API

* chore: release 2.9.0
2023-01-29 17:55:46 +02:00
Nikolay Kost 19e8dd659e feat(parser): context free tag mode (#165)
* feat(parser): initial context free tag mode

* fix: tests coverage

* chore: update readme

* chore: remove unused badge from readme
2023-01-27 05:26:09 +02:00
Nikolay Kost 6b2810fcf4 chore(release): release 2.8.3 (#163) 2022-12-18 03:28:03 +02:00
Nikolay Kost 2d1a08ba9a chore: update build system and dependencies (#155)
* chore: fix swc + rollup transform

* chore: fix pkg-task args parsing

* chore: update lerna, rollup and swc to build proper es6 files

* chore: fix swc build for es targets

* ci: nodes matrix to newest versions

* ci: rollup to mjs, swc to json

* ci: add canary publish

* ci: no git tag for canary

* ci: no private publish for canary

* ci: remove --canary from publish-canary

* fix: remove gitHead from package.json

* fix: tests setup

* fix: bbob plugin helper imports

* fix: plugin helper build priority and circular deps

* fix: add nx for parallel build

* fix: npm ci

* fix: code ql

* fix: remove exports directive

* fix: rollup build

* fix: vue2 test and minify

* fix: bundle size limits

* feat: bundlephobia pr review

* feat: bundlephobia more popular action

* feat: publish branch to npm

* fix: secret NPM token

* fix: bundlephobia version

* fix: remove bundlephobia checker

* fix: npm publish in PR

* chore: release 2.8.3

* chore: fix test runs on CI, removed 14.x version

* fix: sync package-lock

* fix: remove lock files in sub packages

* fix: bundlesize > bundlesize2

* fix: update lock files

* fix: lock file in vue2-example
2022-12-18 03:09:56 +02:00
dependabot[bot] 09a197f653 chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 (#158)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 23:30:30 +02:00
Nikolay Kost b2cfc23ee9 chore(release): publish v2.8.2 (#156)
* chore: audit fix

* chore: release
2022-11-29 01:47:30 +02:00
Nikolay Kost 7cd648d876 fix(react): add range of peer deps (#151)
* fix(react): add range of peer deps

* fix: tests
2022-11-14 00:23:04 +02:00
dependabot[bot] 07164ce238 chore(deps): bump minimatch from 3.0.4 to 3.1.2 in /packages/bbob-vue2 (#152)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 00:22:04 +02:00
Nikolay Kostyurin 861359a656 chore(release): publish v2.8.1 (#139)
* fix: lerna issue and publish patch

* fix: lerna publish scripts

* chore(release): bump version to v2.8.1
2022-05-24 02:42:33 +02:00
Nikolay Kost 502362cc8c feat(react): update to react 18 and testing-library (#138) 2022-05-24 01:50:45 +02:00
Nikolay Kostyurin d070a66db3 chore(release): publish v2.8.0 (#122)
* chore(lerna): don't publish packages to npm by lerna

* chore(lerna): add publish to npm command

* fix(github): publish using lerna

* chore(lerna): add publish minor

* chore(release): publish v2.8.0
2021-11-29 00:55:29 +02:00
Nikolay Kostyurin da6709d437 feat: update core deps (#120)
* feat: use swc.rs instead of babel

* BREAKING CHANGE: 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
  - benchmark as separate package with error throw if package drops performance

* feat: all lerna packages now using scripts/pkg-task

* 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
  - code analysis and tests now using github actions

* test: increase tests coverage
  - add more tests for @bbob/react, @bbob/vue2 and @bbob/parser
2021-11-29 00:33:06 +02:00
Nikolay Kostyurin 86d1dde106 chore(release): publish v2.7.1 (#121) 2021-11-04 13:30:53 +02:00
Nikolay Kostyurin dad1b6e08b chore: update descriptions of vue2, react and html bbob packages (#118) 2021-10-11 02:22:04 +02:00
Dan Polivy 93d802773c fix(react): adjust PropTypes for React Component container (#107)
Augments the existing PropType for the `container` prop of Component to allow for React elements and element types to be passed. The latter allows React Native to better be supported.
2021-06-23 23:27:08 +02:00
Nikolay Kostyurin 2b68e22d23 chore: include gitHead to all packages 2021-05-19 23:21:18 +02:00