Skip to content

Commit 8de2feb

Browse files
author
Martynas Žilinskas
authored
v3.0.1 (#73)
2 parents 53afdbe + 3100315 commit 8de2feb

74 files changed

Lines changed: 1616 additions & 1602 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.ci/build-build.yml

Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,61 @@
1-
trigger: none
2-
pr: none
3-
4-
pool:
5-
vmImage: "ubuntu-latest"
6-
7-
steps:
8-
- task: NodeTool@0
9-
inputs:
10-
versionSpec: "10.x"
11-
displayName: "Install Node.js"
12-
13-
- script: |
14-
npm install
15-
displayName: "npm install"
16-
17-
- script: |
18-
npm run build
19-
displayName: "npm run build"
20-
21-
- script: |
22-
npm test
23-
displayName: "npm test"
24-
25-
- task: PublishTestResults@2
26-
displayName: "Publish Test Results junit.xml"
27-
inputs:
28-
testResultsFiles: junit.xml
29-
failTaskOnFailedTests: true
30-
31-
- task: PublishCodeCoverageResults@1
32-
displayName: "Publish code coverage from $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"
33-
inputs:
34-
codeCoverageTool: Cobertura
35-
summaryFileLocation: "$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"
36-
37-
- script: |
38-
npm version 0.0.0-canary.$(git rev-parse --short HEAD) --no-git-tag-version
39-
displayName: "Apply cannary version"
40-
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/dev'))
41-
42-
- script: |
43-
npm pack
44-
displayName: "npm pack"
45-
46-
- script: |
47-
mkdir $(Build.ArtifactStagingDirectory)/packages
48-
mv *.tgz $(Build.ArtifactStagingDirectory)/packages
49-
displayName: "Move tgz to artifacts folder"
50-
51-
- task: PublishBuildArtifacts@1
52-
displayName: "Publish Artifact: packages"
53-
inputs:
54-
PathtoPublish: "$(Build.ArtifactStagingDirectory)/packages"
55-
ArtifactName: packages
56-
57-
- task: PublishBuildArtifacts@1
58-
displayName: "Publish Artifact: package.json"
59-
inputs:
60-
PathtoPublish: "$(System.DefaultWorkingDirectory)/package.json"
61-
ArtifactName: packageJson
1+
trigger: none
2+
pr: none
3+
4+
pool:
5+
vmImage: "ubuntu-latest"
6+
7+
steps:
8+
- task: NodeTool@0
9+
inputs:
10+
versionSpec: "10.x"
11+
displayName: "Install Node.js"
12+
13+
- script: |
14+
npm install
15+
displayName: "npm install"
16+
17+
- script: |
18+
npm run build
19+
displayName: "npm run build"
20+
21+
- script: |
22+
npm test
23+
displayName: "npm test"
24+
25+
- task: PublishTestResults@2
26+
displayName: "Publish Test Results junit.xml"
27+
inputs:
28+
testResultsFiles: junit.xml
29+
failTaskOnFailedTests: true
30+
31+
- task: PublishCodeCoverageResults@1
32+
displayName: "Publish code coverage from $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"
33+
inputs:
34+
codeCoverageTool: Cobertura
35+
summaryFileLocation: "$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"
36+
37+
- script: |
38+
npm version 0.0.0-canary.$(git rev-parse --short HEAD) --no-git-tag-version
39+
displayName: "Apply cannary version"
40+
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/dev'))
41+
42+
- script: |
43+
npm pack
44+
displayName: "npm pack"
45+
46+
- script: |
47+
mkdir $(Build.ArtifactStagingDirectory)/packages
48+
mv *.tgz $(Build.ArtifactStagingDirectory)/packages
49+
displayName: "Move tgz to artifacts folder"
50+
51+
- task: PublishBuildArtifacts@1
52+
displayName: "Publish Artifact: packages"
53+
inputs:
54+
PathtoPublish: "$(Build.ArtifactStagingDirectory)/packages"
55+
ArtifactName: packages
56+
57+
- task: PublishBuildArtifacts@1
58+
displayName: "Publish Artifact: package.json"
59+
inputs:
60+
PathtoPublish: "$(System.DefaultWorkingDirectory)/package.json"
61+
ArtifactName: packageJson

.ci/pr-build.yml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
1-
trigger: none
2-
pr: none
3-
4-
pool:
5-
vmImage: "ubuntu-latest"
6-
7-
steps:
8-
- task: NodeTool@0
9-
inputs:
10-
versionSpec: "10.x"
11-
displayName: "Install Node.js"
12-
13-
- script: |
14-
npm install
15-
displayName: "npm install"
16-
17-
- script: |
18-
npm run build
19-
displayName: "npm run build"
20-
21-
- script: |
22-
npm test
23-
displayName: "npm test"
24-
25-
- task: PublishTestResults@2
26-
displayName: "Publish Test Results junit.xml"
27-
inputs:
28-
testResultsFiles: junit.xml
29-
failTaskOnFailedTests: true
30-
31-
- task: PublishCodeCoverageResults@1
32-
displayName: "Publish code coverage from $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"
33-
inputs:
34-
codeCoverageTool: Cobertura
35-
summaryFileLocation: "$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"
1+
trigger: none
2+
pr: none
3+
4+
pool:
5+
vmImage: "ubuntu-latest"
6+
7+
steps:
8+
- task: NodeTool@0
9+
inputs:
10+
versionSpec: "10.x"
11+
displayName: "Install Node.js"
12+
13+
- script: |
14+
npm install
15+
displayName: "npm install"
16+
17+
- script: |
18+
npm run build
19+
displayName: "npm run build"
20+
21+
- script: |
22+
npm test
23+
displayName: "npm test"
24+
25+
- task: PublishTestResults@2
26+
displayName: "Publish Test Results junit.xml"
27+
inputs:
28+
testResultsFiles: junit.xml
29+
failTaskOnFailedTests: true
30+
31+
- task: PublishCodeCoverageResults@1
32+
displayName: "Publish code coverage from $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"
33+
inputs:
34+
codeCoverageTool: Cobertura
35+
summaryFileLocation: "$(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml"

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
7+
[{src, tests}/**.{ts,json,js}]
8+
charset = utf-8
9+
indent_style = space
10+
trim_trailing_whitespace = true
11+
indent_size = 4

.eslintrc.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
{
2-
"extends": "@reactway"
3-
}
1+
{
2+
"extends": "@reactway"
3+
}
Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
---
2-
name: Bug report
3-
about: Create a report to help us improve
4-
5-
---
6-
7-
**Describe the bug**
8-
A clear and concise description of what the bug is.
9-
10-
**To Reproduce**
11-
Steps to reproduce the behavior:
12-
1. Go to '...'
13-
2. Click on '....'
14-
3. Scroll down to '....'
15-
4. See error
16-
17-
**Expected behavior**
18-
A clear and concise description of what you expected to happen.
19-
20-
**Package version:** vX.X.X
21-
**Node version:** vX.X.X
22-
**OS:** Windows/Linux/Mac OS
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
5+
---
6+
7+
**Describe the bug**
8+
A clear and concise description of what the bug is.
9+
10+
**To Reproduce**
11+
Steps to reproduce the behavior:
12+
1. Go to '...'
13+
2. Click on '....'
14+
3. Scroll down to '....'
15+
4. See error
16+
17+
**Expected behavior**
18+
A clear and concise description of what you expected to happen.
19+
20+
**Package version:** vX.X.X
21+
**Node version:** vX.X.X
22+
**OS:** Windows/Linux/Mac OS
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
---
2-
name: Feature request
3-
about: Suggest an idea for this project
4-
5-
---
6-
7-
**Is your feature request related to a problem? Please describe.**
8-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9-
10-
**Describe the solution you'd like**
11-
A clear and concise description of what you want to happen.
12-
13-
**Describe alternatives you've considered**
14-
A clear and concise description of any alternative solutions or features you've considered.
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
**Is your feature request related to a problem? Please describe.**
8+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
10+
**Describe the solution you'd like**
11+
A clear and concise description of what you want to happen.
12+
13+
**Describe alternatives you've considered**
14+
A clear and concise description of any alternative solutions or features you've considered.

0 commit comments

Comments
 (0)