Skip to content

Commit 21aaa94

Browse files
committed
Initial commit
0 parents  commit 21aaa94

29 files changed

+22861
-0
lines changed

.bitmap

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/* THIS IS A BIT-AUTO-GENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. */
2+
3+
/**
4+
* The Bitmap file is an auto generated file used by Bit to track all your Bit components. It maps the component to a folder in your file system.
5+
* This file should be committed to VCS(version control).
6+
* Components are listed using their component ID (https://bit.dev/reference/components/component-id).
7+
* If you want to delete components you can use the "bit remove <component-id>" command.
8+
* See the docs (https://bit.dev/reference/components/removing-components) for more information, or use "bit remove --help".
9+
*/
10+
11+
{
12+
"ui/button": {
13+
"name": "ui/button",
14+
"scope": "",
15+
"version": "",
16+
"defaultScope": "automations",
17+
"mainFile": "index.ts",
18+
"rootDir": "automations/ui/button",
19+
"config": {
20+
"bitdev.react/react-env@0a734828d968c74e981ef0ca77acb414e90ea08d": {},
21+
"teambit.envs/envs": {
22+
"env": "bitdev.react/react-env"
23+
}
24+
}
25+
},
26+
"ui/card": {
27+
"name": "ui/card",
28+
"scope": "",
29+
"version": "",
30+
"defaultScope": "automations",
31+
"mainFile": "index.ts",
32+
"rootDir": "automations/ui/card",
33+
"config": {
34+
"bitdev.react/react-env@0a734828d968c74e981ef0ca77acb414e90ea08d": {},
35+
"teambit.envs/envs": {
36+
"env": "bitdev.react/react-env"
37+
}
38+
}
39+
},
40+
"ui/input": {
41+
"name": "ui/input",
42+
"scope": "",
43+
"version": "",
44+
"defaultScope": "automations",
45+
"mainFile": "index.ts",
46+
"rootDir": "automations/ui/input",
47+
"config": {
48+
"bitdev.react/react-env@0a734828d968c74e981ef0ca77acb414e90ea08d": {},
49+
"teambit.envs/envs": {
50+
"env": "bitdev.react/react-env"
51+
}
52+
}
53+
},
54+
"$schema-version": "17.0.0"
55+
}

.eslintrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// bit-generated-eslint-config
2+
{
3+
"extends": [
4+
"./node_modules/.cache/.eslintrc.bit.09f34547347758a84fbdb8b40b6c72c6c55b5ac4.json"
5+
]
6+
}

.github/workflows/merge.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Bit Merge
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
main-deploy:
10+
runs-on: ubuntu-latest
11+
container:
12+
image: bitsrc/stable:1.9.124-alpine
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v4
17+
18+
- name: Install dependencies
19+
run: bit install
20+
env:
21+
BIT_CONFIG_USER_TOKEN: ${{ secrets.BIT_ACCESS_TOKEN }}
22+
23+
- name: Merge
24+
run: bit ci merge -b
25+
env:
26+
BIT_CONFIG_USER_TOKEN: ${{ secrets.BIT_ACCESS_TOKEN }}

.github/workflows/pull-request.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Bit PR Check
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
jobs:
8+
pr-check:
9+
runs-on: ubuntu-latest
10+
container:
11+
image: bitsrc/stable:1.9.124-alpine
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Install dependencies
18+
run: bit install
19+
env:
20+
BIT_CONFIG_USER_TOKEN: ${{ secrets.BIT_ACCESS_TOKEN }}
21+
22+
- name: PR Check
23+
run: bit ci pr -b
24+
env:
25+
BIT_CONFIG_USER_TOKEN: ${{ secrets.BIT_ACCESS_TOKEN }}

.github/workflows/verify.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Bit verify
2+
3+
on: push
4+
5+
jobs:
6+
verify:
7+
runs-on: ubuntu-latest
8+
container:
9+
image: bitsrc/stable:1.9.124-alpine
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Install dependencies
16+
run: bit install
17+
env:
18+
BIT_CONFIG_USER_TOKEN: ${{ secrets.BIT_ACCESS_TOKEN }}
19+
20+
- name: Verify workspace
21+
run: bit ci verify
22+
env:
23+
BIT_CONFIG_USER_TOKEN: ${{ secrets.BIT_ACCESS_TOKEN }}

.gitignore

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
.pnpm-debug.log*
9+
10+
# Diagnostic reports (https://nodejs.org/api/report.html)
11+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12+
13+
# Runtime data
14+
pids
15+
*.pid
16+
*.seed
17+
*.pid.lock
18+
19+
# Directory for instrumented libs generated by jscoverage/JSCover
20+
lib-cov
21+
22+
# Coverage directory used by tools like istanbul
23+
coverage
24+
*.lcov
25+
26+
# nyc test coverage
27+
.nyc_output
28+
29+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30+
.grunt
31+
32+
# Bower dependency directory (https://bower.io/)
33+
bower_components
34+
35+
# node-waf configuration
36+
.lock-wscript
37+
38+
# Compiled binary addons (https://nodejs.org/api/addons.html)
39+
build/Release
40+
41+
# Dependency directories
42+
node_modules/
43+
jspm_packages/
44+
45+
# Snowpack dependency directory (https://snowpack.dev/)
46+
web_modules/
47+
48+
# TypeScript cache
49+
*.tsbuildinfo
50+
51+
# Optional npm cache directory
52+
.npm
53+
54+
# Optional eslint cache
55+
.eslintcache
56+
57+
# Optional stylelint cache
58+
.stylelintcache
59+
60+
# Microbundle cache
61+
.rpt2_cache/
62+
.rts2_cache_cjs/
63+
.rts2_cache_es/
64+
.rts2_cache_umd/
65+
66+
# Optional REPL history
67+
.node_repl_history
68+
69+
# Output of 'npm pack'
70+
*.tgz
71+
72+
# Yarn Integrity file
73+
.yarn-integrity
74+
75+
# dotenv environment variable files
76+
.env
77+
.env.development.local
78+
.env.test.local
79+
.env.production.local
80+
.env.local
81+
82+
# parcel-bundler cache (https://parceljs.org/)
83+
.cache
84+
.parcel-cache
85+
86+
# Next.js build output
87+
.next
88+
out
89+
90+
# Nuxt.js build / generate output
91+
.nuxt
92+
dist
93+
94+
# Gatsby files
95+
.cache/
96+
# Comment in the public line in if your project uses Gatsby and not Next.js
97+
# https://nextjs.org/blog/next-9-1#public-directory-support
98+
# public
99+
100+
# vuepress build output
101+
.vuepress/dist
102+
103+
# vuepress v2.x temp and cache directory
104+
.temp
105+
.cache
106+
107+
# vitepress build output
108+
**/.vitepress/dist
109+
110+
# vitepress cache directory
111+
**/.vitepress/cache
112+
113+
# Docusaurus cache and generated files
114+
.docusaurus
115+
116+
# Serverless directories
117+
.serverless/
118+
119+
# FuseBox cache
120+
.fusebox/
121+
122+
# DynamoDB Local files
123+
.dynamodb/
124+
125+
# TernJS port file
126+
.tern-port
127+
128+
# Stores VSCode versions used for testing VSCode extensions
129+
.vscode-test
130+
131+
# yarn v2
132+
.yarn/cache
133+
.yarn/unplugged
134+
.yarn/build-state.yml
135+
.yarn/install-state.gz
136+
.pnp.*

.prettierrc.cjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// bit-generated-prettier-config
2+
module.exports = {
3+
...require('./node_modules/.cache/.prettierrc.bit.e4882af8861bcf5b0147891d8b70b40a10428881.cjs')
4+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { Button } from './button.js';
2+
3+
export const BasicButton = () => {
4+
return (
5+
<Button>hello world!</Button>
6+
);
7+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
description: A Button component.
3+
---
4+
5+
import { Button } from './button';
6+
7+
## Basic usage
8+
9+
Use the button component:
10+
11+
```js
12+
<Button />
13+
```
14+
15+
### Display the text
16+
17+
```js live
18+
<Button>Hello world!</Button>
19+
```

0 commit comments

Comments
 (0)