Code Monkey home page Code Monkey logo

pie-lib's Introduction

@pie-lib/*

CircleCI

Some reusable react components, mostly used in pie components.

Elements are in packages.

install

yarn install
./node_modules/.bin/lerna bootstrap

Commands

Action Cmd Notes
test npm test
lint npm run lint
build npm run build
release npm run release
dev scripts/dev --scope $package-name run the demo site on localhost:3000 --scope if optional
static scripts/wip $alias-name build and deploy the static site tno now.sh

Workflow

  • merging to develop releases next versions and deploys to pie-lib-next.now.sh
  • merging to master releases latest versions and deploys to pie-lib.now.sh

test a single package

Just point jest to the dir/file:

./node_modules/.bin/jest packages/pkg-name/src/

contributing

  • the packages use independent versioning, meaning that a change in 1 package won't bump another package's version.
  • use conventional commits syntax when commiting, lerna will detect the appropriate version bump.

rebase

To skip husky during a rebase do:

HUSKY_SKIP_HOOKS=1 git rebase ...

dependencies

Test issues

Sometimes the project test set up can get out of synch

  • try lerna bootstrap, npm run build, rm -fr packages/test-utils/node_modules and run again.

Building and deploying a pre-release

# make sure the local demo is working first: scripts/dev then:
./node_modules/.bin/next build packages/demo
./node_modules/.bin/next export packages/demo
cd out
# you can now deploy using now (or if you have another static site handler)
now .

pie-lib's People

Contributors

edeustace avatar lakatosandrei avatar andreeapescar avatar elodszopos avatar patriciaromaniuc avatar andreeimiron avatar mukeshsharma04 avatar carlacostea avatar dreamerin avatar sergiulucaci avatar evaneus avatar harryprimoko avatar dianagociu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.