@grafana/create-plugin 2.11.0 → 2.11.1

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
+ # v2.11.1 (Wed Jan 10 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Only run ts checker and eslint plugins in webpack dev mode [#647](https://github.com/grafana/plugin-tools/pull/647) ([@academo](https://github.com/academo))
6
+
7
+ #### Authors: 1
8
+
9
+ - Esteban Beltran ([@academo](https://github.com/academo))
10
+
11
+ ---
12
+
1
13
  # v2.11.0 (Tue Jan 09 2024)
2
14
 
3
15
  #### 🚀 Enhancement
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/create-plugin",
3
- "version": "2.11.0",
3
+ "version": "2.11.1",
4
4
  "main": "index.js",
5
5
  "repository": {
6
6
  "directory": "packages/create-plugin",
@@ -73,5 +73,5 @@
73
73
  "engines": {
74
74
  "node": ">=20"
75
75
  },
76
- "gitHead": "b44e3b5fc7f70e374684d349bc20a76f0f17d2ce"
76
+ "gitHead": "b4bc4c2ebc5f604eaa3dfe271a5bcc0091389032"
77
77
  }
@@ -181,18 +181,20 @@ const config = async (env): Promise<Configuration> => {
181
181
  ],
182
182
  },
183
183
  ]),
184
- new ForkTsCheckerWebpackPlugin({
185
- async: Boolean(env.development),
186
- issue: {
187
- include: [{ file: '**/*.{ts,tsx}' }],
188
- },
189
- typescript: { configFile: path.join(process.cwd(), 'tsconfig.json') },
190
- }),
191
- new ESLintPlugin({
192
- extensions: ['.ts', '.tsx'],
193
- lintDirtyModulesOnly: Boolean(env.development), // don't lint on start, only lint changed files
194
- }),
195
- ...(env.development ? [new LiveReloadPlugin()] : []),
184
+ ...(env.development ? [
185
+ new LiveReloadPlugin(),
186
+ new ForkTsCheckerWebpackPlugin({
187
+ async: Boolean(env.development),
188
+ issue: {
189
+ include: [{ file: '**/*.{ts,tsx}' }],
190
+ },
191
+ typescript: { configFile: path.join(process.cwd(), 'tsconfig.json') },
192
+ }),
193
+ new ESLintPlugin({
194
+ extensions: ['.ts', '.tsx'],
195
+ lintDirtyModulesOnly: Boolean(env.development), // don't lint on start, only lint changed files
196
+ }),
197
+ ] : []),
196
198
  ],
197
199
 
198
200
  resolve: {