📦 添加虚拟环境和启动脚本

新增:
- backend/venv/ - Python 虚拟环境
- backend/start.sh - 启动脚本(使用虚拟环境)
- backend/requirements.txt - 依赖列表
- .gitignore - 忽略虚拟环境和缓存文件

说明:
- 每个项目使用独立虚拟环境
- 避免依赖冲突
- 启动脚本自动创建和激活虚拟环境
This commit is contained in:
2026-04-04 18:28:31 +08:00
parent 9ab279e1fe
commit 96f6318101
32058 changed files with 3949495 additions and 22 deletions

4
frontend/node_modules/is-regexp/index.js generated vendored Normal file
View File

@@ -0,0 +1,4 @@
'use strict';
module.exports = function (re) {
return Object.prototype.toString.call(re) === '[object RegExp]';
};

35
frontend/node_modules/is-regexp/package.json generated vendored Normal file
View File

@@ -0,0 +1,35 @@
{
"name": "is-regexp",
"version": "1.0.0",
"description": "Check whether a variable is a regular expression",
"license": "MIT",
"repository": "sindresorhus/is-regexp",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "http://sindresorhus.com"
},
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "mocha"
},
"files": [
"index.js"
],
"keywords": [
"regex",
"regexp",
"regular",
"expression",
"regular expression",
"re",
"check",
"type",
"is"
],
"devDependencies": {
"mocha": "*"
}
}

31
frontend/node_modules/is-regexp/readme.md generated vendored Normal file
View File

@@ -0,0 +1,31 @@
# is-regexp [![Build Status](https://travis-ci.org/sindresorhus/is-regexp.svg?branch=master)](https://travis-ci.org/sindresorhus/is-regexp)
> Check whether a variable is a regular expression
## Install
```sh
$ npm install --save is-regexp
```
## Usage
```js
var isRegexp = require('is-regexp');
isRegexp('unicorn');
//=> false
isRegexp(/unicorn/);
//=> true
isRegexp(new RegExp('unicorn'));
//=> true
```
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)