From 81a6f2815cd5d6019bdecf7dd0d1e306273ae999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E9=AA=8F?= <1076960098@qq.com> Date: Sun, 24 Sep 2023 14:35:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=89=A9=E4=B8=8B=E5=85=A8?= =?UTF-8?q?=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.js | 31 -------------- .gitignore | 14 ------- README.md | 12 ------ project.config.json | 80 ------------------------------------- project.private.config.json | 60 ---------------------------- uploadCloudFunction.bat | 1 - 6 files changed, 198 deletions(-) delete mode 100644 .eslintrc.js delete mode 100644 .gitignore delete mode 100644 README.md delete mode 100644 project.config.json delete mode 100644 project.private.config.json delete mode 100644 uploadCloudFunction.bat diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index 115cc02..0000000 --- a/.eslintrc.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Eslint config file - * Documentation: https://eslint.org/docs/user-guide/configuring/ - * Install the Eslint extension before using this feature. - */ -module.exports = { - env: { - es6: true, - browser: true, - node: true, - }, - ecmaFeatures: { - modules: true, - }, - parserOptions: { - ecmaVersion: 2018, - sourceType: 'module', - }, - globals: { - wx: true, - App: true, - Page: true, - getCurrentPages: true, - getApp: true, - Component: true, - requirePlugin: true, - requireMiniProgram: true, - }, - // extends: 'eslint:recommended', - rules: {}, -} diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 14ea590..0000000 --- a/.gitignore +++ /dev/null @@ -1,14 +0,0 @@ -# Windows -[Dd]esktop.ini -Thumbs.db -$RECYCLE.BIN/ - -# macOS -.DS_Store -.fseventsd -.Spotlight-V100 -.TemporaryItems -.Trashes - -# Node.js -node_modules/ diff --git a/README.md b/README.md deleted file mode 100644 index e097b0c..0000000 --- a/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# 云开发 quickstart - -这是云开发的快速启动指引,其中演示了如何上手使用云开发的三大基础能力: - -- 数据库:一个既可在小程序前端操作,也能在云函数中读写的 JSON 文档型数据库 -- 文件存储:在小程序前端直接上传/下载云端文件,在云开发控制台可视化管理 -- 云函数:在云端运行的代码,微信私有协议天然鉴权,开发者只需编写业务逻辑代码 - -## 参考文档 - -- [云开发文档](https://developers.weixin.qq.com/miniprogram/dev/wxcloud/basis/getting-started.html) - diff --git a/project.config.json b/project.config.json deleted file mode 100644 index 4ad7c85..0000000 --- a/project.config.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "miniprogramRoot": "miniprogram/", - "cloudfunctionRoot": "cloudfunctions/", - "setting": { - "urlCheck": true, - "es6": true, - "enhance": true, - "postcss": true, - "preloadBackgroundData": false, - "minified": true, - "newFeature": true, - "coverView": true, - "nodeModules": false, - "autoAudits": false, - "showShadowRootInWxmlPanel": true, - "scopeDataCheck": false, - "uglifyFileName": false, - "checkInvalidKey": true, - "checkSiteMap": true, - "uploadWithSourceMap": true, - "compileHotReLoad": false, - "lazyloadPlaceholderEnable": false, - "useMultiFrameRuntime": true, - "useApiHook": true, - "useApiHostProcess": true, - "babelSetting": { - "ignore": [], - "disablePlugins": [], - "outputPath": "" - }, - "enableEngineNative": false, - "useIsolateContext": true, - "userConfirmedBundleSwitch": false, - "packNpmManually": false, - "packNpmRelationList": [], - "minifyWXSS": true, - "disableUseStrict": false, - "showES6CompileOption": false, - "useCompilerPlugins": false, - "minifyWXML": true, - "condition": false - }, - "appid": "wx7f67447c72994c39", - "projectname": "quickstart-wx-cloud", - "libVersion": "2.14.1", - "cloudfunctionTemplateRoot": "cloudfunctionTemplate/", - "condition": { - "search": { - "list": [] - }, - "conversation": { - "list": [] - }, - "plugin": { - "list": [] - }, - "game": { - "list": [] - }, - "miniprogram": { - "list": [ - { - "id": -1, - "name": "db guide", - "pathName": "pages/databaseGuide/databaseGuide" - } - ] - } - }, - "srcMiniprogramRoot": "miniprogram/", - "compileType": "miniprogram", - "packOptions": { - "ignore": [], - "include": [] - }, - "editorSetting": { - "tabIndent": "insertSpaces", - "tabSize": 2 - } -} \ No newline at end of file diff --git a/project.private.config.json b/project.private.config.json deleted file mode 100644 index ced9856..0000000 --- a/project.private.config.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "setting": { - "compileHotReLoad": true - }, - "condition": { - "miniprogram": { - "list": [ - { - "name": "db guide", - "pathName": "pages/databaseGuide/databaseGuide", - "query": "" - }, - { - "name": "pages/getOpenId/index", - "pathName": "pages/getOpenId/index", - "query": "", - "scene": null - }, - { - "name": "pages/deployService/index", - "pathName": "pages/deployService/index", - "query": "", - "scene": null - }, - { - "name": "pages/selectRecord/index", - "pathName": "pages/selectRecord/index", - "query": "", - "scene": null - }, - { - "name": "pages/sumRecordResult/index", - "pathName": "pages/sumRecordResult/index", - "query": "", - "scene": null - }, - { - "name": "pages/updateRecord/index", - "pathName": "pages/updateRecord/index", - "query": "", - "scene": null - }, - { - "name": "pages/updateRecordResult/index", - "pathName": "pages/updateRecordResult/index", - "query": "", - "scene": null - }, - { - "name": "pages/updateRecordSuccess/index", - "pathName": "pages/updateRecordSuccess/index", - "query": "", - "scene": null - } - ] - } - }, - "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", - "projectname": "%E6%96%B0%E5%BB%BA%E6%96%87%E4%BB%B6%E5%A4%B9" -} \ No newline at end of file diff --git a/uploadCloudFunction.bat b/uploadCloudFunction.bat deleted file mode 100644 index c706190..0000000 --- a/uploadCloudFunction.bat +++ /dev/null @@ -1 +0,0 @@ -"D:\ѧϰ\С\΢web߹\cli.bat" cloud functions deploy --e cloud1-0gqjxx489d3b7241 --n quickstartFunctions --r --project "D:\ѧϰ\С\½ļ" --report_first --report \ No newline at end of file