create-lik-app 1.0.0 → 1.0.2
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.
- package/README.md +8 -7
- package/dist/index.mjs +31 -31
- package/package.json +6 -7
- package/templates/.gitignore +1 -0
- package/templates/template-react/env/.env +0 -0
- package/templates/template-react/env/.env.development +1 -0
- package/templates/template-react/env/.env.production +1 -0
- package/templates/template-react/eslint.config.mjs +1 -1
- package/templates/template-react/package.json +1 -0
- package/templates/template-react/plugins/index.ts +24 -0
- package/templates/template-react/src/views/Home/index.tsx +7 -1
- package/templates/template-react/tsconfig.app.json +1 -1
- package/templates/template-react/tsconfig.node.json +6 -1
- package/templates/template-react/types/auto-imports.d.ts +47 -0
- package/templates/template-react/types/vite-env.d.ts +9 -0
- package/templates/template-react/vite.config.ts +5 -15
- package/templates/template-vue/.husky/commit-msg +1 -0
- package/templates/template-vue/.husky/lintstagedrc.cjs +15 -0
- package/templates/template-vue/.husky/pre-commit +10 -0
- package/templates/template-vue/.prettierrc.json +6 -0
- package/templates/template-vue/.vscode/extensions.json +8 -0
- package/templates/template-vue/README.md +39 -0
- package/templates/template-vue/_gitignore +30 -0
- package/templates/template-vue/commitlint.config.mjs +33 -0
- package/templates/template-vue/env/.env +0 -0
- package/templates/template-vue/env/.env.development +0 -0
- package/templates/template-vue/env/.env.production +0 -0
- package/templates/template-vue/env/.env.test +1 -0
- package/templates/template-vue/eslint.config.js +24 -0
- package/templates/template-vue/index.html +13 -0
- package/templates/template-vue/package.json +45 -0
- package/templates/template-vue/plugins/index.ts +28 -0
- package/templates/template-vue/public/lic.svg +1263 -0
- package/templates/template-vue/src/App.vue +87 -0
- package/templates/template-vue/src/assets/base.css +86 -0
- package/templates/template-vue/src/assets/logo.svg +1 -0
- package/templates/template-vue/src/assets/main.css +35 -0
- package/templates/template-vue/src/components/HelloWorld.vue +43 -0
- package/templates/template-vue/src/components/TheWelcome.vue +121 -0
- package/templates/template-vue/src/components/WelcomeItem.vue +87 -0
- package/templates/template-vue/src/components/icons/IconCommunity.vue +12 -0
- package/templates/template-vue/src/components/icons/IconDocumentation.vue +12 -0
- package/templates/template-vue/src/components/icons/IconEcosystem.vue +12 -0
- package/templates/template-vue/src/components/icons/IconSupport.vue +12 -0
- package/templates/template-vue/src/components/icons/IconTooling.vue +19 -0
- package/templates/template-vue/src/main.ts +14 -0
- package/templates/template-vue/src/router/index.ts +23 -0
- package/templates/template-vue/src/stores/index.ts +8 -0
- package/templates/template-vue/src/stores/module/counter.ts +12 -0
- package/templates/template-vue/src/views/AboutView.vue +15 -0
- package/templates/template-vue/src/views/HomeView.vue +7 -0
- package/templates/template-vue/tsconfig.app.json +13 -0
- package/templates/template-vue/tsconfig.json +11 -0
- package/templates/template-vue/tsconfig.node.json +19 -0
- package/templates/template-vue/types/auto-imports.d.ts +309 -0
- package/templates/template-vue/types/components.d.ts +21 -0
- package/templates/template-vue/types/env.d.ts +9 -0
- package/templates/template-vue/vite.config.ts +16 -0
- package/templates/template-react/src/vite-env.d.ts +0 -1
package/README.md
CHANGED
@@ -2,21 +2,21 @@ Create project with likcheung habbits
|
|
2
2
|
|
3
3
|
> Compatibility Note: requires Node.js version 18+, 20+. and Bunjs 1.0+
|
4
4
|
|
5
|
-
<
|
5
|
+
<a href="https://www.licuii.xyz">
|
6
6
|
<img
|
7
7
|
src="http://cdn.licuii.xyz/self/lic-icon.png"
|
8
8
|
alt="lic-logo"
|
9
9
|
width="50"
|
10
10
|
/>
|
11
|
-
<
|
12
|
-
</
|
11
|
+
<b>Create-Lik-App</b>
|
12
|
+
</a>
|
13
13
|
|
14
14
|
# Cli
|
15
15
|
|
16
16
|
With Npm:
|
17
17
|
|
18
18
|
```bash
|
19
|
-
|
19
|
+
npx create-lik-app
|
20
20
|
```
|
21
21
|
|
22
22
|
With Pnpm:
|
@@ -45,8 +45,9 @@ Some help message. And you can view templates here
|
|
45
45
|
|
46
46
|
### --template
|
47
47
|
|
48
|
-
|
48
|
+
or `-t`
|
49
49
|
|
50
|
+
The template you want to use. You can view templates with `-h`
|
50
51
|
|
51
52
|
# Usage
|
52
53
|
|
@@ -60,8 +61,8 @@ npm run dev
|
|
60
61
|
|
61
62
|
# Attention
|
62
63
|
|
63
|
-
1. some template use [husky](https://www.npmjs.com/package/husky) for commit limit. if you want to use it, you need to install it first or remove husky.
|
64
|
-
2. some template use [only-allow](https://www.npmjs.com/package/only-allow) to limit package manager. if u want to use others, you need to change script in package.json `scripts.preinstall
|
64
|
+
1. some template use [husky](https://www.npmjs.com/package/husky) for commit limit. if you want to use it, you need to install it first, or remove husky.
|
65
|
+
2. some template use [only-allow](https://www.npmjs.com/package/only-allow) to limit package manager. if u want to use others, you need to change script in package.json `scripts.preinstall`, or remove it.
|
65
66
|
|
66
67
|
**This project is inspired by [create-vite](https://github.com/vitejs/vite/tree/main/packages/create-vite).
|
67
68
|
Thx vite.**
|