@grafana/create-plugin 4.0.2-canary.754.d15fa36.0 → 4.0.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,16 @@
1
+ # v4.0.2 (Mon Feb 19 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Create Plugin: Add tests for config [#754](https://github.com/grafana/plugin-tools/pull/754) ([@jackw](https://github.com/jackw) [@leventebalogh](https://github.com/leventebalogh))
6
+
7
+ #### Authors: 2
8
+
9
+ - Jack Westbrook ([@jackw](https://github.com/jackw))
10
+ - Levente Balogh ([@leventebalogh](https://github.com/leventebalogh))
11
+
12
+ ---
13
+
1
14
  # v4.0.1 (Thu Feb 15 2024)
2
15
 
3
16
  #### 🐛 Bug Fix
@@ -14,10 +14,8 @@ vi.mock('../utils.cli.js', async () => mocks);
14
14
  const tmpDir = path.join(os.tmpdir(), 'cp-test-config');
15
15
  describe('getConfig', () => {
16
16
  beforeEach(async () => {
17
- await fs.mkdir(tmpDir, { recursive: true });
18
- });
19
- afterEach(async () => {
20
17
  await fs.rm(tmpDir, { recursive: true, force: true });
18
+ await fs.mkdir(tmpDir, { recursive: true });
21
19
  });
22
20
  describe('Command: Generate', () => {
23
21
  beforeEach(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "4.0.2-canary.754.d15fa36.0",
3
+ "version": "4.0.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": "d15fa36c7d1ea6e13a4700ef9f127d7f1c346b16"
90
+ "gitHead": "7df2e30014adfa8ddf6e4f01e52a3a9fb636420b"
91
91
  }
@@ -18,13 +18,8 @@ const tmpDir = path.join(os.tmpdir(), 'cp-test-config');
18
18
 
19
19
  describe('getConfig', () => {
20
20
  beforeEach(async () => {
21
- // Create temporary directory for testing
22
- await fs.mkdir(tmpDir, { recursive: true });
23
- });
24
-
25
- afterEach(async () => {
26
- // Clean up temporary directory
27
21
  await fs.rm(tmpDir, { recursive: true, force: true });
22
+ await fs.mkdir(tmpDir, { recursive: true });
28
23
  });
29
24
 
30
25
  describe('Command: Generate', () => {