Skip to content

Commit

Permalink
Merge branch 'release/upgrade-standardize-workflow'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebinbenjamin committed Jul 20, 2019
2 parents 423d828 + 2c9ccf0 commit d594a0a
Show file tree
Hide file tree
Showing 32 changed files with 2,571 additions and 1,403 deletions.
26 changes: 20 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ jobs:
# specify the version you desire here
- image: circleci/node:7.10

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

working_directory: ~/repo

Expand All @@ -32,6 +34,18 @@ jobs:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

# run tests!
# - run: npm test
# - run: npm test


# TODO: Enforce eslint, commit message format, run coverage checks
# TODO: Add awesome_bot to check URLs in markdown files
# https://github.com/dkhamsing/awesome_bot
# machine:
# ruby:
# version: 2.4.1
# test:
# pre:
# - gem install awesome_bot
# override:
# - awesome_bot README.md
24 changes: 24 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"extends": ["@commitlint/config-conventional"],
"rules": {
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test",
"improvement",
"localize"
]
]
}
}
20 changes: 0 additions & 20 deletions .eslintrc.js

This file was deleted.

17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"env": {
"commonjs": true,
"es6": true,
"node": true
},
"extends": "airbnb-base",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
}
}
30 changes: 30 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->

## Related Issue
<!--- This project only accepts pull requests related to open issues -->
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!--- Please link to the issue here: -->

## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->

## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My code follows the code style of this project, passes ESLint checks.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have read the **CONTRIBUTING** document.
3 changes: 0 additions & 3 deletions .jshintrc

This file was deleted.

8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"bracketSpacing": true
}
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!-- ## [Unreleased]
Added - for new features.
Changed - for changes in existing functionality.
Deprecated - for soon-to-be removed features.
Removed - for now, removed features.
Fixed - for any bug fixes.
Security - in case of vulnerabilities. -->

## [[0.6.2] - 2019-07-20](https://github.com/sebinbenjamin/cordova-res-generator/compare/0.6.1...0.6.2)

### Added (dev-features)
- Project contribution guidelines, pull request template, to enable easier contribution.
- Setup ESlint and commitlint to enforce coding standards and conventional commits.

### Security
- Updated several dependency packages to their latest versions.


## [[0.6.1] - 2019-07-01](https://github.com/sebinbenjamin/cordova-res-generator/compare/0.6.0...0.6.1)

### Fixed
- Bug in PWA resources filename character.

## [[0.6.0] - 2019-07-01](https://github.com/sebinbenjamin/cordova-res-generator/compare/0.5.0...0.6.0)
### Added
- Support for Ionic 4 PWA resource generation.
- Support for SVG file format
- New resource image sizes - 'icon-1024.png', name: 'icon-20.png', 'icon-44@2x.png', 'Default-Portrait-iphonex.png', 'Default-Landscape-iphonex.png'
- 'configPath' CLI option to use custom configs.

### Changed
- New image processing library - Sharp image processor.
- Image resize behaviour changed to 'cover' instead of 'crop'.

### Security
Updated all packages to the latest stable version, including several with critical vulnerabilities.
Loading

0 comments on commit d594a0a

Please sign in to comment.