@constructor-io/constructorio-connect-cli 1.5.1 → 1.5.2
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.
- package/boilerplate-repo/test/templates/grouping/grouping.spec.mjs +1 -1
- package/boilerplate-repo/test/templates/item/item.spec.mjs +1 -1
- package/boilerplate-repo/test/templates/item_group/item_group.spec.mjs +1 -1
- package/boilerplate-repo/test/templates/mapping/mapping.spec.mjs +1 -1
- package/boilerplate-repo/test/templates/variation/variation.spec.mjs +1 -1
- package/dist/commands/init.js +17 -7
- package/dist/customer/get-connect-token.js +17 -7
- package/dist/http/http-client.js +17 -7
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "@constructor-io/constructorio-connect-cli";
|
|
5
5
|
|
|
6
6
|
describe("grouping", () => {
|
|
7
|
-
it("should match
|
|
7
|
+
it("should match inline snapshot", async () => {
|
|
8
8
|
const result = await executeTemplate({
|
|
9
9
|
type: "grouping",
|
|
10
10
|
name: "grouping.jsonata",
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "@constructor-io/constructorio-connect-cli";
|
|
5
5
|
|
|
6
6
|
describe("item", () => {
|
|
7
|
-
it("should match
|
|
7
|
+
it("should match inline snapshot", async () => {
|
|
8
8
|
/**
|
|
9
9
|
* Add a function `executeTemplate` which abstracts all the complexity from
|
|
10
10
|
* running a template and gives you the result back.
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "@constructor-io/constructorio-connect-cli";
|
|
5
5
|
|
|
6
6
|
describe("item_group", () => {
|
|
7
|
-
it("should match
|
|
7
|
+
it("should match inline snapshot", async () => {
|
|
8
8
|
const result = await executeTemplate({
|
|
9
9
|
type: "item_group",
|
|
10
10
|
name: "item_group.jsonata",
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "@constructor-io/constructorio-connect-cli";
|
|
5
5
|
|
|
6
6
|
describe("mapping", () => {
|
|
7
|
-
it("should match
|
|
7
|
+
it("should match inline snapshot", async () => {
|
|
8
8
|
const result = await executeTemplate({
|
|
9
9
|
type: "mapping",
|
|
10
10
|
name: "mapping.jsonata",
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "@constructor-io/constructorio-connect-cli";
|
|
5
5
|
|
|
6
6
|
describe("variation", () => {
|
|
7
|
-
it("should match
|
|
7
|
+
it("should match inline snapshot", async () => {
|
|
8
8
|
const result = await executeTemplate({
|
|
9
9
|
type: "variation",
|
|
10
10
|
name: "variation.jsonata",
|
package/dist/commands/init.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
36
|
exports.getConnectToken = void 0;
|
|
27
37
|
exports.getConnectTokenStore = getConnectTokenStore;
|
package/dist/http/http-client.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
package/dist/version.d.ts
CHANGED
package/dist/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"wBAAe,OAAO;AAAtB,wBAAuB"}
|
package/dist/version.js
CHANGED
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED