-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(node-version-upgrade): added support for node 14 (#87)
* fix: husky config and outdated depedencies * feat: github action and colophone v4 * fix: updated template * fix(doc): readme
- Loading branch information
Showing
22 changed files
with
6,594 additions
and
2,980 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,30 +1,27 @@ | ||
version: 2.0 | ||
version: 4.0 | ||
|
||
id: create-library | ||
uid: 152944324 | ||
|
||
about: | ||
title: create-library | ||
description: An opinionated NPM Package initializer | ||
|
||
contacts: | ||
- type: Product Owner | ||
name: Stephen Marie-Rhodes | ||
email: [email protected] | ||
github: stepmr | ||
- type: Tech Lead | ||
name: Mauricio Mercado | ||
email: [email protected] | ||
github: maumercado | ||
- type: Architect | ||
name: Matthew Cantelon | ||
email: [email protected] | ||
github: mattcan | ||
contacts: | ||
- type: Project Owner | ||
name: Shimona Jain | ||
email: [email protected] | ||
- type: Team | ||
name: ptt-ti | ||
members_uri: https://github.com/orgs/telus/teams/ptt-ti/members | ||
repositories_uri: https://github.com/orgs/telus/teams/ptt-ti/repositories | ||
|
||
references: | ||
- title: NPM Package | ||
uri: https://www.npmjs.com/package/@telus/create-library | ||
- title: git | ||
description: Source Code | ||
uri: https://github.com/telus/create-library.git | ||
|
||
environments: | ||
- type: git | ||
title: Source Code | ||
uri: https://github.com/telus/create-library | ||
title: NPM Package | ||
uri: https://www.npmjs.com/package/@telus/create-library |
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.
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,28 @@ | ||
name: 'Build, Lint, and Test' | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
Build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [12.x, 14.x] | ||
|
||
steps: | ||
- name: Check out the code | ||
uses: actions/checkout@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Check linting | ||
run: npm run lint |
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,29 @@ | ||
name: 'Publish package on merge to master' | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
publish: | ||
name: Publish package | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14 | ||
|
||
- name: Install deps | ||
run: npm ci | ||
|
||
- name: Publish package | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: npx semantic-release |
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,6 +1,6 @@ | ||
{ | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
"commit-msg": "commitlint -e $GIT_PARAMS", | ||
"pre-commit": "npm run lint" | ||
} | ||
} | ||
|
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,3 @@ | ||
{ | ||
"extends": "@telus/semantic-release-config" | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = { extends: ['@commitlint/config-angular'] } |
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
Oops, something went wrong.