Merge branch 'main' into requests-in-php
This commit is contained in:
commit
1af1e62301
|
@ -1,23 +0,0 @@
|
||||||
name: Qodana
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
pull_request:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- 'releases/*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
qodana:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: 'Qodana Scan'
|
|
||||||
uses: JetBrains/qodana-action@v2022.3.2
|
|
||||||
env:
|
|
||||||
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
|
|
||||||
- uses: github/codeql-action/upload-sarif@v2
|
|
||||||
with:
|
|
||||||
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json
|
|
|
@ -15,7 +15,7 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [16.x]
|
node-version: [18.x]
|
||||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -34,6 +34,8 @@ The current changelog can be found under [source/changelog.txt](source/changelog
|
||||||
11. Commit the new version in git with the same message.
|
11. Commit the new version in git with the same message.
|
||||||
12. Tag the new version: `git tag v<version>`
|
12. Tag the new version: `git tag v<version>`
|
||||||
13. Push the new tag to the repository: `git push --tags`
|
13. Push the new tag to the repository: `git push --tags`
|
||||||
|
14. Append `-next` to the version number in `package.json`.
|
||||||
|
15. Update the `package-lock.json`: `npm i --package-lock-only`
|
||||||
|
|
||||||
### Other commands
|
### Other commands
|
||||||
|
|
||||||
|
|
14
gulpfile.cjs
14
gulpfile.cjs
|
@ -15,7 +15,7 @@ function injectMetadata() {
|
||||||
FOLDER_BUILD + '/includes/Constants.php',
|
FOLDER_BUILD + '/includes/Constants.php',
|
||||||
FOLDER_BUILD + '/readme.txt',
|
FOLDER_BUILD + '/readme.txt',
|
||||||
],
|
],
|
||||||
{ base: './' }
|
{ base: './' },
|
||||||
)
|
)
|
||||||
.pipe(replace('<wordpress-author-name>', PACKAGE.author.name))
|
.pipe(replace('<wordpress-author-name>', PACKAGE.author.name))
|
||||||
.pipe(replace('<wordpress-author-url>', PACKAGE.author.url))
|
.pipe(replace('<wordpress-author-url>', PACKAGE.author.url))
|
||||||
|
@ -25,22 +25,22 @@ function injectMetadata() {
|
||||||
.pipe(
|
.pipe(
|
||||||
replace(
|
replace(
|
||||||
'<wordpress-minimum-version>',
|
'<wordpress-minimum-version>',
|
||||||
PACKAGE.additionalDetails.wordpressMinimumVersion
|
PACKAGE.additionalDetails.wordpressMinimumVersion,
|
||||||
)
|
),
|
||||||
)
|
)
|
||||||
.pipe(replace('<wordpress-name>', PACKAGE.name))
|
.pipe(replace('<wordpress-name>', PACKAGE.name))
|
||||||
.pipe(replace('<wordpress-nice-name>', PACKAGE.additionalDetails.niceName))
|
.pipe(replace('<wordpress-nice-name>', PACKAGE.additionalDetails.niceName))
|
||||||
.pipe(
|
.pipe(
|
||||||
replace(
|
replace(
|
||||||
'<wordpress-php-minimum-version>',
|
'<wordpress-php-minimum-version>',
|
||||||
PACKAGE.additionalDetails.phpMinimumVersion
|
PACKAGE.additionalDetails.phpMinimumVersion,
|
||||||
)
|
),
|
||||||
)
|
)
|
||||||
.pipe(
|
.pipe(
|
||||||
replace(
|
replace(
|
||||||
'<wordpress-tested-up-to-version>',
|
'<wordpress-tested-up-to-version>',
|
||||||
PACKAGE.additionalDetails.wordpressTestedUpToVersion
|
PACKAGE.additionalDetails.wordpressTestedUpToVersion,
|
||||||
)
|
),
|
||||||
)
|
)
|
||||||
.pipe(replace('<wordpress-version>', PACKAGE.version))
|
.pipe(replace('<wordpress-version>', PACKAGE.version))
|
||||||
.pipe(dest('.'))
|
.pipe(dest('.'))
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
28
package.json
28
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "connector-mobilizon",
|
"name": "connector-mobilizon",
|
||||||
"version": "0.11.3",
|
"version": "0.11.4-next",
|
||||||
"description": "Display Mobilizon events in WordPress.",
|
"description": "Display Mobilizon events in WordPress.",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
@ -24,34 +24,34 @@
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"graphql": "16.7.1",
|
"graphql": "16.8.1",
|
||||||
"graphql-request": "6.1.0",
|
"graphql-request": "6.1.0",
|
||||||
"luxon": "3.3.0",
|
"luxon": "3.4.3",
|
||||||
"object-hash": "3.0.0"
|
"object-hash": "3.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "7.22.9",
|
"@babel/core": "7.23.3",
|
||||||
"@babel/eslint-parser": "7.22.9",
|
"@babel/eslint-parser": "7.23.3",
|
||||||
"@babel/preset-env": "7.22.9",
|
"@babel/preset-env": "7.23.3",
|
||||||
"@babel/preset-react": "7.22.5",
|
"@babel/preset-react": "7.23.3",
|
||||||
"@wordpress/eslint-plugin": "14.11.0",
|
"@wordpress/eslint-plugin": "17.2.0",
|
||||||
"ava": "5.3.1",
|
"ava": "5.3.1",
|
||||||
"babel-loader": "9.1.3",
|
"babel-loader": "9.1.3",
|
||||||
"browser-env": "3.3.0",
|
"browser-env": "3.3.0",
|
||||||
"c8": "8.0.1",
|
"c8": "8.0.1",
|
||||||
"copy-webpack-plugin": "11.0.0",
|
"copy-webpack-plugin": "11.0.0",
|
||||||
"eslint": "8.45.0",
|
"eslint": "8.53.0",
|
||||||
"eslint-plugin-ava": "14.0.0",
|
"eslint-plugin-ava": "14.0.0",
|
||||||
"eslint-plugin-jsx": "0.1.0",
|
"eslint-plugin-jsx": "0.1.0",
|
||||||
"eslint-plugin-react": "7.33.0",
|
"eslint-plugin-react": "7.33.2",
|
||||||
"esm": "3.2.25",
|
"esm": "3.2.25",
|
||||||
"gulp": "4.0.2",
|
"gulp": "4.0.2",
|
||||||
"gulp-replace": "1.1.4",
|
"gulp-replace": "1.1.4",
|
||||||
"husky": "8.0.3",
|
"husky": "8.0.3",
|
||||||
"lint-staged": "13.2.3",
|
"lint-staged": "15.1.0",
|
||||||
"prettier": "3.0.0",
|
"prettier": "3.0.3",
|
||||||
"rimraf": "5.0.1",
|
"rimraf": "5.0.5",
|
||||||
"webpack": "5.88.2",
|
"webpack": "5.89.0",
|
||||||
"webpack-cli": "5.1.4"
|
"webpack-cli": "5.1.4"
|
||||||
},
|
},
|
||||||
"ava": {
|
"ava": {
|
||||||
|
|
|
@ -8,6 +8,11 @@
|
||||||
#### Fixed
|
#### Fixed
|
||||||
#### Security
|
#### Security
|
||||||
|
|
||||||
|
### [0.11.4]
|
||||||
|
#### Changed
|
||||||
|
- Confirm compatibility with WordPress 6.4
|
||||||
|
- Update dependencies
|
||||||
|
|
||||||
### [0.11.3]
|
### [0.11.3]
|
||||||
#### Fixed
|
#### Fixed
|
||||||
- Clean up distributed files
|
- Clean up distributed files
|
||||||
|
|
|
@ -70,9 +70,9 @@ export function getUpcomingEventsByGroupName({ url, limit, groupName }) {
|
||||||
SessionCache.add(
|
SessionCache.add(
|
||||||
sessionStorage,
|
sessionStorage,
|
||||||
{ url, query, variables: { afterDatetime, groupName, limit } },
|
{ url, query, variables: { afterDatetime, groupName, limit } },
|
||||||
data
|
data,
|
||||||
)
|
)
|
||||||
return Promise.resolve(data)
|
return Promise.resolve(data)
|
||||||
}
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,6 +41,11 @@ You have to use their username, e.g. `@nosliensvivants`, and append the name of
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
### [0.11.4]
|
||||||
|
#### Changed
|
||||||
|
- Confirm compatibility with WordPress 6.4
|
||||||
|
- Update dependencies
|
||||||
|
|
||||||
### [0.11.3]
|
### [0.11.3]
|
||||||
#### Fixed
|
#### Fixed
|
||||||
- Clean up distributed files
|
- Clean up distributed files
|
||||||
|
|
Loading…
Reference in New Issue