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

Francesco Baccetti 8e332c23f3 Add Yarn Scripts 4 năm trước cách đây
packages 9e4716a056 Align Gallery Header With Video Title and Channel Avatar 4 năm trước cách đây
.eslintrc.js 6bbedd69e0 Add Style Reducer And Small Button Refactor 4 năm trước cách đây
.gitignore 562163d23e Add Chromia And Partial Jest Setup 4 năm trước cách đây
.huskyrc cfb3da0073 Add 'atlas/' from commit 'b0d9e86372a8f70ca70f8fd616c52c857ac39a2a' 4 năm trước cách đây
.prettierrc 6bbedd69e0 Add Style Reducer And Small Button Refactor 4 năm trước cách đây
README.md c80f636afc Update README 4 năm trước cách đây
babel.config.json 64a758c0f9 Get Monorepo In Good State 4 năm trước cách đây
jest.config.js 562163d23e Add Chromia And Partial Jest Setup 4 năm trước cách đây
lerna.json cfb3da0073 Add 'atlas/' from commit 'b0d9e86372a8f70ca70f8fd616c52c857ac39a2a' 4 năm trước cách đây
package.json 8e332c23f3 Add Yarn Scripts 4 năm trước cách đây
setupTests.js 562163d23e Add Chromia And Partial Jest Setup 4 năm trước cách đây
tsconfig.json 64a758c0f9 Get Monorepo In Good State 4 năm trước cách đây
yarn.lock 8895909007 Carousel Refactor And Minor Refactors 4 năm trước cách đây

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.