-
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.
feat: Initial configuration from mobile team
- Loading branch information
Showing
8 changed files
with
6,124 additions
and
0 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,51 @@ | ||
version: 2.1 | ||
|
||
executors: | ||
node_8: | ||
working_directory: ~/workspace | ||
docker: | ||
- image: circleci/node:8 | ||
|
||
commands: | ||
attach_to_workspace: | ||
description: Attach to the workflow workspace for sharing dependencies etc | ||
steps: | ||
- attach_workspace: | ||
at: ~/workspace | ||
|
||
yarn_install: | ||
description: Install and cache dependencies using yarn | ||
steps: | ||
- restore_cache: | ||
name: 'Restoring Dependencies Cache' | ||
keys: | ||
- dependency-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "package.json" }} | ||
- dependency-cache-v1-{{ arch }}-{{ .Branch }} | ||
- dependency-cache-v1-{{ arch }} | ||
|
||
- run: | ||
name: Install dependencies | ||
command: yarn install | ||
|
||
- save_cache: | ||
name: 'Saving Dependencies Cache' | ||
key: dependency-cache-v1-{{ arch }}-{{ .Branch }}-{{ checksum "package.json" }} | ||
paths: | ||
- node_modules | ||
|
||
jobs: | ||
publish: | ||
executor: node_8 | ||
steps: | ||
- checkout | ||
- attach_to_workspace | ||
- yarn_install | ||
- run: | ||
name: Publish semantic release to npm and GitHub | ||
command: yarn run publish | ||
|
||
workflows: | ||
version: 2 | ||
publish_release: | ||
jobs: | ||
- publish |
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,5 @@ | ||
{ | ||
"extends": [ | ||
"plugin:@heed/heed/recommended" | ||
] | ||
} |
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 @@ | ||
node_modules |
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,2 @@ | ||
//registry.npmjs.org/:_authToken=${NPM_TOKEN} | ||
save-exact = true |
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 = require('./prettier.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"name": "@heed/prettier-config-heed", | ||
"version": "0.0.0", | ||
"description": "Heed organisational configuration for Prettier", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/heedsoftware/prettier-config-heed" | ||
}, | ||
"main": "index.js", | ||
"config": { | ||
"commitizen": { | ||
"path": "cz-conventional-changelog" | ||
} | ||
}, | ||
"release": { | ||
"verifyConditions": "condition-circle" | ||
}, | ||
"publishConfig": { | ||
"access": "restricted" | ||
}, | ||
"scripts": { | ||
"commit": "git-cz", | ||
"publish": "semantic-release" | ||
}, | ||
"devDependencies": { | ||
"@heed/eslint-plugin-heed": "3.0.1", | ||
"commitizen": "^3.1.1", | ||
"condition-circle": "^2.0.2", | ||
"cz-conventional-changelog": "^2.1.0", | ||
"eslint": "^5.16.0", | ||
"prettier": "^1.17.0", | ||
"semantic-release": "^15.13.12" | ||
} | ||
} |
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,6 @@ | ||
module.exports = { | ||
singleQuote: true, | ||
printWidth: 100, | ||
trailingComma: 'all', | ||
arrowParens: 'always', | ||
}; |
Oops, something went wrong.