clean up project

This commit is contained in:
zizifn
2022-12-18 02:24:04 +08:00
committed by zizifn
parent 2ea93c64e9
commit 346e37f761
10 changed files with 6 additions and 12 deletions

View File

@@ -28,7 +28,7 @@ jobs:
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
command: publish --env ${{ env.cf_environment || 'default' }}
workingDirectory: 'apps/cf-worker-vless'
workingDirectory: 'apps/cf-worker'
environment: ${{ env.cf_environment || 'default' }}
secrets: |
UUID

View File

@@ -1,3 +0,0 @@
export const environment = {
production: true,
};

View File

@@ -1,3 +0,0 @@
export const environment = {
production: false,
};

View File

@@ -1,21 +1,21 @@
{
"name": "cf-worker-vless",
"name": "cf-worker",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/cf-worker-vless/src",
"sourceRoot": "apps/cf-worker/src",
"projectType": "application",
"targets": {
"serve": {
"executor": "nx:run-commands",
"options": {
"command": "wrangler dev",
"cwd": "apps/cf-worker-vless"
"cwd": "apps/cf-worker"
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/cf-worker-vless/**/*.ts"]
"lintFilePatterns": ["apps/cf-worker/**/*.ts"]
}
}
},

View File

@@ -1,5 +1,5 @@
name = "edge-tunnel-vless" # todo
main = "./src/main.ts"
main = "./src/index.ts"
compatibility_date = "2022-05-03"
workers_dev = true # should be deployed to *.workers.dev