Skip to content

Commit

Permalink
chore: remove old documentation and upgrade linters
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil committed Oct 19, 2023
1 parent 4f4d6cb commit 9da8ff2
Show file tree
Hide file tree
Showing 146 changed files with 97 additions and 13,921 deletions.
25 changes: 12 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,21 +113,21 @@ jobs:
- packages/IconFont/fonts

# current version build (common to previews & prod)
docs_build:
website_build:
<<: *defaults
steps:
- attach_workspace:
at: ~/welcome-ui
- restore_cache:
key: << pipeline.parameters.cache_version >>-welcome-ui-{{ .Environment.CIRCLE_SHA1 }}
- run: yarn docs:build
- run: yarn website:build
- persist_to_workspace:
root: ~/welcome-ui
paths:
- website/out

# current version deploy for previews
docs_deploy_preview:
website_deploy_preview:
<<: *defaults
steps:
- attach_workspace:
Expand All @@ -137,7 +137,7 @@ jobs:
- run: node_modules/.bin/netlify deploy --dir=website/out --alias $CIRCLE_BRANCH

# current version deploy for production
docs_deploy_prod:
website_deploy_prod:
<<: *defaults
steps:
- attach_workspace:
Expand All @@ -155,7 +155,7 @@ jobs:
- run: node_modules/.bin/netlify deploy --dir=docs_production --prod

# previous versions build & deploy for production
previous_docs_versions_build_deploy_prod:
previous_website_versions_build_deploy_prod:
<<: *defaults
steps:
- attach_workspace:
Expand All @@ -164,7 +164,7 @@ jobs:
key: << pipeline.parameters.cache_version >>-welcome-ui-{{ .Environment.CIRCLE_SHA1 }}
- run:
name: build w/ prefix
command: VERSION=$CIRCLE_BRANCH yarn docs:build
command: VERSION=$CIRCLE_BRANCH yarn website:build
- aws-s3/sync:
from: website/out
to: s3://welcome-ui/docs_production/$CIRCLE_BRANCH
Expand Down Expand Up @@ -204,7 +204,6 @@ jobs:
command: yarn lerna publish from-git --yes --no-verify-access --dist-tag next

workflows:
version: 2
btd:
jobs:
- checkout:
Expand Down Expand Up @@ -252,13 +251,13 @@ workflows:
requires:
- yarn_install
- build
- docs_build:
- website_build:
filters:
tags:
only: /.*/
requires:
- build
- docs_deploy_prod:
- website_deploy_prod:
context:
- aws
- netlify
Expand All @@ -271,18 +270,18 @@ workflows:
requires:
- test
- lint
- docs_build
- website_build
- build_and_release_icon_font
- docs_deploy_preview:
- website_deploy_preview:
context:
- netlify
- welcome-ui
requires:
- test
- lint
- docs_build
- website_build
- build_and_release_icon_font
- previous_docs_versions_build_deploy_prod:
- previous_website_versions_build_deploy_prod:
context:
- aws
- netlify
Expand Down
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
**/node_modules/**
**/dist/**
docs/**
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
.env
dist/
docs/out
docs/.next
website/out
website/.next
.cache/
Expand Down
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
!/dist/*.js
*.test.js
/docs
/website
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Welcome UI

<img src="docs/public/illustration.png" width="300" />

Welcome to the _Welcome UI library_ created by [Welcome to the jungle](https://www.welcometothejungle.com), a customizable design system with react • typescript • styled-components • styled-system and ariakit.

Here you'll find all the core components you need to create a delightful webapp.
Expand Down
17 changes: 0 additions & 17 deletions docs/babel.config.js

This file was deleted.

51 changes: 0 additions & 51 deletions docs/components/App.js

This file was deleted.

57 changes: 0 additions & 57 deletions docs/components/Colors.js

This file was deleted.

37 changes: 0 additions & 37 deletions docs/components/ComponentsList/Link.js

This file was deleted.

29 changes: 0 additions & 29 deletions docs/components/ComponentsList/VersionSelector/index.js

This file was deleted.

73 changes: 0 additions & 73 deletions docs/components/ComponentsList/index.js

This file was deleted.

0 comments on commit 9da8ff2

Please sign in to comment.