Skip to content

Commit 844561e

Browse files
committed
[BUG] Fix packages with Import failure
1 parent 580e498 commit 844561e

File tree

33 files changed

+5124
-1090
lines changed

33 files changed

+5124
-1090
lines changed

components/google_tag_manager/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@pipedream/google_tag_manager",
33
"version": "0.1.0",
44
"description": "Pipedream Google Tag Manager Components",
5+
"main": "google_tag_manager.app.mjs",
56
"keywords": [
67
"pipedream",
78
"google_tag_manager"
@@ -12,6 +13,6 @@
1213
"access": "public"
1314
},
1415
"dependencies": {
15-
"@pipedream/platform": "^1.5.1"
16+
"@pipedream/platform": "^3.1.0"
1617
}
1718
}

components/netlify/actions/get-site/get-site.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "netlify-get-site",
55
name: "Get Site",
66
description: "Get a specified site. [See docs](https://docs.netlify.com/api/get-started/#get-sites)",
7-
version: "0.1.0",
7+
version: "0.1.1",
88
type: "action",
99
props: {
1010
netlify,
@@ -16,7 +16,7 @@ export default {
1616
},
1717
},
1818
async run({ $ }) {
19-
const response = this.netlify.getSite(this.siteId);
19+
const response = await this.netlify.getSite(this.siteId);
2020
$.export("$summary", `Got site ${response.name}`);
2121
return response;
2222
},

components/netlify/actions/list-files/list-files.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "netlify-list-files",
55
name: "List Files",
66
description: "Returns a list of all the files in the current deploy. [See docs](https://docs.netlify.com/api/get-started/#get-files)",
7-
version: "0.1.0",
7+
version: "0.1.1",
88
type: "action",
99
props: {
1010
netlify,
@@ -16,7 +16,7 @@ export default {
1616
},
1717
},
1818
async run({ $ }) {
19-
const response = this.netlify.listFiles(this.siteId);
19+
const response = await this.netlify.listFiles(this.siteId);
2020
$.export("$summary", "Got files for site");
2121
return response;
2222
},

components/netlify/actions/list-site-deploys/list-site-deploys.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "netlify-list-site-deploys",
55
name: "List Site Deploys",
66
description: "Returns a list of all deploys for a specific site. [See docs](https://docs.netlify.com/api/get-started/#get-deploys)",
7-
version: "0.1.0",
7+
version: "0.1.1",
88
type: "action",
99
props: {
1010
netlify,

components/netlify/actions/rollback-deploy/rollback-deploy.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default {
44
key: "netlify-rollback-deploy",
55
name: "Rollback Deploy",
66
description: "Restores an old deploy and makes it the live version of the site. [See docs](https://docs.netlify.com/api/get-started/#restore-deploy-rollback)",
7-
version: "0.1.0",
7+
version: "0.1.1",
88
type: "action",
99
props: {
1010
netlify,
@@ -25,7 +25,7 @@ export default {
2525
},
2626
},
2727
async run({ $ }) {
28-
const response = this.netlify.rollbackDeploy(this.siteId, this.deployId);
28+
const response = await this.netlify.rollbackDeploy(this.siteId, this.deployId);
2929
$.export("$summary", "Rolling back deploy");
3030
return response;
3131
},

components/netlify/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/netlify",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"description": "Pipedream Netlify Components",
55
"main": "netlify.app.mjs",
66
"keywords": [
@@ -10,9 +10,9 @@
1010
"homepage": "https://pipedream.com/apps/netlify",
1111
"author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
1212
"dependencies": {
13-
"@pipedream/platform": "^1.4.0",
13+
"@pipedream/platform": "^3.1.0",
1414
"jwt-simple": "^0.5.6",
15-
"netlify": "^6.0.9",
15+
"netlify": "^23.0.0",
1616
"parse-link-header": "^2.0.0"
1717
},
1818
"gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535",

components/netlify/sources/new-deploy-failure/new-deploy-failure.mjs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@ export default {
77
name: "New Deploy Failure (Instant)",
88
description: "Emit new event when a new deployment fails",
99
type: "source",
10-
version: "0.1.0",
10+
version: "0.1.1",
1111
dedupe: "unique",
1212
methods: {
1313
...webhook.methods,
1414
getHookEvent() {
1515
return deployHooks.DEPLOY_FAILED;
1616
},
17-
getMetaSummary(data) {
18-
const { commit_ref: commitRef } = data;
19-
return `Deploy failed for commit ${commitRef}`;
17+
getMetaSummary() {
18+
return "New Deployment Failure";
2019
},
2120
},
2221
};

components/netlify/sources/new-deploy-start/new-deploy-start.mjs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@ export default {
77
name: "New Deploy Start (Instant)",
88
description: "Emit new event when a new deployment is started",
99
type: "source",
10-
version: "0.1.0",
10+
version: "0.1.1",
1111
dedupe: "unique",
1212
methods: {
1313
...webhook.methods,
1414
getHookEvent() {
1515
return deployHooks.DEPLOY_BUILDING;
1616
},
17-
getMetaSummary(data) {
18-
const { commit_ref: commitRef } = data;
19-
return `Deploy started for commit ${commitRef}`;
17+
getMetaSummary() {
18+
return "New Deployment Started";
2019
},
2120
},
2221
};

components/netlify/sources/new-deploy-success/new-deploy-success.mjs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,15 @@ export default {
77
name: "New Deploy Success (Instant)",
88
description: "Emit new event when a new deployment is completed",
99
type: "source",
10-
version: "0.1.0",
10+
version: "0.1.1",
1111
dedupe: "unique",
1212
methods: {
1313
...webhook.methods,
1414
getHookEvent() {
1515
return deployHooks.DEPLOY_CREATED;
1616
},
17-
getMetaSummary(data) {
18-
const { commit_ref: commitRef } = data;
19-
return `Deploy succeeded for commit ${commitRef}`;
17+
getMetaSummary() {
18+
return "New Deployment Success";
2019
},
2120
},
2221
};

components/netlify/sources/new-form-submission/new-form-submission.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
name: "New Form Submission (Instant)",
88
description: "Emit new event when a user submits a form",
99
type: "source",
10-
version: "0.1.0",
10+
version: "0.1.1",
1111
dedupe: "unique",
1212
methods: {
1313
...webhook.methods,

0 commit comments

Comments
 (0)