@grafana/create-plugin 0.8.0-canary.164.aaad27f.0 → 0.8.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
+ # v0.8.0 (Wed Nov 30 2022)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - Create Plugin: Update Jest to v29 [#164](https://github.com/grafana/plugin-tools/pull/164) ([@jackw](https://github.com/jackw))
6
+
7
+ #### Authors: 1
8
+
9
+ - Jack Westbrook ([@jackw](https://github.com/jackw))
10
+
11
+ ---
12
+
1
13
  # v0.7.1 (Tue Nov 29 2022)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -196,7 +196,6 @@ function printSuccessMessage(answers) {
196
196
  ], (answers.hasBackend ? ['- `mage -v build:linux` to build the plugin backend code.'] : []), true), [
197
197
  '- Open http://localhost:3000 in your browser to create a dashboard to begin developing your plugin.',
198
198
  ], false);
199
- var msg = "\n# Congratulations 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 ./").concat(directory, "/README.md\n- Learn more about Grafana Plugins at https://grafana.com/docs/grafana/latest/plugins/developing/development/\n");
200
- (0, utils_console_1.printMessage)(msg);
201
- return '';
199
+ 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 ./").concat(directory, "/README.md\n- Learn more about Grafana Plugins at https://grafana.com/docs/grafana/latest/plugins/developing/development/\n");
200
+ return (0, utils_console_1.displayAsMarkdown)(msg);
202
201
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "0.8.0-canary.164.aaad27f.0",
3
+ "version": "0.8.0",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "directory": "packages/create-plugin",
@@ -60,5 +60,5 @@
60
60
  "engines": {
61
61
  "node": ">=16"
62
62
  },
63
- "gitHead": "aaad27f7e7bf78e6f4b1f6b3c787112f0fb88abf"
63
+ "gitHead": "bb69dd167db675f1d90a1a31744b89bb0cd5ebc6"
64
64
  }
@@ -3,7 +3,7 @@ import glob from 'glob';
3
3
  import path from 'path';
4
4
  import fs from 'fs';
5
5
  import { ifEq, normalizeId } from '../utils/utils.handlebars';
6
- import { printMessage } from '../utils/utils.console';
6
+ import { displayAsMarkdown } from '../utils/utils.console';
7
7
  import {
8
8
  IS_DEV,
9
9
  TEMPLATE_PATHS,
@@ -259,7 +259,7 @@ function printSuccessMessage(answers: CliArgs) {
259
259
  ];
260
260
 
261
261
  const msg = `
262
- # Congratulations on scaffolding a Grafana ${answers.pluginType} plugin! 🚀
262
+ Congratulations on scaffolding a Grafana ${answers.pluginType} plugin! 🚀
263
263
 
264
264
  ## What's next?
265
265
 
@@ -272,6 +272,5 @@ _Note: We strongly recommend creating a new Git repository by running \`git init
272
272
  - Learn more about Grafana Plugins at https://grafana.com/docs/grafana/latest/plugins/developing/development/
273
273
  `;
274
274
 
275
- printMessage(msg);
276
- return '';
275
+ return displayAsMarkdown(msg);
277
276
  }