@grafana/create-plugin 1.11.0 → 1.12.0

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 CHANGED
@@ -1,3 +1,15 @@
1
+ # v1.12.0 (Fri Aug 18 2023)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - create-plugin: Add link to documentation about troubleshooting create-plugin on windows [#365](https://github.com/grafana/plugin-tools/pull/365) ([@Ukochka](https://github.com/Ukochka))
6
+
7
+ #### Authors: 1
8
+
9
+ - Yulia Shanyrova ([@Ukochka](https://github.com/Ukochka))
10
+
11
+ ---
12
+
1
13
  # v1.11.0 (Wed Aug 16 2023)
2
14
 
3
15
  #### 🚀 Enhancement
package/dist/bin/run.js CHANGED
@@ -8,7 +8,7 @@ var minimist_1 = __importDefault(require("minimist"));
8
8
  var commands_1 = require("../commands");
9
9
  var utils_os_1 = require("../utils/utils.os");
10
10
  if ((0, utils_os_1.isUnsupportedPlatform)()) {
11
- console.error("Unsupported operating system 'Windows' detected. Please use WSL with create-plugin.");
11
+ console.error("Unsupported operating system 'Windows' detected. Please use WSL with create-plugin. For more info visit: https://grafana.com/developers/plugin-tools/troubleshooting#i-am-getting-unsupported-operating-system-windows-detected-please-use-wsl-with-create-plugin");
12
12
  process.exit(1);
13
13
  }
14
14
  var args = process.argv.slice(2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "directory": "packages/create-plugin",
@@ -66,5 +66,5 @@
66
66
  "engines": {
67
67
  "node": ">=16"
68
68
  },
69
- "gitHead": "b989f6bb20b4f88c048c00c2d48b6a4b38728f6c"
69
+ "gitHead": "05bf90d24a46c8a5458aeeebed9327b5add8f35b"
70
70
  }
package/src/bin/run.ts CHANGED
@@ -6,7 +6,9 @@ import { isUnsupportedPlatform } from '../utils/utils.os';
6
6
 
7
7
  // Exit early if operating system isn't supported.
8
8
  if (isUnsupportedPlatform()) {
9
- console.error("Unsupported operating system 'Windows' detected. Please use WSL with create-plugin.");
9
+ console.error(
10
+ "Unsupported operating system 'Windows' detected. Please use WSL with create-plugin. For more info visit: https://grafana.com/developers/plugin-tools/troubleshooting#i-am-getting-unsupported-operating-system-windows-detected-please-use-wsl-with-create-plugin"
11
+ );
10
12
  process.exit(1);
11
13
  }
12
14
 
@@ -14,7 +14,7 @@ Before signing a plugin for the first time please consult the Grafana [plugin si
14
14
 
15
15
  1. Create a [Grafana Cloud account](https://grafana.com/signup).
16
16
  2. Make sure that the first part of the plugin ID matches the slug of your Grafana Cloud account.
17
- - _You can find the plugin ID in the plugin.json file inside your plugin directory. For example, if your account slug is `acmecorp`, you need to prefix the plugin ID with `acmecorp-`._
17
+ - _You can find the plugin ID in the `plugin.json` file inside your plugin directory. For example, if your account slug is `acmecorp`, you need to prefix the plugin ID with `acmecorp-`._
18
18
  3. Create a Grafana Cloud API key with the `PluginPublisher` role.
19
19
  4. Keep a record of this API key as it will be required for signing a plugin
20
20
 
@@ -18,5 +18,5 @@ App plugins can let you create a custom out-of-the-box monitoring experience by
18
18
  Below you can find source code for existing app plugins and other related documentation.
19
19
 
20
20
  - [Basic app plugin example](https://github.com/grafana/grafana-plugin-examples/tree/master/examples/app-basic#readme)
21
- - [Plugin.json documentation](https://grafana.com/docs/grafana/latest/developers/plugins/metadata/)
21
+ - [`plugin.json` documentation](https://grafana.com/developers/plugin-tools/reference-plugin-json)
22
22
  - [How to sign a plugin?](https://grafana.com/docs/grafana/latest/developers/plugins/sign-a-plugin/)
@@ -18,5 +18,5 @@ Grafana supports a wide range of data sources, including Prometheus, MySQL, and
18
18
  Below you can find source code for existing app plugins and other related documentation.
19
19
 
20
20
  - [Basic data source plugin example](https://github.com/grafana/grafana-plugin-examples/tree/master/examples/datasource-basic#readme)
21
- - [Plugin.json documentation](https://grafana.com/docs/grafana/latest/developers/plugins/metadata/)
21
+ - [`plugin.json` documentation](https://grafana.com/developers/plugin-tools/reference-plugin-json)
22
22
  - [How to sign a plugin?](https://grafana.com/docs/grafana/latest/developers/plugins/sign-a-plugin/)
@@ -19,5 +19,5 @@ Use panel plugins when you want to do things like visualize data returned by dat
19
19
  Below you can find source code for existing app plugins and other related documentation.
20
20
 
21
21
  - [Basic panel plugin example](https://github.com/grafana/grafana-plugin-examples/tree/master/examples/panel-basic#readme)
22
- - [Plugin.json documentation](https://grafana.com/docs/grafana/latest/developers/plugins/metadata/)
22
+ - [`plugin.json` documentation](https://grafana.com/developers/plugin-tools/reference-plugin-json)
23
23
  - [How to sign a plugin?](https://grafana.com/docs/grafana/latest/developers/plugins/sign-a-plugin/)