-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1421 from Parsely/develop
- Loading branch information
Showing
203 changed files
with
8,049 additions
and
2,889 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,46 @@ | ||
{ | ||
"env": { "browser": true }, | ||
"env": { | ||
"browser": true | ||
}, | ||
"extends": [ | ||
"plugin:@wordpress/eslint-plugin/recommended-with-formatting", | ||
"plugin:jest/recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"plugins": [ | ||
"@typescript-eslint" | ||
], | ||
"settings": { | ||
"jest": { "version": "latest" }, | ||
"import/resolver": { | ||
"jest": { | ||
"version": "latest" | ||
}, | ||
"import/resolver": { | ||
"node": { | ||
"extensions": [ ".js", ".jsx", ".ts", ".tsx", ".json" ] | ||
"extensions": [ | ||
".js", | ||
".jsx", | ||
".ts", | ||
".tsx", | ||
".json" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"ignorePatterns": [ "webpack.config.js" ], | ||
"ignorePatterns": [ | ||
"webpack.config.js" | ||
], | ||
"rules": { | ||
"@wordpress/i18n-text-domain": [ "error", { "allowedTextDomain": [ "wp-parsely" ] } ], | ||
"@typescript-eslint/ban-ts-comment": "off", | ||
"@wordpress/i18n-text-domain": [ | ||
"error", | ||
{ | ||
"allowedTextDomain": [ | ||
"wp-parsely" | ||
] | ||
} | ||
], | ||
"@typescript-eslint/ban-ts-comment": "off", | ||
// Enabling TS rule and disabling Base rule as it can report incorrect errors. | ||
"no-shadow": "off", | ||
"@typescript-eslint/no-shadow": ["error"] | ||
}, | ||
"globals": { | ||
// Page variable for Puppeteer tests | ||
"page": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
# See https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners | ||
|
||
# These owners will be the default owners for everything in the repo. | ||
# This team will be requested for review when someone opens a pull request. | ||
* @Parsely/wp-parsely | ||
|
||
# Don't assign owners for the following files: | ||
package.json | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
<!--- Provide a general summary of your changes in the Title above --> | ||
<!-- | ||
Hello! Just a quick reminder that this is a public repo. Please don't include any internal links or sensitive data (like PII, private code, client names, site URLs, etc. If you're not sure if something is safe to share, please just ask! | ||
--> | ||
|
||
## Description | ||
<!--- Describe your changes in detail --> | ||
<!-- Describe your changes in detail. --> | ||
|
||
## Motivation and Context | ||
<!--- Why is this change required? What problem does it solve? --> | ||
<!--- If it fixes an open issue, please link to the issue here. --> | ||
## Motivation and context | ||
<!-- Why is this change required? What problem does it solve? --> | ||
<!-- If it fixes an open issue, please link to the issue here. --> | ||
|
||
## How Has This Been Tested? | ||
<!--- Please describe in detail how you tested your changes. --> | ||
<!--- Include details of your testing environment, and the tests you ran to --> | ||
<!--- see how your change affects other areas of the code, etc. --> | ||
## How has this been tested? | ||
<!-- Please describe in detail how you tested your changes. --> | ||
<!-- Include details of your testing environment, and the tests you ran too. --> | ||
<!-- See how your change affects other areas of the code, etc. --> | ||
|
||
## Screenshots (if appropriate) | ||
<!-- Any screenshot(s) demonstrating the result of this PR. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
|
||
npm run lint | ||
composer cs | ||
vendor/bin/phpstan analyse --memory-limit=-1G |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Security Policy | ||
|
||
> Although we strive to create the most secure products possible, we are not perfect. If you happen to find a security vulnerability in one of our services, we would appreciate letting us know and allowing us to respond before disclosing the issue publicly. We take security seriously, and we will try to review and reply to every legitimate security report personally within 24 hours. | ||
> | ||
> – [Automattic](https://automattic.com/security/) | ||
## Supported Versions | ||
|
||
We fully support one minor release behind the latest (i.e. if 3.6 is the latest release, we will support 3.5). | ||
|
||
Depending on the severity of the vulnerability, we may port and release fixes for older, unsupported versions as well. | ||
|
||
## Reporting a Vulnerability | ||
|
||
For responsible disclosure of security issues and to be eligible for our bug bounty program, please submit security issuess via the HackerOne portal: https://hackerone.com/automattic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Script to update version numbers (uvn) in the code. It will create a new | ||
# branch and commit the changes. After inspecting the results, it can be pushed | ||
# to GitHub as a PR. | ||
# | ||
# Usage: Specify the new version as an argument. (e.g. bin/uvn.sh 3.7.0) | ||
# Note: This has only been tested with macOS sed. | ||
|
||
git checkout -b update/wp-parsely-version-to-$1 | ||
|
||
sed -i '' "s/Stable tag: .* $/Stable tag: $1 /" README.md | ||
sed -i '' "s/\"version\": \".*\"/\"version\": \"$1\"/" package.json | ||
sed -i '' "s/export const PLUGIN_VERSION = '.*'/export const PLUGIN_VERSION = '$1'/" tests/e2e/utils.ts | ||
sed -i '' "s/ \* Version: .*$/ \* Version: $1/" wp-parsely.php | ||
sed -i '' "s/const PARSELY_VERSION = '.*'/const PARSELY_VERSION = '$1'/" wp-parsely.php | ||
|
||
npm install # Update version numbers in package.lock.json. | ||
|
||
git add -A && git commit -m "Update wp-parsely version to $1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php return array('dependencies' => array(), 'version' => '073b1605887b0f95d4fb'); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.