bedrock-ui-vue
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "bedrock-ui-vue", | ||
"private": false, | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"type": "module", | ||
"files": [ | ||
"dist" | ||
], | ||
"main": "./dist/bedrock-ui-vue.umd.js", | ||
"module": "./dist/bedrock-ui-vue.es.js", | ||
"main": "./dist/lib/bedrock-ui-vue.umd.cjs", | ||
"module": "./dist/lib/bedrock-ui-vue.es.js", | ||
"types": "./dist/types/main.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/bedrock-ui-vue.es.js", | ||
"require": "./dist/bedrock-ui-vue.umd.js" | ||
}, | ||
"./dist/bedrock-ui-vue.css": { | ||
"import": "./dist/bedrock-ui-vue.css", | ||
"require": "./dist/bedrock-ui-vue.css" | ||
"import": "./dist/lib/bedrock-ui-vue.es.js", | ||
"require": "./dist/lib/bedrock-ui-vue.umd.cjs" | ||
} | ||
}, | ||
"types": "./dist/main.d.ts", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "vue-tsc && vite build", | ||
"build": "vite build && vue-tsc --declaration --emitDeclarationOnly", | ||
"preview": "vite preview" | ||
@@ -32,10 +26,8 @@ }, | ||
"@vitejs/plugin-vue": "^4.2.3", | ||
"url": "^0.11.1", | ||
"vue-tsc": "^1.8.3", | ||
"vite": "^4.4.0", | ||
"typescript": "^5.0.2", | ||
"path": "^0.12.7", | ||
"rollup-plugin-typescript2": "^0.35.0", | ||
"typescript": "^5.0.2", | ||
"vite": "^4.4.0", | ||
"vite-plugin-dts": "^3.3.1", | ||
"vue-tsc": "^1.8.3" | ||
"url": "^0.11.1" | ||
} | ||
} |
@@ -1,18 +0,7 @@ | ||
# Vue 3 + TypeScript + Vite | ||
# Opinionated component lib for Vue3 + typescript | ||
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. | ||
This is a collection of components in vue to speed up personal projects, some of the solutions are higly opinionated and based on personal working experience, feel free to ask or discuss about any solution you find here but you don't fully understand. | ||
## Recommended IDE Setup | ||
## Instructions | ||
- [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). | ||
## Type Support For `.vue` Imports in TS | ||
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. | ||
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: | ||
1. Disable the built-in TypeScript Extension | ||
1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette | ||
2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)` | ||
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette. | ||
* Download the repo and import it in a regular way. |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
6
2
3182
10
75
8
1