@biffo/cli 0.270.0 → 0.271.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"""Inert placeholder — see `_skeletons/sibling-template`'s copy for the real guard.
|
|
2
|
-
|
|
3
|
-
biffo-template#1330. `shared-files.json`'s `filesFromSkeleton` parity check
|
|
4
|
-
(`cli/src/lib/shared-files-parity.test.ts`) requires every entry to exist in
|
|
5
|
-
every skeleton the marker table can select, so a missing copy can never be a
|
|
6
|
-
silent empty-copy hazard — the same reasoning already applied to
|
|
7
|
-
`.prettierrc`/`.prettierignore` for #1343, where a plugin repo carries an
|
|
8
|
-
inert copy of a file it has no functional use for.
|
|
9
|
-
|
|
10
|
-
This guard has no meaning for a plugin repo. The real file asserts that every
|
|
11
|
-
literal `/api/v1/...` call a sibling app's frontend makes resolves to a route
|
|
12
|
-
that app's own BFF (`services/api`) registers, reading both halves from
|
|
13
|
-
`api.main.app` and `apps/frontend/src/**` — a plugin repo has neither of
|
|
14
|
-
those trees: it mounts into a host application rather than owning a
|
|
15
|
-
frontend-to-BFF seam of its own.
|
|
16
|
-
|
|
17
|
-
Deliberately NOT the real file's content. The real guard imports `fastapi`
|
|
18
|
-
and `starlette` and does `from api.main import app`; none of those are a
|
|
19
|
-
dependency or a module this skeleton ships, so a verbatim copy would fail
|
|
20
|
-
`pyright` (which walks the whole tree, `[tool.pyright]` in `pyproject.toml`
|
|
21
|
-
carries no exclude for this path) on every plugin repo scaffolded from it.
|
|
22
|
-
`pytest` is not at risk either way — `[tool.pytest.ini_options]`'s
|
|
23
|
-
`testpaths = ["tests"]` already excludes this directory from collection — but
|
|
24
|
-
`pyright` and `ruff check .` are not scoped the same way, so this stub has to
|
|
25
|
-
be syntactically inert on its own: no imports, no names, nothing to check.
|
|
26
|
-
"""
|