@grafana/create-plugin 1.12.1 → 1.12.2-canary.380.f2a20bf.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.
@@ -22,10 +22,10 @@ function printGenerateSuccessMessage(answers) {
22
22
  "- `".concat(packageManagerName, " run dev` to build (and watch) the plugin frontend code.")
23
23
  ], (answers.hasBackend
24
24
  ? [
25
- '- `mage -v build:linux` to build the plugin backend code. Rerun this command every time you edit your backend files.',
25
+ '- `mage` to build the plugin backend code. Rerun this command every time you edit your backend files. `mage -l` lists all available targets.',
26
26
  ]
27
27
  : []), true), [
28
- '- `docker-compose up` to start a grafana development server. Restart this command after each time you run mage to run your new backend code.',
28
+ '- \`${packageManagerName} run server\` to start a grafana development server. Restart this command after each time you run mage to run your new backend code.',
29
29
  '- Open http://localhost:3000 in your browser to create a dashboard to begin developing your plugin.',
30
30
  ], false);
31
31
  var msg = "\nCongratulations on scaffolding a Grafana ".concat(answers.pluginType, " plugin! \uD83D\uDE80\n\n## What's next?\n\nRun the following commands to get started:\n").concat(commands.map(function (command) { return command; }).join('\n'), "\n\n_Note: We strongly recommend creating a new Git repository by running `git init` in ./").concat(directory, " before continuing._\n\n- View create-plugin documentation at https://grafana.github.io/plugin-tools/\n- Learn more about Grafana Plugins at https://grafana.com/docs/grafana/latest/plugins/developing/development/\n");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "1.12.1",
3
+ "version": "1.12.2-canary.380.f2a20bf.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": "22175d33426b0efb3ad1eec57cc1962d6354a273"
69
+ "gitHead": "f2a20bfa109260a908ff1101decc9f5ed3fba4b3"
70
70
  }
@@ -12,10 +12,10 @@ export function printGenerateSuccessMessage(answers: CliArgs) {
12
12
  `- \`${packageManagerName} run dev\` to build (and watch) the plugin frontend code.`,
13
13
  ...(answers.hasBackend
14
14
  ? [
15
- '- `mage -v build:linux` to build the plugin backend code. Rerun this command every time you edit your backend files.',
15
+ '- `mage` to build the plugin backend code. Rerun this command every time you edit your backend files. `mage -l` lists all available targets.',
16
16
  ]
17
17
  : []),
18
- '- `docker-compose up` to start a grafana development server. Restart this command after each time you run mage to run your new backend code.',
18
+ '- \`${packageManagerName} run server\` to start a grafana development server. Restart this command after each time you run mage to run your new backend code.',
19
19
  '- Open http://localhost:3000 in your browser to create a dashboard to begin developing your plugin.',
20
20
  ];
21
21