Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "linear_app-create-issue",
name: "Create Issue",
description: "Creates a new issue in Linear. Requires team ID and title. Optional: description, assignee, project, state. Returns response object with success status and issue details. Uses API Key authentication. See Linear docs for additional info [here](https://developers.linear.app/docs/graphql/working-with-the-graphql-api#creating-and-editing-issues).",
version: "0.4.10",
version: "0.4.11",
props: {
linearApp,
teamId: {
Expand Down
2 changes: 1 addition & 1 deletion components/linear_app/actions/get-issue/get-issue.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "linear_app-get-issue",
name: "Get Issue",
description: "Retrieves a Linear issue by its ID. Returns complete issue details including title, description, state, assignee, team, project, labels, and timestamps. Uses API Key authentication. See Linear docs for additional info [here](https://developers.linear.app/docs/graphql/working-with-the-graphql-api).",
version: "0.1.10",
version: "0.1.11",
type: "action",
props: {
linearApp,
Expand Down
2 changes: 1 addition & 1 deletion components/linear_app/actions/get-teams/get-teams.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "linear_app-get-teams",
name: "Get Teams",
description: "Retrieves all teams in your Linear workspace. Returns array of team objects with details like ID, name, and key. Supports pagination with configurable limit. Uses API Key authentication. See Linear docs for additional info [here](https://developers.linear.app/docs/graphql/working-with-the-graphql-api).",
version: "0.2.10",
version: "0.2.11",
type: "action",
props: {
linearApp,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
name: "Search Issues",
description: "Searches Linear issues by team, project, assignee, labels, state, or text query. Supports pagination, ordering, and archived issues. Returns array of matching issues. Uses API Key authentication. See Linear docs for additional info [here](https://developers.linear.app/docs/graphql/working-with-the-graphql-api).",
type: "action",
version: "0.2.10",
version: "0.2.11",
props: {
linearApp,
teamId: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
name: "Update Issue",
description: "Updates an existing Linear issue. Can modify title, description, assignee, state, project, team, labels, priority, and dates. Returns updated issue details. Uses API Key authentication. See Linear docs for additional info [here](https://developers.linear.app/docs/graphql/working-with-the-graphql-api#creating-and-editing-issues).",
type: "action",
version: "0.1.10",
version: "0.1.11",
props: {
linearApp,
teamId: {
Expand Down
2 changes: 1 addition & 1 deletion components/linear_app/linear_app.app.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LinearClient } from "@linear/sdk";
import { LinearClient } from "@linear/sdk@13.0.0";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

@linear/[email protected] import is very likely invalid in Node/Pipedream

Bare Node’s module resolver (and most bundlers) treat the entire string @linear/[email protected] as the package name, so it will look for a folder literally named node_modules/@linear/[email protected], which is not installed. This will throw at load time.

Unless the Pipedream runtime provides custom “package@version” resolution (not documented), please revert to the normal import and rely on package.json to lock the version:

-import { LinearClient } from "@linear/[email protected]";
+import { LinearClient } from "@linear/sdk";

If the goal is hard-pinning, pin the dependency itself ("@linear/sdk": "13.0.0") instead of altering the import specifier.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
import { LinearClient } from "@linear/sdk@13.0.0";
import { LinearClient } from "@linear/sdk";
🤖 Prompt for AI Agents
In components/linear_app/linear_app.app.mjs at line 1, the import statement uses
an invalid specifier '@linear/[email protected]' which Node and bundlers treat as a
single package name and will fail to resolve. Change the import to just
'@linear/sdk' without the version suffix, and ensure the version is pinned in
package.json dependencies instead.

import constants from "./common/constants.mjs";
import utils from "./common/utils.mjs";
import { axios } from "@pipedream/platform";
Expand Down
2 changes: 1 addition & 1 deletion components/linear_app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/linear_app",
"version": "0.7.3",
"version": "0.7.4",
"description": "Pipedream Linear_app Components",
"main": "linear_app.app.mjs",
"keywords": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
...common,
key: "linear_app-comment-created-instant",
name: "New Comment Created (Instant)",
description: "Triggers instantly when a new comment is added to an issue in Linear. Returns comment details including content, author, issue reference, and timestamps. Supports filtering by team. See Linear docs for additional info [here](https://developers.linear.app/docs/graphql/webhooks).",

Check warning on line 8 in components/linear_app/sources/comment-created-instant/comment-created-instant.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Source descriptions should start with "Emit new". See https://pipedream.com/docs/components/guidelines/#source-description
type: "source",
version: "0.1.12",
version: "0.1.13",
dedupe: "unique",
methods: {
...common.methods,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
...common,
key: "linear_app-issue-created-instant",
name: "New Issue Created (Instant)",
description: "Triggers instantly when a new issue is created in Linear. Provides complete issue details including title, description, team, assignee, state, and timestamps. Supports filtering by team and project. See Linear docs for additional info [here](https://developers.linear.app/docs/graphql/webhooks).",

Check warning on line 8 in components/linear_app/sources/issue-created-instant/issue-created-instant.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Source descriptions should start with "Emit new". See https://pipedream.com/docs/components/guidelines/#source-description
type: "source",
version: "0.3.12",
version: "0.3.13",
dedupe: "unique",
methods: {
...common.methods,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
export default {
...common,
key: "linear_app-issue-updated-instant",
name: "Issue Updated (Instant)",

Check warning on line 7 in components/linear_app/sources/issue-updated-instant/issue-updated-instant.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Source names should start with "New". See https://pipedream.com/docs/components/guidelines/#source-name
description: "Triggers instantly when any issue is updated in Linear. Provides complete issue details with changes. Supports filtering by team and project. Includes all updates except status changes. See Linear docs for additional info [here](https://developers.linear.app/docs/graphql/webhooks).",

Check warning on line 8 in components/linear_app/sources/issue-updated-instant/issue-updated-instant.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Source descriptions should start with "Emit new". See https://pipedream.com/docs/components/guidelines/#source-description
type: "source",
version: "0.3.12",
version: "0.3.13",
dedupe: "unique",
methods: {
...common.methods,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
export default {
...common,
key: "linear_app-new-issue-status-updated",
name: "Issue Status Updated (Instant)",

Check warning on line 8 in components/linear_app/sources/new-issue-status-updated/new-issue-status-updated.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Source names should start with "New". See https://pipedream.com/docs/components/guidelines/#source-name
description: "Triggers instantly when an issue's workflow state changes (e.g., Todo to In Progress). Returns issue with previous and current state info. Can filter by specific target state. See Linear docs for additional info [here](https://developers.linear.app/docs/graphql/webhooks).",

Check warning on line 9 in components/linear_app/sources/new-issue-status-updated/new-issue-status-updated.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Source descriptions should start with "Emit new". See https://pipedream.com/docs/components/guidelines/#source-description
type: "source",
version: "0.1.12",
version: "0.1.13",
dedupe: "unique",
props: {
linearApp: common.props.linearApp,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
...common,
key: "linear_app-new-projectupdate-created",
name: "New Project Update Written (Instant)",
description: "Triggers instantly when a project update (status report) is created in Linear. Returns update content, author, project details, and health status. Filters by team and optionally by project. See Linear docs for additional info [here](https://developers.linear.app/docs/graphql/webhooks).",

Check warning on line 9 in components/linear_app/sources/new-projectupdate-created/new-projectupdate-created.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Source descriptions should start with "Emit new". See https://pipedream.com/docs/components/guidelines/#source-description
type: "source",
version: "0.0.4",
version: "0.0.5",
dedupe: "unique",
props: {
linearApp,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
export default {
...common,
key: "linear_app-project-updated-instant",
name: "Project Updated (Instant)",

Check warning on line 8 in components/linear_app/sources/project-updated-instant/project-updated-instant.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Source names should start with "New". See https://pipedream.com/docs/components/guidelines/#source-name
description: "Triggers instantly when a project is updated in Linear. Returns project details including name, description, status, dates, and team info. Supports filtering by specific teams. See Linear docs for additional info [here](https://developers.linear.app/docs/graphql/webhooks).",

Check warning on line 9 in components/linear_app/sources/project-updated-instant/project-updated-instant.mjs

View workflow job for this annotation

GitHub Actions / Lint Code Base

Source descriptions should start with "Emit new". See https://pipedream.com/docs/components/guidelines/#source-description
type: "source",
version: "0.0.5",
version: "0.0.6",
dedupe: "unique",
props: {
linearApp,
Expand Down
11 changes: 5 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading