mirror of
https://github.com/papra-hq/papra
synced 2026-04-21 13:37:23 +00:00
refactor(packages): renamed docker package to app (#796)
* refactor(packages): renamed docker package to app * Update .changeset/blue-shoes-stare.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
3a4153116c
commit
aaa05a8607
18 changed files with 25 additions and 20 deletions
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
"@papra/docker": patch
|
||||
"@papra/app": patch
|
||||
---
|
||||
|
||||
Tag list: order tags by creation date descending (newest on top)
|
||||
|
|
|
|||
5
.changeset/blue-shoes-stare.md
Normal file
5
.changeset/blue-shoes-stare.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@papra/app": patch
|
||||
---
|
||||
|
||||
Renamed the internal distribution package from `@papra/docker` to `@papra/app`. New release tags will use the format `@papra/app@26.0.0` instead of `@papra/docker@26.0.0`.
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
"@papra/docker": patch
|
||||
"@papra/app": patch
|
||||
---
|
||||
|
||||
When navigating to / and having only one organization, get redirected to that organization
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
"@papra/docker": patch
|
||||
"@papra/app": patch
|
||||
---
|
||||
|
||||
Fix tag automatic search link issue when tags have spaces, before `tag:my tag` would not work, now generate `tag:"my tag"` to fix it.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
"@papra/docker": patch
|
||||
"@papra/app": patch
|
||||
---
|
||||
|
||||
Hide the "Don't have an account? Register" link on the login page when new account registration is disabled.
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
"@papra/docker": patch
|
||||
"@papra/app": patch
|
||||
---
|
||||
|
||||
Added the `has:tags` search filter to check for the presence or absence (`-has:tags` or `NOT has:tags`) of tags on documents.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
"@papra/docker": patch
|
||||
"@papra/app": patch
|
||||
---
|
||||
|
||||
Properly tree-shake all demo assets to reduce the size of production non-demo build. Reducing the bundle assets by ~70kB (~55kB on main chunk + removed demo chunk of ~15kB).
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
"@papra/docker": patch
|
||||
"@papra/app": patch
|
||||
---
|
||||
|
||||
Added Greek language support
|
||||
|
|
|
|||
4
.github/workflows/release-docker.yaml
vendored
4
.github/workflows/release-docker.yaml
vendored
|
|
@ -49,7 +49,7 @@ jobs:
|
|||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
file: ./packages/docker/Dockerfile
|
||||
file: ./packages/app/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
build-args: |
|
||||
|
|
@ -66,7 +66,7 @@ jobs:
|
|||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
file: ./packages/docker/Dockerfile.rootless
|
||||
file: ./packages/app/Dockerfile.rootless
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
build-args: |
|
||||
|
|
|
|||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -48,9 +48,9 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.CHANGESET_GITHUB_TOKEN }}
|
||||
|
||||
- name: Trigger Docker build
|
||||
if: steps.changesets.outputs.published == 'true' && contains(fromJson(steps.changesets.outputs.publishedPackages).*.name, '@papra/docker')
|
||||
if: steps.changesets.outputs.published == 'true' && contains(fromJson(steps.changesets.outputs.publishedPackages).*.name, '@papra/app')
|
||||
run: |
|
||||
VERSION=$(echo '${{ steps.changesets.outputs.publishedPackages }}' | jq -r '.[] | select(.name=="@papra/docker") | .version')
|
||||
VERSION=$(echo '${{ steps.changesets.outputs.publishedPackages }}' | jq -r '.[] | select(.name=="@papra/app") | .version')
|
||||
echo "VERSION: $VERSION"
|
||||
gh workflow run release-docker.yaml -f version="$VERSION"
|
||||
env:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
import StarlightPage from '@astrojs/starlight/components/StarlightPage.astro';
|
||||
import rawChangelog from '../../../../packages/docker/CHANGELOG.md?raw';
|
||||
import rawChangelog from '../../../../packages/app/CHANGELOG.md?raw';
|
||||
import { parseChangelog } from '../changelog-parser';
|
||||
import { renderMarkdown } from '../markdown';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# @papra/docker
|
||||
# @papra/app
|
||||
|
||||
## 26.0.0
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# Docker Package
|
||||
# Papra Application Package
|
||||
|
||||
This package contains Docker images for Papra.
|
||||
This package contains the Papra application, distributed as Docker images.
|
||||
|
||||
## Versioning
|
||||
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@papra/docker",
|
||||
"name": "@papra/app",
|
||||
"version": "26.0.0",
|
||||
"private": true,
|
||||
"description": "Docker image version tracker for Papra, calver-ish versioned.",
|
||||
"description": "Papra application package - document management system (CalVer versioned).",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/papra-hq/papra",
|
||||
"directory": "packages/docker"
|
||||
"directory": "packages/app"
|
||||
},
|
||||
"scripts": {
|
||||
"build:docker:root": "docker build -t papra-local-root -f ./Dockerfile ../..",
|
||||
|
|
@ -629,6 +629,8 @@ importers:
|
|||
specifier: 'catalog:'
|
||||
version: 4.0.3(@types/debug@4.1.12)(@types/node@24.0.10)(jiti@2.6.1)(jsdom@26.0.0)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.20.6)(yaml@2.8.1)
|
||||
|
||||
packages/app: {}
|
||||
|
||||
packages/cli:
|
||||
dependencies:
|
||||
'@clack/prompts':
|
||||
|
|
@ -687,8 +689,6 @@ importers:
|
|||
specifier: 'catalog:'
|
||||
version: 4.0.3(@types/debug@4.1.12)(@types/node@24.0.10)(jiti@2.6.1)(jsdom@26.0.0)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.20.6)(yaml@2.8.1)
|
||||
|
||||
packages/docker: {}
|
||||
|
||||
packages/lecture:
|
||||
dependencies:
|
||||
'@corentinth/chisels':
|
||||
|
|
|
|||
Loading…
Reference in a new issue