mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-21 00:42:43 +08:00
clean up project
This commit is contained in:
2
.github/workflows/cf-worker-deploy.yml
vendored
2
.github/workflows/cf-worker-deploy.yml
vendored
@@ -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
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
export const environment = {
|
||||
production: true,
|
||||
};
|
||||
@@ -1,3 +0,0 @@
|
||||
export const environment = {
|
||||
production: false,
|
||||
};
|
||||
@@ -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"]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user