Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: init @vkontakte/vk-bridge-react package #382

Conversation

inomdzhon
Copy link
Contributor

  • Create packages/react folder.
  • Create hooks and functions.
  • Create package.json. Set version to 0.0.0 for next minor release.
  • Setup custom ESLint config because package uses React.
  • Setup Rollup config for build project.
  • Add LICENSE (MIT) file.
  • Add README.md with descriptions of package.
  • Add @vkontakte/vk-bridge-react package to the list of packages on publish.yml and publish_prerelease.yml workflows.

Bumps [rollup](https://github.com/rollup/rollup) from 3.25.1 to 3.25.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](rollup/rollup@v3.25.1...v3.25.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@inomdzhon inomdzhon force-pushed the imirdzhamolov/issue341/feat/react-hooks-package branch from 2b62fbd to 18836a9 Compare June 27, 2023 09:12
packages/react/LICENSE Outdated Show resolved Hide resolved
packages/react/rollup.config.mjs Outdated Show resolved Hide resolved
packages/react/src/hooks/useAdaptivity.ts Outdated Show resolved Hide resolved
@inomdzhon inomdzhon force-pushed the imirdzhamolov/issue341/feat/react-hooks-package branch from 18836a9 to 6ef795a Compare June 27, 2023 11:24
- Create `packages/react` folder.
- Create hooks and functions.
- Create `package.json`. Set version to `0.0.0` for next minor release.
- Setup custom ESLint config because package uses React.
  > add `eslint-plugin-react` and `eslint-plugin-react-hooks` to
  > `packages/react/package.json`
- Setup Rollup config for build project.
- Add `LICENSE` (MIT) file.
- Add `README.md` with descriptions of package.
- Add `@vkontakte/vk-bridge-react` package to the list of packages on
  `publish.yml` and `publish_prerelease.yml` workflows.
@inomdzhon inomdzhon force-pushed the imirdzhamolov/issue341/feat/react-hooks-package branch from 6ef795a to 5b6efcf Compare June 28, 2023 08:48
@inomdzhon inomdzhon merged commit 50392ec into imirdzhamolov/vk-bridge-react/release_1.0.0 Jun 28, 2023
3 checks passed
inomdzhon added a commit that referenced this pull request Aug 4, 2023
* feat: init @vkontakte/vk-bridge-react package (#382)

- Create `packages/react` folder.
- Create hooks and functions.
- Create `package.json`. Set version to `0.0.0` for next minor release.
- Setup custom ESLint config because package uses React.
  > add `eslint-plugin-react` and `eslint-plugin-react-hooks` to
  > `packages/react/package.json`
- Setup Rollup config for build project.
- Add `LICENSE` (MIT) file.
- Add `README.md` with descriptions of package.
- Add `@vkontakte/vk-bridge-react` package to the list of packages on
  `publish.yml` and `publish_prerelease.yml` workflows.

* refactor(@vkontakte/vk-bridge-react): changes after v1.0.0-beta.0 test (#408)

Тест [v1.0.0-beta.0](https://www.npmjs.com/package/@vkontakte/vk-bridge-react/v/1.0.0-beta.0) показал, что нужны следующие изменения:

h3. `hooks/useInsets`

Лучше возвращать `null` при инициализации или если нет данных.

h3. `functions/runTapticImpactOccurred`

Возвращаем `boolean`, которые будет давать понять поддерживается ли вибрация или нет.

* bump(@vkontakte/vk-bridge-react): from 1.0.0-beta.0 to 1.0.0-beta.1

* fix(useInsets): fix types (#410)

* bump(@vkontakte/vk-bridge-react): from 1.0.0-beta.1 to 1.0.0-beta.2

* fix(vk-bridge-react): fix path to types (#411)

Был указан неправильный путь до типов в dist.

* docs(vk-bridge-react): fix types and typo (#413)
@nshvyryaev nshvyryaev deleted the imirdzhamolov/issue341/feat/react-hooks-package branch January 25, 2024 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Перенести из VKUI хуки, функции и типы
2 participants