You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix path for Chrome DevTools external plugin (#1784)
* Fixing path on chrome devtools external pluginPath is to the folder in the repo where the plugin structure starts, not where the plugin.json file lives.
* Updating validation scripts and guidance to avoid this mistake again
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/external-plugin.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -44,8 +44,8 @@ body:
44
44
id: plugin-path
45
45
attributes:
46
46
label: Plugin path inside the repository
47
-
description: Optional if the plugin lives at the repository root.
48
-
placeholder: .github/plugins/my-plugin
47
+
description: Optional if the plugin lives at the repository root. Otherwise, enter the folder where the plugin structure starts, not the plugin.json file.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -221,7 +221,7 @@ For entries committed to `plugins/external.json`, the current marketplace valida
221
221
-`repository` as an HTTPS GitHub URL
222
222
-`keywords` as lowercase hyphenated tags
223
223
-`source.source: "github"` plus `source.repo` in `owner/repo` format
224
-
- optional `source.path` values to stay relative to the repository root
224
+
- optional `source.path` values of `/` for repository root, or a repository-relative folder where the plugin structure starts (do not point to `plugin.json` directly)
225
225
226
226
The public-submission policy builds on those rules and also requires `license` plus an immutable `source.ref`.
`${prefix}: "source.path" must point to the plugin root directory, not the manifest file; relative to "source.path", expected one of ${formatExpectedPluginRootMessage()}`
0 commit comments