Skip to content

Commit

Permalink
refactor: regenerate piece to name pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
nyamkamunhjin committed Mar 27, 2024
1 parent b63680e commit 82b8d4c
Show file tree
Hide file tree
Showing 13 changed files with 83 additions and 76 deletions.
35 changes: 35 additions & 0 deletions .eslintrc.base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nx"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
]
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
}
]
}
7 changes: 7 additions & 0 deletions packages/pieces/community/PDF/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# pieces-PDF

This library was generated with [Nx](https://nx.dev).

## Building

Run `nx build pieces-PDF` to build the library.
4 changes: 4 additions & 0 deletions packages/pieces/community/PDF/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "@activepieces/piece-PDF",
"version": "0.0.1"
}
24 changes: 24 additions & 0 deletions packages/pieces/community/PDF/project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "pieces-PDF",
"$schema": "../../../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/pieces/community/PDF/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/pieces/community/PDF",
"tsConfig": "packages/pieces/community/PDF/tsconfig.lib.json",
"packageJson": "packages/pieces/community/PDF/package.json",
"main": "packages/pieces/community/PDF/src/index.ts",
"assets": ["packages/pieces/community/PDF/*.md"]
}
},
"publish": {
"command": "node tools/scripts/publish.mjs pieces-PDF {args.ver} {args.tag}",
"dependsOn": ["build"]
}
},
"tags": []
}
13 changes: 13 additions & 0 deletions packages/pieces/community/PDF/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

import { createPiece, PieceAuth } from "@activepieces/pieces-framework";

export const PDF = createPiece({
displayName: "Pdf",
auth: PieceAuth.None(),
minimumSupportedRelease: '0.20.0',
logoUrl: "https://cdn.activepieces.com/pieces/PDF.png",
authors: [],
actions: [],
triggers: [],
});

File renamed without changes.
7 changes: 0 additions & 7 deletions packages/pieces/community/pdf-to-text/README.md

This file was deleted.

9 changes: 0 additions & 9 deletions packages/pieces/community/pdf-to-text/package.json

This file was deleted.

24 changes: 0 additions & 24 deletions packages/pieces/community/pdf-to-text/project.json

This file was deleted.

12 changes: 0 additions & 12 deletions packages/pieces/community/pdf-to-text/src/index.ts

This file was deleted.

This file was deleted.

0 comments on commit 82b8d4c

Please sign in to comment.