Skip to content
Closed
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
10 changes: 7 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Dependabot: PR-based notifications when dependencies advance.
#
# - npm: watches the root package.json/lock (includes @kerebron/* pins).
# @kerebron packages are grouped into a single PR so a release train of
# editor + kits + extensions lands together instead of as 10 PRs.
# - npm: watches the root package.json/lock (includes @kerebron/* pins and
# @mieweb/ui). @kerebron packages are grouped into a single PR so a release
# train of editor + kits + extensions lands together instead of as 10 PRs.
# Note: @mieweb/ui is pinned to a `next` prerelease (0.7.1-dev.x) because the
# RichEditor collab work (mieweb/ui#344) merged after v0.7.1 was cut.
# Dependabot will not advance a prerelease pin — move to a caret range once
# mieweb/ui publishes a stable release containing it.
# - gitsubmodule: bumps the vendor/ui (and vendor/meteor-wormhole) submodule
# pointers when their upstream default branches advance. Kerebron bumps
# *inside* vendor/ui must be configured in the mieweb/ui repo itself —
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
# Only init meteor-wormhole — vendor/ui is on a branch not pushed to
# the public mieweb/ui repo, so a full submodules: true would fail.
# The app installs @mieweb/ui from the committed vendor/mieweb-ui.tgz.
# Only init meteor-wormhole — vendor/ui is a source checkout kept for
# local development against the library; the app installs @mieweb/ui
# from the npm registry, so CI has no reason to clone it.
submodules: false

- name: Init meteor-wormhole submodule
Expand Down
12 changes: 8 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ packages/*/node_modules
coverage
dist

# pnpm content-addressable store (local package cache, hundreds of MB)
.pnpm-store/

# Environment files — all variants, keep only .env.example if one exists
.env*
!.env.example
Expand Down Expand Up @@ -54,10 +57,11 @@ meteor-backend/.meteor/local-test/
backend/nginx-apple-proxy.conf
meteor-backend/start-rosetta.sh

# Local working clone of github.com/mieweb/ui — has its own .git, so committing
# it would record a gitlink with no matching .gitmodules entry. @mieweb/ui is
# consumed from npm; nothing in this project reads vendor/ui.
vendor/ui/
# Local working clone of github.com/mieweb/ui — tracked as a submodule and used
# to build vendor/mieweb-ui.tgz, which is what @mieweb/ui actually resolves to.
# Its build output is ignored; the submodule pointer itself stays tracked.
vendor/ui/dist/
vendor/ui/node_modules/

# Database backups (migration and production backups)
backups/
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
dist
node_modules
.pnpm-store
*.lock
coverage
ios
Expand Down
10 changes: 0 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ COPY packages/README.md ./packages/
COPY meteor-backend/package.json meteor-backend/package-lock.json ./meteor-backend/
COPY scripts ./scripts

# @mieweb/ui is installed from a committed tarball (see package.json:
# "@mieweb/ui": "file:vendor/mieweb-ui.tgz") — the vendor/ui submodule branch is
# not pushed to the public mieweb/ui repo, so it can't be built here. Copy the
# tarball before install so npm can resolve the file: dependency.
COPY vendor/mieweb-ui.tgz ./vendor/mieweb-ui.tgz

# Install all dependencies (dev included — needed for Vite build + Meteor).
RUN npm install
RUN cd meteor-backend && npm install
Expand Down Expand Up @@ -81,10 +75,6 @@ WORKDIR /app
# Root production deps (serve, etc.)
COPY package.json package-lock.json ./
COPY scripts ./scripts
# @mieweb/ui resolves to file:vendor/mieweb-ui.tgz — copy it so the install can
# resolve the dependency (it's bundled into dist/ at build time, but npm still
# needs the file present to satisfy the manifest).
COPY vendor/mieweb-ui.tgz ./vendor/mieweb-ui.tgz
RUN npm install --production

# Copy pre-built artifacts from builder — no source, no Meteor, no vendor
Expand Down
2 changes: 2 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ export default [
'backend/data/videos',
'backend/data/videos/**',
'node_modules',
// pnpm's local content-addressable store — third-party package sources
'.pnpm-store',
'**/scheduler.worker.js',
'_build',
'build',
Expand Down
Loading
Loading