Skip to content

Commit

Permalink
Merge branch 'release/5.1.0'
Browse files Browse the repository at this point in the history
* release/5.1.0:
  Final commit of version 5.1.0
  Introduce new loadUserMediaOnRecord option
  • Loading branch information
binarykitchen committed Feb 23, 2024
2 parents d0f69fd + bd416e4 commit af46e1c
Show file tree
Hide file tree
Showing 18 changed files with 1,669 additions and 9,924 deletions.
4 changes: 0 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,11 @@ module.exports = {
'plugin:import/errors',
'plugin:import/warnings'
],
root: true,
env: {
browser: true,
es6: true
},
rules: {
'no-debugger': 0,
'import/no-named-as-default': 0,
'no-else-return': 1,
'space-before-function-paren': [
'error',
{
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
SLUG: videomail-for-ninja-forms

- name: Upload release asset
# TODO Switch to another action as this one is deprecated. Maybe softprops/action-gh-release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
18 changes: 0 additions & 18 deletions .prettierrc

This file was deleted.

13 changes: 13 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//@ts-check

// Note: whatever prettier defaults, remove

/** @type {import('prettier').Config} */
const config = {
"printWidth": 90,
"semi": false,
"singleQuote": true,
"trailingComma": "none"
};

module.exports = config;
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,15 @@ https://github.com/binarykitchen/videomail-for-ninja-forms/issues
## Releasing

1. Update changelog in readme.txt (stable tag + changelog)
2. Manually bump versions in
2. Search for current version and replace it with the new one. Should be these files:
- package.json
- readme.txt
- videomail-for-ninja-forms.php
- src/php/videomail.php
3. Optional: validate readme.txt with https://wordpress.org/plugins/developers/readme-validator/
4. Run `npm run release`
5. Tag a new release which will run the release workflow on GitHub, e.g. with `gh release create`
6. Announce on Twitter

## Ask for help

Expand Down
4 changes: 2 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### TODOs
| Filename | line # | TODO
|:------|:------:|:------
| js/main.js | 162 | isn't 'form-' + formModel.get('id') the same as the formID already?
| js/main.js | 230 | ask for an endpoint to process those special merge tags
| js/main.js | 167 | isn't 'form-' + formModel.get('id') the same as the formID already?
| js/main.js | 235 | ask for an endpoint to process those special merge tags
| gulpfile.js | 65 | fix, sourcemaps do not seem to work (switch to webpack?)
Binary file modified dist/videomail-for-ninja-forms.zip
Binary file not shown.
Loading

0 comments on commit af46e1c

Please sign in to comment.