This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
-
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.
Merge pull request #29 from pxblue/dev
Go BLUI
- Loading branch information
Showing
40 changed files
with
783 additions
and
1,275 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 |
---|---|---|
@@ -1,46 +1,62 @@ | ||
version: 2 | ||
version: 2.1 | ||
orbs: | ||
gh: circleci/[email protected] | ||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/node:8.11-browsers | ||
steps: | ||
- checkout | ||
- run: | ||
name: Install Dependencies | ||
command: yarn | ||
- run: | ||
name: Verify Artifacts | ||
command: yarn test | ||
build: | ||
docker: | ||
- image: circleci/node:12.9.1-browsers | ||
steps: | ||
- checkout | ||
- run: | ||
name: Install Dependencies | ||
command: yarn | ||
- run: | ||
name: Verify Artifacts | ||
command: yarn test | ||
|
||
publish: | ||
docker: | ||
- image: circleci/node:12.9.1-browsers | ||
steps: | ||
- checkout | ||
- run: | ||
name: Authenticate with registry | ||
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc | ||
- run: | ||
name: Publish @pxblue/mapbox | ||
command: | | ||
MASTER_VERSION=`node -p "require('./package.json').version"` | ||
NPM_LATEST_VERSION=`npm show @pxblue/mapbox version` | ||
if ! [ $MASTER_VERSION == $NPM_LATEST_VERSION ]; | ||
then | ||
npm publish | ||
else | ||
echo "Latest version is already published." | ||
fi | ||
publish: | ||
docker: | ||
- image: circleci/node:12.9.1-browsers | ||
steps: | ||
- checkout | ||
- 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 @brightlayer-ui/mapbox | ||
command: | | ||
yarn publish:package -b $CIRCLE_BRANCH | ||
tag: | ||
docker: | ||
- image: circleci/node:12.9.1-browsers | ||
steps: | ||
- checkout | ||
- gh/setup | ||
- run: | ||
name: Tag @brightlayer-ui/mapbox | ||
command: | | ||
yarn tag:package -b $CIRCLE_BRANCH | ||
workflows: | ||
version: 2 | ||
mapbox: | ||
jobs: | ||
- build | ||
- publish: | ||
requires: | ||
version: 2 | ||
mapbox: | ||
jobs: | ||
- build | ||
filters: | ||
branches: | ||
only: | ||
- master | ||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Changelog | ||
|
||
## v1.0.1 (November 1, 2021) | ||
|
||
### Changed | ||
|
||
- Changed package namespace from `@pxblue` to `@brightlayer-ui`. | ||
|
||
## Package Migration Notice | ||
|
||
Previous versions listed after this indicator refer to our deprecated `@pxblue` packages. | ||
|
||
--- | ||
|
||
## v1.0.1 (October 26, 2018) | ||
|
||
- Initial Release |
Validating CODEOWNERS rules …
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 @@ | ||
* @emclaug2 @daileytj @jeffvg |
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,11 +1,26 @@ | ||
# Publishing Instructions | ||
|
||
To update the version number, edit the version in `package.json`. | ||
## Automatic Publishing | ||
|
||
To publish a new package through NPM, run the following commands from the root folder: | ||
This package is published to NPM automatically by CircleCI when code is merged into the `dev` or `master` branches. To publish a new version, simply update the version in `package.json` and merge your code into the appropriate branch. | ||
- The `dev` branch will publish versions marked as `alpha` or `beta`. | ||
- The `master` branch will publish any version (`alpha`, `beta`, or `latest`). | ||
In both cases, the code will only be published if the version number differs from the current version published under the respective dist tag. | ||
|
||
## Manually Publishing | ||
|
||
If you need to publish a package manually, you can run the following commands from the root folder: | ||
|
||
```sh | ||
yarn publish:package | ||
``` | ||
npm publish --tag <alpha | beta> | ||
|
||
The publishing script will look at the version in the `package.json` and automatically determine whether to publish an alpha, beta, or latest package. | ||
|
||
For this command to work, you must have an NPM token configured in your environment variables or you can perform a login prior to executing the publish command via: | ||
|
||
```sh | ||
npm adduser && yarn publish:package | ||
``` | ||
|
||
> The above command should only be run for `alpha` or `beta` packages. This repo's CircleCI will automatically publish latest packages from the master branch. | ||
> Publishing manually should only be done for `alpha` or `beta` packages. The command will work for `latest` packages, but this should be avoided except in rare situations where the automatic publishing functionality is not working in CircleCI. |
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,13 +1,16 @@ | ||
# Mapbox Demo | ||
|
||
This is a sample application demonstrating the appearance of the PX Blue Mapbox themes. | ||
|
||
[View on Stackblitz](https://stackblitz.com/github/pxblue/mapbox/tree/master/angular-demo) | ||
|
||
## Running the Example | ||
|
||
``` | ||
git clone https://github.com/pxblue/mapbox | ||
yarn start:react | ||
``` | ||
|
||
> **NOTE**: running the demo will use the latest src files from the repository and NOT the themes that are published on NPM. | ||
For additional information read our [Angular Guide](https://pxblue.github.io/development/frameworks-web/angular) and our [Environment Setup](https://pxblue.github.io/development/environment) | ||
For additional information read our [Angular Guide](https://pxblue.github.io/development/frameworks-web/angular) and our [Environment Setup](https://pxblue.github.io/development/environment) |
Oops, something went wrong.