chore(project): 初始化项目配置和忽略文件

- 添加 .gitignore 文件配置忽略构建产物和依赖目录
- 添加 IDE 配置文件包括 modules.xml 和 site-electron.iml
- 添加 Uniapp 工具配置文件 UniappTool.xml
- 添加 electron 开发日志文件 electron-dev.log
- 添加打包进程 ID 文件 packaged.pid
This commit is contained in:
2026-02-03 19:07:13 +08:00
parent 3525b84c6d
commit 52122d0efb
10 changed files with 3147 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
/build/
/dist/
/node_modules/
/办公OA/

10
.idea/UniappTool.xml generated Normal file
View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="cn.fjdmy.uniapp.UniappProjectDataService">
<option name="generalBasePath" value="$PROJECT_DIR$" />
<option name="manifestPath" value="$PROJECT_DIR$/manifest.json" />
<option name="pagesPath" value="$PROJECT_DIR$/pages.json" />
<option name="scanNum" value="1" />
<option name="type" value="store" />
</component>
</project>

8
.idea/modules.xml generated Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/site-electron.iml" filepath="$PROJECT_DIR$/.idea/site-electron.iml" />
</modules>
</component>
</project>

12
.idea/site-electron.iml generated Normal file
View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

26
electron-dev.log Normal file
View File

@@ -0,0 +1,26 @@
npm warn Unknown project config "electron_mirror". This will stop working in the next major version of npm.
npm warn Unknown project config "electron_builder_binaries_mirror". This will stop working in the next major version of npm.
> websoft@3.0.0 dev
> electron .
node:events:486
throw er; // Unhandled 'error' event
^
Error: spawn /Users/lily/Downloads/oa-electron/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:292:12)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn /Users/lily/Downloads/oa-electron/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron',
path: '/Users/lily/Downloads/oa-electron/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron',
spawnargs: [ '.' ]
}
Node.js v24.12.0

BIN
icon.icos.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

0
packaged-run.log Normal file
View File

1
packaged.pid Normal file
View File

@@ -0,0 +1 @@
39012

3086
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

BIN
办公OA.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB