vue-component-meta 1.0.24 → 1.1.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -40,7 +40,7 @@ const componentPath = path.join(__dirname, 'path-to-component');
40
40
  const meta = checker.getComponentMeta(componentPath);
41
41
  ```
42
42
 
43
- This meta contains really useful stuff like component props, slots, events and more. You can refer to its [type definition](https://github.com/johnsoncodehk/volar/blob/master/vue-language-tools/vue-component-meta/src/types.ts) for more details.
43
+ This meta contains really useful stuff like component props, slots, events and more. You can refer to its [type definition](https://github.com/johnsoncodehk/volar/blob/master/packages/vue-component-meta/src/types.ts) for more details.
44
44
 
45
45
  ### Extracting prop meta
46
46
 
@@ -166,7 +166,7 @@ You need to add `as const` to variable definition:
166
166
 
167
167
  ## Reference 📚
168
168
 
169
- - [tests](https://github.com/johnsoncodehk/volar/blob/master/vue-language-tools/vue-component-meta/tests/index.spec.ts)
169
+ - [tests](https://github.com/johnsoncodehk/volar/blob/master/packages/vue-component-meta/tests/index.spec.ts)
170
170
  - [Anu's components' API automation](https://github.com/jd-solanki/anu/blob/main/scripts/gen-component-meta.ts)
171
171
  - [Discord chat for dynamic usage](https://discord.com/channels/793943652350427136/1027819645677350912)
172
172
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-component-meta",
3
- "version": "1.0.24",
3
+ "version": "1.1.0",
4
4
  "main": "out/index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -10,15 +10,15 @@
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "https://github.com/johnsoncodehk/volar.git",
13
- "directory": "vue-language-tools/vue-component-meta"
13
+ "directory": "packages/vue-component-meta"
14
14
  },
15
15
  "dependencies": {
16
- "@volar/language-core": "1.0.24",
17
- "@volar/vue-language-core": "1.0.24",
16
+ "@volar/language-core": "1.2.0-alpha.11",
17
+ "@volar/vue-language-core": "1.1.0",
18
18
  "typesafe-path": "^0.2.2"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "typescript": "*"
22
22
  },
23
- "gitHead": "46da609e8914e29642f4707dec31507ad51b03fc"
23
+ "gitHead": "49ea0e360354fd2833ae8250f8f02f0ff3eb341c"
24
24
  }