Skip to content

Commit 587dc95

Browse files
committed
refactor: migrate repository to lerna
1 parent 3077364 commit 587dc95

File tree

165 files changed

+2728
-1049
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+2728
-1049
lines changed
File renamed without changes.
File renamed without changes.

.github/CODE_OF_CONDUCT.md

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at . The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

.github/COMMIT_CONVENTION.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ Appears under "Features" header, `compiler` subheader:
1010
feat(compiler): add 'comments' option
1111
```
1212

13-
Appears under "Bug Fixes" header, `v-model` subheader, with a link to issue #28:
13+
Appears under "Bug Fixes" header, `sidebar` subheader, with a link to issue #28:
1414

1515
```
16-
fix(v-model): handle events on blur
16+
fix(sidebar): handle events on blur
1717
1818
close #28
1919
```

.github/CONTRIBUTING.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ included in the project:
8989

9090
```bash
9191
# Clone your fork of the repo into the current directory
92-
git clone https://github.com/<your-username>/coreui.git
92+
git clone https://github.com/<your-username>/coreui-react.git
9393
# Navigate to the newly cloned directory
9494
cd coreui
9595
# Assign the original repo to a remote called "upstream"
96-
git remote add upstream https://github.com/coreui/coreui.git
96+
git remote add upstream https://github.com/coreui/coreui-vue.git
9797
```
9898

9999
2. If you cloned a while ago, get the latest changes from upstream:
@@ -165,13 +165,14 @@ Please use following commit message format.
165165
- When feasible, default color palettes should comply with [WCAG color contrast guidelines](http://www.w3.org/TR/WCAG20/#visual-audio-contrast).
166166
- Except in rare cases, don't remove default `:focus` styles (via e.g. `outline: none;`) without providing alternative styles. See [this A11Y Project post](http://a11yproject.com/posts/never-remove-css-outlines) for more details.
167167

168-
### JS / TS / Vue
168+
### JS
169169

170170
- No semicolons (in client-side JS)
171171
- 2 spaces (no tabs)
172172
- strict mode
173173
- "Attractive"
174+
- Don't use [jQuery event alias convenience methods](https://github.com/jquery/jquery/blob/master/src/event/alias.js) (such as `$().focus()`). Instead, use [`$().trigger(eventType, ...)`](http://api.jquery.com/trigger/) or [`$().on(eventType, ...)`](http://api.jquery.com/on/), depending on whether you're firing an event or listening for an event. (For example, `$().trigger('focus')` or `$().on('focus', function (event) { /* handle focus event */ })`) We do this to be compatible with custom builds of jQuery where the event aliases module has been excluded.
174175

175176
## License
176177

177-
By contributing your code, you agree to license your contribution under the [MIT License](LICENSE).
178+
By contributing your code, you agree to license your contribution under the [MIT License](LICENSE).

.github/ISSUE_TEMPLATE/bug_report.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Bug report
3-
about: Tell us about a bug you may have identified in CoreUI.
3+
about: Tell us about a bug you may have identified in Bootstrap.
44
title: ''
55
labels: ''
66
assignees: ''

.github/ISSUE_TEMPLATE/config.yml

-4
This file was deleted.

.github/SUPPORT.md

-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ See the [contributing guidelines](CONTRIBUTING.md) for sharing bug reports.
77
For general troubleshooting or help getting started:
88

99
- Join [the official community](https://community.coreui.io/).
10-
- Ask and explore Stack Overflow with the [`coreui`](https://stackoverflow.com/questions/tagged/coreui) tag.

.github/workflows/daily-project-check.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [14.x]
15+
node-version: [12.x]
1616
os: [ubuntu-latest, windows-latest, macOS-latest]
1717

1818
steps:
@@ -21,9 +21,11 @@ jobs:
2121
uses: actions/setup-node@v1
2222
with:
2323
node-version: ${{ matrix.node-version }}
24-
- name: npm install, build, test:coverage and lint
24+
- name: npm install, build, test and lint
2525
run: |
2626
npm i
27-
npm run release
27+
npm run build
28+
npm run jest:test
29+
npm run lint
2830
env:
2931
CI: true

.github/workflows/project-check.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches:
66
- master
77
pull_request:
8+
branches:
9+
- master
810

911
jobs:
1012
build:
@@ -13,7 +15,7 @@ jobs:
1315

1416
strategy:
1517
matrix:
16-
node-version: [14.x]
18+
node-version: [12.x]
1719
os: [ubuntu-latest, windows-latest, macOS-latest]
1820

1921
steps:
@@ -22,9 +24,11 @@ jobs:
2224
uses: actions/setup-node@v1
2325
with:
2426
node-version: ${{ matrix.node-version }}
25-
- name: npm install, build, test:coverage and lint
27+
- name: npm install, build, test and lint
2628
run: |
2729
npm i
28-
npm run release
30+
npm run build
31+
npm run jest:test
32+
npm run lint
2933
env:
3034
CI: true

.gitignore

+15-2
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,18 @@ coverage/
55
dist/
66
node_modules/
77
temp/
8-
docs/.vuepress/.cache/
9-
docs/.vuepress/.temp/
8+
9+
# OS or Editor folders
10+
._*
11+
.cache
12+
.DS_Store
13+
.idea
14+
.project
15+
.settings
16+
.tmproj
17+
*.esproj
18+
*.sublime-project
19+
*.sublime-workspace
20+
nbproject
21+
Thumbs.db
22+
/.vscode/
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)