Skip to content

Commit d7695a9

Browse files
committed
deleted oracle deployment files
1 parent 87a9424 commit d7695a9

File tree

9 files changed

+3
-188
lines changed

9 files changed

+3
-188
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ coverage
1616
.bundle-info.json
1717

1818
# api
19-
api/oracle-cloud/build
2019
api/fetch_cache
2120
api/postgres_db
2221
api/meilisearch_db

api/oracle-cloud/Dockerfile

Lines changed: 0 additions & 20 deletions
This file was deleted.

api/oracle-cloud/deploy.ts

Lines changed: 0 additions & 95 deletions
This file was deleted.

api/oracle-cloud/docker-compose.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

api/oracle-cloud/nginx.conf

Lines changed: 0 additions & 22 deletions
This file was deleted.

api/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,9 @@
6363
"build:alone:watch": "tspc --watch --preserveWatchOutput",
6464
"build:watch": "lerna run build:alone:watch [email protected]/api --include-dependencies --parallel",
6565
"clean": "lerna run clean:alone [email protected]/api --include-dependencies --stream",
66-
"clean:alone": "del dist coverage fetch_cache oracle-cloud/build",
66+
"clean:alone": "del dist coverage fetch_cache",
6767
"db:generate-migration": "drizzle-kit generate",
6868
"db:server": "docker compose down && docker compose up",
69-
"deploy": "del ./oracle-cloud/build && tsx oracle-cloud/deploy.ts production",
70-
"deploy:stg": "del ./oracle-cloud/build && tsx oracle-cloud/deploy.ts staging",
7169
"generate:bundle-info": "tsx ../packages/tooling/bundle-info.ts",
7270
"generate:sentry-release": "tsx ../packages/tooling/sentry-release.ts api dist",
7371
"lint": "npm run build && npm run lint:alone",
@@ -78,9 +76,9 @@
7876
"lint:prettier": "prettier --config ../packages/tooling/.prettierrc --ignore-path ../packages/tooling/.prettierignore --log-level warn",
7977
"lint:ts-prune": "tsx ../packages/tooling/setup-ts-prune.ts && ts-prune --error",
8078
"lint:tsc": "tspc --noEmit",
79+
"prepare-dockerfile": "tsx ../packages/tooling/write-dockerfile.ts @dzcode.io/api",
8180
"start": "node dist/app/index.js",
8281
"start:dev": "tsx ../packages/tooling/nodemon.ts \"@dzcode.io/api\" && npm-run-all --parallel start:nodemon db:server",
83-
"prepare-dockerfile": "tsx ../packages/tooling/write-dockerfile.ts @dzcode.io/api",
8482
"start:nodemon": "wait-port localhost:5432 && delay 2 && nodemon dist/app/index.js",
8583
"test": "npm run build && npm run test:alone",
8684
"test:alone": "jest --config ../packages/tooling/jest.config.ts --rootDir .",

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
"build": "lerna run build:alone --stream",
5959
"build:watch": "lerna run build:alone:watch --parallel",
6060
"clean": "lerna run clean:alone --stream",
61-
"deploy": "lerna run deploy --parallel --stream",
6261
"dev": "echo \"Please run one of these commands:\\n\\nnpm run dev:web\\nnpm run dev:api\\nnpm run dev:all\n\"",
6362
"dev:all": "npm-run-all \"build --include-dependencies {@}\" --parallel \"build:watch --include-dependencies {@}\" \"start:dev {@}\" --",
6463
"dev:api": "npm run dev:all [email protected]/api",

packages/tooling/.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ coverage
33
dist
44

55
# api
6-
oracle-cloud/build
76
db
87

98
# web

packages/tooling/setup-ts-prune.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { join } from "path";
33

44
console.log("Setting up .ts-prunerc ...");
55

6-
const paths = ["node_modules", "coverage", "dist", "oracle-cloud/build", "bundle"];
6+
const paths = ["node_modules", "coverage", "dist", "bundle"];
77
const tsPruneJson = { ignore: paths.join("|") };
88

99
writeFileSync(join(process.cwd(), ".ts-prunerc"), JSON.stringify(tsPruneJson, null, 2));

0 commit comments

Comments
 (0)