https://github.com/moki/mokui
ui components
https://github.com/moki/mokui
bem component css grid header javascript layout lerna monorepo rollup subsystem tabs text theme typescript ui web
Last synced: about 2 months ago
JSON representation
ui components
- Host: GitHub
- URL: https://github.com/moki/mokui
- Owner: moki
- License: bsd-3-clause
- Created: 2019-07-31T17:15:00.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T11:09:43.000Z (over 2 years ago)
- Last Synced: 2025-03-28T00:02:41.431Z (2 months ago)
- Topics: bem, component, css, grid, header, javascript, layout, lerna, monorepo, rollup, subsystem, tabs, text, theme, typescript, ui, web
- Language: TypeScript
- Homepage:
- Size: 995 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
mokui
--------------------------------------------------------------------------------
ui components monorepoComponents
--------------------------------------------------------------------------------
individual components and their specifications
can be found at `packages/`Stories
--------------------------------------------------------------------------------
stories featuring components can be found at `stories/`Scripts
--------------------------------------------------------------------------------
```
$ sh init-dev-env.sh
```initializes dev tooling, basically run this after yarn[npm init]
(.githooks).```
$ yarn new:packages
```creates new package scaffolds its structure.
```
$ yarn add [@version] --dev -W
```adds development dependency(ies) common to (the yarn workspace)
all packages inside the monoreo.```
$ yarn add:packages [@version]
```adds dependency common to all packages inside the monoreo.
```
$ yarn remove:packages
```removes dependencies from all monorepo packages.
```
$ yarn add-sibling:packages
```adds package as a dependency to the package.
```
$ yarn publish:packages
```publishes packages with lerna.
```
$ yarn build:packages
```cleans previous builds and makes production build of each package.
```
$ yarn run:packages [arguments...]
```runs command with arguments [arguments...]
against each package inside the monorepo.```
$ yarn build:dev
```cleans previous builds and builds stories development playground
in the watch mode.stories/
development playground served at localhost:3000
```
$ yarn clean:packages
```cleans production build of each package inside monorepo.
```
$ yarn clean:dev
```cleans previous stories development playground builds.
```
$ yarn prepublishOnly
```prepares packages for publishing.
License
--------------------------------------------------------------------------------
BSD 3-Clause LicenseCopyright (c) 2019, Kirill Morozov (moki)
All rights reserved.Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.