Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

chore: update repository URLs and clean up package configurations

Corentin Thomasseted5a93cb4725
diff --git a/packages/lecture/.github/workflows/ci-lib.yaml b/.github/workflows/ci-packages-lecture.yaml
similarity index 60%
rename from packages/lecture/.github/workflows/ci-lib.yaml
rename to .github/workflows/ci-packages-lecture.yaml
index cf55e7cf..b64bc192 100644
--- a/packages/lecture/.github/workflows/ci-lib.yaml
+++ b/.github/workflows/ci-packages-lecture.yaml
@@ -1,4 +1,4 @@
-name: CI - Lib
+name: CI - Lecture
on:
pull_request:
@@ -7,20 +7,26 @@ on:
- main
jobs:
- ci-lib:
- name: CI - Lib
+ ci-packages-lecture:
+ name: CI - Lecture
runs-on: ubuntu-latest
+ defaults:
+ run:
+ working-directory: packages/lecture
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- - run: corepack enable
+
+ - name: Install pnpm
+ uses: pnpm/action-setup@v4
+
- uses: actions/setup-node@v4
with:
node-version: 22
- cache: pnpm
+ cache: 'pnpm'
- name: Install dependencies
- run: pnpm i --frozen-lockfile
+ run: pnpm i
- name: Run linters
run: pnpm lint
@@ -31,5 +37,5 @@ jobs:
- name: Run unit test
run: pnpm test
- - name: Build the lib
- run: pnpm build
+ - name: Build the app
+ run: pnpm build
\ No newline at end of file
diff --git a/apps/papra-server/package.json b/apps/papra-server/package.json
index d616d251..6c490e79 100644
--- a/apps/papra-server/package.json
+++ b/apps/papra-server/package.json
@@ -41,7 +41,7 @@
"@libsql/client": "^0.14.0",
"@owlrelay/api-sdk": "^0.0.2",
"@owlrelay/webhook": "^0.0.3",
- "@papra/lecture": "^0.0.7",
+ "@papra/lecture": "workspace:*",
"@papra/webhooks": "workspace:*",
"@paralleldrive/cuid2": "^2.2.2",
"backblaze-b2": "^1.7.1",
diff --git a/packages/api-sdk/package.json b/packages/api-sdk/package.json
index 781c583b..339719bd 100644
--- a/packages/api-sdk/package.json
+++ b/packages/api-sdk/package.json
@@ -8,11 +8,11 @@
"license": "AGPL-3.0-or-later",
"repository": {
"type": "git",
- "url": "https://github.com/papra-app/papra.git",
+ "url": "https://github.com/papra-hq/papra",
"directory": "packages/api-sdk"
},
"bugs": {
- "url": "https://github.com/papra-app/papra/issues"
+ "url": "https://github.com/papra-hq/papra/issues"
},
"keywords": [
"papra",
diff --git a/packages/cli/package.json b/packages/cli/package.json
index f6a3c862..dbd1ac83 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -8,11 +8,11 @@
"license": "AGPL-3.0-or-later",
"repository": {
"type": "git",
- "url": "https://github.com/papra-app/papra.git",
+ "url": "https://github.com/papra-hq/papra",
"directory": "packages/cli"
},
"bugs": {
- "url": "https://github.com/papra-app/papra/issues"
+ "url": "https://github.com/papra-hq/papra/issues"
},
"keywords": [
"papra",
diff --git a/packages/lecture/.github/FUNDING.yml b/packages/lecture/.github/FUNDING.yml
deleted file mode 100644
index 63fb5c10..00000000
--- a/packages/lecture/.github/FUNDING.yml
+++ /dev/null
@@ -1,4 +0,0 @@
-github:
- - CorentinTh
-
-buy_me_a_coffee: cthmsst
diff --git a/packages/lecture/.github/workflows/npm-release.yaml b/packages/lecture/.github/workflows/npm-release.yaml
deleted file mode 100644
index f9708389..00000000
--- a/packages/lecture/.github/workflows/npm-release.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-name: Release new versions
-
-on:
- push:
- tags:
- - 'v*.*.*'
-
-permissions:
- contents: read
- packages: write
-
-jobs:
- publish-lib:
- name: Publish @papra/lecture to npm
- runs-on: ubuntu-latest
- permissions:
- contents: read
- id-token: write
-
- steps:
- - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- - run: corepack enable
- - uses: actions/setup-node@v4
- with:
- node-version: 22
- cache: pnpm
- registry-url: 'https://registry.npmjs.org'
-
- - name: Install dependencies
- run: pnpm i
- working-directory: ./
-
- - name: Publish to npm
- run: pnpm publish --access public --no-git-checks
- env:
- NPM_CONFIG_PROVENANCE: true
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
diff --git a/packages/lecture/package.json b/packages/lecture/package.json
index 2071145c..44559cca 100644
--- a/packages/lecture/package.json
+++ b/packages/lecture/package.json
@@ -8,10 +8,11 @@
"license": "MIT",
"repository": {
"type": "git",
- "url": "https://github.com/papra-hq/lecture"
+ "url": "https://github.com/papra-hq/papra",
+ "directory": "packages/lecture"
},
"bugs": {
- "url": "https://github.com/papra-hq/lecture/issues"
+ "url": "https://github.com/papra-hq/papra/issues"
},
"keywords": [
"file",
@@ -42,8 +43,7 @@
"prepare": "pnpm run build",
"build": "unbuild",
"typecheck": "tsc --noEmit",
- "prepublishOnly": "pnpm run build",
- "release": "bumpp --commit --tag --push"
+ "prepublishOnly": "pnpm run build"
},
"dependencies": {
"@corentinth/chisels": "^1.3.1",
@@ -51,15 +51,14 @@
"unpdf": "^0.12.1"
},
"devDependencies": {
- "@antfu/eslint-config": "^3.15.0",
- "@types/node": "^22.10.7",
- "@vitest/coverage-v8": "3.0.3",
- "bumpp": "^9.10.1",
- "eslint": "^9.18.0",
+ "@antfu/eslint-config": "catalog:",
+ "@types/node": "catalog:",
+ "@vitest/coverage-v8": "catalog:",
+ "eslint": "catalog:",
"mime": "^4.0.6",
"tinyglobby": "^0.2.10",
- "typescript": "^5.7.3",
+ "typescript": "catalog:",
"unbuild": "^3.3.1",
- "vitest": "^3.0.3"
+ "vitest": "catalog:"
}
}
diff --git a/packages/webhooks/package.json b/packages/webhooks/package.json
index 1ed4cf8d..e1cad34c 100644
--- a/packages/webhooks/package.json
+++ b/packages/webhooks/package.json
@@ -8,11 +8,11 @@
"license": "AGPL-3.0-or-later",
"repository": {
"type": "git",
- "url": "https://github.com/papra-app/papra.git",
+ "url": "https://github.com/papra-hq/papra",
"directory": "packages/webhooks"
},
"bugs": {
- "url": "https://github.com/papra-app/papra/issues"
+ "url": "https://github.com/papra-hq/papra/issues"
},
"keywords": [
"papra",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d91911ff..e3ede161 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -272,8 +272,8 @@ importers:
specifier: ^0.0.3
version: 0.0.3
'@papra/lecture':
- specifier: ^0.0.7
- version: 0.0.7
+ specifier: workspace:*
+ version: link:../../packages/lecture
'@papra/webhooks':
specifier: workspace:*
version: link:../../packages/webhooks
@@ -479,6 +479,46 @@ importers:
specifier: 'catalog:'
+ packages/lecture:
+ dependencies:
+ '@corentinth/chisels':
+ specifier: ^1.3.1
+ version: 1.3.1
+ tesseract.js:
+ specifier: ^6.0.0
+ version: 6.0.0
+ unpdf:
+ specifier: ^0.12.1
+ version: 0.12.1
+ devDependencies:
+ '@antfu/eslint-config':
+ specifier: 'catalog:'
+ '@types/node':
+ specifier: 'catalog:'
+ version: 22.15.21
+ '@vitest/coverage-v8':
+ specifier: 'catalog:'
+ eslint:
+ specifier: 'catalog:'
+ version: 9.27.0([email protected])
+ mime:
+ specifier: ^4.0.6
+ version: 4.0.7
+ tinyglobby:
+ specifier: ^0.2.10
+ version: 0.2.14
+ typescript:
+ specifier: 'catalog:'
+ version: 5.8.3
+ unbuild:
+ specifier: ^3.3.1
+ vitest:
+ specifier: 'catalog:'
+ version: 3.1.3(@types/[email protected])(@types/[email protected])([email protected])
+
packages/webhooks:
dependencies:
'@corentinth/chisels':
@@ -2549,9 +2589,6 @@ packages:
cpu: [x64]
os: [win32]
- '@papra/[email protected]':
- resolution: {integrity: sha512-32r+YDDzYghqyFmRcro8CsqmN9H6jH9K6zW6kbMXTAVCJRMgDk+zaFGdDfxCIkQGr10ElteWsxiNOT7wPDe2GQ==}
-
'@paralleldrive/[email protected]':
resolution: {integrity: sha512-ZOBkgDwEdoYVlSeRbYYXs0S9MejQofiVYoTbKzy/6GQa39/q5tQU2IX46+shYnUkpEl3wc+J6wRlar7r2EK2xA==}
@@ -3228,9 +3265,6 @@ packages:
resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==}
- '@types/[email protected]':
- resolution: {integrity: sha512-v1DKRfUdyW+jJhZNEI1PYy29S2YRxMV5AOO/x/SjKmW0acCIOqmbj6Haf9eHAhsPmrhlHSxEhv/1WszcLWV4cg==}
-
resolution: {integrity: sha512-EV/37Td6c+MgKAbkcLG6vqZ2zEYHD7bvSrzqqs2RIhbA6w3x+Dqz8MZM3sP6kGTeLrdoOgKZe+Xja7tUB2DNkQ==}
@@ -3294,10 +3328,6 @@ packages:
resolution: {integrity: sha512-6EIvbE5cNER8sqBu6V7+KeMZIC1664d2Yjt+B9EWUXrsyWpxx4lEZrmvxgSKRC6gX+efDL/UY9OpPZ267io3mg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-knO8UyF78Nt8O/B64i7TlGXod69ko7z6vJD9uhSlm0qkAbGeRUSudcm0+K/4CrRjrpiHfBCjMWlc08Vav1xwcw==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-7IsIaIDeZn7kffk7qXC3o6Z4UblZJKV3UBpkvRNpr5NSyLji7tvTcvmnMNYuYLyh26mN8W723xpo3i4MlD33vA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -3321,10 +3351,6 @@ packages:
resolution: {integrity: sha512-n4THUQW27VmQMx+3P+B0Yptl7ydfceUj4ON/AQILAASwgYdZ/2dhfymRMh5egRUrvK5lSmaOm77Ry+lmXPOgBQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-Ch8oSjVyYyJxPQk8pMiP2FFGYatqXQfQIaMp+TpuuLlDachRWpUAeEu1u9B/v/8LToehUIWyiKcA/w5hUFRKuQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-YmybwXUJcgGqgAp6bEsgpPXEg6dcCyPyCSr0CAAueacR/CCBi25G3V8gGQ2kRzQRBNol7VQknxMs9HvVa9Rvfg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -3347,12 +3373,6 @@ packages:
peerDependencies:
typescript: '>=4.8.4 <5.9.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-xLmgn4Yl46xi6aDSZ9KkyfhhtnYI15/CvHbpOy/eR5NWhK/BK8wc709KKwhAR0m4ZKRP7h07bm4BWUYOCuRpQQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- peerDependencies:
- typescript: '>=4.8.4 <5.9.0'
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-Y3AP9EIfYwBb4kWGb+simvPaqQoT5oJuzzj9m0i6FCY6SPvlomY2Ei4UEMm7+FXtlNJbor80ximyslzaQF6xhg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -3373,13 +3393,6 @@ packages:
eslint: ^8.57.0 || ^9.0.0
typescript: '>=4.8.4 <5.8.0'
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-qi6uPLt9cjTFxAb1zGNgTob4x9ur7xC6mHQJ8GwEzGMGE9tYniublmJaowOJ9V2jUzxrltTPfdG2nKlWsq0+Ww==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- peerDependencies:
- eslint: ^8.57.0 || ^9.0.0
- typescript: '>=4.8.4 <5.9.0'
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-DsSFNIgLSrc89gpq1LJB7Hm1YpuhK086DRDJSNrewcGvYloWW1vZLHBTIvarKZDcAORIy/uWNx8Gad+4oMpkSA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -3399,10 +3412,6 @@ packages:
resolution: {integrity: sha512-AjOC3zfnxd6S4Eiy3jwktJPclqhFHNyd8L6Gycf9WUPoKZpgM5PjkxY1X7uSy61xVpiJDhhk7XT2NVsN3ALTWg==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-QcGHmlRHWOl93o64ZUMNewCdwKGU6WItOU52H0djgNmn1EOrhVudrDzXz4OycCRSCPwFCDrE2iIt5vmuUdHxuQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-ar0tjQfObzhSaW3C3QNmTc5ofj0hDoNQ5XWrCy6zDyabdr0TWhCkClp+rywGNj/odAFBVzzJrK4tEq5M4Hmu4w==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -6029,6 +6038,11 @@ packages:
resolution: {integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==}
engines: {node: '>= 0.6'}
+ resolution: {integrity: sha512-2OfDPL+e03E0LrXaGYOtTFIYhiuzep94NSsuhrNULq+stylcJedcHdzHtz0atMUuGwJfFYs0YL5xeC/Ca2x0eQ==}
+ engines: {node: '>=16'}
+ hasBin: true
+
resolution: {integrity: sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==}
engines: {node: '>=18'}
@@ -9889,7 +9903,7 @@ snapshots:
'@eslint/[email protected]':
dependencies:
'@eslint/object-schema': 2.1.6
- debug: 4.4.0
+ debug: 4.4.1
minimatch: 3.1.2
transitivePeerDependencies:
- supports-color
@@ -9911,7 +9925,7 @@ snapshots:
'@eslint/[email protected]':
dependencies:
ajv: 6.12.6
- debug: 4.4.0
+ debug: 4.4.1
espree: 10.3.0
globals: 14.0.0
ignore: 5.3.2
@@ -10419,15 +10433,6 @@ snapshots:
'@pagefind/[email protected]':
optional: true
- '@papra/[email protected]':
- dependencies:
- '@corentinth/chisels': 1.3.1
- tesseract.js: 6.0.0
- unpdf: 0.12.1
- transitivePeerDependencies:
- - encoding
- - supports-color
-
'@paralleldrive/[email protected]':
dependencies:
'@noble/hashes': 1.6.1
@@ -11118,7 +11123,7 @@ snapshots:
dependencies:
- '@typescript-eslint/utils': 8.31.0([email protected]([email protected]))([email protected])
+ '@typescript-eslint/utils': 8.32.1([email protected]([email protected]))([email protected])
eslint: 9.27.0([email protected])
eslint-visitor-keys: 4.2.0
espree: 10.3.0
@@ -11199,7 +11204,7 @@ snapshots:
dependencies:
- '@types/node': 22.15.18
+ '@types/node': 22.15.21
dependencies:
@@ -11235,10 +11240,6 @@ snapshots:
'@types/[email protected]': {}
- '@types/[email protected]':
- dependencies:
- undici-types: 6.21.0
-
dependencies:
undici-types: 6.21.0
@@ -11261,7 +11262,7 @@ snapshots:
dependencies:
- '@types/node': 22.15.18
+ '@types/node': 22.15.21
'@types/[email protected]': {}
@@ -11317,11 +11318,6 @@ snapshots:
'@typescript-eslint/types': 8.26.1
'@typescript-eslint/visitor-keys': 8.26.1
- '@typescript-eslint/[email protected]':
- dependencies:
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/visitor-keys': 8.31.0
-
'@typescript-eslint/[email protected]':
dependencies:
'@typescript-eslint/types': 8.32.1
@@ -11344,8 +11340,6 @@ snapshots:
'@typescript-eslint/[email protected]': {}
- '@typescript-eslint/[email protected]': {}
-
'@typescript-eslint/[email protected]': {}
'@typescript-eslint/[email protected]([email protected])':
@@ -11390,20 +11384,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]([email protected])':
- dependencies:
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/visitor-keys': 8.31.0
- debug: 4.4.1
- fast-glob: 3.3.3
- is-glob: 4.0.3
- minimatch: 9.0.5
- semver: 7.7.2
- ts-api-utils: 2.1.0([email protected])
- typescript: 5.8.3
- transitivePeerDependencies:
- - supports-color
-
'@typescript-eslint/[email protected]([email protected])':
dependencies:
'@typescript-eslint/types': 8.32.1
@@ -11440,17 +11420,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- dependencies:
- '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
- '@typescript-eslint/scope-manager': 8.31.0
- '@typescript-eslint/types': 8.31.0
- '@typescript-eslint/typescript-estree': 8.31.0([email protected])
- eslint: 9.27.0([email protected])
- typescript: 5.8.3
- transitivePeerDependencies:
- - supports-color
-
dependencies:
'@eslint-community/eslint-utils': 4.7.0([email protected]([email protected]))
@@ -11477,11 +11446,6 @@ snapshots:
'@typescript-eslint/types': 8.26.1
eslint-visitor-keys: 4.2.0
- '@typescript-eslint/[email protected]':
- dependencies:
- '@typescript-eslint/types': 8.31.0
- eslint-visitor-keys: 4.2.0
-
'@typescript-eslint/[email protected]':
dependencies:
'@typescript-eslint/types': 8.32.1
@@ -11738,7 +11702,7 @@ snapshots:
dependencies:
'@ampproject/remapping': 2.3.0
'@bcoe/v8-coverage': 1.0.2
- debug: 4.4.0
+ debug: 4.4.1
istanbul-lib-coverage: 3.2.2
istanbul-lib-report: 3.0.1
istanbul-lib-source-maps: 5.0.6
@@ -13124,7 +13088,7 @@ snapshots:
dependencies:
- '@es-joy/jsdoccomment': 0.50.0
+ '@es-joy/jsdoccomment': 0.50.1
eslint: 9.27.0([email protected])
@@ -13204,7 +13168,7 @@ snapshots:
dependencies:
- '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.7.0([email protected]([email protected]))
eslint: 9.27.0([email protected])
eslint-compat-utils: 0.6.4([email protected]([email protected]))
eslint-json-compat-utils: 0.2.1([email protected]([email protected]))([email protected])
@@ -13403,7 +13367,7 @@ snapshots:
dependencies:
- '@eslint-community/eslint-utils': 4.5.1([email protected]([email protected]))
+ '@eslint-community/eslint-utils': 4.7.0([email protected]([email protected]))
'@eslint-community/regexpp': 4.12.1
'@eslint/config-array': 0.20.0
'@eslint/config-helpers': 0.2.1
@@ -13419,7 +13383,7 @@ snapshots:
ajv: 6.12.6
chalk: 4.1.2
cross-spawn: 7.0.6
- debug: 4.4.0
+ debug: 4.4.1
escape-string-regexp: 4.0.0
eslint-scope: 8.3.0
eslint-visitor-keys: 4.2.0
@@ -14473,8 +14437,8 @@ snapshots:
dependencies:
- '@babel/parser': 7.27.2
- '@babel/types': 7.27.1
+ '@babel/parser': 7.27.5
+ '@babel/types': 7.27.6
source-map-js: 1.2.1
@@ -15055,6 +15019,8 @@ snapshots:
dependencies:
mime-db: 1.54.0
+
@@ -17015,7 +16981,7 @@ snapshots:
'@vitest/spy': 3.1.3
'@vitest/utils': 3.1.3
chai: 5.2.0
- debug: 4.4.0
+ debug: 4.4.1
expect-type: 1.2.1
magic-string: 0.30.17
pathe: 2.0.3
@@ -17053,7 +17019,7 @@ snapshots:
'@vitest/spy': 3.1.3
'@vitest/utils': 3.1.3
chai: 5.2.0
- debug: 4.4.0
+ debug: 4.4.1
expect-type: 1.2.1
magic-string: 0.30.17
pathe: 2.0.3