Code Monkey home page Code Monkey logo

mcs-lite-app's Introduction

This repository is no longer maintained.

Issue reports and pull requests will not be attended.
If you are using mcs-lite-ui, mcs-lite-icon, mcs-lite-theme, please migrate to mcs-ui

Migrate to mcs-ui

  1. Please upgrade react, react-dom to version 16 or higher
  2. Please upgrade styled-components to version 4.0.2 or higher
  3. Please upgrade react-overlay-pack to version 3 or higher
  4. Change import names from mcs-lite-ui, mcs-lite-icon, mcs-lite-theme to mcs-ui by referencing index.js

MCS Lite TravisCI CircleCI codecov prettier

Note: MCS Lite core and Desktop website is being developed at https://github.com/MCS-Lite/mcs-lite-app.

Requirements

  • node >= 9.11.1
  • yarn >= 1.6.0

Packages

Package Description Version Downloads
babel-preset-mcs-lite Babel preset used by MCS Lite npm npm downloads
eslint-config-mcs-lite Eslint config used by MCS Lite npm npm downloads
mcs-lite-admin-web MCS Lite Admin Web npm npm downloads
mcs-lite-connect Connect MCS with WebSocket npm npm downloads
mcs-lite-design The source images to be compressed used by MCS Lite npm npm downloads
mcs-lite-icon Convert SVG icon to React components npm npm downloads
mcs-lite-introduction GitBook for MCS Lite documentation npm npm downloads
mcs-lite-landing-web MCS Lite Landing Web
mcs-lite-mobile-web MCS Lite Mobile Web npm npm downloads
mcs-lite-scripts Shared scripts and CLI used by MCS Lite npm npm downloads
mcs-lite-theme Defined Theme and helpers for mcs-lite-ui npm npm downloads
mcs-lite-translation I18n workflow with React-Intl used by MCS Lite npm npm downloads
mcs-lite-ui Common UI used by MCS Lite npm npm downloads
react-intl-cra Move to https://github.com/evenchange4/react-intl-cra
react-intl-inject-hoc The convenience HOC of react-intl injectIntl npm npm downloads

Install

$ npm i mcs-lite-ui mcs-lite-icon mcs-lite-theme --save

Development

# Install all external dependencies of each package.
$ yarn install --pure-lockfile
$ yarn run clean # Remove all node_modules

Building all mono-packages

$ ./tasks/build.sh

Testing

$ yarn run format
$ ./tasks/lint.sh
$ ./tasks/test.sh
$ ./tasks/test-page.sh

mcs-lite-ui

Development

# cd packages/mcs-lite-ui
$ yarn start

Testing

$ yarn run test:watch

NPM Scripts Interface

Root

  • yarn run clean: remove all node_modules
  • lint: eslint and flow
  • yarn run format: prettier
  • yarn run release: publish

Packages

Package clean test start build
babel-preset-mcs-lite V -
eslint-config-mcs-lite V -
mcs-lite-admin-web V V V
mcs-lite-connect V V
mcs-lite-design V V
mcs-lite-icon V V
mcs-lite-introduction V V V
mcs-lite-landing-web V V V
mcs-lite-mobile-web V V V
mcs-lite-scripts V V
mcs-lite-theme V V
mcs-lite-translation V V V
mcs-lite-ui V V V V
react-intl-inject-hoc V V

Environment variables

  • mcs-lite-introduction: GA_ID

  • mcs-lite-mobile-web: WebSocket PORT

    Replace __SOCKET_PORT_FROM_SERVER__ in the build/index.html file. (Default to 8000)


Other Notes

npm-check-updates

$ npm install -g npm-check-updates
$ ncu && node_modules/.bin/lerna exec --concurrency 1 -- ncu # check for all packages
$ ncu -au && node_modules/.bin/lerna exec --concurrency 1 -- ncu -au # update packages.json

license-checker

$ yarn run clean && yarn # Re-install node_modules
$ yarn run license

NPM package licenses: licenses.csv

Support

Team

Michael Hsu Abel Chen Abby Chiu Daria Chen blue chen
Michael Hsu Abel Chen Abby Chiu Daria Chen blue chen
@evenchange4 @cettoana @abby1002 @dariachen @iamblue
@evenchange4

Thanks

Browserstack

Browserstack for providing access to their great cross-browser testing tools.

mcs-lite-app's People

Contributors

appleboy avatar cettoana avatar dariachen avatar evenchange4 avatar greenkeeper[bot] avatar iamblue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mcs-lite-app's Issues

Fota feature

Step 1:

  1. Design an api for User to upload binary
  2. Combine Linkit SDK fota feature.

Step 2:

  1. UI: MCS online like

An in-range update of prettier is breaking the build 🚨

Version 1.5.3 of prettier just got published.

Branch Build failing 🚨
Dependency prettier
Current Version 1.5.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As prettier is β€œonly” a devDependency of this project it might not break production or downstream projects, but β€œonly” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this πŸ’ͺ

Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build failed Details

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

datachannel Id should not repeat.

as title.

  1. When user create new datachannle in the prototype detail page.
  2. Import JSON data api should filter repeated datachannel Id
  3. create datachannel api should filter this.

An in-range update of mcs-lite-mobile-web is breaking the build 🚨

Version 0.4.10 of mcs-lite-mobile-web just got published.

Branch Build failing 🚨
Dependency mcs-lite-mobile-web
Current Version 0.4.9
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

mcs-lite-mobile-web is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this πŸ’ͺ

Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build failed Details

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

An in-range update of compression is breaking the build 🚨

Version 1.7.0 of compression just got published.

Branch Build failing 🚨
Dependency compression
Current Version 1.6.2
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

compression is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this πŸ’ͺ

Status Details
  • ❌ continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes 1.7.0
  • Use safe-buffer for improved Buffer API
  • deps: [email protected]
  • deps: compressible@~2.0.10
    • Fix regex fallback to not override compressible: false in db
    • deps: mime-db@'>= 1.27.0 < 2'
  • deps: [email protected]
    • Allow colors in workers
    • Deprecated DEBUG_FD environment variable set to 3 or higher
    • Fix error when running under React Native
    • Fix DEBUG_MAX_ARRAY_LENGTH
    • Use same color for same namespace
    • deps: [email protected]
  • deps: vary@~1.1.1
    • perf: hoist regular expression
Commits

The new version differs by 37 commits.

There are 37 commits in total.

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

MySQL DB wrapper porting

  1. Design an api for user to change DB wrapper
  2. Design an roadmap for porting MySQL
  3. MySQL porting will use sequelize

Design an interface for user to customize their api on their project

User can require mcs-lite-app in their project, and customize api.

For example :

var mcsRestServer = require('mcs-lite-app').restserver;
mcsRestServer.get('/blabla', function(req, res, next){ ... });
mcsRestServer.init($wot, $rest, ... ) // for customize configs 
mcsRestServer.start(8000, 'localhost');

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.