mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
测试:从vj4的自动迁移脚本(未完成)
This commit is contained in:
1 parent
cedb427dc9
commit
41125c6929
11 files changed
+185
-24
No files matched your search
@@ -21,6 +21,7 @@ function ensureDir(dir) {
|
||||
|
||||
const active = [];
|
||||
try {
|
||||
// eslint-disable-next-line import/no-unresolved
|
||||
const f = require('../.build/builtin.json');
|
||||
const m = { ...yaml.safeLoad(zlib.gunzipSync(f.data)), id: 'builtin' };
|
||||
active.push(m);
|
||||
@@ -201,7 +202,11 @@ async function load() {
|
||||
handler: {},
|
||||
service: {},
|
||||
model: {},
|
||||
script: {},
|
||||
lib: {},
|
||||
nodeModules: {
|
||||
mongodb: require('mongodb'),
|
||||
},
|
||||
template: {},
|
||||
ui: {},
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user