@lightdash/cli 0.1966.1 → 0.1966.3

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.
@@ -9,6 +9,7 @@ const config_1 = require("../config");
9
9
  const context_1 = require("../dbt/context");
10
10
  const globalState_1 = tslib_1.__importDefault(require("../globalState"));
11
11
  const styles = tslib_1.__importStar(require("../styles"));
12
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
12
13
  const apiClient_1 = require("./dbt/apiClient");
13
14
  const getDbtProfileTargetName_1 = tslib_1.__importDefault(require("./dbt/getDbtProfileTargetName"));
14
15
  const getDbtVersion_1 = require("./dbt/getDbtVersion");
@@ -56,8 +57,11 @@ const askPermissionToStoreWarehouseCredentials = async () => {
56
57
  return savedAnswer;
57
58
  };
58
59
  const createProject = async (options) => {
59
- // Check permissions before proceeding
60
- await (0, apiClient_1.checkProjectCreationPermission)(options.upstreamProjectUuid, options.type);
60
+ // TODO enable this when the problem with the permission check is fixed, back-end permission check works as expected
61
+ // await checkProjectCreationPermission(
62
+ // options.upstreamProjectUuid,
63
+ // options.type,
64
+ // );
61
65
  const dbtVersion = await (0, getDbtVersion_1.getDbtVersion)();
62
66
  const absoluteProjectPath = path_1.default.resolve(options.projectDir);
63
67
  const context = await (0, context_1.getDbtContext)({ projectDir: absoluteProjectPath });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/cli",
3
- "version": "0.1966.1",
3
+ "version": "0.1966.3",
4
4
  "license": "MIT",
5
5
  "bin": {
6
6
  "lightdash": "dist/index.js"
@@ -32,8 +32,8 @@
32
32
  "parse-node-version": "^2.0.0",
33
33
  "unique-names-generator": "^4.7.1",
34
34
  "uuid": "^11.0.3",
35
- "@lightdash/common": "0.1966.1",
36
- "@lightdash/warehouses": "0.1966.1"
35
+ "@lightdash/common": "0.1966.3",
36
+ "@lightdash/warehouses": "0.1966.3"
37
37
  },
38
38
  "description": "Lightdash CLI tool",
39
39
  "devDependencies": {