@weapp-core/init 2.0.1 → 2.0.3
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 +3 -3
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/templates/default/CHANGELOG.md +6 -0
- package/templates/default/README.md +2 -2
- package/templates/default/package.json +1 -1
- package/templates/default/src/app.json +1 -1
- package/templates/default/src/components/Navbar/Navbar.json +1 -1
- package/templates/default/src/pages/index/index.json +1 -1
- package/templates/default/src/sitemap.json +1 -1
- package/templates/default/src/theme.json +1 -1
- package/templates/default/vite.config.ts +1 -1
- package/templates/tailwindcss/CHANGELOG.md +6 -0
- package/templates/tailwindcss/README.md +2 -2
- package/templates/tailwindcss/package.json +3 -3
- package/templates/tailwindcss/src/app.json +1 -1
- package/templates/tailwindcss/src/components/Navbar/Navbar.json +1 -1
- package/templates/tailwindcss/src/pages/index/index.json +1 -1
- package/templates/tailwindcss/src/pages/index/index.wxml +6 -6
- package/templates/tailwindcss/src/sitemap.json +1 -1
- package/templates/tailwindcss/src/theme.json +1 -1
- package/templates/tailwindcss/vite.config.ts +1 -1
- package/templates/tdesign/CHANGELOG.md +6 -0
- package/templates/tdesign/README.md +2 -2
- package/templates/tdesign/package.json +3 -3
- package/templates/tdesign/src/app.json +1 -1
- package/templates/tdesign/src/components/Navbar/Navbar.json +1 -1
- package/templates/tdesign/src/pages/index/index.json +1 -1
- package/templates/tdesign/src/pages/index/index.wxml +4 -4
- package/templates/tdesign/src/sitemap.json +1 -1
- package/templates/tdesign/src/theme.json +1 -1
- package/templates/tdesign/vite.config.ts +1 -1
- package/templates/vant/CHANGELOG.md +6 -0
- package/templates/vant/README.md +2 -2
- package/templates/vant/package.json +3 -3
- package/templates/vant/src/app.json +1 -1
- package/templates/vant/src/components/Navbar/Navbar.json +1 -1
- package/templates/vant/src/pages/index/index.json +1 -1
- package/templates/vant/src/pages/index/index.wxml +4 -4
- package/templates/vant/src/sitemap.json +1 -1
- package/templates/vant/src/theme.json +1 -1
- package/templates/vant/vite.config.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -41,7 +41,7 @@ __export(index_exports, {
|
|
|
41
41
|
});
|
|
42
42
|
module.exports = __toCommonJS(index_exports);
|
|
43
43
|
|
|
44
|
-
// ../../node_modules/.pnpm/tsup@8.5.0_@swc+core@1.12.1_jiti@2.4.2_postcss@8.5.
|
|
44
|
+
// ../../node_modules/.pnpm/tsup@8.5.0_@swc+core@1.12.1_jiti@2.4.2_postcss@8.5.6_tsx@4.20.3_typescript@5.8.3_yaml@2.8.0/node_modules/tsup/assets/cjs_shims.js
|
|
45
45
|
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
46
46
|
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
47
47
|
|
|
@@ -471,7 +471,7 @@ var posix = /* @__PURE__ */ mix(":");
|
|
|
471
471
|
var win32 = /* @__PURE__ */ mix(";");
|
|
472
472
|
|
|
473
473
|
// ../../packages/weapp-vite/package.json
|
|
474
|
-
var version = "5.0.
|
|
474
|
+
var version = "5.0.5";
|
|
475
475
|
|
|
476
476
|
// src/context.ts
|
|
477
477
|
function createContext() {
|
|
@@ -751,7 +751,7 @@ async function createOrUpdatePackageJson(options) {
|
|
|
751
751
|
} else {
|
|
752
752
|
packageJson = {
|
|
753
753
|
name: "weapp-vite-app",
|
|
754
|
-
homepage: "https://
|
|
754
|
+
homepage: "https://vite.icebreaker.top/",
|
|
755
755
|
type: "module"
|
|
756
756
|
};
|
|
757
757
|
}
|
package/dist/index.js
CHANGED
|
@@ -424,7 +424,7 @@ var posix = /* @__PURE__ */ mix(":");
|
|
|
424
424
|
var win32 = /* @__PURE__ */ mix(";");
|
|
425
425
|
|
|
426
426
|
// ../../packages/weapp-vite/package.json
|
|
427
|
-
var version = "5.0.
|
|
427
|
+
var version = "5.0.5";
|
|
428
428
|
|
|
429
429
|
// src/context.ts
|
|
430
430
|
function createContext() {
|
|
@@ -704,7 +704,7 @@ async function createOrUpdatePackageJson(options) {
|
|
|
704
704
|
} else {
|
|
705
705
|
packageJson = {
|
|
706
706
|
name: "weapp-vite-app",
|
|
707
|
-
homepage: "https://
|
|
707
|
+
homepage: "https://vite.icebreaker.top/",
|
|
708
708
|
type: "module"
|
|
709
709
|
};
|
|
710
710
|
}
|
package/package.json
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
# weapp-vite-tailwindcss-template
|
|
2
2
|
|
|
3
|
+
## 1.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0ae2a53`](https://github.com/weapp-vite/weapp-vite/commit/0ae2a53198b8d3ab3e8a9ac18ee125e2017a8f51) Thanks [@sonofmagic](https://github.com/sonofmagic)! - chore: change website url
|
|
8
|
+
|
|
3
9
|
## 1.0.1
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-vite-tailwindcss-template",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"private": true,
|
|
6
6
|
"description": "原生微信小程序 weapp-vite + tailwindcss 模板",
|
|
7
7
|
"author": "ice breaker <1324318532@qq.com>",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"@iconify-json/mdi": "^1.2.3",
|
|
29
29
|
"autoprefixer": "^10.4.21",
|
|
30
30
|
"miniprogram-api-typings": "^4.0.7",
|
|
31
|
-
"postcss": "^8.5.
|
|
31
|
+
"postcss": "^8.5.6",
|
|
32
32
|
"sass": "^1.89.2",
|
|
33
33
|
"tailwindcss": "^3.4.17",
|
|
34
34
|
"typescript": "^5.8.3",
|
|
35
|
-
"weapp-tailwindcss": "^4.1.
|
|
35
|
+
"weapp-tailwindcss": "^4.1.9",
|
|
36
36
|
"weapp-vite": "workspace:*"
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
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
2
|
<view class="flex flex-col items-center pt-20 space-y-10">
|
|
3
3
|
<view class="flex space-x-8">
|
|
4
|
-
<view class="w-24 h-24 bg-[url(https://
|
|
5
|
-
<view class="w-32 h-24 bg-[url(https://
|
|
4
|
+
<view class="w-24 h-24 bg-[url(https://vite.icebreaker.top/logo.png)] bg-[length:100%_100%] bg-no-repeat"></view>
|
|
5
|
+
<view class="w-32 h-24 bg-[url(https://vite.icebreaker.top/tw-logo.png)] bg-[length:100%_100%] bg-no-repeat"></view>
|
|
6
6
|
</view>
|
|
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
10
|
<view class="{{ mode === 'light' ? 'i-mdi-moon-waxing-crescent':'i-mdi-weather-sunny text-white' }} text-8xl" bind:tap="switchMode"></view>
|
|
11
|
-
<view class="underline" mark:url="https://
|
|
12
|
-
https://
|
|
11
|
+
<view class="underline" mark:url="https://vite.icebreaker.top" bind:tap="copy">
|
|
12
|
+
https://vite.icebreaker.top
|
|
13
13
|
</view>
|
|
14
|
-
<view class="underline" mark:url="https://
|
|
15
|
-
https://
|
|
14
|
+
<view class="underline" mark:url="https://tw.icebreaker.top/" bind:tap="copy">
|
|
15
|
+
https://tw.icebreaker.top/
|
|
16
16
|
</view>
|
|
17
17
|
</view>
|
|
18
18
|
</view>
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
# weapp-vite-tailwindcss-tdesign-template
|
|
2
2
|
|
|
3
|
+
## 1.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0ae2a53`](https://github.com/weapp-vite/weapp-vite/commit/0ae2a53198b8d3ab3e8a9ac18ee125e2017a8f51) Thanks [@sonofmagic](https://github.com/sonofmagic)! - chore: change website url
|
|
8
|
+
|
|
3
9
|
## 1.0.1
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-vite-tailwindcss-tdesign-template",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"private": true,
|
|
6
6
|
"description": "原生微信小程序 weapp-vite + tailwindcss + tdesign 模板",
|
|
7
7
|
"author": "ice breaker <1324318532@qq.com>",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"@iconify-json/mdi": "^1.2.3",
|
|
32
32
|
"autoprefixer": "^10.4.21",
|
|
33
33
|
"miniprogram-api-typings": "^4.0.7",
|
|
34
|
-
"postcss": "^8.5.
|
|
34
|
+
"postcss": "^8.5.6",
|
|
35
35
|
"sass": "^1.89.2",
|
|
36
36
|
"tailwindcss": "^3.4.17",
|
|
37
37
|
"typescript": "^5.8.3",
|
|
38
|
-
"weapp-tailwindcss": "^4.1.
|
|
38
|
+
"weapp-tailwindcss": "^4.1.9",
|
|
39
39
|
"weapp-vite": "workspace:*"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
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
2
|
<view class="flex flex-col items-center pt-20 space-y-10">
|
|
3
3
|
<view class="flex space-x-8">
|
|
4
|
-
<view class="w-24 h-24 bg-[url(https://
|
|
5
|
-
<view class="w-32 h-24 bg-[url(https://
|
|
4
|
+
<view class="w-24 h-24 bg-[url(https://vite.icebreaker.top/logo.png)] bg-[length:100%_100%] bg-no-repeat"></view>
|
|
5
|
+
<view class="w-32 h-24 bg-[url(https://vite.icebreaker.top/tw-logo.png)] bg-[length:100%_100%] bg-no-repeat"></view>
|
|
6
6
|
</view>
|
|
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
10
|
<view class="{{ mode === 'light' ? 'i-mdi-moon-waxing-crescent':'i-mdi-weather-sunny text-white' }} text-8xl" bind:tap="switchMode"></view>
|
|
11
|
-
<view class="underline" mark:url="https://
|
|
12
|
-
https://
|
|
11
|
+
<view class="underline" mark:url="https://vite.icebreaker.top" bind:tap="copy">
|
|
12
|
+
https://vite.icebreaker.top
|
|
13
13
|
</view>
|
|
14
14
|
<view class="underline" mark:url="https://tw.icebreaker.top" bind:tap="copy">
|
|
15
15
|
https://tw.icebreaker.top
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
# weapp-vite-tailwindcss-vant-template
|
|
2
2
|
|
|
3
|
+
## 1.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0ae2a53`](https://github.com/weapp-vite/weapp-vite/commit/0ae2a53198b8d3ab3e8a9ac18ee125e2017a8f51) Thanks [@sonofmagic](https://github.com/sonofmagic)! - chore: change website url
|
|
8
|
+
|
|
3
9
|
## 1.0.1
|
package/templates/vant/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-vite-tailwindcss-vant-template",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"private": true,
|
|
6
6
|
"description": "原生微信小程序 weapp-vite + tailwindcss 模板",
|
|
7
7
|
"author": "ice breaker <1324318532@qq.com>",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"@iconify-json/mdi": "^1.2.3",
|
|
32
32
|
"autoprefixer": "^10.4.21",
|
|
33
33
|
"miniprogram-api-typings": "^4.0.7",
|
|
34
|
-
"postcss": "^8.5.
|
|
34
|
+
"postcss": "^8.5.6",
|
|
35
35
|
"sass": "^1.89.2",
|
|
36
36
|
"tailwindcss": "^3.4.17",
|
|
37
37
|
"typescript": "^5.8.3",
|
|
38
|
-
"weapp-tailwindcss": "^4.1.
|
|
38
|
+
"weapp-tailwindcss": "^4.1.9",
|
|
39
39
|
"weapp-vite": "workspace:*"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
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
2
|
<view class="flex flex-col items-center pt-20 space-y-10">
|
|
3
3
|
<view class="flex space-x-8">
|
|
4
|
-
<view class="w-24 h-24 bg-[url(https://
|
|
5
|
-
<view class="w-32 h-24 bg-[url(https://
|
|
4
|
+
<view class="w-24 h-24 bg-[url(https://vite.icebreaker.top/logo.png)] bg-[length:100%_100%] bg-no-repeat"></view>
|
|
5
|
+
<view class="w-32 h-24 bg-[url(https://vite.icebreaker.top/tw-logo.png)] bg-[length:100%_100%] bg-no-repeat"></view>
|
|
6
6
|
</view>
|
|
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
10
|
<view class="{{ mode === 'light' ? 'i-mdi-moon-waxing-crescent':'i-mdi-weather-sunny text-white' }} text-8xl" bind:tap="switchMode"></view>
|
|
11
|
-
<view class="underline" mark:url="https://
|
|
12
|
-
https://
|
|
11
|
+
<view class="underline" mark:url="https://vite.icebreaker.top" bind:tap="copy">
|
|
12
|
+
https://vite.icebreaker.top
|
|
13
13
|
</view>
|
|
14
14
|
<view class="underline" mark:url="https://tw.icebreaker.top" bind:tap="copy">
|
|
15
15
|
https://tw.icebreaker.top
|