@bikdotai/bik-component-library 0.0.462 → 0.0.463
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -99
- package/dist/cjs/components/QueryBuilder/Triggers/EVENTS/components/EventsTrigger.d.ts +1 -1
- package/dist/cjs/components/QueryBuilder/Triggers/EVENTS/selectors/useIGTriggerNameCacheSelector.d.ts +1 -1
- package/dist/cjs/components/QueryBuilder/Triggers/IG/components/IGTrigger.d.ts +1 -1
- package/dist/cjs/components/QueryBuilder/Triggers/IG/selectors/useIGTriggerNameCacheSelector.d.ts +1 -1
- package/dist/cjs/components/QueryBuilder/Triggers/components/BaseTriggerQueryBuilderNode.d.ts +2 -2
- package/dist/esm/components/QueryBuilder/Triggers/EVENTS/components/EventsTrigger.d.ts +1 -1
- package/dist/esm/components/QueryBuilder/Triggers/EVENTS/selectors/useIGTriggerNameCacheSelector.d.ts +1 -1
- package/dist/esm/components/QueryBuilder/Triggers/IG/components/IGTrigger.d.ts +1 -1
- package/dist/esm/components/QueryBuilder/Triggers/IG/selectors/useIGTriggerNameCacheSelector.d.ts +1 -1
- package/dist/esm/components/QueryBuilder/Triggers/components/BaseTriggerQueryBuilderNode.d.ts +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,100 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
## Build Status
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
<p>
|
|
5
|
-
A React boilerplate with opinionated setup to help you quickly create your own React UI library.
|
|
6
|
-
</p>
|
|
7
|
-
<img src="https://img.shields.io/github/license/boilertown/react-ui-boilerplate?style=flat-square" alt="MIT license" >
|
|
8
|
-
</div>
|
|
9
|
-
|
|
10
|
-
## The Setup
|
|
11
|
-
|
|
12
|
-
- [React v18][react-url]
|
|
13
|
-
- [TypeScript][typescript-url]
|
|
14
|
-
- UI development with [Storybook][storybook-url]
|
|
15
|
-
- Unit test with [Testing-library][testing-library-url]
|
|
16
|
-
- Linting with [Eslint][eslint-url] and code formatting with [Prettier][prettier-url]
|
|
17
|
-
- Conventional commit messages with [Commitlint][commitlint-url]
|
|
18
|
-
- Build the library with [Rollup][rollup-url]
|
|
19
|
-
- Automated release with [changesets][changesets-url]
|
|
20
|
-
|
|
21
|
-
## Get Started
|
|
22
|
-
|
|
23
|
-
- Use [Boilertown](https://github.com/boilertown/create-boilertown) CLI.
|
|
24
|
-
|
|
25
|
-
```sh
|
|
26
|
-
# npm
|
|
27
|
-
npm create boilertown -- -b react-ui-boilerplate
|
|
28
|
-
|
|
29
|
-
# yarn
|
|
30
|
-
yarn create boilertown -b react-ui-boilerplate
|
|
31
|
-
|
|
32
|
-
# pnpm
|
|
33
|
-
pnpm create boilertown -b react-ui-boilerplate
|
|
34
|
-
|
|
35
|
-
# bun
|
|
36
|
-
bun create boilertown/react-ui-boilerplate [library-name]
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
- Click the green "Use this template" button to generate a new repository with the same structure and files.
|
|
40
|
-
|
|
41
|
-
<img src="https://docs.github.com/assets/cb-36544/images/help/repository/use-this-template-button.png" alt="Use this template button" width="500">
|
|
42
|
-
|
|
43
|
-
[Ref: Github Docs](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template)
|
|
44
|
-
|
|
45
|
-
## Development
|
|
46
|
-
|
|
47
|
-
- Build the library:
|
|
48
|
-
|
|
49
|
-
```sh
|
|
50
|
-
pnpm build
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
- Run storybook:
|
|
54
|
-
|
|
55
|
-
```sh
|
|
56
|
-
pnpm storybook
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
- Unit test component with:
|
|
60
|
-
|
|
61
|
-
```sh
|
|
62
|
-
pnpm test
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
- Create changeset:
|
|
66
|
-
|
|
67
|
-
```sh
|
|
68
|
-
pnpm changeset
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
## Release & Publish package
|
|
72
|
-
|
|
73
|
-
This boilerplate uses [changesets][changesets-url] to automatically generate `CHANGELOG`, create releases and publish to NPM registry via GitHub Actions. You can see action details at [release.yml](/.github/workflows//release.yml).
|
|
74
|
-
|
|
75
|
-
To automating publish your library, follow these steps:
|
|
76
|
-
|
|
77
|
-
- Create a `NPM_TOKEN`. [See this article for more details](https://docs.npmjs.com/creating-and-viewing-access-tokens). Make sure the type of access token is **Automation**.
|
|
78
|
-
|
|
79
|
-
- [Follow this instruction](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository) to add the created token to your GitHub Actions secrets. Name of the secret is `NPM_TOKEN`.
|
|
80
|
-
|
|
81
|
-
- Install [changeset bot](https://github.com/apps/changeset-bot).
|
|
82
|
-
|
|
83
|
-
- [Adding changeset and commit](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md#i-am-in-a-single-package-repository).
|
|
84
|
-
|
|
85
|
-
**P/S**: Remember to check the `Allow GitHub Actions to create and approve pull requests` in your repo Settings > Actions > General & scroll to Workflow permissions.
|
|
86
|
-
|
|
87
|
-
## Contributing
|
|
88
|
-
|
|
89
|
-
**react-ui-boilerplate** ❤️ your contributions. If you have any ideas, suggestions, fixes, feel free to contribute.
|
|
90
|
-
|
|
91
|
-
[boilertown-url]: https://github.com/boilertown
|
|
92
|
-
[react-url]: https://beta.reactjs.org
|
|
93
|
-
[typescript-url]: https://www.typescriptlang.org
|
|
94
|
-
[storybook-url]: https://storybook.js.org
|
|
95
|
-
[eslint-url]: https://eslint.org
|
|
96
|
-
[commitlint-url]: https://github.com/conventional-changelog/commitlint
|
|
97
|
-
[prettier-url]: https://prettier.io
|
|
98
|
-
[testing-library-url]: https://testing-library.com
|
|
99
|
-
[rollup-url]: https://rollupjs.org
|
|
100
|
-
[changesets-url]: https://github.com/changesets/changesets
|
|
3
|
+
[](https://github.com/BikDotAiDev/bik-component-library/actions/workflows/deploy-prod.yaml)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { QueryBuilderNodeProps } from "../../../
|
|
2
|
+
import { QueryBuilderNodeProps } from "../../../types/QueryBuilderNodeProps.type";
|
|
3
3
|
declare const EventsTrigger: React.FC<QueryBuilderNodeProps>;
|
|
4
4
|
export default EventsTrigger;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { QueryBuilderAPIData } from "../../../
|
|
1
|
+
import { QueryBuilderAPIData } from "../../../types/QueryBuilderAPI.type";
|
|
2
2
|
export declare const useIGTriggerNameCacheSelector: () => QueryBuilderAPIData[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { QueryBuilderNodeProps } from "../../../
|
|
2
|
+
import { QueryBuilderNodeProps } from "../../../types/QueryBuilderNodeProps.type";
|
|
3
3
|
declare const IGTrigger: React.FC<QueryBuilderNodeProps>;
|
|
4
4
|
export default IGTrigger;
|
package/dist/cjs/components/QueryBuilder/Triggers/IG/selectors/useIGTriggerNameCacheSelector.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { QueryBuilderAPIData } from "../../../
|
|
1
|
+
import { QueryBuilderAPIData } from "../../../types/QueryBuilderAPI.type";
|
|
2
2
|
export declare const useIGTriggerNameCacheSelector: () => QueryBuilderAPIData[];
|
package/dist/cjs/components/QueryBuilder/Triggers/components/BaseTriggerQueryBuilderNode.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DropdownOption } from "../../../dropdown/type";
|
|
3
|
-
import { QueryBuilderProperty } from "../../
|
|
4
|
-
import { QueryBuilderNodeProps } from "../../
|
|
3
|
+
import { QueryBuilderProperty } from "../../types/QueryBuilder.type";
|
|
4
|
+
import { QueryBuilderNodeProps } from "../../types/QueryBuilderNodeProps.type";
|
|
5
5
|
declare const BaseTriggerQueryBuilderNode: React.FC<QueryBuilderNodeProps & {
|
|
6
6
|
cacheKey: string;
|
|
7
7
|
propertyAddBtnText: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { QueryBuilderNodeProps } from "../../../
|
|
2
|
+
import { QueryBuilderNodeProps } from "../../../types/QueryBuilderNodeProps.type";
|
|
3
3
|
declare const EventsTrigger: React.FC<QueryBuilderNodeProps>;
|
|
4
4
|
export default EventsTrigger;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { QueryBuilderAPIData } from "../../../
|
|
1
|
+
import { QueryBuilderAPIData } from "../../../types/QueryBuilderAPI.type";
|
|
2
2
|
export declare const useIGTriggerNameCacheSelector: () => QueryBuilderAPIData[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { QueryBuilderNodeProps } from "../../../
|
|
2
|
+
import { QueryBuilderNodeProps } from "../../../types/QueryBuilderNodeProps.type";
|
|
3
3
|
declare const IGTrigger: React.FC<QueryBuilderNodeProps>;
|
|
4
4
|
export default IGTrigger;
|
package/dist/esm/components/QueryBuilder/Triggers/IG/selectors/useIGTriggerNameCacheSelector.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { QueryBuilderAPIData } from "../../../
|
|
1
|
+
import { QueryBuilderAPIData } from "../../../types/QueryBuilderAPI.type";
|
|
2
2
|
export declare const useIGTriggerNameCacheSelector: () => QueryBuilderAPIData[];
|
package/dist/esm/components/QueryBuilder/Triggers/components/BaseTriggerQueryBuilderNode.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DropdownOption } from "../../../dropdown/type";
|
|
3
|
-
import { QueryBuilderProperty } from "../../
|
|
4
|
-
import { QueryBuilderNodeProps } from "../../
|
|
3
|
+
import { QueryBuilderProperty } from "../../types/QueryBuilder.type";
|
|
4
|
+
import { QueryBuilderNodeProps } from "../../types/QueryBuilderNodeProps.type";
|
|
5
5
|
declare const BaseTriggerQueryBuilderNode: React.FC<QueryBuilderNodeProps & {
|
|
6
6
|
cacheKey: string;
|
|
7
7
|
propertyAddBtnText: string;
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bikdotai/bik-component-library",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.463",
|
|
4
4
|
"description": "Bik Component Library",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://
|
|
7
|
+
"url": "https://github.com/BikDotAiDev/bik-component-library"
|
|
8
8
|
},
|
|
9
9
|
"sideEffects": false,
|
|
10
10
|
"exports": {
|