tmui-cli 1.2.7 → 1.2.9
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/bin/createTmui.js +3 -3
- package/bin/net.js +6 -3
- package/package.json +1 -1
- package/website/css/app.930a5dcc.css +1 -0
- package/website/css/chunk-vendors.4ad1cdb5.css +2 -0
- package/website/index.html +1 -20
- package/website/js/app.4d09dd9c.js +2 -0
- package/website/js/app.4d09dd9c.js.map +1 -0
- package/website/js/chunk-vendors.6ab6ae16.js +15 -0
- package/website/js/chunk-vendors.6ab6ae16.js.map +1 -0
- package/website/js/app.js +0 -997
- package/website/js/chunk-vendors.js +0 -13592
package/bin/createTmui.js
CHANGED
|
@@ -353,10 +353,10 @@ async function createTmui(arg, call, end) {
|
|
|
353
353
|
})
|
|
354
354
|
call(`更新版本号完成,正在重新安装依赖,这个过程可能比较缓慢,如果失败,请手动在项目目录执行npm install或者重试`)
|
|
355
355
|
|
|
356
|
-
// 检查是不是mac m1
|
|
356
|
+
// 检查是不是mac m1芯片系列,最新的4.42+不需要了
|
|
357
357
|
if (arg.machine == 'arm') {
|
|
358
|
-
initjson['dependencies']["@esbuild/darwin-x64"] = "^0.21.5"
|
|
359
|
-
initjson['dependencies']["@rollup/rollup-darwin-x64"] = "^4.24.0"
|
|
358
|
+
// initjson['dependencies']["@esbuild/darwin-x64"] = "^0.21.5"
|
|
359
|
+
// initjson['dependencies']["@rollup/rollup-darwin-x64"] = "^4.24.0"
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
writePackageJson(packjsonDir, JSON.stringify(initjson, null, 4))
|
package/bin/net.js
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
const Open = import("open")
|
|
2
2
|
const bodyParser = require("body-parser")
|
|
3
3
|
const Fetch = import("node-fetch")
|
|
4
|
-
const express = require("express")
|
|
4
|
+
const express = require("express");
|
|
5
|
+
const path = require("path");
|
|
5
6
|
|
|
6
7
|
const app = express();
|
|
8
|
+
const website = path.join(__dirname,'../','website')
|
|
9
|
+
const webstore = path.join(__dirname,'../','store')
|
|
7
10
|
|
|
11
|
+
app.use(express.static(website))
|
|
12
|
+
app.use('/store', express.static(webstore))
|
|
8
13
|
var jsonParser = bodyParser.json()
|
|
9
14
|
var urlencodedParser = bodyParser.urlencoded({ extended: false })
|
|
10
15
|
app.use(urlencodedParser)
|
|
@@ -17,8 +22,6 @@ function setResHeader(res){
|
|
|
17
22
|
|
|
18
23
|
}
|
|
19
24
|
|
|
20
|
-
app.use(express.static('website'))
|
|
21
|
-
app.use('/store', express.static('websitemod'))
|
|
22
25
|
|
|
23
26
|
app.all("/api/dirlist",function (req,res){
|
|
24
27
|
setResHeader(res)
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,body,html{margin:0;padding:0}.appbody{min-height:100vh}.arco-layout-content{display:flex;flex-direction:column}.arco-layout-sider{background:#000724!important}.arco-menu-dark,.arco-menu-dark .arco-menu-group-title,.arco-menu-dark .arco-menu-inline-header,.arco-menu-dark .arco-menu-item,.arco-menu-dark .arco-menu-pop-header{background:transparent!important}.removeClse[data-v-e821f0f4]{position:absolute;z-index:4;right:10px;top:10px}.header[data-v-e821f0f4]{height:60px;display:flex;flex-flow:column;justify-content:center;align-items:center;background:#fff;color:#000;width:100%;height:100%;border-radius:10px;overflow:hidden;box-shadow:0 0 24px rgba(36,76,255,.1);transition:all .3s;position:relative}.header[data-v-e821f0f4]:hover{color:#fff;cursor:pointer;background:#244cff;box-shadow:0 0 24px rgba(36,76,255,.4)}.header.on[data-v-e821f0f4]{background:linear-gradient(45deg,#021406,#256133)}.header.on[data-v-e821f0f4]:hover{cursor:default}.header.onux[data-v-e821f0f4]{background:linear-gradient(45deg,#1c0303,#6c2525)}.header .etitle[data-v-e821f0f4]{margin-top:12px}.headerRunMasker[data-v-e821f0f4]{font-size:12px;color:#fff;padding:0;margin:0;background:rgba(0,12,38,.1);width:100%;height:100%;display:flex;flex-flow:column;justify-content:center;align-items:center;position:absolute;left:0;top:0;z-index:5;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.headerRunMasker a[data-v-e821f0f4]{padding:10px 0}.itemcell.dir[data-v-9746d8e2]:hover{background-color:rgba(36,76,255,.1);color:#244cff;cursor:pointer}.body[data-v-2674685f]{display:grid;grid-template-columns:repeat(1,1fr);gap:20px;padding:10px}.body .item[data-v-2674685f]{background-color:grey;height:450px;border-radius:10px}@media screen and (min-width:900px){.body[data-v-2674685f]{display:grid;grid-template-columns:repeat(2,1fr)}}@media screen and (min-width:1200px){.body[data-v-2674685f]{display:grid;grid-template-columns:repeat(3,1fr)}}@media screen and (min-width:1500px){.body[data-v-2674685f]{display:grid;grid-template-columns:repeat(4,1fr)}}@media screen and (min-width:1800px){.body[data-v-2674685f]{display:grid;grid-template-columns:repeat(4,1fr)}}@media screen and (min-width:2100px){.body[data-v-2674685f]{display:grid;grid-template-columns:repeat(5,1fr)}}.box[data-v-5efaaea3]{margin:24px;margin-top:0;display:flex;flex-direction:row;flex-wrap:wrap}.title[data-v-5efaaea3]{font-size:24px;margin-bottom:16px}.card[data-v-5efaaea3]{margin:24px 0;padding:24px;box-shadow:0 0 20px rgba(0,0,0,.05);border-radius:5px;box-sizing:border-box;max-width:450px}ul li[data-v-5efaaea3]{padding:6px 0;list-style:none}p[data-v-5efaaea3]{margin-bottom:16px;line-height:28px;font-size:14px}.header[data-v-6469922e]{height:60px;display:flex;flex-flow:row;justify-content:space-between;align-items:center;background:#000724;padding:0 24px;color:#fff}.header .logo[data-v-6469922e]{font-size:21px}
|