Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 159f71c

Browse files
Merge pull request #6 from codebender828/lerna
Lerna
2 parents 6b4b396 + a3e474d commit 159f71c

Some content is hidden

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

85 files changed

+9187
-1926
lines changed

.gitignore

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.DS_Store
22
node_modules
3-
/dist
3+
**/dist
44
/public
55
/storybook-static
66

@@ -24,3 +24,8 @@ yarn-error.log*
2424
*.njsproj
2525
*.sln
2626
*.sw?
27+
28+
# Workspaces
29+
packages/*/coverage
30+
packages/*/dist
31+
packages/*/node_modules

.huskyrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"hooks": {
33
"pre-commit": "lint-staged",
4-
"pre-push": "yarn test:unit",
4+
"pre-push": "yarn test",
55
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
66
}
77
}

CHANGELOG.md

+87
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
## [1.0.5](https://github.com/codebender828/kiwi-ui/compare/v1.0.4...v1.0.5) (2019-12-02)
7+
8+
**Note:** Version bump only for package root
9+
10+
11+
12+
13+
14+
## [1.0.4](https://github.com/codebender828/kiwi-ui/compare/v1.0.3...v1.0.4) (2019-12-02)
15+
16+
**Note:** Version bump only for package root
17+
18+
19+
20+
21+
22+
## [1.0.3](https://github.com/codebender828/kiwi-ui/compare/v1.0.2...v1.0.3) (2019-12-02)
23+
24+
**Note:** Version bump only for package root
25+
26+
27+
28+
29+
30+
## [1.0.2](https://github.com/codebender828/kiwi-ui/compare/v1.0.1...v1.0.2) (2019-12-02)
31+
32+
**Note:** Version bump only for package root
33+
34+
35+
36+
37+
38+
## 1.0.1 (2019-12-02)
39+
40+
41+
### Bug Fixes
42+
43+
* tests for theme provider ([456ff16](https://github.com/codebender828/kiwi-ui/commit/456ff160c075c72e59a3bf707127ef3dd788ce2c))
44+
* **badge:** updated badge tests ([8987a55](https://github.com/codebender828/kiwi-ui/commit/8987a55dacdc54f0f2cc77556def1d80431d08a4))
45+
* **build:** set storybook log mode to minimal ([a67e46e](https://github.com/codebender828/kiwi-ui/commit/a67e46e7100e4b336cad1fc6ebee41639397afe6))
46+
* **button:** setup unit tests ([b6f9d11](https://github.com/codebender828/kiwi-ui/commit/b6f9d11f3abf3643a2cdb805cee593e97650e4c5))
47+
* **test:** provide theme in button component ([d9f2fa0](https://github.com/codebender828/kiwi-ui/commit/d9f2fa03bf0df57bba6995ade5950c8428d9d7d9))
48+
49+
50+
### Features
51+
52+
* **alert:** added alert and alert icon component ([72b86ee](https://github.com/codebender828/kiwi-ui/commit/72b86ee4e5507a0fc4f778a830fa31d5beca84cd))
53+
* **alert:** added storybook ([b2d77b4](https://github.com/codebender828/kiwi-ui/commit/b2d77b4bc28d5a172b05f84db495b5ffdbd0c2e1))
54+
* **alert:** alert description and icons for alert statuses ([45ee71f](https://github.com/codebender828/kiwi-ui/commit/45ee71f72c5cad3847ec2fbe6a3912b97ef671d1))
55+
* **badge:** added badge component ([bb43a0b](https://github.com/codebender828/kiwi-ui/commit/bb43a0b3dca5c89e1f212d07fc865c416136c82c))
56+
* **badge:** added badge storybook ([6d3a33c](https://github.com/codebender828/kiwi-ui/commit/6d3a33c41557a1063fc5b37e60f2c4bbe63e2cea))
57+
* **box:** added some more props ([6a96c64](https://github.com/codebender828/kiwi-ui/commit/6a96c6495b166a6dec7e5c272696560dbbddbe41))
58+
* **box:** implemented box component with styled component ([da5ccb2](https://github.com/codebender828/kiwi-ui/commit/da5ccb2482fa33a053638897b510b134094add42))
59+
* **button:** added storybook for button ([238ad37](https://github.com/codebender828/kiwi-ui/commit/238ad37c53f49e27cbea70b9f9e1b479cf2bcd85))
60+
* **button:** button with icon ([87d4eba](https://github.com/codebender828/kiwi-ui/commit/87d4ebae74ccf18f25033cf63b300cda5053a6d1))
61+
* **button:** cleanup and set spinner to button ([b51eb11](https://github.com/codebender828/kiwi-ui/commit/b51eb11813c9cddab92128ee0fd398cd7689a107))
62+
* **button:** color created base button component ([d71582e](https://github.com/codebender828/kiwi-ui/commit/d71582e50ce2ed9169d919d0b8e6d41630a9b1ed))
63+
* **button:** converted button to render function ([73b17b2](https://github.com/codebender828/kiwi-ui/commit/73b17b296ef2885284e06db3b4e5ddd1f4d4e0ea))
64+
* **button:** variant styles ([b426895](https://github.com/codebender828/kiwi-ui/commit/b4268958c9fb04cd79a6f820db363610201c61ad))
65+
* **closebutton:** added close button ([2f35c65](https://github.com/codebender828/kiwi-ui/commit/2f35c6511c8970f54ba4c81074fa174f82ec781a))
66+
* **closebutton:** added closebutton story ([1186c9b](https://github.com/codebender828/kiwi-ui/commit/1186c9ba331f96c5bee62911ab747540e8f8a92e))
67+
* **colors:** added colors ([6d71eb6](https://github.com/codebender828/kiwi-ui/commit/6d71eb66b9d0b654347dcbbdfa72f4ebacd310a0))
68+
* **components:** spinner and icon components ([de9624a](https://github.com/codebender828/kiwi-ui/commit/de9624a79077eebba2b435eeca3e991e8fd5f987))
69+
* **docs:** setup vuepress documetnation for kiwi ([655d648](https://github.com/codebender828/kiwi-ui/commit/655d648dcc8905cd789f14b142f2061794b9ee3b))
70+
* **focus:** focusing of button composition api ([774202e](https://github.com/codebender828/kiwi-ui/commit/774202e3be54e7395256903d430cc5f850bae70e))
71+
* **icon:** added icon component ([93b82d5](https://github.com/codebender828/kiwi-ui/commit/93b82d5994285f6f6f87fd5abbdb17f989825cce))
72+
* **icon:** added icon storybook ([a789119](https://github.com/codebender828/kiwi-ui/commit/a789119aa708f805e1a4323f2abc266d82eaf68f))
73+
* **icon:** implemented internal icons ([aafe5bf](https://github.com/codebender828/kiwi-ui/commit/aafe5bfbfbd332da12f146728acba1c0cb586c9d))
74+
* **iconbutton:** created icon button component ([93aa1cc](https://github.com/codebender828/kiwi-ui/commit/93aa1cc0b2421dfe587912b263337ee22efd20b7))
75+
* **iconbutton:** icon button storybook ([37c92de](https://github.com/codebender828/kiwi-ui/commit/37c92de87d6aefa041f81f8e6def33f72c4ee65f))
76+
* **linter:** git commit messages linter ([19b54a2](https://github.com/codebender828/kiwi-ui/commit/19b54a2e549b8ee57fc086566d7b76e6d69f84b0))
77+
* **props:** enabled filtering for undefined ([ae854f4](https://github.com/codebender828/kiwi-ui/commit/ae854f44299c190c0b489d99b5570b34a42a06c3))
78+
* **pseudobox:** added :odd pseudo style ([9b025d9](https://github.com/codebender828/kiwi-ui/commit/9b025d9ae60174bb398dad283effeff0163885e3))
79+
* **pseudobox:** added pseudo props to pseudobox component ([fea44d1](https://github.com/codebender828/kiwi-ui/commit/fea44d1aa6270956f8dae3a02596fa34303914a2))
80+
* **pseudobox:** created pseudobox component ([0660fbd](https://github.com/codebender828/kiwi-ui/commit/0660fbd823ec09ae060dfcb5b987ee0687aa41e9))
81+
* **pseudobox:** created storybook for pseudobox ([91d6a8a](https://github.com/codebender828/kiwi-ui/commit/91d6a8a8873ecab1362e87176b657a81b06047f5))
82+
* **storybook:** setup storybook for styled components ([4f45c59](https://github.com/codebender828/kiwi-ui/commit/4f45c596011fd11c68e7ec4dd9f29280d39a99b5))
83+
* **test:** setup lintstaged ([6e409aa](https://github.com/codebender828/kiwi-ui/commit/6e409aa90f45aa4d707b17aed219aa05c0182d3a))
84+
* **text:** added text component ([fa7aaed](https://github.com/codebender828/kiwi-ui/commit/fa7aaed5458b165d9c60cd56996d581763fbd680))
85+
* **text:** created text storbook ([487ba63](https://github.com/codebender828/kiwi-ui/commit/487ba63747491b08ddc56e20737f1c14f751d54c))
86+
* **theme:** added styled system variables ([7297fa9](https://github.com/codebender828/kiwi-ui/commit/7297fa9329b974f6836f5e60dce52991819a5bd8))
87+
* **toast:** added toas component and story ([546ff47](https://github.com/codebender828/kiwi-ui/commit/546ff477e081f0763078e680d6a7522580da2491))

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A complete list of all components to be built can be found here 👇🏽.
1010
### Browsing Components
1111
You can also view all developed components in Storybook!
1212

13-
<a href="https://kiwi-ui.netlify.com" target="_blank" style="background: #2a4106; color: #9fdc3c; padding: 0.7em; border-radius: 4px; font-weight: 700; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);">🔖 View Storybook</a>
13+
<a href="https://codebender828.github.io/kiwi-ui" target="_blank" style="background: #2a4106; color: #9fdc3c; padding: 0.7em; border-radius: 4px; font-weight: 700; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);">🔖 View Storybook</a>
1414

1515
## Development
1616
This current verison of Kiwi uses a forked version of `vue-styled-components`. This will be replaced in the near future. I order to get started with the development environment, run the following commands to install all packages and then build `vue-styled-components` dist. And voila! You're good to go. You only need to run this once after running `yarn install` on this repository.

lerna-debug.log

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
0 silly argv { _: [ 'version' ],
2+
0 silly argv 'conventional-commits': true,
3+
0 silly argv conventionalCommits: true,
4+
0 silly argv lernaVersion: '3.19.0',
5+
0 silly argv '$0': '/Users/jonathanbakebwa/Github/kiwi/node_modules/.bin/lerna' }
6+
1 notice cli v3.19.0
7+
2 verbose rootPath /Users/jonathanbakebwa/Github/kiwi
8+
3 info current version 0.0.0
9+
4 silly isAnythingCommitted
10+
5 verbose isAnythingCommitted 1
11+
6 silly currentBranch
12+
7 verbose currentBranch lerna
13+
8 silly remoteBranchExists
14+
9 silly isBehindUpstream
15+
10 error Error: Command failed: git remote update
16+
10 error error: cannot lock ref 'refs/remotes/origin/dev/use-lerna': 'refs/remotes/origin/dev' exists; cannot create 'refs/remotes/origin/dev/use-lerna'
17+
10 error From github.com:codebender828/kiwi-ui
18+
10 error ! [new branch] dev/use-lerna -> origin/dev/use-lerna (unable to update local ref)
19+
10 error error: some local refs could not be updated; try running
20+
10 error 'git remote prune origin' to remove any old, conflicting branches
21+
10 error error: Could not fetch origin
22+
10 error
23+
10 error Fetching origin
24+
10 error
25+
10 error at makeError (/Users/jonathanbakebwa/Github/kiwi/node_modules/execa/index.js:174:9)
26+
10 error at Function.module.exports.sync (/Users/jonathanbakebwa/Github/kiwi/node_modules/execa/index.js:338:15)
27+
10 error at Object.execSync (/Users/jonathanbakebwa/Github/kiwi/node_modules/@lerna/child-process/index.js:26:16)
28+
10 error at updateRemote (/Users/jonathanbakebwa/Github/kiwi/node_modules/@lerna/version/lib/is-behind-upstream.js:26:16)
29+
10 error at isBehindUpstream (/Users/jonathanbakebwa/Github/kiwi/node_modules/@lerna/version/lib/is-behind-upstream.js:11:3)
30+
10 error at VersionCommand.initialize (/Users/jonathanbakebwa/Github/kiwi/node_modules/@lerna/version/index.js:150:9)

lerna.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"packages": [
3+
"packages/*"
4+
],
5+
"npmClient": "yarn",
6+
"useWorkspaces": true,
7+
"registry": "https://registry.npmjs.org/",
8+
"command": {
9+
"publish": {
10+
"conventionalCommits": true,
11+
"message": "chore(release): publish"
12+
}
13+
},
14+
"version": "1.0.5"
15+
}

now.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "kiwi-ui",
3+
"version": 2,
4+
"builds": [
5+
{
6+
"src": "package.json",
7+
"use": "@now/static-build"
8+
}
9+
],
10+
"routes": [
11+
{
12+
"src": "/(js|css|img)/.*",
13+
"headers": { "cache-control": "max-age=31536000, immutable" }
14+
},
15+
{ "handle": "filesystem" },
16+
{ "src": ".*", "dest": "/" }
17+
]
18+
}

package.json

+53-27
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,98 @@
11
{
2-
"name": "kiwi-ui",
3-
"version": "0.1.0",
2+
"name": "root",
43
"private": true,
4+
"maintainers": [
5+
"Jonathan Bakebwa <[email protected]>"
6+
],
7+
"author": "Jonathan Bakebwa <[email protected]>",
8+
"workspaces": [
9+
"packages/*"
10+
],
511
"scripts": {
612
"serve": "vue-cli-service serve",
713
"build": "vue-cli-service build",
814
"lint": "vue-cli-service lint",
9-
"test:e2e": "vue-cli-service test:e2e",
1015
"test:unit": "vue-cli-service test:unit",
16+
"lerna:build": "lerna run build",
17+
"test": "lerna run test",
18+
"clean": "lerna run clean",
19+
"release": "lerna publish",
20+
"push": "git add -A && git commit -m \"chore(lerna): publishing package \" && lerna version --conventional-commits",
1121
"storybook": "start-storybook -p 6006",
1222
"build-storybook": "build-storybook --quiet",
1323
"docs:dev": "vuepress dev docs",
1424
"docs:build": "vuepress build docs",
15-
"build-vsc": "cd node_modules/vue-styled-components && npm install && npm run build && cd ../../"
16-
},
17-
"dependencies": {
18-
"@babel/preset-env": "^7.6.3",
19-
"@fortawesome/free-solid-svg-icons": "^5.11.2",
20-
"@fortawesome/pro-light-svg-icons": "^5.11.2",
21-
"@styled-system/should-forward-prop": "^5.1.2",
22-
"@vue/composition-api": "^0.3.2",
23-
"breadstick": "^0.1.17",
24-
"color": "^3.1.2",
25-
"core-js": "^2.6.5",
26-
"css-loader": "^3.2.0",
27-
"esm": "^3.2.25",
28-
"lodash-es": "^4.17.15",
29-
"register-service-worker": "^1.6.2",
30-
"style-loader": "^1.0.0",
31-
"velocity-animate": "^1.5.2",
32-
"vue": "^2.6.10",
33-
"vue-create-context": "^1.1.0",
34-
"vue-notification": "^1.3.20",
35-
"vue-router": "^3.0.3",
36-
"vue-styled-components": "git+https://github.com/codebender828/vue-styled-components.git"
25+
"bootstrap": "lerna bootstrap --use-workspaces",
26+
"deploy-storybook": "storybook-to-ghpages -- --out=.out"
3727
},
3828
"devDependencies": {
39-
"@babel/core": "^7.6.0",
40-
"@babel/plugin-transform-modules-commonjs": "^7.6.0",
29+
"@babel/core": "^7.7.4",
30+
"@babel/plugin-proposal-object-rest-spread": "^7.7.4",
31+
"@babel/plugin-transform-modules-commonjs": "^7.7.4",
32+
"@babel/plugin-transform-parameters": "^7.7.4",
33+
"@babel/preset-env": "^7.7.4",
4134
"@commitlint/cli": "^8.2.0",
4235
"@commitlint/config-conventional": "^8.2.0",
36+
"@fortawesome/free-solid-svg-icons": "^5.11.2",
37+
"@fortawesome/pro-light-svg-icons": "^5.11.2",
4338
"@storybook/addon-actions": "^5.2.1",
4439
"@storybook/addon-centered": "^5.2.1",
4540
"@storybook/addon-links": "^5.2.1",
4641
"@storybook/addons": "^5.2.1",
42+
"@storybook/storybook-deployer": "^2.8.1",
4743
"@storybook/vue": "^5.2.1",
44+
"@styled-system/css": "^5.0.23",
45+
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
46+
"@vue/babel-plugin-transform-vue-jsx": "^1.1.2",
47+
"@vue/babel-preset-app": "^4.1.1",
48+
"@vue/babel-preset-jsx": "^1.1.2",
4849
"@vue/cli-plugin-babel": "^3.11.0",
4950
"@vue/cli-plugin-e2e-cypress": "^3.11.0",
5051
"@vue/cli-plugin-eslint": "^3.11.0",
5152
"@vue/cli-plugin-pwa": "^3.11.0",
5253
"@vue/cli-plugin-unit-jest": "^3.11.0",
5354
"@vue/cli-service": "^3.11.0",
55+
"@vue/composition-api": "^0.3.2",
5456
"@vue/eslint-config-standard": "^4.0.0",
5557
"@vue/test-utils": "1.0.0-beta.29",
5658
"babel-core": "7.0.0-bridge.0",
5759
"babel-eslint": "^10.0.1",
60+
"babel-helper-vue-jsx-merge-props": "^2.0.3",
5861
"babel-jest": "^23.6.0",
5962
"babel-loader": "^8.0.6",
63+
"babel-plugin-syntax-jsx": "^6.18.0",
64+
"babel-plugin-transform-es2015-for-of": "^6.23.0",
65+
"babel-plugin-transform-vue-jsx": "^3.7.0",
66+
"babel-preset-env": "^1.7.0",
67+
"babel-preset-es2015": "^6.24.1",
6068
"babel-preset-vue": "^2.0.2",
69+
"babelrc-rollup": "^3.0.0",
70+
"breadstick": "^0.1.17",
71+
"color": "^3.1.2",
72+
"core-js": "^3.4.5",
6173
"eslint": "^5.16.0",
6274
"eslint-plugin-vue": "^5.0.0",
6375
"eslint-plugin-vue-a11y": "^0.0.31",
6476
"husky": "^3.0.8",
6577
"install": "^0.13.0",
78+
"lerna": "^3.19.0",
6679
"lint-staged": "^9.4.2",
6780
"node-sass": "^4.12.0",
81+
"register-service-worker": "^1.6.2",
82+
"rollup-plugin-babel": "^4.3.3",
83+
"rollup-plugin-buble": "^0.19.8",
84+
"rollup-plugin-commonjs": "^10.1.0",
85+
"rollup-plugin-json": "^4.0.0",
86+
"rollup-plugin-jsx": "^1.0.3",
87+
"rollup-plugin-node-resolve": "^5.2.0",
88+
"rollup-plugin-terser": "^5.1.2",
89+
"rollup-plugin-vue": "^5.1.4",
6890
"sass-loader": "^8.0.0",
91+
"styled-system": "^5.1.2",
92+
"velocity-animate": "^1.5.2",
93+
"vue": "^2.6.10",
6994
"vue-loader": "^15.7.1",
95+
"vue-styled-components": "git+https://github.com/codebender828/vsc.git",
7096
"vue-template-compiler": "^2.6.10",
7197
"vuepress": "^1.2.0"
7298
}

packages/kiwi-ui/CHANGELOG.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Change Log
2+
3+
All notable changes to this project will be documented in this file.
4+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5+
6+
## [1.0.5](https://github.com/codebender828/kiwi-ui/compare/v1.0.4...v1.0.5) (2019-12-02)
7+
8+
**Note:** Version bump only for package kiwi
9+
10+
11+
12+
13+
14+
## [1.0.4](https://github.com/codebender828/kiwi-ui/compare/v1.0.3...v1.0.4) (2019-12-02)
15+
16+
**Note:** Version bump only for package kiwi
17+
18+
19+
20+
21+
22+
## [1.0.3](https://github.com/codebender828/kiwi-ui/compare/v1.0.2...v1.0.3) (2019-12-02)
23+
24+
**Note:** Version bump only for package @akkadu/kiwi-flight
25+
26+
27+
28+
29+
30+
## [1.0.2](https://github.com/codebender828/kiwi-ui/compare/v1.0.1...v1.0.2) (2019-12-02)
31+
32+
**Note:** Version bump only for package @akkadu/kiwi-flight
33+
34+
35+
36+
37+
38+
## 1.0.1 (2019-12-02)
39+
40+
**Note:** Version bump only for package @kiwi-ui/core

packages/kiwi-ui/package.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "kiwi",
3+
"version": "1.0.5",
4+
"description": "🥝 A Scalable, Accessible, High Performance, Vue.js UI component library",
5+
"author": "Jonathan Bakebwa <[email protected]>",
6+
"license": "MIT",
7+
"main": "dist/cjs/index.js",
8+
"module": "dist/es/index.js",
9+
"sideEffects": false,
10+
"private": false,
11+
"scripts": {
12+
"build": "rollup -c && rollup -c --environment MINIFY",
13+
"test": "echo testing ...",
14+
"clean": "rm -rf ./dist"
15+
},
16+
"dependencies": {
17+
"breadstick": "^0.1.17",
18+
"color": "^3.1.2",
19+
"lodash-es": "^4.17.15"
20+
},
21+
"peerDependencies": {
22+
"velocity-animate": "^1.5.2",
23+
"vue": "^2.6.10",
24+
"vue-styled-components": "git+https://github.com/codebender828/vsc.git"
25+
},
26+
"devDependencies": {
27+
"core-js": "^3.4.5"
28+
},
29+
"gitHead": "bac5958955c86e8078fe444ee2738145b894af1d"
30+
}

0 commit comments

Comments
 (0)