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 #35 from dolittle/cleanup
Cleanup
- Loading branch information
Showing
91 changed files
with
560 additions
and
2,667 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,14 @@ | ||
# EditorConfig helps create consistency for formatting of all | ||
# | ||
# http://EditorConfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 4 | ||
charset = utf-8 | ||
|
||
[*.yml] | ||
indent_size = 2 |
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 @@ | ||
extends: dolittle |
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,19 @@ | ||
### Description | ||
Replace this text with a short Description | ||
|
||
### Environment | ||
* Operating System and version | ||
* Development Environment | ||
* Runtime Environment, SDK versions | ||
|
||
### Steps to recreate | ||
1. Replace this | ||
2. text with | ||
3. the steps | ||
4. to recreate | ||
|
||
### Current behavior | ||
Explain what it's doing and why it's wrong | ||
|
||
### Expected behavior | ||
Explain what it should be doing after it's fixed. |
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 @@ | ||
## Summary | ||
|
||
Summary of the PR here. The GitHub release description is created from this comment so keep it nice and descriptive. | ||
|
||
Remember to remove sections that you don't need or use. | ||
|
||
### Added | ||
|
||
- Describe the added features | ||
|
||
### Changed | ||
|
||
- Describe the outwards facing code change | ||
|
||
### Fixed | ||
|
||
- Describe the fix and the bug | ||
|
||
### Removed | ||
|
||
- Describe what was removed and why | ||
|
||
### Security | ||
|
||
- Describe the security issue and the fix | ||
|
||
### Deprecated | ||
|
||
- Describe the part of the code being deprecated and why |
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,63 @@ | ||
name: Typescript.Build CI/CD | ||
|
||
on: | ||
push: | ||
branches: | ||
- "**" | ||
pull_request: | ||
types: [closed] | ||
|
||
jobs: | ||
build: | ||
name: Continuous Integration | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup node v12 | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
registry-url: "https://registry.npmjs.org" | ||
- run: yarn | ||
- run: yarn ci | ||
|
||
- name: Establish context | ||
id: context | ||
uses: dolittle/establish-context-action@v2 | ||
|
||
- name: Increment version | ||
id: increment-version | ||
if: ${{ steps.context.outputs.should-publish == 'true' }} | ||
uses: dolittle/increment-version-action@v2 | ||
with: | ||
version: ${{ steps.context.outputs.current-version }} | ||
release-type: ${{ steps.context.outputs.release-type }} | ||
|
||
- name: Prepend to Changelog | ||
if: ${{ steps.context.outputs.should-publish == 'true' && steps.context.outputs.release-type != 'prerelease' }} | ||
uses: dolittle/add-to-changelog-action@v2 | ||
with: | ||
version: ${{ steps.increment-version.outputs.next-version }} | ||
body: ${{ steps.context.outputs.pr-body }} | ||
pr-url: ${{ steps.context.outputs.pr-url }} | ||
changelog-path: CHANGELOG.md | ||
user-email: build@dolittle.com | ||
user-name: dolittle-build | ||
|
||
- name: Create GitHub Release | ||
if: ${{ steps.context.outputs.should-publish == 'true' }} | ||
uses: dolittle/github-release-action@v2 | ||
with: | ||
token: ${{ secrets.BUILD_PAT }} | ||
version: ${{ steps.increment-version.outputs.next-version }} | ||
body: ${{ steps.context.outputs.pr-body }} | ||
|
||
- name: Release JavaScript | ||
if: ${{ steps.context.outputs.should-publish == 'true' }} | ||
uses: dolittle/release-typescript-lib-action@v1 | ||
with: | ||
version: ${{ steps.increment-version.outputs.next-version }} | ||
root: "." | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
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 @@ | ||
// Copyright (c) Dolittle. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
const dolittle = require('@dolittle/typescript.testing/.mocharc.json'); | ||
|
||
module.exports = dolittle; |
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 @@ | ||
{ | ||
"singleQuote": true, | ||
"jsxSingleQuote": true, | ||
"printWidth": 90, | ||
"tabWidth": 4 | ||
} |
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,4 +1,7 @@ | ||
{ | ||
"tslint.configFile": "tslint.json", | ||
"tslint.packageManager": "yarn" | ||
"editor.formatOnSave": false, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
}, | ||
"eslint.alwaysShowStatus": true | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
Examples/Vanilla-Structure-With-Source/Source/for_some_file/given/a_context.ts
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
Examples/Vanilla-Structure-With-Source/Source/for_some_file/when_doing_something.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.