新增: - backend/venv/ - Python 虚拟环境 - backend/start.sh - 启动脚本(使用虚拟环境) - backend/requirements.txt - 依赖列表 - .gitignore - 忽略虚拟环境和缓存文件 说明: - 每个项目使用独立虚拟环境 - 避免依赖冲突 - 启动脚本自动创建和激活虚拟环境
36 lines
920 B
JavaScript
36 lines
920 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.default = _importDeferProxy;
|
|
function _importDeferProxy(init) {
|
|
var ns = null;
|
|
var constValue = function (v) {
|
|
return function () {
|
|
return v;
|
|
};
|
|
};
|
|
var proxy = function (run) {
|
|
return function (_target, p, receiver) {
|
|
if (ns === null) ns = init();
|
|
return run(ns, p, receiver);
|
|
};
|
|
};
|
|
return new Proxy({}, {
|
|
defineProperty: constValue(false),
|
|
deleteProperty: constValue(false),
|
|
get: proxy(Reflect.get),
|
|
getOwnPropertyDescriptor: proxy(Reflect.getOwnPropertyDescriptor),
|
|
getPrototypeOf: constValue(null),
|
|
isExtensible: constValue(false),
|
|
has: proxy(Reflect.has),
|
|
ownKeys: proxy(Reflect.ownKeys),
|
|
preventExtensions: constValue(true),
|
|
set: constValue(false),
|
|
setPrototypeOf: constValue(false)
|
|
});
|
|
}
|
|
|
|
//# sourceMappingURL=importDeferProxy.js.map
|