Merge branch 'main' into requests-in-php

This commit is contained in:
Daniel Waxweiler 2023-11-11 20:44:15 +01:00
commit 1af1e62301
9 changed files with 3781 additions and 3007 deletions

View File

@ -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

View File

@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:

View File

@ -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.
12. Tag the new version: `git tag v<version>`
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

View File

@ -15,7 +15,7 @@ function injectMetadata() {
FOLDER_BUILD + '/includes/Constants.php',
FOLDER_BUILD + '/readme.txt',
],
{ base: './' }
{ base: './' },
)
.pipe(replace('<wordpress-author-name>', PACKAGE.author.name))
.pipe(replace('<wordpress-author-url>', PACKAGE.author.url))
@ -25,22 +25,22 @@ function injectMetadata() {
.pipe(
replace(
'<wordpress-minimum-version>',
PACKAGE.additionalDetails.wordpressMinimumVersion
)
PACKAGE.additionalDetails.wordpressMinimumVersion,
),
)
.pipe(replace('<wordpress-name>', PACKAGE.name))
.pipe(replace('<wordpress-nice-name>', PACKAGE.additionalDetails.niceName))
.pipe(
replace(
'<wordpress-php-minimum-version>',
PACKAGE.additionalDetails.phpMinimumVersion
)
PACKAGE.additionalDetails.phpMinimumVersion,
),
)
.pipe(
replace(
'<wordpress-tested-up-to-version>',
PACKAGE.additionalDetails.wordpressTestedUpToVersion
)
PACKAGE.additionalDetails.wordpressTestedUpToVersion,
),
)
.pipe(replace('<wordpress-version>', PACKAGE.version))
.pipe(dest('.'))

6705
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "connector-mobilizon",
"version": "0.11.3",
"version": "0.11.4-next",
"description": "Display Mobilizon events in WordPress.",
"private": true,
"type": "module",
@ -24,34 +24,34 @@
},
"license": "Apache-2.0",
"dependencies": {
"graphql": "16.7.1",
"graphql": "16.8.1",
"graphql-request": "6.1.0",
"luxon": "3.3.0",
"luxon": "3.4.3",
"object-hash": "3.0.0"
},
"devDependencies": {
"@babel/core": "7.22.9",
"@babel/eslint-parser": "7.22.9",
"@babel/preset-env": "7.22.9",
"@babel/preset-react": "7.22.5",
"@wordpress/eslint-plugin": "14.11.0",
"@babel/core": "7.23.3",
"@babel/eslint-parser": "7.23.3",
"@babel/preset-env": "7.23.3",
"@babel/preset-react": "7.23.3",
"@wordpress/eslint-plugin": "17.2.0",
"ava": "5.3.1",
"babel-loader": "9.1.3",
"browser-env": "3.3.0",
"c8": "8.0.1",
"copy-webpack-plugin": "11.0.0",
"eslint": "8.45.0",
"eslint": "8.53.0",
"eslint-plugin-ava": "14.0.0",
"eslint-plugin-jsx": "0.1.0",
"eslint-plugin-react": "7.33.0",
"eslint-plugin-react": "7.33.2",
"esm": "3.2.25",
"gulp": "4.0.2",
"gulp-replace": "1.1.4",
"husky": "8.0.3",
"lint-staged": "13.2.3",
"prettier": "3.0.0",
"rimraf": "5.0.1",
"webpack": "5.88.2",
"lint-staged": "15.1.0",
"prettier": "3.0.3",
"rimraf": "5.0.5",
"webpack": "5.89.0",
"webpack-cli": "5.1.4"
},
"ava": {

View File

@ -8,6 +8,11 @@
#### Fixed
#### Security
### [0.11.4]
#### Changed
- Confirm compatibility with WordPress 6.4
- Update dependencies
### [0.11.3]
#### Fixed
- Clean up distributed files

View File

@ -70,9 +70,9 @@ export function getUpcomingEventsByGroupName({ url, limit, groupName }) {
SessionCache.add(
sessionStorage,
{ url, query, variables: { afterDatetime, groupName, limit } },
data
data,
)
return Promise.resolve(data)
}
},
)
}

View File

@ -41,6 +41,11 @@ You have to use their username, e.g. `@nosliensvivants`, and append the name of
## Changelog
### [0.11.4]
#### Changed
- Confirm compatibility with WordPress 6.4
- Update dependencies
### [0.11.3]
#### Fixed
- Clean up distributed files