@revos/cli 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { A as getCredentialsPath, C as getUserInfo, D as tokenResponseToCredentials, N as saveCredentials, O as startOAuthServer, S as generatePKCEChallenge, T as setClerkConfig, b as buildAuthorizationUrl, m as unwrap, n as selectOrganization, p as createApiClient, x as exchangeCodeForTokens } from "../../../../core-BSLZ9hQU.mjs";
2
- import { t as BaseCommand } from "../../../../base.command-CaFn9EwG.mjs";
1
+ import { A as getCredentialsPath, C as getUserInfo, D as tokenResponseToCredentials, N as saveCredentials, O as startOAuthServer, S as generatePKCEChallenge, T as setClerkConfig, b as buildAuthorizationUrl, m as unwrap, n as selectOrganization, p as createApiClient, x as exchangeCodeForTokens } from "../../../../core-gKJ_V-K5.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
3
3
  import chalk from "chalk";
4
4
  import { Flags } from "@oclif/core";
5
5
  import open from "open";
@@ -1,5 +1,5 @@
1
- import { k as deleteCredentials } from "../../../../core-BSLZ9hQU.mjs";
2
- import { t as BaseCommand } from "../../../../base.command-CaFn9EwG.mjs";
1
+ import { k as deleteCredentials } from "../../../../core-gKJ_V-K5.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
3
3
  //#region src/adapters/oclif/commands/auth/logout.ts
4
4
  var AuthLogout = class extends BaseCommand {
5
5
  static description = "Remove stored authentication credentials";
@@ -1,5 +1,5 @@
1
- import { A as getCredentialsPath, M as loadCredentials, j as isTokenExpired } from "../../../../core-BSLZ9hQU.mjs";
2
- import { t as BaseCommand } from "../../../../base.command-CaFn9EwG.mjs";
1
+ import { A as getCredentialsPath, M as loadCredentials, j as isTokenExpired } from "../../../../core-gKJ_V-K5.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
3
3
  import chalk from "chalk";
4
4
  //#region src/adapters/oclif/commands/auth/status.ts
5
5
  var AuthStatus = class extends BaseCommand {
@@ -1,6 +1,6 @@
1
- import { P as ApiError, t as InitService, y as getConfig } from "../../../core-BSLZ9hQU.mjs";
1
+ import { P as ApiError, t as InitService, y as getConfig } from "../../../core-gKJ_V-K5.mjs";
2
2
  import { TEMPLATES_DIR } from "../../../templates/index.mjs";
3
- import { t as BaseCommand } from "../../../base.command-CaFn9EwG.mjs";
3
+ import { t as BaseCommand } from "../../../base.command-DlVQ9Cqa.mjs";
4
4
  import * as fs from "fs";
5
5
  import * as path from "path";
6
6
  import select from "@inquirer/select";
@@ -1,5 +1,5 @@
1
- import { M as loadCredentials, m as unwrap, p as createApiClient, y as getConfig } from "../../../../core-BSLZ9hQU.mjs";
2
- import { t as BaseCommand } from "../../../../base.command-CaFn9EwG.mjs";
1
+ import { M as loadCredentials, m as unwrap, p as createApiClient, y as getConfig } from "../../../../core-gKJ_V-K5.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
3
3
  //#region src/adapters/oclif/commands/org/current.ts
4
4
  var OrgCurrent = class extends BaseCommand {
5
5
  static description = "Show currently selected organization";
@@ -1,5 +1,5 @@
1
- import { m as unwrap, p as createApiClient, y as getConfig } from "../../../../core-BSLZ9hQU.mjs";
2
- import { t as BaseCommand } from "../../../../base.command-CaFn9EwG.mjs";
1
+ import { m as unwrap, p as createApiClient, y as getConfig } from "../../../../core-gKJ_V-K5.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
3
3
  import chalk from "chalk";
4
4
  import { Flags } from "@oclif/core";
5
5
  //#region src/adapters/oclif/commands/org/list.ts
@@ -1,5 +1,5 @@
1
- import { M as loadCredentials, N as saveCredentials, m as unwrap, n as selectOrganization, p as createApiClient, y as getConfig } from "../../../../core-BSLZ9hQU.mjs";
2
- import { t as BaseCommand } from "../../../../base.command-CaFn9EwG.mjs";
1
+ import { M as loadCredentials, N as saveCredentials, m as unwrap, n as selectOrganization, p as createApiClient, y as getConfig } from "../../../../core-gKJ_V-K5.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
3
3
  import chalk from "chalk";
4
4
  import { Args } from "@oclif/core";
5
5
  //#region src/adapters/oclif/commands/org/switch.ts
@@ -1,5 +1,5 @@
1
- import { p as createApiClient, r as DiffService, y as getConfig } from "../../../../core-BSLZ9hQU.mjs";
2
- import { t as BaseCommand } from "../../../../base.command-CaFn9EwG.mjs";
1
+ import { p as createApiClient, r as DiffService, y as getConfig } from "../../../../core-gKJ_V-K5.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
3
3
  import chalk from "chalk";
4
4
  import { Args, Flags } from "@oclif/core";
5
5
  //#region src/adapters/oclif/commands/overlays/diff.ts
@@ -1,5 +1,5 @@
1
- import { a as PullService, p as createApiClient, y as getConfig } from "../../../../core-BSLZ9hQU.mjs";
2
- import { t as BaseCommand } from "../../../../base.command-CaFn9EwG.mjs";
1
+ import { a as PullService, p as createApiClient, y as getConfig } from "../../../../core-gKJ_V-K5.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
3
3
  import chalk from "chalk";
4
4
  import { Flags } from "@oclif/core";
5
5
  //#region src/adapters/oclif/commands/overlays/pull.ts
@@ -1,5 +1,5 @@
1
- import { o as PushService, p as createApiClient, y as getConfig } from "../../../../core-BSLZ9hQU.mjs";
2
- import { t as BaseCommand } from "../../../../base.command-CaFn9EwG.mjs";
1
+ import { o as PushService, p as createApiClient, y as getConfig } from "../../../../core-gKJ_V-K5.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
3
3
  import chalk from "chalk";
4
4
  import { Args, Flags } from "@oclif/core";
5
5
  //#region src/adapters/oclif/commands/overlays/push.ts
@@ -1,5 +1,5 @@
1
- import { i as StatusService, p as createApiClient, y as getConfig } from "../../../../core-BSLZ9hQU.mjs";
2
- import { t as BaseCommand } from "../../../../base.command-CaFn9EwG.mjs";
1
+ import { i as StatusService, p as createApiClient, y as getConfig } from "../../../../core-gKJ_V-K5.mjs";
2
+ import { t as BaseCommand } from "../../../../base.command-DlVQ9Cqa.mjs";
3
3
  import chalk from "chalk";
4
4
  import { Args, Flags } from "@oclif/core";
5
5
  //#region src/adapters/oclif/commands/overlays/status.ts
@@ -1,4 +1,4 @@
1
- import { E as setClerkEnv, P as ApiError } from "./core-BSLZ9hQU.mjs";
1
+ import { E as setClerkEnv, P as ApiError } from "./core-gKJ_V-K5.mjs";
2
2
  import { Command, Flags } from "@oclif/core";
3
3
  import { makeTable } from "@oclif/table";
4
4
  //#region src/adapters/oclif/base.command.ts
@@ -924,7 +924,7 @@ var InitService = class InitService {
924
924
  }),
925
925
  ".devcontainer/Dockerfile": this.renderTemplate(".devcontainer/Dockerfile", {}),
926
926
  ".devcontainer/setup.sh": this.renderTemplate(".devcontainer/setup.sh", {}),
927
- ".gitignore": this.renderTemplate(".gitignore", {}),
927
+ ".gitignore": this.renderTemplate("gitignore", {}),
928
928
  "README.md": this.renderTemplate("README.md", {
929
929
  projectName,
930
930
  orgName: org.name
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { A as getCredentialsPath, C as getUserInfo, D as tokenResponseToCredentials, E as setClerkEnv, M as loadCredentials, N as saveCredentials, O as startOAuthServer, P as ApiError, S as generatePKCEChallenge, T as setClerkConfig, _ as isContentEqual, a as PullService, b as buildAuthorizationUrl, c as loadOverlayFile, d as loadOverlaysFromDir, f as saveOverlayToFile, g as formatError, h as findRemoteOnlyOverlays, i as StatusService, j as isTokenExpired, k as deleteCredentials, l as loadOverlays, m as unwrap, o as PushService, p as createApiClient, r as DiffService, s as getLocalOverlayNames, t as InitService, u as loadOverlaysByNames, v as sanitizeFileName, w as refreshAccessToken, x as exchangeCodeForTokens, y as getConfig } from "./core-BSLZ9hQU.mjs";
1
+ import { A as getCredentialsPath, C as getUserInfo, D as tokenResponseToCredentials, E as setClerkEnv, M as loadCredentials, N as saveCredentials, O as startOAuthServer, P as ApiError, S as generatePKCEChallenge, T as setClerkConfig, _ as isContentEqual, a as PullService, b as buildAuthorizationUrl, c as loadOverlayFile, d as loadOverlaysFromDir, f as saveOverlayToFile, g as formatError, h as findRemoteOnlyOverlays, i as StatusService, j as isTokenExpired, k as deleteCredentials, l as loadOverlays, m as unwrap, o as PushService, p as createApiClient, r as DiffService, s as getLocalOverlayNames, t as InitService, u as loadOverlaysByNames, v as sanitizeFileName, w as refreshAccessToken, x as exchangeCodeForTokens, y as getConfig } from "./core-gKJ_V-K5.mjs";
2
2
  export { ApiError, DiffService, InitService, PullService, PushService, StatusService, buildAuthorizationUrl, createApiClient, deleteCredentials, exchangeCodeForTokens, findRemoteOnlyOverlays, formatError, generatePKCEChallenge, getConfig, getCredentialsPath, getLocalOverlayNames, getUserInfo, isContentEqual, isTokenExpired, loadCredentials, loadOverlayFile, loadOverlays, loadOverlaysByNames, loadOverlaysFromDir, refreshAccessToken, sanitizeFileName, saveCredentials, saveOverlayToFile, setClerkConfig, setClerkEnv, startOAuthServer, tokenResponseToCredentials, unwrap };
@@ -0,0 +1,12 @@
1
+ revos:
2
+ target: dev
3
+ outputs:
4
+ dev:
5
+ type: bigquery
6
+ method: service-account
7
+ project: "{{ env_var('GOOGLE_CLOUD_PROJECT') }}"
8
+ dataset: "{{ env_var('REVOS_BQ_DATASET') }}"
9
+ keyfile: "{{ env_var('GOOGLE_APPLICATION_CREDENTIALS') }}"
10
+ threads: 4
11
+ timeout_seconds: 300
12
+ location: <%=bqLocation%>
@@ -0,0 +1,19 @@
1
+ # dbt
2
+ dbt/target/
3
+ dbt/logs/
4
+ dbt/dbt_packages/
5
+ dbt/profiles.yml
6
+
7
+ # Python
8
+ __pycache__/
9
+ *.py[cod]
10
+ .venv/
11
+ venv/
12
+
13
+ # Node
14
+ node_modules/
15
+
16
+ # Local env
17
+ .env
18
+ .env.*
19
+ !.env.example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revos/cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "RevOS CLI for managing RevOS platform resources",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",