-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from pxblue/dev
[2] Publish v5.2.0
- Loading branch information
Showing
6 changed files
with
86 additions
and
2 deletions.
There are no files selected for viewing
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,70 @@ | ||
version: 2.1 | ||
orbs: | ||
gh: circleci/[email protected] | ||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/node:12.9.1-browsers | ||
steps: | ||
- checkout | ||
- run: | ||
name: Build | ||
command: yarn build | ||
- run: | ||
name: Verify Artifacts | ||
command: yarn test | ||
- persist_to_workspace: | ||
root: . | ||
paths: | ||
- dist | ||
|
||
publish: | ||
docker: | ||
- image: circleci/node:12.9.1-browsers | ||
steps: | ||
- checkout | ||
- attach_workspace: | ||
at: . | ||
- run: | ||
name: Authenticate with registry | ||
command: | | ||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc | ||
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc | ||
- run: | ||
name: Publish @pxblue/react-native-themes | ||
command: | | ||
yarn publish:package -b $CIRCLE_BRANCH | ||
tag: | ||
docker: | ||
- image: circleci/node:12.9.1-browsers | ||
steps: | ||
- checkout | ||
- gh/setup | ||
- attach_workspace: | ||
at: . | ||
- run: | ||
name: Tag @pxblue/react-native-themes | ||
command: | | ||
yarn tag:package -b $CIRCLE_BRANCH | ||
workflows: | ||
version: 2 | ||
themes: | ||
jobs: | ||
- build | ||
- publish: | ||
requires: | ||
- build | ||
filters: | ||
branches: | ||
only: | ||
- master | ||
- dev | ||
- tag: | ||
requires: | ||
- publish | ||
filters: | ||
branches: | ||
only: | ||
- master |
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 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "@pxblue/react-native-themes", | ||
"author": "PX Blue <[email protected]>", | ||
"license": "BSD-3-Clause", | ||
"version": "5.1.0", | ||
"version": "5.2.0", | ||
"description": "React Native themes for PX Blue applications", | ||
"main": "./dist/index.js", | ||
"scripts": { | ||
|
@@ -17,6 +17,7 @@ | |
"link:themes": "bash ./scripts/linkThemes.sh", | ||
"test": "bash ./scripts/buildTest.sh", | ||
"publish:package": "set npm_config_yes=true && npx -p @pxblue/publish pxb-publish", | ||
"tag:package": "npx -p @pxblue/tag pxb-tag", | ||
"update:submodule": "git submodule update --remote" | ||
}, | ||
"repository": { | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/** | ||
Copyright (c) 2020-present, Eaton | ||
Copyright (c) 2021-present, Eaton | ||
All rights reserved. | ||
|