Skip to content

Commit d594a0a

Browse files
committed
Merge branch 'release/upgrade-standardize-workflow'
2 parents 423d828 + 2c9ccf0 commit d594a0a

32 files changed

+2571
-1403
lines changed

.circleci/config.yml

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ jobs:
99
# specify the version you desire here
1010
- image: circleci/node:7.10
1111

12-
# Specify service dependencies here if necessary
13-
# CircleCI maintains a library of pre-built images
14-
# documented at https://circleci.com/docs/2.0/circleci-images/
15-
# - image: circleci/mongo:3.4.4
12+
# Specify service dependencies here if necessary
13+
# CircleCI maintains a library of pre-built images
14+
# documented at https://circleci.com/docs/2.0/circleci-images/
15+
# - image: circleci/mongo:3.4.4
16+
environment:
17+
CODECOV_TOKEN: 5aade52f-653e-4539-aa00-137db7c15586
1618

1719
working_directory: ~/repo
1820

@@ -32,6 +34,18 @@ jobs:
3234
paths:
3335
- node_modules
3436
key: v1-dependencies-{{ checksum "package.json" }}
35-
3637
# run tests!
37-
# - run: npm test
38+
# - run: npm test
39+
40+
41+
# TODO: Enforce eslint, commit message format, run coverage checks
42+
# TODO: Add awesome_bot to check URLs in markdown files
43+
# https://github.com/dkhamsing/awesome_bot
44+
# machine:
45+
# ruby:
46+
# version: 2.4.1
47+
# test:
48+
# pre:
49+
# - gem install awesome_bot
50+
# override:
51+
# - awesome_bot README.md

.commitlintrc.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"],
3+
"rules": {
4+
"type-enum": [
5+
2,
6+
"always",
7+
[
8+
"build",
9+
"chore",
10+
"ci",
11+
"docs",
12+
"feat",
13+
"fix",
14+
"perf",
15+
"refactor",
16+
"revert",
17+
"style",
18+
"test",
19+
"improvement",
20+
"localize"
21+
]
22+
]
23+
}
24+
}

.eslintrc.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

.eslintrc.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"env": {
3+
"commonjs": true,
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": "airbnb-base",
8+
"globals": {
9+
"Atomics": "readonly",
10+
"SharedArrayBuffer": "readonly"
11+
},
12+
"parserOptions": {
13+
"ecmaVersion": 2018
14+
},
15+
"rules": {
16+
}
17+
}

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!--- Provide a general summary of your changes in the Title above -->
2+
3+
## Description
4+
<!--- Describe your changes in detail -->
5+
6+
## Related Issue
7+
<!--- This project only accepts pull requests related to open issues -->
8+
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
9+
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
10+
<!--- Please link to the issue here: -->
11+
12+
## Motivation and Context
13+
<!--- Why is this change required? What problem does it solve? -->
14+
15+
## How Has This Been Tested?
16+
<!--- Please describe in detail how you tested your changes. -->
17+
18+
## Types of changes
19+
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
20+
- [ ] Bug fix (non-breaking change which fixes an issue)
21+
- [ ] New feature (non-breaking change which adds functionality)
22+
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
23+
24+
## Checklist:
25+
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
26+
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
27+
- [ ] My code follows the code style of this project, passes ESLint checks.
28+
- [ ] My change requires a change to the documentation.
29+
- [ ] I have updated the documentation accordingly.
30+
- [ ] I have read the **CONTRIBUTING** document.

.jshintrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.prettierrc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"trailingComma": "es5",
3+
"tabWidth": 2,
4+
"useTabs": false,
5+
"semi": true,
6+
"singleQuote": true,
7+
"bracketSpacing": true
8+
}

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!-- ## [Unreleased]
2+
Added - for new features.
3+
Changed - for changes in existing functionality.
4+
Deprecated - for soon-to-be removed features.
5+
Removed - for now, removed features.
6+
Fixed - for any bug fixes.
7+
Security - in case of vulnerabilities. -->
8+
9+
## [[0.6.2] - 2019-07-20](https://github.com/sebinbenjamin/cordova-res-generator/compare/0.6.1...0.6.2)
10+
11+
### Added (dev-features)
12+
- Project contribution guidelines, pull request template, to enable easier contribution.
13+
- Setup ESlint and commitlint to enforce coding standards and conventional commits.
14+
15+
### Security
16+
- Updated several dependency packages to their latest versions.
17+
18+
19+
## [[0.6.1] - 2019-07-01](https://github.com/sebinbenjamin/cordova-res-generator/compare/0.6.0...0.6.1)
20+
21+
### Fixed
22+
- Bug in PWA resources filename character.
23+
24+
## [[0.6.0] - 2019-07-01](https://github.com/sebinbenjamin/cordova-res-generator/compare/0.5.0...0.6.0)
25+
### Added
26+
- Support for Ionic 4 PWA resource generation.
27+
- Support for SVG file format
28+
- New resource image sizes - 'icon-1024.png', name: 'icon-20.png', '[email protected]', 'Default-Portrait-iphonex.png', 'Default-Landscape-iphonex.png'
29+
- 'configPath' CLI option to use custom configs.
30+
31+
### Changed
32+
- New image processing library - Sharp image processor.
33+
- Image resize behaviour changed to 'cover' instead of 'crop'.
34+
35+
### Security
36+
Updated all packages to the latest stable version, including several with critical vulnerabilities.

0 commit comments

Comments
 (0)