Skip to content

Commit ce07ba0

Browse files
committed
bump version
1 parent bdd4c57 commit ce07ba0

File tree

86 files changed

+7432
-5
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+7432
-5
lines changed

.corenode

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "0.20.1"
2+
"version": "0.20.2"
33
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
"7zip-min": "1.4.3",
1717
"axios": "0.21.1"
1818
},
19-
"version": "0.20.1"
19+
"version": "0.20.2"
2020
}

packages/administration/.config.js

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
const path = require("path")
2+
const { builtinModules } = require("module")
3+
4+
const aliases = {
5+
"~": __dirname,
6+
"~/": `${path.resolve(__dirname, "src")}/`,
7+
"@src": path.join(__dirname, "src"),
8+
cores: path.join(__dirname, "src/cores"),
9+
schemas: path.join(__dirname, "constants"),
10+
config: path.join(__dirname, "config"),
11+
extensions: path.resolve(__dirname, "src/extensions"),
12+
pages: path.join(__dirname, "src/pages"),
13+
theme: path.join(__dirname, "src/theme"),
14+
components: path.join(__dirname, "src/components"),
15+
models: path.join(__dirname, "src/models"),
16+
utils: path.join(__dirname, "src/utils"),
17+
layouts: path.join(__dirname, "src/layouts"),
18+
}
19+
20+
module.exports = (config = {}) => {
21+
if (!config.resolve) {
22+
config.resolve = {}
23+
}
24+
if (!config.server) {
25+
config.server = {}
26+
}
27+
28+
config.resolve.alias = aliases
29+
config.server.port = process.env.listenPort ?? 8000
30+
config.server.host = "0.0.0.0"
31+
config.server.fs = {
32+
allow: [".."]
33+
}
34+
35+
config.envDir = path.join(__dirname, "environments")
36+
37+
config.css = {
38+
preprocessorOptions: {
39+
less: {
40+
javascriptEnabled: true,
41+
}
42+
}
43+
}
44+
45+
// config.build = {
46+
// sourcemap: "inline",
47+
// target: `node16`,
48+
// outDir: "dist",
49+
// assetsDir: ".",
50+
// minify: process.env.MODE !== "development",
51+
// rollupOptions: {
52+
// external: [
53+
// "electron",
54+
// "electron-devtools-installer",
55+
// ...builtinModules.flatMap(p => [p, `node:16`]),
56+
// ],
57+
// output: {
58+
// entryFileNames: "[name].js",
59+
// },
60+
// },
61+
// emptyOutDir: true,
62+
// brotliSize: false,
63+
// }
64+
65+
return config
66+
}

packages/administration/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
6+
<meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
7+
</head>
8+
<body>
9+
<div id="root"></div>
10+
<script type="module" src="/src/App.jsx"></script>
11+
</body>
12+
</html>
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"name": "@comty/console",
3+
"version": "0.20.2",
4+
"license": "MIT",
5+
"scripts": {
6+
"build": "vite build",
7+
"dev": "vite"
8+
},
9+
"peerDependencies": {
10+
"react": "^16.8.6"
11+
},
12+
"dependencies": {
13+
"@ant-design/icons": "4.7.0",
14+
"@corenode/utils": "0.28.26",
15+
"@foxify/events": "2.0.1",
16+
"@loadable/component": "5.15.2",
17+
"@vitejs/plugin-react": "^2.1.0",
18+
"antd": "4.23.2",
19+
"chart.js": "3.7.0",
20+
"classnames": "2.3.1",
21+
"evite": "0.12.3",
22+
"feather-reactjs": "2.0.13",
23+
"fuse.js": "6.5.3",
24+
"global": "4.4.0",
25+
"history": "5.2.0",
26+
"js-cookie": "3.0.1",
27+
"jwt-decode": "3.1.2",
28+
"less": "4.1.2",
29+
"linebridge": "0.13.0",
30+
"moment": "2.29.1",
31+
"nprogress": "^0.2.0",
32+
"rc-animate": "^3.1.1",
33+
"rc-util": "^5.19.3",
34+
"rc-virtual-list": "^3.4.4",
35+
"react-beautiful-dnd": "13.1.0",
36+
"react-chartjs-2": "4.0.1",
37+
"react-color": "2.19.3",
38+
"react-contexify": "5.0.0",
39+
"react-draggable": "4.4.4",
40+
"react-helmet": "6.1.0",
41+
"react-i18next": "11.15.3",
42+
"react-icons": "4.3.1",
43+
"react-intersection-observer": "8.33.1",
44+
"react-json-view": "1.21.3",
45+
"react-lazy-load-image-component": "^1.5.4",
46+
"react-loadable": "^5.5.0",
47+
"react-motion": "0.5.2",
48+
"react-reveal": "1.2.2",
49+
"react-rnd": "10.3.5",
50+
"rxjs": "^7.5.5",
51+
"store": "^2.0.12"
52+
},
53+
"devDependencies": {
54+
"@types/jest": "^26.0.24",
55+
"@types/node": "^16.4.10",
56+
"@types/react": "^17.0.15",
57+
"@types/react-dom": "^17.0.9",
58+
"@types/react-router-config": "^5.0.3",
59+
"@types/react-router-dom": "^5.1.8",
60+
"@typescript-eslint/eslint-plugin": "^4.29.0",
61+
"concurrently": "^7.4.0",
62+
"corenode": "0.28.26",
63+
"cors": "2.8.5",
64+
"cross-env": "^7.0.3",
65+
"express": "^4.17.1",
66+
"vite": "3.1.4"
67+
}
68+
}

0 commit comments

Comments
 (0)