code-inspector-plugin 0.9.0 → 0.9.2-beta.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.
Files changed (2) hide show
  1. package/README.md +20 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -7,8 +7,10 @@
7
7
  </p>
8
8
 
9
9
  [![NPM version](https://img.shields.io/npm/v/code-inspector-plugin.svg)](https://www.npmjs.com/package/code-inspector-plugin)
10
- [![GITHUB star](https://img.shields.io/github/stars/zh-lx/code-inspector.svg)](https://github.com/zh-lx/code-inspector)
10
+ [![NPM Downloads](https://img.shields.io/npm/dm/code-inspector-plugin.svg)](https://npmcharts.com/compare/code-inspector-plugin?minimal=true)
11
11
  [![MIT-license](https://img.shields.io/npm/l/code-inspector.svg)](https://opensource.org/licenses/MIT)
12
+ [![GITHUB-language](https://img.shields.io/github/languages/top/zh-lx/code-inspector)](https://github.com/zh-lx/code-inspector)
13
+ [![GITHUB star](https://img.shields.io/github/stars/zh-lx/code-inspector.svg)](https://github.com/zh-lx/code-inspector)
12
14
 
13
15
  </div>
14
16
 
@@ -219,6 +221,23 @@ Please check here for more usage information: [code-inspector-plugin configurati
219
221
 
220
222
  </details>
221
223
 
224
+ <details>
225
+ <summary>Click to expand configuration about: <b>astro</b></summary>
226
+
227
+ ```js
228
+ // astro.config.mjs
229
+ import { defineConfig } from 'astro/config';
230
+ import { codeInspectorPlugin } from 'code-inspector-plugin';
231
+
232
+ export default defineConfig({
233
+ vite: {
234
+ plugins: [codeInspectorPlugin({ bundler: 'vite' })],
235
+ },
236
+ });
237
+ ```
238
+
239
+ </details>
240
+
222
241
  - 2.Configuring VSCode Command Line Tool
223
242
 
224
243
  > **Tip:** Skip for Windows or other IDEs <br />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "code-inspector-plugin",
3
- "version": "0.9.0",
3
+ "version": "0.9.2-beta.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "typings": "./types/index.d.ts",
@@ -39,9 +39,9 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "chalk": "4.1.1",
42
- "code-inspector-core": "0.9.0",
43
- "webpack-code-inspector-plugin": "0.9.0",
44
- "vite-code-inspector-plugin": "0.9.0"
42
+ "code-inspector-core": "0.9.2-beta.1",
43
+ "vite-code-inspector-plugin": "0.9.2-beta.1",
44
+ "webpack-code-inspector-plugin": "0.9.2-beta.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/node": "^16.0.1",