Forked from Joystream/atlas https://github.com/Joystream/atlas

Francesco Baccetti 66e120060f Add New Rules To ESLint and Prettier преди 4 години
packages bf8be1bace Add Back Router And Remove Width And Height From VideoPreviewProps преди 4 години
.eslintignore 66e120060f Add New Rules To ESLint and Prettier преди 4 години
.eslintrc.js 66e120060f Add New Rules To ESLint and Prettier преди 4 години
.gitignore 66e120060f Add New Rules To ESLint and Prettier преди 4 години
.huskyrc cfb3da0073 Add 'atlas/' from commit 'b0d9e86372a8f70ca70f8fd616c52c857ac39a2a' преди 4 години
.prettierrc 66e120060f Add New Rules To ESLint and Prettier преди 4 години
README.md c80f636afc Update README преди 4 години
babel.config.json 64a758c0f9 Get Monorepo In Good State преди 4 години
jest.config.js c0e13fa123 Make Travis Run Iff Rust Files Have Been Changed преди 4 години
lerna.json cfb3da0073 Add 'atlas/' from commit 'b0d9e86372a8f70ca70f8fd616c52c857ac39a2a' преди 4 години
package.json 66e120060f Add New Rules To ESLint and Prettier преди 4 години
setupTests.js c0e13fa123 Make Travis Run Iff Rust Files Have Been Changed преди 4 години
tsconfig.json 64a758c0f9 Get Monorepo In Good State преди 4 години
yarn.lock 66e120060f Add New Rules To ESLint and Prettier преди 4 години

README.md

Getting Started

After cloning the repo, run:

$ cd atlas
$ yarn install
$ yarn start

To start the app on localhost:1234, Storybook on localhost:6006 and the bundler in watch mode.

To build both the component package and the app together, run

$ yarn build

To run tests (Currently WIP) run

$ yarn test

Packages

This monorepo consists of two packages, app and @joystream/components (the components package). This repo is managed with yarn workspaces

To run a command in a workspace:

$ yarn workspace YOUR_WORKSPACE_NAME YOUR_COMMAND

For example, to add react-spring to @joystream/components:

$ yarn workspace @joystream/components add react-spring

Components Package

The components package is located under ./packages/components and can is usually referenced by @joystream/components. It is, as the name suggests, a component library and everything related to components and atomic parts of the UI belongs here.

App package

The components package is located under ./packages/app and is where the actual Atlas application lives. Business logic, full pages and data fetching should all reside here.

Deploy Previews

Each PR has deploy previews for both for Storybook and for the App on Chromia and Netlify respectively.