-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename apps to include managed providers
- Loading branch information
Showing
15 changed files
with
85 additions
and
1 deletion.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { CronJob } from "cron"; | ||
|
||
const run = () => { | ||
console.log("Running managed providers"); | ||
}; | ||
|
||
const job = new CronJob("* * * * *", run); | ||
|
||
console.log("Starting managed providers cronjob"); | ||
run(); | ||
job.start(); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Rollout Job | ||
|
||
Job that checks if releases are ready for rollout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import baseConfig from "@ctrlplane/eslint-config/base"; | ||
|
||
/** @type {import('typescript-eslint').Config} */ | ||
export default [ | ||
{ | ||
ignores: [".nitro/**", ".output/**"], | ||
}, | ||
...baseConfig, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "@ctrlplane/target-provider", | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"clean": "rm -rf .turbo node_modules", | ||
"dev": "pnpm with-env tsx watch --clear-screen=false src/index.ts", | ||
"lint": "eslint", | ||
"format": "prettier --check . --ignore-path ../../.gitignore", | ||
"typecheck": "tsc --noEmit", | ||
"with-env": "dotenv -e ../../.env --" | ||
}, | ||
"dependencies": { | ||
"@ctrlplane/db": "workspace:*", | ||
"@google-cloud/container": "^5.16.0", | ||
"@kubernetes/client-node": "^0.21.0", | ||
"@t3-oss/env-core": "^0.10.1", | ||
"cron": "^3.1.7", | ||
"dotenv": "^16.4.5", | ||
"google-auth-library": "^9.13.0", | ||
"semver": "^7.6.2", | ||
"zod": "catalog:" | ||
}, | ||
"devDependencies": { | ||
"@ctrlplane/eslint-config": "workspace:^", | ||
"@ctrlplane/prettier-config": "workspace:^", | ||
"@ctrlplane/tsconfig": "workspace:*", | ||
"eslint": "catalog:", | ||
"prettier": "catalog:", | ||
"tsx": "^4.11.0", | ||
"typescript": "^5.4.5" | ||
}, | ||
"prettier": "@ctrlplane/prettier-config" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { createEnv } from "@t3-oss/env-core"; | ||
import dotenv from "dotenv"; | ||
import { z } from "zod"; | ||
|
||
dotenv.config(); | ||
|
||
export const env = createEnv({ | ||
server: { POSTGRES_URL: z.string().url() }, | ||
runtimeEnv: process.env, | ||
}); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "@ctrlplane/tsconfig/base.json", | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"outDir": "dist", | ||
"noEmit": false, | ||
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json", | ||
"baseUrl": ".", | ||
"paths": { | ||
"@/*": ["src/*"] | ||
}, | ||
"esModuleInterop": true, | ||
"importsNotUsedAsValues": "remove" | ||
}, | ||
"include": ["src", "*.ts"], | ||
"exclude": ["node_modules"] | ||
} |