-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update modules and build system * Prepare for circle ci * Update Readme and version * Update build system The script files on the design system were being processed by the dependant's browserify (because of the definition on package.json). When the plugins and presets between dependant/dependency were different the build would throw a module not found error. This improved build system changes the browserify transform key so that the definitions are not picked up and also includes the transpiled files to prevent errors when the dependant's transpiler is different. * Update icons and modules * Include transpiled files * Update meta images * Update base typography and colors * Update development instructions * Update OpenAQ logo * Tweak base palette and tertiary color * Update page and inpage headers appearance * Improve inpage header typography * Improve sandbox page title * Update icon library and include exported layout images * Update base and heading font color * Update icon library * Upgrade collecticons * Update headings style * Fix definition list styles * Tidy graphic assets * Improve heading styles * Update buttons appearance Also, include ghost button variation. * Improve form input appearance * Refactor cards and include toolbar styles * Update variables and mixins * Tweak form input appearance * Include link wrapper styles * Tweak card media styles * Tweak card subtitle typography * Update icon library * Update button typography * Upgrade to React 17 * Add datasets icon * compiling new icon? * runs the right script Co-authored-by: Daniel da Silva <daniel@developmentseed.org> Co-authored-by: Ricardo Mestre <ricardo@duplos.org> Co-authored-by: Alice Rühl <alice.ruehl@gmail.com> Co-authored-by: Necoline <necoline@developmentseed.org> Co-authored-by: Necoline Hubner <hnhubner@gmail.com>
- Loading branch information
1 parent
c238d28
commit 020380b
Showing
168 changed files
with
11,824 additions
and
4,024 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# https://github.com/developmentseed/how/issues/149 | ||
# ssh-keygen -m pem -t rsa -b 4096 -C openaq/openaq-design-system -f deploy_key | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: node:10 | ||
|
||
working_directory: ~/repo | ||
|
||
environment: | ||
- PRODUCTION_BRANCH: master | ||
- GH_REF: git@github.com:openaq/openaq-design-system.git | ||
- GH_NAME: "Development Seed" | ||
- GH_EMAIL: "dev@developmentseed.org" | ||
|
||
steps: | ||
- checkout | ||
|
||
# Download and cache dependencies | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package.json" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: yarn install | ||
|
||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package.json" }} | ||
|
||
- run: yarn test | ||
|
||
- add_ssh_keys: | ||
fingerprints: | ||
- "" | ||
|
||
- run: | ||
name: Building site | ||
command: | | ||
if [ "${CIRCLE_BRANCH}" == "${PRODUCTION_BRANCH}" ]; then | ||
yarn build | ||
else | ||
echo "Skip building site" | ||
fi | ||
- run: | ||
name: Deploy to GH Pages | ||
command: | | ||
if [ "${CIRCLE_BRANCH}" == "${PRODUCTION_BRANCH}" ]; then | ||
cd build | ||
git init | ||
git config user.name "$GH_NAME" | ||
git config user.email "$GH_EMAIL" | ||
git add . | ||
git commit -m "CI deploy [skip ci]" | ||
git remote add origin $GH_REF | ||
git push origin --force --quiet HEAD:gh-pages | ||
rm -rf .git | ||
else | ||
echo "Skip deploying to Github" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,5 +109,5 @@ nbproject | |
temp | ||
tmp | ||
.tmp | ||
dist | ||
build | ||
_site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
sandbox | ||
.gitignore | ||
.travis.yml | ||
.build_scripts | ||
.circleci | ||
.eslintrc | ||
.gitattributes | ||
gulpfile.js | ||
.tmp | ||
.tmp | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
10 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.