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.
Files changed (59) hide show
  1. package/README.md +8 -7
  2. package/dist/index.mjs +31 -31
  3. package/package.json +6 -7
  4. package/templates/.gitignore +1 -0
  5. package/templates/template-react/env/.env +0 -0
  6. package/templates/template-react/env/.env.development +1 -0
  7. package/templates/template-react/env/.env.production +1 -0
  8. package/templates/template-react/eslint.config.mjs +1 -1
  9. package/templates/template-react/package.json +1 -0
  10. package/templates/template-react/plugins/index.ts +24 -0
  11. package/templates/template-react/src/views/Home/index.tsx +7 -1
  12. package/templates/template-react/tsconfig.app.json +1 -1
  13. package/templates/template-react/tsconfig.node.json +6 -1
  14. package/templates/template-react/types/auto-imports.d.ts +47 -0
  15. package/templates/template-react/types/vite-env.d.ts +9 -0
  16. package/templates/template-react/vite.config.ts +5 -15
  17. package/templates/template-vue/.husky/commit-msg +1 -0
  18. package/templates/template-vue/.husky/lintstagedrc.cjs +15 -0
  19. package/templates/template-vue/.husky/pre-commit +10 -0
  20. package/templates/template-vue/.prettierrc.json +6 -0
  21. package/templates/template-vue/.vscode/extensions.json +8 -0
  22. package/templates/template-vue/README.md +39 -0
  23. package/templates/template-vue/_gitignore +30 -0
  24. package/templates/template-vue/commitlint.config.mjs +33 -0
  25. package/templates/template-vue/env/.env +0 -0
  26. package/templates/template-vue/env/.env.development +0 -0
  27. package/templates/template-vue/env/.env.production +0 -0
  28. package/templates/template-vue/env/.env.test +1 -0
  29. package/templates/template-vue/eslint.config.js +24 -0
  30. package/templates/template-vue/index.html +13 -0
  31. package/templates/template-vue/package.json +45 -0
  32. package/templates/template-vue/plugins/index.ts +28 -0
  33. package/templates/template-vue/public/lic.svg +1263 -0
  34. package/templates/template-vue/src/App.vue +87 -0
  35. package/templates/template-vue/src/assets/base.css +86 -0
  36. package/templates/template-vue/src/assets/logo.svg +1 -0
  37. package/templates/template-vue/src/assets/main.css +35 -0
  38. package/templates/template-vue/src/components/HelloWorld.vue +43 -0
  39. package/templates/template-vue/src/components/TheWelcome.vue +121 -0
  40. package/templates/template-vue/src/components/WelcomeItem.vue +87 -0
  41. package/templates/template-vue/src/components/icons/IconCommunity.vue +12 -0
  42. package/templates/template-vue/src/components/icons/IconDocumentation.vue +12 -0
  43. package/templates/template-vue/src/components/icons/IconEcosystem.vue +12 -0
  44. package/templates/template-vue/src/components/icons/IconSupport.vue +12 -0
  45. package/templates/template-vue/src/components/icons/IconTooling.vue +19 -0
  46. package/templates/template-vue/src/main.ts +14 -0
  47. package/templates/template-vue/src/router/index.ts +23 -0
  48. package/templates/template-vue/src/stores/index.ts +8 -0
  49. package/templates/template-vue/src/stores/module/counter.ts +12 -0
  50. package/templates/template-vue/src/views/AboutView.vue +15 -0
  51. package/templates/template-vue/src/views/HomeView.vue +7 -0
  52. package/templates/template-vue/tsconfig.app.json +13 -0
  53. package/templates/template-vue/tsconfig.json +11 -0
  54. package/templates/template-vue/tsconfig.node.json +19 -0
  55. package/templates/template-vue/types/auto-imports.d.ts +309 -0
  56. package/templates/template-vue/types/components.d.ts +21 -0
  57. package/templates/template-vue/types/env.d.ts +9 -0
  58. package/templates/template-vue/vite.config.ts +16 -0
  59. 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
- <header style="display: flex; align-items: center;">
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
- <h4 style="margin-left: 10px;">Create-Lik-App</h4>
12
- </header>
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
- npm create lik-app
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
- The template you want to use. You can view templates with `-h`
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` or remove it.
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.**