@soft-stech/bootsman-ui-shadcn 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -0
- package/README.md +71 -0
- package/dist/bootsman-ui-shadcn.js +2662 -0
- package/dist/bootsman-ui-shadcn.umd.cjs +3 -0
- package/dist/components/ui/button/Button.vue.d.ts +2 -0
- package/dist/favicon.ico +0 -0
- package/dist/index.d.ts +1 -0
- package/dist/style.css +1 -0
- package/package.json +66 -0
package/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2024 SMART technologies SOFT
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
# bootsman-ui-shadcn
|
2
|
+
|
3
|
+
This template should help get you started developing with Vue 3 in Vite.
|
4
|
+
|
5
|
+
## Recommended IDE Setup
|
6
|
+
|
7
|
+
[VSCode](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.
|
19
|
+
|
20
|
+
## Customize configuration
|
21
|
+
|
22
|
+
See [Vite Configuration Reference](https://vitejs.dev/config/).
|
23
|
+
|
24
|
+
## Project Setup
|
25
|
+
|
26
|
+
```sh
|
27
|
+
pnpm install
|
28
|
+
```
|
29
|
+
|
30
|
+
### Compile and Hot-Reload for Development
|
31
|
+
|
32
|
+
```sh
|
33
|
+
pnpm dev
|
34
|
+
```
|
35
|
+
|
36
|
+
### Type-Check, Compile and Minify for Production
|
37
|
+
|
38
|
+
```sh
|
39
|
+
pnpm build
|
40
|
+
```
|
41
|
+
|
42
|
+
### Run Unit Tests with [Vitest](https://vitest.dev/)
|
43
|
+
|
44
|
+
```sh
|
45
|
+
pnpm test:unit
|
46
|
+
```
|
47
|
+
|
48
|
+
### Run End-to-End Tests with [Playwright](https://playwright.dev)
|
49
|
+
|
50
|
+
```sh
|
51
|
+
# Install browsers for the first run
|
52
|
+
npx playwright install
|
53
|
+
|
54
|
+
# When testing on CI, must build the project first
|
55
|
+
pnpm build
|
56
|
+
|
57
|
+
# Runs the end-to-end tests
|
58
|
+
pnpm test:e2e
|
59
|
+
# Runs the tests only on Chromium
|
60
|
+
pnpm test:e2e --project=chromium
|
61
|
+
# Runs the tests of a specific file
|
62
|
+
pnpm test:e2e tests/example.spec.ts
|
63
|
+
# Runs the tests in debug mode
|
64
|
+
pnpm test:e2e --debug
|
65
|
+
```
|
66
|
+
|
67
|
+
### Lint with [ESLint](https://eslint.org/)
|
68
|
+
|
69
|
+
```sh
|
70
|
+
pnpm lint
|
71
|
+
```
|