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

49 Commits

Author SHA1 Message Date
Nikolay Kostyurin 655069d32a chore(ci): remove npm changeset command 2025-10-17 14:30:34 +02:00
Nikolay Kost 322f88ad42 fix(204): parse blanks and quotes in unique attribute tags (#281)
* feat: add test

* chore: update README.md [skip ci]

* feat(285): add width and height and alt for img tag (#286)

feat: add width and height and alt for img tag

* chore: fast-peas-brush.md

* chore: working

* chore: lexer tests

* fix: single atttr tag

* fix: single atttr tag
2025-10-17 12:21:53 +02:00
Long Nguyen 0edd490a24 fix: proper module resolution in all cases (Node CJS, Node ESM, bundler)
* Add extensions to all imports

* Set module resolution to `bundler` to avoid Node specific behavior

* Use `ts2mjs` to rename files to `mjs`

* Add extensions to `@bbob/types` imports

* Fix `package.json` for proper ESM extension and type separation

* More module resolution stuff change (`node16` for everything, `node` for Vue 2 plugin)

* Use `ts-jest-resolver` for `js` -> `ts` resolving in Jest

* Add changeset

* Add import extensions to frontend libs
2025-08-18 19:13:22 +02:00
Nikolay Kostyurin 87cb04989b ci: release workflow fix 2024-11-26 14:43:43 +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
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 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 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
Nikolay Kost 4f9729c59f chore: audit package deps (#227) 2024-03-27 03:35:03 +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
Nikolay Kost 1ca3a629a2 fix: npm build 2023-07-24 16:01:51 +02:00
Nikolay Kostyurin 50e8a9c8a2 chore: fix changesets publish 2023-07-24 04:22:36 +02:00
Nikolay Kost 49065d239b chore: migrate to changeset (#182)
* fix: initial support to changeset

* fix: changeset config

* fix: vue3 changeset

* feat: add github publish action for changeset
2023-07-24 04:16:14 +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
Nikolay Kostyurin 7a705c599a chore: fix publish from packages command 2022-05-24 03:04:31 +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 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 c7e98c2a2a chore: add publish-from-packages command 2021-05-19 23:22:36 +02:00
Nikolay Kostyurin 22237c4500 chore(benchmark): add ya-bbcode as benchmark target in benchmark suite (#62) 2020-04-05 17:50:49 +02:00
Nikolay Kostyurin 0a213abbf7 chore(lerna): add options for commit message and publishing 2020-03-26 00:47:00 +02:00
Nikolay Kostyurin aac1ae0e81 chore(*): update dependencies (#57)
Updated Rollup
Updated Babel
Fixed security problems with some dependencies
2020-01-22 20:25:42 +02:00
Nikolay Kostyurin 5291543855 chore(bbob): add publish-patch npm command (#22) 2019-06-18 10:06:59 +02:00
Nikolay Kostyurin e4b38f289f chore(readme): update @bbob/html usage example 2019-03-29 10:34:04 +02:00
Nikolay Kostyurin 424c3a86a2 fix: lerna lint command 2018-11-05 00:11:25 +02:00
Nikolay Kostyurin 2bed68fcfd chore: upgrade common packages 2018-11-05 00:04:17 +02:00
Nikolay Kostyurin a1d859fdad chore: add bundle size restrictions to all packages 2018-10-30 23:32:06 +02:00
Nikolay Kostyurin 575c1bb932 feat: new @bbob/html api (#4) 2018-10-12 00:43:20 +02:00
Nikolay Kostyurin fe9454c8a2 chore: build changelog when publish 2018-10-07 22:33:22 +02:00
Nikolay Kostyurin 95d0479c11 style: remove redundant spaces 2018-10-07 22:22:50 +02:00
Nikolay Kostyurin bdd8bbd65d fix(core): string walk api test error 2018-09-24 01:02:43 +02:00
Nikolay Kostyurin 49fb42f905 chore: publish-all command for lerna 2018-09-24 00:58:24 +02:00
Nikolay Kostyurin 2062fbe7c6 chore: commit message linter 2018-09-24 00:52:59 +02:00
Nikolay Kostyurin dd1d5171a2 chore(lerna): publish-all command 2018-09-18 23:49:23 +02:00
Nikolay Kostyurin 790825af30 feat(parser): custom open and close tags support, html tags tests (#3) 2018-09-18 23:41:52 +02:00
Nikolay Kostyurin 7300535aff fix(parser): dependency fail 2018-09-10 09:40:49 +02:00
Nikolay Kostyurin 32a7fb51da refactor(*): convert to babel and generation to lib, es, dist folders (#2)
* refactor(*): convert to babel and generation to lib, es, dist

* chore(*): remove generated files

* fix(*): lint run command
2018-09-09 23:55:28 +02:00
Nikolay Kostyurin 1a84968ea2 feat(*): react render support, move some helper functions to plugin-helper 2018-08-09 02:45:19 +02:00
Nikolay Kostyurin 04398835e7 chore(*): add deps used for tests 2018-07-30 22:53:20 +02:00
Nikolay Kostyurin ebba9bcfc9 chore(*): add benchmark 2018-07-23 23:44:20 +02:00
Nikolay Kostyurin e20b34ae92 chore(*): add size-limit to CI step 2018-07-23 22:36:43 +02:00
Nikolay Kostyurin 44183fd753 feat(bbob): add codecov support to travis 2018-07-14 02:14:37 +02:00
Nikolay Kostyurin 7f400506d4 fix(parser): tokenizer error with quotemark strings 2018-07-11 23:37:51 +02:00
Nikolay Kostyurin 8832c07646 speed parser optimization 2018-07-08 11:59:59 +02:00
Nikolay Kostyurin 1c23f96902 jsdoc md generator 2018-06-11 22:46:39 +02:00
Nikolay Kostyurin 792e949b6e add eslint, travis config, test tasks 2018-06-11 22:31:02 +02:00
Nikolay Kostyurin edf90de445 initial 2018-06-04 23:18:50 +02:00