Skip to content

Commit 2f0038c

Browse files
committed
fix: packaging files
1 parent 6330732 commit 2f0038c

File tree

2 files changed

+13
-21
lines changed

2 files changed

+13
-21
lines changed

README.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1 @@
1-
# Vue 3 + TypeScript + Vite
2-
3-
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4-
5-
## Recommended IDE Setup
6-
7-
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
8-
9-
## Type Support For `.vue` Imports in TS
10-
11-
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
12-
13-
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
14-
15-
1. Disable the built-in TypeScript Extension
16-
1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
17-
2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
18-
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
1+
This is a Table component for Vue.

package.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "vue-table-component",
2+
"name": "@harv46/vue-table",
33
"private": false,
4-
"version": "0.0.1",
4+
"version": "0.0.2",
55
"type": "module",
66
"main": "./dist/umd.js",
77
"module": "./dist/es.js",
@@ -35,9 +35,18 @@
3535
"vite": "^4.4.0",
3636
"vue-tsc": "^1.8.3"
3737
},
38+
"files": [
39+
"package.json",
40+
"package-lock.json",
41+
"dist",
42+
"README.md"
43+
],
3844
"repository": {
3945
"type": "git",
4046
"url": "https://github.com/Sreesanth46/vue-table.git"
4147
},
42-
"license": "MIT"
48+
"license": "MIT",
49+
"publishConfig": {
50+
"access": "public"
51+
}
4352
}

0 commit comments

Comments
 (0)