@vc-shell/create-vc-app 2.5.0 → 2.6.0-rc.0
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 +1 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/engine/helpers.d.ts +1 -0
- package/dist/engine/helpers.d.ts.map +1 -1
- package/dist/index.js +27 -18
- package/dist/templates/dynamic-module/_gitignore +4 -4
- package/dist/templates/dynamic-module/_package.json.ejs +3 -3
- package/dist/templates/dynamic-module/tsconfig.json +10 -10
- package/dist/templates/dynamic-module/vite.config.mts.ejs +3 -3
- package/dist/templates/module/composables/index.ts.ejs +2 -2
- package/dist/templates/module/composables/useList.ts.ejs +16 -7
- package/dist/templates/module/locales/index.ts +2 -2
- package/dist/templates/module/pages/index.ts.ejs +2 -2
- package/dist/templates/sample-module/composables/index.ts +2 -2
- package/dist/templates/sample-module/locales/index.ts +2 -2
- package/dist/templates/sample-module/pages/index.ts +2 -2
- package/dist/templates/sample-module/sample-data/index.ts +2 -2
- package/dist/templates/sample-module/sample-data/methods.ts +65 -65
- package/dist/templates/standalone/LICENSE +12 -12
- package/dist/templates/standalone/README.md +54 -54
- package/dist/templates/standalone/_browserslistrc +3 -3
- package/dist/templates/standalone/_commitlintrc.json +3 -3
- package/dist/templates/standalone/_editorconfig +22 -22
- package/dist/templates/standalone/_env.ejs +3 -3
- package/dist/templates/standalone/_env.local.ejs +1 -1
- package/dist/templates/standalone/_github/COMMIT_CONVENTION.md +91 -91
- package/dist/templates/standalone/_github/PULL_REQUEST_TEMPLATE.md +11 -11
- package/dist/templates/standalone/_gitignore +71 -71
- package/dist/templates/standalone/_package.json.ejs +7 -4
- package/dist/templates/standalone/_prettierignore +4 -4
- package/dist/templates/standalone/_prettierrc +4 -4
- package/dist/templates/standalone/_vscode/extensions.json +12 -12
- package/dist/templates/standalone/_vscode/settings.json +9 -9
- package/dist/templates/standalone/index.html.ejs +27 -27
- package/dist/templates/standalone/postcss.config.cjs +6 -6
- package/dist/templates/standalone/public/assets/logo-white.svg +21 -21
- package/dist/templates/standalone/public/assets/logo.svg +8 -8
- package/dist/templates/standalone/public/img/icons/safari-pinned-tab.svg +32 -32
- package/dist/templates/standalone/src/composables/index.ts +1 -1
- package/dist/templates/standalone/src/env.d.ts +9 -9
- package/dist/templates/standalone/src/locales/index.ts +2 -2
- package/dist/templates/standalone/src/main.ts.ejs +10 -0
- package/dist/templates/standalone/src/router/index.ts +10 -10
- package/dist/templates/standalone/tailwind.config.ts +7 -7
- package/dist/templates/standalone/vite.config.mts.ejs +6 -0
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<svg width="127" height="30" viewBox="0 0 127 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.4999 0L6.75 15H13.4999L20.25 0H13.4999Z" fill="#CCCCCC"/>
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 0L6.75 15H13.5L6.75 0H0Z" fill="#FF4A4A"/>
|
|
4
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M30 18C30 19.2428 28.9925 20.25 27.75 20.25C26.5072 20.25 25.5 19.2428 25.5 18C25.5 16.7572 26.5072 15.75 27.75 15.75C28.9925 15.75 30 16.7572 30 18Z" fill="#FF4A4A"/>
|
|
5
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.6724 19.5H15.75C16.5756 25.3925 21.6408 29.9421 27.75 29.9421V23.1689C25.3882 23.1689 23.3824 21.6285 22.6724 19.5Z" fill="#FFC10D"/>
|
|
6
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.6724 16.5C23.3824 14.3597 25.3882 12.8108 27.75 12.8108V6C21.6408 6 16.5756 10.5749 15.75 16.5H22.6724Z" fill="#FFC10D"/>
|
|
7
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M44.688 11.28L48.48 2.16H49.376L44.864 12.88H44.528L40 2.16H40.896L44.688 11.28ZM51.568 2.16H52.4V12.72H51.568V2.16ZM59.888 7.92L63.456 12.72H62.48L58.928 7.984H56.352V12.72H55.52V2.16H59.104C60.08 2.16 60.864 2.432 61.44 2.976C62.016 3.52 62.304 4.208 62.304 5.056C62.304 6.528 61.408 7.648 59.888 7.92ZM59.072 2.912H56.352V7.232H59.072C60.592 7.232 61.44 6.352 61.44 5.072C61.44 3.792 60.592 2.912 59.072 2.912ZM63.76 2.16H72.32V2.912H68.448V12.72H67.616V2.912H63.76V2.16ZM78.512 2C80.016 2 81.296 2.528 82.352 3.568C83.408 4.608 83.936 5.904 83.936 7.44C83.936 8.96 83.408 10.256 82.352 11.312C81.296 12.352 80.016 12.88 78.512 12.88C76.992 12.88 75.712 12.352 74.672 11.312C73.632 10.256 73.104 8.96 73.104 7.44C73.104 5.904 73.632 4.608 74.672 3.568C75.712 2.528 76.992 2 78.512 2ZM78.528 2.768C77.232 2.768 76.144 3.216 75.28 4.112C74.416 4.992 73.984 6.096 73.984 7.424C73.984 8.752 74.416 9.856 75.28 10.752C76.144 11.648 77.232 12.096 78.528 12.096C79.824 12.096 80.896 11.648 81.76 10.752C82.624 9.856 83.056 8.752 83.056 7.424C83.056 6.112 82.624 5.008 81.744 4.112C80.88 3.216 79.808 2.768 78.528 2.768ZM45.632 18C47.408 18 48.96 18.816 49.904 20.144L49.28 20.64C48.4 19.392 47.184 18.768 45.648 18.768C44.352 18.768 43.28 19.216 42.4 20.112C41.536 20.992 41.104 22.096 41.104 23.424C41.104 24.752 41.536 25.872 42.4 26.768C43.264 27.648 44.352 28.096 45.648 28.096C47.2 28.096 48.4 27.472 49.28 26.24L49.904 26.736C48.96 28.064 47.408 28.88 45.632 28.88C44.112 28.88 42.832 28.352 41.792 27.312C40.752 26.272 40.224 24.976 40.224 23.44C40.224 21.904 40.752 20.608 41.792 19.568C42.832 18.528 44.112 18 45.632 18ZM56.944 18C58.448 18 59.728 18.528 60.784 19.568C61.84 20.608 62.368 21.904 62.368 23.44C62.368 24.96 61.84 26.256 60.784 27.312C59.728 28.352 58.448 28.88 56.944 28.88C55.424 28.88 54.144 28.352 53.104 27.312C52.064 26.256 51.536 24.96 51.536 23.44C51.536 21.904 52.064 20.608 53.104 19.568C54.144 18.528 55.424 18 56.944 18ZM56.96 18.768C55.664 18.768 54.576 19.216 53.712 20.112C52.848 20.992 52.416 22.096 52.416 23.424C52.416 24.752 52.848 25.856 53.712 26.752C54.576 27.648 55.664 28.096 56.96 28.096C58.256 28.096 59.328 27.648 60.192 26.752C61.056 25.856 61.488 24.752 61.488 23.424C61.488 22.112 61.056 21.008 60.176 20.112C59.312 19.216 58.24 18.768 56.96 18.768ZM69.488 24.288L73.888 18H74.208V28.72H73.376V20.128L69.664 25.424H69.344L65.616 20.128V28.72H64.784V18H65.104L69.488 24.288ZM82.048 24.288L86.448 18H86.768V28.72H85.936V20.128L82.224 25.424H81.904L78.176 20.128V28.72H77.344V18H77.664L82.048 24.288ZM89.904 18.16H96.512V18.912H90.736V22.64H95.232V23.392H90.736V27.968H96.704V28.72H89.904V18.16ZM103.28 23.92L106.848 28.72H105.872L102.32 23.984H99.744V28.72H98.912V18.16H102.496C103.472 18.16 104.256 18.432 104.832 18.976C105.408 19.52 105.696 20.208 105.696 21.056C105.696 22.528 104.8 23.648 103.28 23.92ZM102.464 18.912H99.744V23.232H102.464C103.984 23.232 104.832 22.352 104.832 21.072C104.832 19.792 103.984 18.912 102.464 18.912ZM113.184 18C114.96 18 116.512 18.816 117.456 20.144L116.832 20.64C115.952 19.392 114.736 18.768 113.2 18.768C111.904 18.768 110.832 19.216 109.952 20.112C109.088 20.992 108.656 22.096 108.656 23.424C108.656 24.752 109.088 25.872 109.952 26.768C110.816 27.648 111.904 28.096 113.2 28.096C114.752 28.096 115.952 27.472 116.832 26.24L117.456 26.736C116.512 28.064 114.96 28.88 113.184 28.88C111.664 28.88 110.384 28.352 109.344 27.312C108.304 26.272 107.776 24.976 107.776 23.44C107.776 21.904 108.304 20.608 109.344 19.568C110.384 18.528 111.664 18 113.184 18ZM119.888 18.16H126.496V18.912H120.72V22.64H125.216V23.392H120.72V27.968H126.688V28.72H119.888V18.16Z" fill="#161D25"/>
|
|
8
|
-
</svg>
|
|
1
|
+
<svg width="127" height="30" viewBox="0 0 127 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.4999 0L6.75 15H13.4999L20.25 0H13.4999Z" fill="#CCCCCC"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 0L6.75 15H13.5L6.75 0H0Z" fill="#FF4A4A"/>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M30 18C30 19.2428 28.9925 20.25 27.75 20.25C26.5072 20.25 25.5 19.2428 25.5 18C25.5 16.7572 26.5072 15.75 27.75 15.75C28.9925 15.75 30 16.7572 30 18Z" fill="#FF4A4A"/>
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.6724 19.5H15.75C16.5756 25.3925 21.6408 29.9421 27.75 29.9421V23.1689C25.3882 23.1689 23.3824 21.6285 22.6724 19.5Z" fill="#FFC10D"/>
|
|
6
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.6724 16.5C23.3824 14.3597 25.3882 12.8108 27.75 12.8108V6C21.6408 6 16.5756 10.5749 15.75 16.5H22.6724Z" fill="#FFC10D"/>
|
|
7
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M44.688 11.28L48.48 2.16H49.376L44.864 12.88H44.528L40 2.16H40.896L44.688 11.28ZM51.568 2.16H52.4V12.72H51.568V2.16ZM59.888 7.92L63.456 12.72H62.48L58.928 7.984H56.352V12.72H55.52V2.16H59.104C60.08 2.16 60.864 2.432 61.44 2.976C62.016 3.52 62.304 4.208 62.304 5.056C62.304 6.528 61.408 7.648 59.888 7.92ZM59.072 2.912H56.352V7.232H59.072C60.592 7.232 61.44 6.352 61.44 5.072C61.44 3.792 60.592 2.912 59.072 2.912ZM63.76 2.16H72.32V2.912H68.448V12.72H67.616V2.912H63.76V2.16ZM78.512 2C80.016 2 81.296 2.528 82.352 3.568C83.408 4.608 83.936 5.904 83.936 7.44C83.936 8.96 83.408 10.256 82.352 11.312C81.296 12.352 80.016 12.88 78.512 12.88C76.992 12.88 75.712 12.352 74.672 11.312C73.632 10.256 73.104 8.96 73.104 7.44C73.104 5.904 73.632 4.608 74.672 3.568C75.712 2.528 76.992 2 78.512 2ZM78.528 2.768C77.232 2.768 76.144 3.216 75.28 4.112C74.416 4.992 73.984 6.096 73.984 7.424C73.984 8.752 74.416 9.856 75.28 10.752C76.144 11.648 77.232 12.096 78.528 12.096C79.824 12.096 80.896 11.648 81.76 10.752C82.624 9.856 83.056 8.752 83.056 7.424C83.056 6.112 82.624 5.008 81.744 4.112C80.88 3.216 79.808 2.768 78.528 2.768ZM45.632 18C47.408 18 48.96 18.816 49.904 20.144L49.28 20.64C48.4 19.392 47.184 18.768 45.648 18.768C44.352 18.768 43.28 19.216 42.4 20.112C41.536 20.992 41.104 22.096 41.104 23.424C41.104 24.752 41.536 25.872 42.4 26.768C43.264 27.648 44.352 28.096 45.648 28.096C47.2 28.096 48.4 27.472 49.28 26.24L49.904 26.736C48.96 28.064 47.408 28.88 45.632 28.88C44.112 28.88 42.832 28.352 41.792 27.312C40.752 26.272 40.224 24.976 40.224 23.44C40.224 21.904 40.752 20.608 41.792 19.568C42.832 18.528 44.112 18 45.632 18ZM56.944 18C58.448 18 59.728 18.528 60.784 19.568C61.84 20.608 62.368 21.904 62.368 23.44C62.368 24.96 61.84 26.256 60.784 27.312C59.728 28.352 58.448 28.88 56.944 28.88C55.424 28.88 54.144 28.352 53.104 27.312C52.064 26.256 51.536 24.96 51.536 23.44C51.536 21.904 52.064 20.608 53.104 19.568C54.144 18.528 55.424 18 56.944 18ZM56.96 18.768C55.664 18.768 54.576 19.216 53.712 20.112C52.848 20.992 52.416 22.096 52.416 23.424C52.416 24.752 52.848 25.856 53.712 26.752C54.576 27.648 55.664 28.096 56.96 28.096C58.256 28.096 59.328 27.648 60.192 26.752C61.056 25.856 61.488 24.752 61.488 23.424C61.488 22.112 61.056 21.008 60.176 20.112C59.312 19.216 58.24 18.768 56.96 18.768ZM69.488 24.288L73.888 18H74.208V28.72H73.376V20.128L69.664 25.424H69.344L65.616 20.128V28.72H64.784V18H65.104L69.488 24.288ZM82.048 24.288L86.448 18H86.768V28.72H85.936V20.128L82.224 25.424H81.904L78.176 20.128V28.72H77.344V18H77.664L82.048 24.288ZM89.904 18.16H96.512V18.912H90.736V22.64H95.232V23.392H90.736V27.968H96.704V28.72H89.904V18.16ZM103.28 23.92L106.848 28.72H105.872L102.32 23.984H99.744V28.72H98.912V18.16H102.496C103.472 18.16 104.256 18.432 104.832 18.976C105.408 19.52 105.696 20.208 105.696 21.056C105.696 22.528 104.8 23.648 103.28 23.92ZM102.464 18.912H99.744V23.232H102.464C103.984 23.232 104.832 22.352 104.832 21.072C104.832 19.792 103.984 18.912 102.464 18.912ZM113.184 18C114.96 18 116.512 18.816 117.456 20.144L116.832 20.64C115.952 19.392 114.736 18.768 113.2 18.768C111.904 18.768 110.832 19.216 109.952 20.112C109.088 20.992 108.656 22.096 108.656 23.424C108.656 24.752 109.088 25.872 109.952 26.768C110.816 27.648 111.904 28.096 113.2 28.096C114.752 28.096 115.952 27.472 116.832 26.24L117.456 26.736C116.512 28.064 114.96 28.88 113.184 28.88C111.664 28.88 110.384 28.352 109.344 27.312C108.304 26.272 107.776 24.976 107.776 23.44C107.776 21.904 108.304 20.608 109.344 19.568C110.384 18.528 111.664 18 113.184 18ZM119.888 18.16H126.496V18.912H120.72V22.64H125.216V23.392H120.72V27.968H126.688V28.72H119.888V18.16Z" fill="#161D25"/>
|
|
8
|
+
</svg>
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
<?xml version="1.0" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
|
3
|
-
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
|
4
|
-
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
|
5
|
-
width="147.000000pt" height="147.000000pt" viewBox="0 0 147.000000 147.000000"
|
|
6
|
-
preserveAspectRatio="xMidYMid meet">
|
|
7
|
-
<metadata>
|
|
8
|
-
Created by potrace 1.14, written by Peter Selinger 2001-2017
|
|
9
|
-
</metadata>
|
|
10
|
-
<g transform="translate(0.000000,147.000000) scale(0.100000,-0.100000)"
|
|
11
|
-
fill="#000000" stroke="none">
|
|
12
|
-
<path d="M110 1428 c0 -6 18 -50 56 -135 8 -18 20 -48 28 -65 42 -95 137 -310
|
|
13
|
-
160 -360 14 -31 30 -68 36 -82 l10 -26 164 0 c136 0 164 2 160 14 -3 7 1 20 8
|
|
14
|
-
27 7 8 15 23 16 34 2 11 8 23 14 26 5 3 9 8 7 10 -6 9 34 99 44 99 6 0 7 3 4
|
|
15
|
-
6 -3 4 -1 16 5 28 7 11 11 24 10 29 -1 4 3 7 9 7 5 0 8 4 4 9 -3 5 -1 12 5 16
|
|
16
|
-
5 3 10 15 10 26 0 10 5 19 12 19 6 0 8 3 5 6 -4 4 3 25 14 48 43 85 49 98 49
|
|
17
|
-
112 0 8 5 14 11 14 5 0 7 5 4 10 -3 6 -1 10 6 10 7 0 9 3 6 6 -3 4 -1 16 5 28
|
|
18
|
-
12 21 14 27 17 45 0 5 8 17 17 25 14 15 10 16 -48 17 -221 2 -242 0 -255 -18
|
|
19
|
-
-7 -10 -17 -23 -22 -29 -5 -7 -8 -14 -5 -17 7 -6 -17 -57 -27 -57 -5 0 -6 -6
|
|
20
|
-
-3 -14 3 -7 -2 -21 -11 -30 -9 -9 -14 -16 -10 -16 3 0 0 -10 -7 -22 -7 -13
|
|
21
|
-
-13 -25 -14 -28 -10 -36 -29 -70 -37 -67 -6 2 -41 71 -77 153 l-66 149 -157 0
|
|
22
|
-
c-86 0 -157 -3 -157 -7z"/>
|
|
23
|
-
<path d="M1200 1109 c-172 -23 -334 -139 -407 -293 -30 -62 -58 -154 -49 -163
|
|
24
|
-
4 -4 173 -6 277 -4 20 1 30 9 39 30 26 64 119 130 183 131 15 0 27 3 28 8 1 4
|
|
25
|
-
2 73 3 153 2 99 -1 146 -8 145 -6 0 -36 -3 -66 -7z"/>
|
|
26
|
-
<path d="M1250 673 c-38 -7 -78 -51 -85 -93 -15 -91 74 -155 159 -115 85 40
|
|
27
|
-
79 164 -9 201 -19 8 -36 13 -37 13 -2 -1 -14 -4 -28 -6z"/>
|
|
28
|
-
<path d="M887 503 l-148 -4 7 -37 c32 -178 177 -339 360 -401 52 -17 121 -27
|
|
29
|
-
159 -22 7 1 10 52 9 143 -1 79 -2 145 -3 148 0 3 -15 7 -32 8 -65 5 -144 63
|
|
30
|
-
-179 132 -11 22 -21 39 -23 38 -1 -1 -69 -4 -150 -5z"/>
|
|
31
|
-
</g>
|
|
32
|
-
</svg>
|
|
1
|
+
<?xml version="1.0" standalone="no"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
|
3
|
+
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
|
4
|
+
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
|
5
|
+
width="147.000000pt" height="147.000000pt" viewBox="0 0 147.000000 147.000000"
|
|
6
|
+
preserveAspectRatio="xMidYMid meet">
|
|
7
|
+
<metadata>
|
|
8
|
+
Created by potrace 1.14, written by Peter Selinger 2001-2017
|
|
9
|
+
</metadata>
|
|
10
|
+
<g transform="translate(0.000000,147.000000) scale(0.100000,-0.100000)"
|
|
11
|
+
fill="#000000" stroke="none">
|
|
12
|
+
<path d="M110 1428 c0 -6 18 -50 56 -135 8 -18 20 -48 28 -65 42 -95 137 -310
|
|
13
|
+
160 -360 14 -31 30 -68 36 -82 l10 -26 164 0 c136 0 164 2 160 14 -3 7 1 20 8
|
|
14
|
+
27 7 8 15 23 16 34 2 11 8 23 14 26 5 3 9 8 7 10 -6 9 34 99 44 99 6 0 7 3 4
|
|
15
|
+
6 -3 4 -1 16 5 28 7 11 11 24 10 29 -1 4 3 7 9 7 5 0 8 4 4 9 -3 5 -1 12 5 16
|
|
16
|
+
5 3 10 15 10 26 0 10 5 19 12 19 6 0 8 3 5 6 -4 4 3 25 14 48 43 85 49 98 49
|
|
17
|
+
112 0 8 5 14 11 14 5 0 7 5 4 10 -3 6 -1 10 6 10 7 0 9 3 6 6 -3 4 -1 16 5 28
|
|
18
|
+
12 21 14 27 17 45 0 5 8 17 17 25 14 15 10 16 -48 17 -221 2 -242 0 -255 -18
|
|
19
|
+
-7 -10 -17 -23 -22 -29 -5 -7 -8 -14 -5 -17 7 -6 -17 -57 -27 -57 -5 0 -6 -6
|
|
20
|
+
-3 -14 3 -7 -2 -21 -11 -30 -9 -9 -14 -16 -10 -16 3 0 0 -10 -7 -22 -7 -13
|
|
21
|
+
-13 -25 -14 -28 -10 -36 -29 -70 -37 -67 -6 2 -41 71 -77 153 l-66 149 -157 0
|
|
22
|
+
c-86 0 -157 -3 -157 -7z"/>
|
|
23
|
+
<path d="M1200 1109 c-172 -23 -334 -139 -407 -293 -30 -62 -58 -154 -49 -163
|
|
24
|
+
4 -4 173 -6 277 -4 20 1 30 9 39 30 26 64 119 130 183 131 15 0 27 3 28 8 1 4
|
|
25
|
+
2 73 3 153 2 99 -1 146 -8 145 -6 0 -36 -3 -66 -7z"/>
|
|
26
|
+
<path d="M1250 673 c-38 -7 -78 -51 -85 -93 -15 -91 74 -155 159 -115 85 40
|
|
27
|
+
79 164 -9 201 -19 8 -36 13 -37 13 -2 -1 -14 -4 -28 -6z"/>
|
|
28
|
+
<path d="M887 503 l-148 -4 7 -37 c32 -178 177 -339 360 -401 52 -17 121 -27
|
|
29
|
+
159 -22 7 1 10 52 9 143 -1 79 -2 145 -3 148 0 3 -15 7 -32 8 -65 5 -144 63
|
|
30
|
+
-179 132 -11 22 -21 39 -23 38 -1 -1 -69 -4 -150 -5z"/>
|
|
31
|
+
</g>
|
|
32
|
+
</svg>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
|
2
|
-
|
|
3
|
-
interface ImportMetaEnv {
|
|
4
|
-
readonly PACKAGE_VERSION: string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
interface ImportMeta {
|
|
8
|
-
readonly env: ImportMetaEnv;
|
|
9
|
-
}
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
|
|
3
|
+
interface ImportMetaEnv {
|
|
4
|
+
readonly PACKAGE_VERSION: string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
interface ImportMeta {
|
|
8
|
+
readonly env: ImportMetaEnv;
|
|
9
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import * as en from "./en.json";
|
|
2
|
-
export { en };
|
|
1
|
+
import * as en from "./en.json";
|
|
2
|
+
export { en };
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import VirtoShellFramework, { notification, useUser, useLanguages } from "@vc-shell/framework";
|
|
2
|
+
<% if (moduleFederation) { -%>
|
|
3
|
+
import { registerRemoteModules } from "@vc-shell/mf-host";
|
|
4
|
+
<% } -%>
|
|
2
5
|
import { createApp } from "vue";
|
|
3
6
|
import { router } from "./router";
|
|
4
7
|
import * as locales from "./locales";
|
|
@@ -63,6 +66,13 @@ async function startApp() {
|
|
|
63
66
|
});
|
|
64
67
|
};
|
|
65
68
|
|
|
69
|
+
<% if (moduleFederation) { -%>
|
|
70
|
+
// Register remote modules BEFORE mount so the provide/inject keys
|
|
71
|
+
// (ModulesReadyKey, ModulesLoadErrorKey) are available to mounted components.
|
|
72
|
+
// Fire-and-forget — sets modulesReady/modulesLoadError when complete.
|
|
73
|
+
registerRemoteModules(app, { router, appName: "<%- AppName %>" });
|
|
74
|
+
|
|
75
|
+
<% } -%>
|
|
66
76
|
await router.isReady();
|
|
67
77
|
|
|
68
78
|
app.mount("#app");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { createRouter, createWebHashHistory } from "vue-router";
|
|
2
|
-
|
|
3
|
-
import { routes } from "./routes";
|
|
4
|
-
|
|
5
|
-
export const router = createRouter({
|
|
6
|
-
history: createWebHashHistory(import.meta.env.APP_BASE_PATH),
|
|
7
|
-
routes: [],
|
|
8
|
-
});
|
|
9
|
-
|
|
10
|
-
routes.forEach((route) => router.addRoute(route));
|
|
1
|
+
import { createRouter, createWebHashHistory } from "vue-router";
|
|
2
|
+
|
|
3
|
+
import { routes } from "./routes";
|
|
4
|
+
|
|
5
|
+
export const router = createRouter({
|
|
6
|
+
history: createWebHashHistory(import.meta.env.APP_BASE_PATH),
|
|
7
|
+
routes: [],
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
routes.forEach((route) => router.addRoute(route));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import defaultConfig, { content } from "@vc-shell/framework/tailwind.config";
|
|
2
|
-
|
|
3
|
-
export default {
|
|
4
|
-
prefix: "tw-",
|
|
5
|
-
content: [...content, "./src/**/*.{vue,js,ts,jsx,tsx}"],
|
|
6
|
-
theme: defaultConfig.theme,
|
|
7
|
-
};
|
|
1
|
+
import defaultConfig, { content } from "@vc-shell/framework/tailwind.config";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
prefix: "tw-",
|
|
5
|
+
content: [...content, "./src/**/*.{vue,js,ts,jsx,tsx}"],
|
|
6
|
+
theme: defaultConfig.theme,
|
|
7
|
+
};
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { getApplicationConfiguration } from "@vc-shell/config-generator";
|
|
2
|
+
<%_ if (moduleFederation) { _%>
|
|
3
|
+
import { mfHostConfig } from "@vc-shell/mf-host/vite";
|
|
4
|
+
<%_ } _%>
|
|
2
5
|
|
|
3
6
|
export default getApplicationConfiguration({
|
|
7
|
+
<%_ if (moduleFederation) { _%>
|
|
8
|
+
...mfHostConfig(),
|
|
9
|
+
<%_ } _%>
|
|
4
10
|
// Add you extra Vite configuration here
|
|
5
11
|
});
|
package/dist/types.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export interface ProjectOptions {
|
|
|
8
8
|
tenantRoutes: boolean;
|
|
9
9
|
aiAgent: boolean;
|
|
10
10
|
dashboard: boolean;
|
|
11
|
+
moduleFederation: boolean;
|
|
11
12
|
mocks: boolean;
|
|
12
13
|
}
|
|
13
14
|
export interface ModuleOptions {
|
|
@@ -35,5 +36,6 @@ export interface CLIArgs {
|
|
|
35
36
|
"tenant-routes"?: boolean;
|
|
36
37
|
"ai-agent"?: boolean;
|
|
37
38
|
dashboard?: boolean;
|
|
39
|
+
"module-federation"?: boolean;
|
|
38
40
|
}
|
|
39
41
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,YAAY,GAAG,gBAAgB,CAAC;AAE1D,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,WAAW,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,MAAM,CAAC;IA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
3
3
|
"description": "Application scaffolding",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.6.0-rc.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "./dist/index.js",
|
|
7
7
|
"files": [
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@types/ejs": "^3.1.5",
|
|
18
18
|
"@types/prompts": "^2.4.4",
|
|
19
|
-
"@vc-shell/ts-config": "2.
|
|
19
|
+
"@vc-shell/ts-config": "2.6.0-rc.0",
|
|
20
20
|
"copyfiles": "^2.4.1",
|
|
21
21
|
"cross-env": "^7.0.3",
|
|
22
22
|
"shx": "^0.3.4",
|