Skip to content

Commit

Permalink
v3.0.1 (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
Martynas Žilinskas authored Aug 20, 2019
2 parents 53afdbe + 3100315 commit 8de2feb
Show file tree
Hide file tree
Showing 74 changed files with 1,616 additions and 1,602 deletions.
122 changes: 61 additions & 61 deletions .ci/build-build.yml
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
trigger: none
pr: none

pool:
vmImage: "ubuntu-latest"

steps:
- task: NodeTool@0
inputs:
versionSpec: "10.x"
displayName: "Install Node.js"

- script: |
npm install
displayName: "npm install"
- script: |
npm run build
displayName: "npm run build"
- script: |
npm test
displayName: "npm test"
- task: PublishTestResults@2
displayName: "Publish Test Results junit.xml"
inputs:
testResultsFiles: junit.xml
failTaskOnFailedTests: true

- task: PublishCodeCoverageResults@1
displayName: "Publish code coverage from $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: "$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"

- script: |
npm version 0.0.0-canary.$(git rev-parse --short HEAD) --no-git-tag-version
displayName: "Apply cannary version"
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/dev'))
- script: |
npm pack
displayName: "npm pack"
- script: |
mkdir $(Build.ArtifactStagingDirectory)/packages
mv *.tgz $(Build.ArtifactStagingDirectory)/packages
displayName: "Move tgz to artifacts folder"
- task: PublishBuildArtifacts@1
displayName: "Publish Artifact: packages"
inputs:
PathtoPublish: "$(Build.ArtifactStagingDirectory)/packages"
ArtifactName: packages

- task: PublishBuildArtifacts@1
displayName: "Publish Artifact: package.json"
inputs:
PathtoPublish: "$(System.DefaultWorkingDirectory)/package.json"
ArtifactName: packageJson
trigger: none
pr: none

pool:
vmImage: "ubuntu-latest"

steps:
- task: NodeTool@0
inputs:
versionSpec: "10.x"
displayName: "Install Node.js"

- script: |
npm install
displayName: "npm install"
- script: |
npm run build
displayName: "npm run build"
- script: |
npm test
displayName: "npm test"
- task: PublishTestResults@2
displayName: "Publish Test Results junit.xml"
inputs:
testResultsFiles: junit.xml
failTaskOnFailedTests: true

- task: PublishCodeCoverageResults@1
displayName: "Publish code coverage from $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: "$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"

- script: |
npm version 0.0.0-canary.$(git rev-parse --short HEAD) --no-git-tag-version
displayName: "Apply cannary version"
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/dev'))
- script: |
npm pack
displayName: "npm pack"
- script: |
mkdir $(Build.ArtifactStagingDirectory)/packages
mv *.tgz $(Build.ArtifactStagingDirectory)/packages
displayName: "Move tgz to artifacts folder"
- task: PublishBuildArtifacts@1
displayName: "Publish Artifact: packages"
inputs:
PathtoPublish: "$(Build.ArtifactStagingDirectory)/packages"
ArtifactName: packages

- task: PublishBuildArtifacts@1
displayName: "Publish Artifact: package.json"
inputs:
PathtoPublish: "$(System.DefaultWorkingDirectory)/package.json"
ArtifactName: packageJson
70 changes: 35 additions & 35 deletions .ci/pr-build.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
trigger: none
pr: none

pool:
vmImage: "ubuntu-latest"

steps:
- task: NodeTool@0
inputs:
versionSpec: "10.x"
displayName: "Install Node.js"

- script: |
npm install
displayName: "npm install"
- script: |
npm run build
displayName: "npm run build"
- script: |
npm test
displayName: "npm test"
- task: PublishTestResults@2
displayName: "Publish Test Results junit.xml"
inputs:
testResultsFiles: junit.xml
failTaskOnFailedTests: true

- task: PublishCodeCoverageResults@1
displayName: "Publish code coverage from $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: "$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"
trigger: none
pr: none

pool:
vmImage: "ubuntu-latest"

steps:
- task: NodeTool@0
inputs:
versionSpec: "10.x"
displayName: "Install Node.js"

- script: |
npm install
displayName: "npm install"
- script: |
npm run build
displayName: "npm run build"
- script: |
npm test
displayName: "npm test"
- task: PublishTestResults@2
displayName: "Publish Test Results junit.xml"
inputs:
testResultsFiles: junit.xml
failTaskOnFailedTests: true

- task: PublishCodeCoverageResults@1
displayName: "Publish code coverage from $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: "$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true

[{src, tests}/**.{ts,json,js}]
charset = utf-8
indent_style = space
trim_trailing_whitespace = true
indent_size = 4
6 changes: 3 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "@reactway"
}
{
"extends": "@reactway"
}
44 changes: 22 additions & 22 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
---
name: Bug report
about: Create a report to help us improve

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Package version:** vX.X.X
**Node version:** vX.X.X
**OS:** Windows/Linux/Mac OS
---
name: Bug report
about: Create a report to help us improve

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Package version:** vX.X.X
**Node version:** vX.X.X
**OS:** Windows/Linux/Mac OS
28 changes: 14 additions & 14 deletions .github/ISSUE_TEMPLATE/Feature_request.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
name: Feature request
about: Suggest an idea for this project

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
---
name: Feature request
about: Suggest an idea for this project

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
Loading

0 comments on commit 8de2feb

Please sign in to comment.