@grafana/create-plugin 4.6.1 → 4.6.2

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
+ # v4.6.2 (Wed Apr 17 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Build: Introduce stricter typechecking [#868](https://github.com/grafana/plugin-tools/pull/868) ([@jackw](https://github.com/jackw))
6
+
7
+ #### Authors: 1
8
+
9
+ - Jack Westbrook ([@jackw](https://github.com/jackw))
10
+
11
+ ---
12
+
1
13
  # v4.6.1 (Fri Apr 05 2024)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -75,6 +75,7 @@ function getPackageManagerFromLockFile() {
75
75
  if (error instanceof Error) {
76
76
  throw error;
77
77
  }
78
+ return undefined;
78
79
  }
79
80
  }
80
81
  function getPackageManagerFromPackageJson() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "4.6.1",
3
+ "version": "4.6.2",
4
4
  "repository": {
5
5
  "directory": "packages/create-plugin",
6
6
  "url": "https://github.com/grafana/plugin-tools"
@@ -87,5 +87,5 @@
87
87
  "engines": {
88
88
  "node": ">=20"
89
89
  },
90
- "gitHead": "0714011b348b73514ba25e021c130847d576ee8e"
90
+ "gitHead": "8abe46bc597ff004ad174903ec61a005edd262a3"
91
91
  }
@@ -97,6 +97,7 @@ function getPackageManagerFromLockFile(): PackageManager | undefined {
97
97
  if (error instanceof Error) {
98
98
  throw error;
99
99
  }
100
+ return undefined;
100
101
  }
101
102
  }
102
103
 
@@ -3,7 +3,7 @@ import path from 'node:path';
3
3
  import fs from 'node:fs';
4
4
  import { mkdirp } from 'mkdirp';
5
5
  import createDebug from 'debug';
6
- import { directoryExists, filterOutCommonFiles, isFile, isFileStartingWith } from './utils.files.js';
6
+ import { filterOutCommonFiles, isFile, isFileStartingWith } from './utils.files.js';
7
7
  import { renderHandlebarsTemplate } from './utils.handlebars.js';
8
8
  import { getPluginJson } from './utils.plugin.js';
9
9
  import {
@@ -17,7 +17,7 @@ import { TemplateData } from '../types.js';
17
17
  import { getPackageManagerInstallCmd, getPackageManagerWithFallback } from './utils.packageManager.js';
18
18
  import { getExportFileName } from '../utils/utils.files.js';
19
19
  import { getVersion } from './utils.version.js';
20
- import { FeatureFlags, getConfig } from './utils.config.js';
20
+ import { getConfig } from './utils.config.js';
21
21
 
22
22
  const debug = createDebug('templates');
23
23