@grafana/create-plugin 1.3.1 → 1.3.2-canary.232.f3fd3ea.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/README.md CHANGED
@@ -7,10 +7,10 @@ Create Grafana plugins with ease.
7
7
  - [Grafana / Create Plugin](#grafana--create-plugin)
8
8
  - [Create a new plugin](#create-a-new-plugin)
9
9
  - [Quick overview](#quick-overview)
10
- - [`yarn` (1.x)](#yarn-1x)
11
- - [`yarn` (\> 2.x)](#yarn--2x)
12
10
  - [`npx`](#npx)
13
11
  - [`npm`](#npm)
12
+ - [`pnpm`](#pnpm)
13
+ - [`yarn` (1.x)](#yarn-1x)
14
14
  - [Migrate your existing plugin](#migrate-your-existing-plugin)
15
15
  - [Update your plugin build config](#update-your-plugin-build-config)
16
16
  - [Customizing or extending the basic configs](#customizing-or-extending-the-basic-configs)
@@ -32,30 +32,30 @@ If you have questions or need help, please ask in [GitHub Discussions](https://g
32
32
 
33
33
  Run the command in the folder where you want to store your plugins. The new plugin will be scaffolded in a sub-directory of the folder where you run the command.
34
34
 
35
- You can run the command with the package manager of your choice:
35
+ Create Plugin can be used with NPM, PNPM or Yarn 1. The plugin will be scaffolded to use your preferred package manager. Run the command with the package manager of your choice:
36
36
 
37
- #### [`yarn`](https://classic.yarnpkg.com/blog/2017/05/12/introducing-yarn/) (1.x)
37
+ #### [`npx`](https://github.com/npm/npx)
38
38
 
39
39
  ```bash
40
- yarn create @grafana/plugin
40
+ npx @grafana/create-plugin@latest
41
41
  ```
42
42
 
43
- #### [`yarn`](https://yarnpkg.com/cli/dlx) (> 2.x)
43
+ #### [`npm`](https://docs.npmjs.com/cli/v7/commands/npm-init)
44
44
 
45
45
  ```bash
46
- yarn dlx @grafana/create-plugin
46
+ npm init @grafana/plugin
47
47
  ```
48
48
 
49
- #### [`npx`](https://github.com/npm/npx)
49
+ #### [`pnpm`](https://pnpm.io/cli/dlx)
50
50
 
51
51
  ```bash
52
- npx @grafana/create-plugin@latest
52
+ pnpm dlx @grafana/create-plugin@latest
53
53
  ```
54
54
 
55
- #### [`npm`](https://docs.npmjs.com/cli/v7/commands/npm-init)
55
+ #### [`yarn`](https://classic.yarnpkg.com/blog/2017/05/12/introducing-yarn/) (1.x)
56
56
 
57
57
  ```bash
58
- npm init @grafana/plugin
58
+ yarn create @grafana/plugin
59
59
  ```
60
60
 
61
61
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "1.3.1",
3
+ "version": "1.3.2-canary.232.f3fd3ea.0",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "directory": "packages/create-plugin",
@@ -64,5 +64,5 @@
64
64
  "engines": {
65
65
  "node": ">=16"
66
66
  },
67
- "gitHead": "80d7d3cc8ac542995eae2a874d8b9618f9a9559e"
67
+ "gitHead": "f3fd3ead8f83d05969a4597a01a84851389c7328"
68
68
  }
@@ -18,39 +18,39 @@
18
18
  "author": "{{ sentenceCase orgName }}",
19
19
  "license": "Apache-2.0",
20
20
  "devDependencies": {
21
- "@babel/core": "^7.16.7",
21
+ "@babel/core": "^7.21.4",
22
22
  "@grafana/e2e": "{{ grafanaVersion }}",
23
23
  "@grafana/e2e-selectors": "{{ grafanaVersion }}",
24
24
  "@grafana/eslint-config": "^5.1.0",
25
25
  "@grafana/tsconfig": "^1.2.0-rc1",
26
26
  "@swc/core": "^1.3.51",
27
27
  "@swc/helpers": "^0.5.0",
28
- "@swc/jest": "^0.2.23",
29
- "@testing-library/jest-dom": "^5.16.2",
28
+ "@swc/jest": "^0.2.26",
29
+ "@testing-library/jest-dom": "^5.16.5",
30
30
  "@testing-library/react": "^12.1.4",
31
- "@types/jest": "^29.2.2",
32
- "@types/lodash": "^4.14.188",
33
- "@types/node": "^18.11.9",{{#if_eq pluginType "app"}}
31
+ "@types/jest": "^29.5.0",
32
+ "@types/lodash": "^4.14.194",
33
+ "@types/node": "^18.15.11",{{#if_eq pluginType "app"}}
34
34
  "@types/react-router-dom": "^5.3.3",{{/if_eq}}
35
35
  "copy-webpack-plugin": "^11.0.0",
36
- "css-loader": "^6.7.1",
37
- "eslint-webpack-plugin": "^3.1.1",
38
- "fork-ts-checker-webpack-plugin": "^7.2.0",
39
- "glob": "^10.0.0",
36
+ "css-loader": "^6.7.3",
37
+ "eslint-webpack-plugin": "^4.0.1",
38
+ "fork-ts-checker-webpack-plugin": "^8.0.0",
39
+ "glob": "^10.1.0",
40
40
  "identity-obj-proxy": "3.0.0",
41
- "jest": "^29.3.1",
42
- "jest-environment-jsdom": "^29.3.1",
43
- "prettier": "^2.5.0",
41
+ "jest": "^29.5.0",
42
+ "jest-environment-jsdom": "^29.5.0",
43
+ "prettier": "^2.8.7",
44
44
  "replace-in-file-webpack-plugin": "^1.0.6",
45
- "sass": "1.56.1",
46
- "sass-loader": "13.2.0",
47
- "style-loader": "3.3.1",
45
+ "sass": "1.62.1",
46
+ "sass-loader": "13.2.2",
47
+ "style-loader": "3.3.2",
48
48
  "swc-loader": "^0.2.3",
49
- "ts-node": "^10.5.0",
50
- "tsconfig-paths": "^4.1.0",
51
- "typescript": "^4.4.0",
52
- "webpack": "^5.69.1",
53
- "webpack-cli": "^4.9.2",
49
+ "ts-node": "^10.9.1",
50
+ "tsconfig-paths": "^4.2.0",
51
+ "typescript": "4.8.4",
52
+ "webpack": "^5.79.0",
53
+ "webpack-cli": "^5.0.1",
54
54
  "webpack-livereload-plugin": "^3.0.2"
55
55
  },
56
56
  "engines": {