Skip to content

MandyMeindersma/atlantis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

162 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

name Atlantis
route /

🔱 Atlantis

CircleCI

What is Atlantis?

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.

Development

To install Atlantis locally for development:

git clone git@github.com:GetJobber/atlantis.git
cd atlantis
npm ci

To start the docz development server:

npm start

Generating a New Component

Running 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

Example

❯❯❯ 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.tsx

Testing

To run tests:

npm test

Linting

To ensure your code passes our linters run:

npm run lint

You 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:ts

Repo Structure

The 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 ./src directory within here.
    • 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.

Contributing

Everyone is a friend of Atlantis and we welcome pull requests. See the contribution guidelines to learn how.

Publishing

Pre-Release

npm run prerelease

For Realz

Follow semver when choosing versions.

npm run release-the-kraken

What has Changed

lerna changed

About

🔱 Atlantis

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors