Skip to content

Dependency import fixes #17938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Aug 5, 2025
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
5 changes: 4 additions & 1 deletion components/acelle_mail/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/acelle_mail",
"version": "0.1.0",
"version": "0.1.1",
"description": "Pipedream Acelle Mail Components",
"main": "acelle_mail.app.mjs",
"keywords": [
Expand All @@ -11,5 +11,8 @@
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.1.0"
}
}
5 changes: 4 additions & 1 deletion components/affinda/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/affinda",
"version": "0.1.0",
"version": "0.1.1",
"description": "Pipedream Affinda Components",
"main": "affinda.app.mjs",
"keywords": [
Expand All @@ -11,5 +11,8 @@
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.1.0"
}
}
5 changes: 4 additions & 1 deletion components/aircall/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/aircall",
"version": "0.2.0",
"version": "0.2.1",
"description": "Pipedream Aircall Components",
"main": "aircall.app.mjs",
"keywords": [
Expand All @@ -11,5 +11,8 @@
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.1.0"
}
}
7 changes: 5 additions & 2 deletions components/amplenote/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/amplenote",
"version": "0.0.3",
"version": "0.0.4",
"description": "Pipedream Amplenote Components",
"main": "dist/app/amplenote.app.mjs",
"keywords": [
Expand All @@ -16,6 +16,9 @@
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^1.1.1"
"@pipedream/platform": "^3.1.0"
},
"devDependencies": {
"@pipedream/types": "^0.3.2"
}
Comment on lines 18 to 23
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Confirm @pipedream/types is not required at runtime

@pipedream/types was moved to devDependencies, which is the correct place as long as it’s only used for type-checking / build-time tooling.
Please double-check that no runtime import/require of this package exists in the Amplenote component code.

Run a quick search to verify:


🏁 Script executed:

#!/bin/bash
# Expect: zero matches
rg --fixed-strings '@pipedream/types' components/amplenote --glob '!**/*.d.ts'

Length of output: 443


Move @pipedream/types into dependencies
This package is imported at runtime in your component code, so it must be available in production:

• components/amplenote/app/amplenote.app.ts
• components/amplenote/actions/create-task/create-task.ts
• components/amplenote/actions/create-note/create-note.ts

Update components/amplenote/package.json accordingly:

  "dependencies": {
    "@pipedream/platform": "^3.1.0",
+   "@pipedream/types": "^0.3.2"
  },
  "devDependencies": {
-   "@pipedream/types": "^0.3.2"
  }
📝 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
"dependencies": {
"@pipedream/platform": "^1.1.1"
"@pipedream/platform": "^3.1.0"
},
"devDependencies": {
"@pipedream/types": "^0.3.2"
}
"dependencies": {
"@pipedream/platform": "^3.1.0",
"@pipedream/types": "^0.3.2"
},
"devDependencies": {
}
🤖 Prompt for AI Agents
In components/amplenote/package.json between lines 18 and 23, the package
@pipedream/types is incorrectly listed under devDependencies but is used at
runtime in the component code. Move @pipedream/types from devDependencies to
dependencies to ensure it is included in the production build and available when
the component runs.

}
7 changes: 5 additions & 2 deletions components/apitemplate_io/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/apitemplate_io",
"version": "0.0.4",
"version": "0.0.5",
"description": "Pipedream APITemplate.io Components",
"main": "dist/app/apitemplate_io.app.mjs",
"keywords": [
Expand All @@ -16,6 +16,9 @@
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^1.1.1"
"@pipedream/platform": "^3.1.0"
},
"devDependencies": {
"@pipedream/types": "^0.3.2"
}
}
5 changes: 3 additions & 2 deletions components/azure_storage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/azure_storage",
"version": "0.2.1",
"version": "0.2.2",
"description": "Pipedream Azure Storage Components",
"main": "azure_storage.app.mjs",
"keywords": [
Expand All @@ -14,6 +14,7 @@
},
"dependencies": {
"@pipedream/platform": "^3.1.0",
"mime-types": "^2.1.35"
"mime-types": "^2.1.35",
"fast-xml-parser": "^4.2.5"
}
}
8 changes: 5 additions & 3 deletions components/baserow/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/baserow",
"version": "0.1.0",
"version": "0.1.1",
"description": "Pipedream Baserow Components",
"main": "dist/app/baserow.app.mjs",
"keywords": [
Expand All @@ -16,7 +16,9 @@
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^1.2.1",
"@pipedream/types": "^0.1.4"
"@pipedream/platform": "^3.1.0"
},
"devDependencies": {
"@pipedream/types": "^0.3.2"
}
}
5 changes: 4 additions & 1 deletion components/beanstalkapp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/beanstalkapp",
"version": "0.0.3",
"version": "0.0.4",
"description": "Pipedream Beanstalk Components",
"main": "beanstalkapp.app.mjs",
"keywords": [
Expand All @@ -11,5 +11,8 @@
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.1.0"
}
}
8 changes: 5 additions & 3 deletions components/beehiiv/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/beehiiv",
"version": "0.0.5",
"version": "0.0.6",
"description": "Pipedream Beehiiv Components",
"main": "dist/app/beehiiv.app.mjs",
"keywords": [
Expand All @@ -16,7 +16,9 @@
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^1.1.1",
"@pipedream/types": "^0.1.4"
"@pipedream/platform": "^3.1.0"
},
"devDependencies": {
"@pipedream/types": "^0.3.2"
}
}
8 changes: 5 additions & 3 deletions components/buy_me_a_coffee/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/buy_me_a_coffee",
"version": "0.0.5",
"version": "0.0.6",
"description": "Pipedream Buy Me a Coffee Components",
"main": "dist/app/buy_me_a_coffee.app.mjs",
"keywords": [
Expand All @@ -16,7 +16,9 @@
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^1.2.0",
"@pipedream/types": "^0.1.4"
"@pipedream/platform": "^3.1.0"
},
"devDependencies": {
"@pipedream/types": "^0.3.2"
}
}
8 changes: 5 additions & 3 deletions components/clientary/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/clientary",
"version": "0.0.3",
"version": "0.0.4",
"description": "Pipedream Clientary Components",
"main": "dist/app/clientary.app.mjs",
"keywords": [
Expand All @@ -14,7 +14,9 @@
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^1.2.1",
"@pipedream/types": "^0.1.4"
"@pipedream/platform": "^3.1.0"
},
"devDependencies": {
"@pipedream/types": "^0.3.2"
}
}
5 changes: 4 additions & 1 deletion components/clientify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/clientify",
"version": "0.1.0",
"version": "0.1.1",
"description": "Pipedream Clientify Components",
"main": "clientify.app.mjs",
"keywords": [
Expand All @@ -11,5 +11,8 @@
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.1.0"
}
}
6 changes: 4 additions & 2 deletions components/cloudmersive/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/cloudmersive",
"version": "1.0.0",
"version": "1.0.1",
"description": "Pipedream Cloudmersive Components",
"main": "dist/app/cloudmersive.app.mjs",
"keywords": [
Expand All @@ -17,7 +17,9 @@
},
"dependencies": {
"@pipedream/platform": "^3.1.0",
"@pipedream/types": "^0.1.4",
"form-data": "^4.0.0"
},
"devDependencies": {
"@pipedream/types": "^0.3.2"
}
}
5 changes: 3 additions & 2 deletions components/cloudtables/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/cloudtables",
"version": "0.6.0",
"version": "0.6.1",
"description": "Pipedream cloudtables Components",
"main": "cloudtables.app.mjs",
"keywords": [
Expand All @@ -13,6 +13,7 @@
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.0.0"
"@pipedream/platform": "^3.1.0",
"qs": "^6.11.0"
}
}
12 changes: 10 additions & 2 deletions components/coassemble/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
{
"name": "@pipedream/coassemble",
"version": "0.0.3",
"version": "0.0.4",
"description": "Pipedream Coassemble Components",
"main": "dist/app/coassemble.app.mjs",
"keywords": [
"pipedream",
"coassemble"
],
"files": ["dist"],
"files": [
"dist"
],
"homepage": "https://pipedream.com/apps/coassemble",
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.1.0"
},
"devDependencies": {
"@pipedream/types": "^0.3.2"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/codeq_natural_language_processing_api",
"version": "0.0.2",
"version": "0.0.3",
"description": "Pipedream Codeq Natural Language Processing API Components",
"main": "codeq_natural_language_processing_api.app.mjs",
"keywords": [
Expand All @@ -11,5 +11,8 @@
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.1.0"
}
Comment on lines +15 to 17
Copy link
Contributor

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion

Add @pipedream/types to devDependencies for type-safe builds.

Unlike the other updated packages, this component did not add the typings package moved in this PR. If the source imports from @pipedream/types (common in apps), the install will fail at build time.

   "@pipedream/platform": "^3.1.0"
+},
+ "devDependencies": {
+   "@pipedream/types": "^0.1.6"
 }
📝 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
"dependencies": {
"@pipedream/platform": "^3.1.0"
}
"dependencies": {
"@pipedream/platform": "^3.1.0"
},
"devDependencies": {
"@pipedream/types": "^0.1.6"
}
🤖 Prompt for AI Agents
In components/codeq_natural_language_processing_api/package.json around lines 15
to 17, add "@pipedream/types" to the "devDependencies" section to ensure
type-safe builds. This is necessary because the source likely imports from
"@pipedream/types", and without it in devDependencies, the build will fail. Add
the appropriate version of "@pipedream/types" consistent with other packages in
the project.

}
8 changes: 5 additions & 3 deletions components/concord/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/concord",
"version": "0.1.0",
"version": "0.1.1",
"description": "Pipedream Concord Components",
"main": "dist/app/concord.app.mjs",
"keywords": [
Expand All @@ -14,7 +14,9 @@
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^1.5.1",
"@pipedream/types": "^0.1.4"
"@pipedream/platform": "^3.1.0"
},
"devDependencies": {
"@pipedream/types": "^0.3.2"
}
}
5 changes: 4 additions & 1 deletion components/craftmypdf/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/craftmypdf",
"version": "0.1.0",
"version": "0.1.1",
"description": "Pipedream CraftMyPDF Components",
"main": "craftmypdf.app.mjs",
"keywords": [
Expand All @@ -11,5 +11,8 @@
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.1.0"
}
}
5 changes: 4 additions & 1 deletion components/crove_app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/crove_app",
"version": "2.0.3",
"version": "2.0.4",
"description": "Pipedream Crove Components",
"main": "crove_app.app.mjs",
"keywords": [
Expand All @@ -11,5 +11,8 @@
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.1.0"
}
}
8 changes: 5 additions & 3 deletions components/currencyscoop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/currencyscoop",
"version": "0.1.1",
"version": "0.1.2",
"description": "Pipedream CurrencyScoop Components",
"main": "dist/app/currencyscoop.app.mjs",
"keywords": [
Expand All @@ -14,7 +14,9 @@
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^1.5.1",
"@pipedream/types": "^0.1.6"
"@pipedream/platform": "^3.1.0"
},
"devDependencies": {
"@pipedream/types": "^0.3.2"
}
}
8 changes: 7 additions & 1 deletion components/daffy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/daffy",
"version": "0.1.0",
"version": "0.1.1",
"description": "Pipedream Daffy Components",
"main": "daffy.app.mjs",
"keywords": [
Expand All @@ -11,5 +11,11 @@
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.1.0"
},
"devDependencies": {
"@pipedream/types": "^0.3.2"
}
}
Loading
Loading