Repository navigation
Add Licensing JS Package #21730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add Licensing JS Package #21730
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
dd4e3d4
Import new package from previouscommit
cbauerman 539106f
Add basic render test
cbauerman 39ae12a
add missing package changes
cbauerman b666c55
Add additional test to SuccessInfo component
cbauerman 7cc199f
fixup tests, component propTypes
cbauerman 32c0589
reformat package files
cbauerman 09a7262
Restore license error display & test.
cbauerman c3c8d91
reformat files
cbauerman eb60782
Add changlogger
cbauerman 4f26419
remove old changelogs
cbauerman d17783c
use state functions to keep eslint happy
cbauerman b018ea2
use var for gray color
cbauerman 97d3856
remove Jetpack Logo color
84ad360
Add all JP Greens
cbauerman 27c3b35
remove JP Logo color
cbauerman 43eba4c
Update colors to use vars
cbauerman 66dc3cb
remove license from package index
cbauerman 7977f22
include emoji in translated string
cbauerman 1414203
repalce gridicon with wordpress/icon
cbauerman b9f7eef
eslint fixup
cbauerman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 @@ | ||
| module.exports = { | ||
| // This project uses react, so load the shared react config. | ||
| root: true, | ||
| extends: [ '../../../.eslintrc.react.js', 'plugin:@wordpress/eslint-plugin/i18n' ], | ||
| parserOptions: { | ||
| requireConfigFile: false, | ||
| babelOptions: { | ||
| presets: [ '@babel/preset-react' ], | ||
| }, | ||
| }, | ||
| rules: { | ||
| // Enforce the use of the Jetpack textdomain. | ||
| '@wordpress/i18n-text-domain': [ | ||
| 'error', | ||
| { | ||
| allowedTextDomain: 'jetpack', | ||
| }, | ||
| ], | ||
| }, | ||
| }; |
This file contains hidden or 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,7 @@ | ||
| # Files not needed to be distributed in the package. | ||
| .gitattributes export-ignore | ||
| node_modules export-ignore | ||
|
|
||
| # Files to exclude from the mirror repo | ||
| /changelog/** production-exclude | ||
| /.eslintrc.cjs production-exclude |
This file contains hidden or 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,2 @@ | ||
| vendor/ | ||
| node_modules/ |
This file contains hidden or 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,5 @@ | ||
| { | ||
| "extensions": [".js", ".jsx"], | ||
| "exclude": "**/test/*.jsx", | ||
| "reporter": "clover" | ||
| } |
This file contains hidden or 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,6 @@ | ||
| # Changelog | ||
|
|
||
| All notable changes to this project will be documented in this file. | ||
|
|
||
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) | ||
| and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
This file contains hidden or 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,19 @@ | ||
| # licensing | ||
|
|
||
| Jetpack licensing flow | ||
|
|
||
| ## How to install licensing | ||
|
|
||
| ### Installation From Git Repo | ||
|
|
||
| ## Contribute | ||
|
|
||
| ## Get Help | ||
|
|
||
| ## Security | ||
|
|
||
| Need to report a security vulnerability? Go to [https://automattic.com/security/](https://automattic.com/security/) or directly to our security bug bounty site [https://hackerone.com/automattic](https://hackerone.com/automattic). | ||
|
|
||
| ## License | ||
|
|
||
| licensing is licensed under [GNU General Public License v2 (or later)](./LICENSE.txt) |
Empty file.
4 changes: 4 additions & 0 deletions
4
projects/js-packages/licensing/changelog/add-license-flow-js-package
This file contains hidden or 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,4 @@ | ||
| Significance: major | ||
| Type: added | ||
|
|
||
| Licensing package introduced. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.