| name | Atlantis |
|---|---|
| route | / |
Design systems enable teams to build better products faster by making design reusable—reusability makes scale possible. This is the heart and primary value of design systems. A design system is a collection of reusable components, guided by clear standards, that can be assembled together to build any number of applications.
Atlantis is a design system for Jobber. The primary objective for Atlantis is to provide a system of reusable components to help developers to quickly build beautiful and consistent interfaces for our users.
To install Atlantis locally for development:
git clone git@github.com:GetJobber/atlantis.git
cd atlantis
npm ciTo start the docz development server:
npm startRunning the following command will prompt you for a component name and generate a starting point consisting of a component, tests, styling, etc to help you get started.
You should name your component in PascalCase.
npm run plop❯❯❯ npm run plop
> atlantis@0.0.1 plop /path/to/atlantis
> plop
? Component Name: ExampleComponent
✔ +! 5 files added
-> /packages/components/src/ExampleComponent/index.ts
-> /packages/components/src/ExampleComponent/ExampleComponent.css
-> /packages/components/src/ExampleComponent/ExampleComponent.mdx
-> /packages/components/src/ExampleComponent/ExampleComponent.test.tsx
-> /packages/components/src/ExampleComponent/ExampleComponent.tsxTo run tests:
npm testTo ensure your code passes our linters run:
npm run lintYou can also auto fix many linting errors by running:
npm run lint:fix
You can run the linters separately with:
npm run lint:css
npm run lint:tsThe atlantis repo is a monorepo consisting of a few different packages all
living in the ./packages/ directory.
The primary packages in here are:
packages/components/- The primary home for components. Each component lives in its own folder in
the
./srcdirectory within here.
- The primary home for components. Each component lives in its own folder in
the
design/- A home for shareable css variables.
docx/- Any components internal to the documention viewer itself.
When installing dependancies be sure to install them relative to the appropriate
sub package. For example if you want to use package foo in a component you
would run npm install foo from within the components directory.
Everyone is a friend of Atlantis and we welcome pull requests. See the contribution guidelines to learn how.
npm run prereleaseFollow semver when choosing versions.
npm run release-the-krakenlerna changed