Commit 3b988cf
authored
fix(cli): import fs-extra (#11)
1. Update dependencies
2. Add Greenkeeper badge
3. Add tests and mocks
1. Mock @octokit/rest.js and dotenv
2. Refactor: rename github-resource-converter.js => base-resource-converter.js
3. Reports: send code coverage to Codacy
4. README.md: add contributing section
5. Add tests for baseResourceConverter
4. Refactor: move file export features
5. Add enum exportType
6. Add object fileExporter
7. Add test fixtures
8. Test cli: complete coverage
9. Build: jest fix testMatch config
#1,#4
* ci(travis): fix 'no tests found' error
See https://travis-ci.org/gregswindle/github-resource-converter/jobs/355791728#L2892
#1,#4
* ci(test): fix test issues
1. Appveyor didn't like the quotes for the eslintrc config path
2. Travis still cannot find the tests
* ci(tests): fix build tests
#1,#4
* ci(tests): fix build tests
#1,#4
* ci(travis): try fixing jest
#1,#4
* ci(travis): jest fixes and formatting
1. .eslintrc: switch-case: 2 spaces
2. .travis: git.depth = 1
3. .travis: no-npm-dedupe
4. .travis: send codacy coverage with npm-script posttest:ci:coverage:codacy
5. .env.example: better explanations with new envvars
6. manifest: format and add npm-scripts
7. docs: fix markdown-magic config to modify CONTRIBUTING.md
#1,#4
* ci(travis): more jest test fixes
#1,#4
* ci(travis): more jest test fixes
#1,#4
* ci(services): appveyor and travis
Attempt to run jest tests with full directory paths.
#1,#4
* ci(appveyor): fix path issue
Error parsing appveyor.yml:
(Line: 37, Col: 5, Idx: 864) - (Line: 37, Col: 6, Idx: 865):
While scanning for the next token, find character that cannot
start any token
#1,#4
* ci(jest): appveyor and travis
I'm about to give up on Jest! 😠
#1,#4
* ci(jest): appveyor and travis
#1,#4
* ci(jest): move dirs
Moved __(fixtures|mocks|tests)__ dirs to rootDir 🤞
* ci(jest): add testPathPattern flag
#1,#4
* ci(jest): re-add testMatch
* ci(jest): add package
Try using the 'jest-runner-eslint' test runner for Travis-CI and Appveyor.
#1,#4
* ci(jest): add test runner
* ci(jest): more fix attempts
* fix(jest): add missing dir
There's a reason why eslintrc is normally separated from gitignore.
#1,#4
* refactor(dirs): move directories
Put directories back under lib/
#1,#4
* docs(status): finish badges
Correct typo for the coverage directory, too.
#1,#4
* ci(tests): fix codacy-coverage
- Point to the correct pathname
- Send coverage via an npm-script
* style(lint): exlcude src analysis
Add exclusion patterns for tests, source, and CPD.
#1,#2,#3,#4
* build(repo): ignore SonarCloud artifacts
#1,#2,#3,#4
* style(code-smell): trailing whitespac
Remove trailing whitespaces at ends of lines (L48).
- Source: SonarCloud
- Ref: L48
#1,#2,#3,#4
* test(coverage): add specs
* fix(cli): import fs-extra
1. Add fs-extra as a dependency.
2. Achieve passing tests with full coverage.
3. Update npm-outdated dependencies.
GH-10
* chore(labels): add labels
GH-10,GH-111 parent cffc26a commit 3b988cf
19 files changed
Lines changed: 2299 additions & 1488 deletions
File tree
- .github
- PULL_REQUEST_TEMPLATE
- config
- lib
- __fixtures__/cli
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1129 | 1129 | | |
1130 | 1130 | | |
1131 | 1131 | | |
1132 | | - | |
1133 | | - | |
| 1132 | + | |
| 1133 | + | |
1134 | 1134 | | |
1135 | | - | |
| 1135 | + | |
1136 | 1136 | | |
1137 | 1137 | | |
1138 | | - | |
| 1138 | + | |
1139 | 1139 | | |
1140 | 1140 | | |
1141 | 1141 | | |
1142 | 1142 | | |
1143 | | - | |
| 1143 | + | |
1144 | 1144 | | |
1145 | 1145 | | |
1146 | 1146 | | |
| |||
1153 | 1153 | | |
1154 | 1154 | | |
1155 | 1155 | | |
1156 | | - | |
| 1156 | + | |
1157 | 1157 | | |
1158 | 1158 | | |
1159 | | - | |
| 1159 | + | |
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
1163 | 1163 | | |
1164 | 1164 | | |
1165 | 1165 | | |
1166 | | - | |
| 1166 | + | |
1167 | 1167 | | |
1168 | 1168 | | |
1169 | 1169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
0 commit comments