@weapp-core/init 3.0.3 → 3.0.4
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/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/templates/tailwindcss/package.json +1 -1
- package/templates/tailwindcss/project.config.json +2 -1
- package/templates/tailwindcss/project.private.config.json +1 -1
- package/templates/tailwindcss/src/components/HelloWorld/HelloWorld.wxml +3 -3
- package/templates/tailwindcss/src/pages/index/index.wxml +8 -8
- package/templates/tailwindcss/src/pages/profile/index.wxml +7 -8
- package/templates/tdesign/package.json +1 -1
- package/templates/vant/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -42,7 +42,7 @@ __export(index_exports, {
|
|
|
42
42
|
});
|
|
43
43
|
module.exports = __toCommonJS(index_exports);
|
|
44
44
|
|
|
45
|
-
// ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.
|
|
45
|
+
// ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.2_jiti@2.6.1_postcss@8.5.6_tsx@4.20.6_typescript@5.9.3_yaml@2.8.1/node_modules/tsup/assets/cjs_shims.js
|
|
46
46
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.tagName.toUpperCase() === "SCRIPT" ? document.currentScript.src : new URL("main.js", document.baseURI).href;
|
|
47
47
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
48
48
|
|
|
@@ -768,7 +768,7 @@ var import_logger3 = __toESM(require("@weapp-core/logger"), 1);
|
|
|
768
768
|
var import_fs_extra2 = __toESM(require("fs-extra"), 1);
|
|
769
769
|
|
|
770
770
|
// ../../packages/weapp-vite/package.json
|
|
771
|
-
var version = "5.9.
|
|
771
|
+
var version = "5.9.4";
|
|
772
772
|
|
|
773
773
|
// src/enums.ts
|
|
774
774
|
var TemplateName = /* @__PURE__ */ ((TemplateName2) => {
|
package/dist/index.js
CHANGED
|
@@ -720,7 +720,7 @@ import logger3 from "@weapp-core/logger";
|
|
|
720
720
|
import fs2 from "fs-extra";
|
|
721
721
|
|
|
722
722
|
// ../../packages/weapp-vite/package.json
|
|
723
|
-
var version = "5.9.
|
|
723
|
+
var version = "5.9.4";
|
|
724
724
|
|
|
725
725
|
// src/enums.ts
|
|
726
726
|
var TemplateName = /* @__PURE__ */ ((TemplateName2) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<view class="w-full max-w-[600rpx] mx-auto rounded-3xl p-8 bg-white/90 shadow-xl shadow-sky-200/40 dark:bg-slate-800/90 dark:shadow-slate-900/60 flex flex-col gap-
|
|
2
|
-
<view class="text-
|
|
3
|
-
<view class="text-
|
|
1
|
+
<view class="w-full max-w-[600rpx] mx-auto rounded-3xl p-8 bg-white/90 shadow-xl shadow-sky-200/40 dark:bg-slate-800/90 dark:shadow-slate-900/60 flex flex-col gap-2">
|
|
2
|
+
<view class="text-xl font-semibold text-sky-500 dark:text-sky-300">{{title}}</view>
|
|
3
|
+
<view class="text-xs leading-relaxed text-slate-700 dark:text-slate-200">{{description}}</view>
|
|
4
4
|
<view wx:if="{{links.length}}" class="flex flex-wrap gap-4">
|
|
5
5
|
<view
|
|
6
6
|
wx:for="{{links}}"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<view class="min-h-screen {{ mode === 'light'?'bg-gray-100 text-slate-800':'bg-gray-900 text-slate-200' }} transition-colors duration-500">
|
|
2
|
-
<view class="flex flex-col items-center pt-
|
|
2
|
+
<view class="flex flex-col items-center pt-6 space-y-4">
|
|
3
3
|
<view class="flex space-x-8">
|
|
4
4
|
<view class="w-24 h-24 bg-[url(https://vite.icebreaker.top/logo.png)] bg-[length:100%_100%] bg-no-repeat"></view>
|
|
5
5
|
<view class="w-32 h-24 bg-[url(https://vite.icebreaker.top/tw-logo.png)] bg-[length:100%_100%] bg-no-repeat"></view>
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
<view class="bg-gradient-to-r from-green-400 to-sky-400 bg-clip-text text-xl font-extrabold text-transparent underline">
|
|
8
8
|
weapp-vite & weapp-tailwindcss
|
|
9
9
|
</view>
|
|
10
|
-
<
|
|
11
|
-
title="{{hello.title}}"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
<view>
|
|
11
|
+
<HelloWorld title="{{hello.title}}" description="{{hello.description}}" docs="{{hello.docs}}" links="{{hello.links}}" />
|
|
12
|
+
</view>
|
|
13
|
+
<view class="flex items-center">
|
|
14
|
+
<text>切换模式</text>
|
|
15
|
+
<view class="{{ mode === 'light' ? 'i-mdi-moon-waxing-crescent':'i-mdi-weather-sunny text-white' }} text-4xl" bind:tap="switchMode"></view>
|
|
16
|
+
</view>
|
|
17
17
|
<view class="underline" mark:url="https://vite.icebreaker.top" bind:tap="copy">
|
|
18
18
|
https://vite.icebreaker.top
|
|
19
19
|
</view>
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
<view class="min-h-screen bg-gray-100 py-16">
|
|
2
|
-
<view class="flex flex-col items-center space-y-
|
|
3
|
-
<
|
|
2
|
+
<view class="flex flex-col items-center space-y-5">
|
|
3
|
+
<view>
|
|
4
|
+
<image class="w-[200px] h-[190px]" src="/logo.png" />
|
|
5
|
+
</view>
|
|
4
6
|
<view class="text-lg font-semibold" bind:tap="onClick">ice breaker</view>
|
|
5
|
-
<
|
|
6
|
-
title="{{hello.title}}"
|
|
7
|
-
|
|
8
|
-
docs="{{hello.docs}}"
|
|
9
|
-
links="{{hello.links}}"
|
|
10
|
-
/>
|
|
7
|
+
<view>
|
|
8
|
+
<HelloWorld title="{{hello.title}}" description="{{hello.description}}" docs="{{hello.docs}}" links="{{hello.links}}" />
|
|
9
|
+
</view>
|
|
11
10
|
</view>
|
|
12
11
|
</view>
|