@atlaskit/eslint-plugin-platform 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/cjs/rules/ensure-valid-workspace-protocol-usage/index.js +1 -1
- package/dist/es2019/rules/ensure-valid-workspace-protocol-usage/index.js +1 -1
- package/dist/esm/rules/ensure-valid-workspace-protocol-usage/index.js +1 -1
- package/package.json +1 -1
- package/src/rules/ensure-valid-workspace-protocol-usage/index.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/eslint-plugin-platform
|
|
2
2
|
|
|
3
|
+
## 0.10.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#156370](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/156370)
|
|
8
|
+
[`b8def46d59747`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b8def46d59747) -
|
|
9
|
+
Improved error message in ensure-valid-workspace-protocol-usage rule to provide information about
|
|
10
|
+
how to resolve the error.
|
|
11
|
+
|
|
3
12
|
## 0.10.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -32,7 +32,7 @@ var rule = {
|
|
|
32
32
|
},
|
|
33
33
|
hasSuggestions: false,
|
|
34
34
|
messages: {
|
|
35
|
-
invalidWorkspaceProtocolUsage: "The workspace protocol
|
|
35
|
+
invalidWorkspaceProtocolUsage: "The workspace protocol is not allowed in public packages. To resolve this error, either set the package to private or replace the workspace protocol with specific package versions (e.g. \"^1.0.0\")."
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
create: function create(context) {
|
|
@@ -26,7 +26,7 @@ const rule = {
|
|
|
26
26
|
},
|
|
27
27
|
hasSuggestions: false,
|
|
28
28
|
messages: {
|
|
29
|
-
invalidWorkspaceProtocolUsage: `The workspace protocol
|
|
29
|
+
invalidWorkspaceProtocolUsage: `The workspace protocol is not allowed in public packages. To resolve this error, either set the package to private or replace the workspace protocol with specific package versions (e.g. "^1.0.0").`
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
create(context) {
|
|
@@ -26,7 +26,7 @@ var rule = {
|
|
|
26
26
|
},
|
|
27
27
|
hasSuggestions: false,
|
|
28
28
|
messages: {
|
|
29
|
-
invalidWorkspaceProtocolUsage: "The workspace protocol
|
|
29
|
+
invalidWorkspaceProtocolUsage: "The workspace protocol is not allowed in public packages. To resolve this error, either set the package to private or replace the workspace protocol with specific package versions (e.g. \"^1.0.0\")."
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
create: function create(context) {
|
package/package.json
CHANGED
|
@@ -32,7 +32,7 @@ const rule: Rule.RuleModule = {
|
|
|
32
32
|
},
|
|
33
33
|
hasSuggestions: false,
|
|
34
34
|
messages: {
|
|
35
|
-
invalidWorkspaceProtocolUsage: `The workspace protocol
|
|
35
|
+
invalidWorkspaceProtocolUsage: `The workspace protocol is not allowed in public packages. To resolve this error, either set the package to private or replace the workspace protocol with specific package versions (e.g. "^1.0.0").`,
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
38
|
create(context) {
|