Repository navigation
Conversation
copier copy --overwrite --vcs-ref v1.3.1 https://github.com/whatsaaaa/template.git with form-builder's answers, as rendered: the next commit puts back the project lines and removes the package tsconfigs the template renders for a packages/form-builder that form-builder does not have.
Keeps the template's managed files and restores only what form-builder needs: - pnpm-workspace.yaml: the frameworks/* and integration workspaces, the allowBuilds entries with their reason, the catalog, peerDependencyRules and packageExtensions. - .gitignore: the VitePress cache and build output of the docs site. - .oxlintrc.json: the override that keeps Node's globals off. - oxfmt.config.ts: the generated files it leaves alone and the docs' 76-column width, and .copier-answers.yml, which Copier writes in a style oxfmt would change. - eslint.config.ts: form-builder's own config (the boundaries rules, the React hooks and the Vue and test blocks). - tsconfig.json and apps/docs/tsconfig.json: form-builder's own, which type-check the root configs and the VitePress app as before. - ci.yml: the coverage, docs, packages, peer-floor, node-22 and consumer-smoke jobs, and cancel-in-progress off on main for Codecov; release.yml: the npm environment and pre mode comment; pages.yml: the docs paths, docs:build, the VitePress output and full history. Removes the tsconfigs the template renders for a package at packages/form-builder, which form-builder does not have: its packages are schema, affects, fills and the two frameworks. A copier update does not add back a managed file the project deleted.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Move form-builder onto the shared whatsaaaa template with Copier, the last of its planned moves, so its managed files come from the template from now on and
copier updatecarries template changes to it. The move also cleans.gitignoreand replaces the staleminimumReleaseAgeExcludeentry, and changes no behaviour. Codecov, size-limit, the peer-floor and canary jobs, consumer-smoke, the boundaries rules,CONTRIBUTING.mdand changesets' pre mode stay form-builder's own.What Changed
.copier-answers.yml, which records a render ofwhatsaaaa/templateatv1.3.1(library, Vue, monorepo, pages and publish on), and brings in the template's repository files:.editorconfig:root = trueand[*]defaults; the 100-column limit now applies to more file types; Markdown keeps trailing whitespace..gitattributes: marks image, PDF and font files as binary..gitignore: drops the Cypress, Vite, Vitest and old editor entries and adds.env*andThumbs.db.pnpm-workspace.yaml: listspackages/*first and movesminimumReleaseAgeExclude: '@whatsaaaa/*'to the top. Its old comment about the docs theme's design-system release is replaced with one saying our own packages are allowed in as soon as they are published. TheallowBuildsexplanation is now a comment inside that block.pnpm-lock.yaml,.github/assetsand.copier-answers.yml, and oxlint ignores**/dist. The VS Code extension list is reordered and the comments inci.ymlandpages.ymlare reworded to match the template. Workflow behavior is unchanged.How it was rendered
copier copy --overwrite --vcs-ref v1.3.1 https://github.com/whatsaaaa/template.gitover the existing tree..copier-answers.ymlrecords_commit: v1.3.1. The first commit is the raw render; the second puts back the project lines.The answers come from the template's answers file for form-builder:
stack: typescript,kind: library,workspace: monorepo,publish: true,pages: trueand the description. The rest are each chosen to match form-builder today:name: form-builder,visibility: public(the GitHub repository is public)starter: false: form-builder has its own packages, sources and testsframework: vue: ESLint runs withvue: true, oxlint extendsvue.jsonand the editor recommendations include Volardesign_system: false: nothing is linted with stylelint todaybrowser_tests: false: form-builder has no Playwright testsbrand_kit: form-builder: the README header is that kit's, byte-identical to the template's copylicense: MIT,copyright_year: 2026, as inLICENSEagents_md: false: form-builder has noAGENTS.mdorCLAUDE.mdWith
starter: false, v1.3.1 renders no seededpackage.json, config or page that assumes the template's layout. The one seeded file it renders,README.md, already exists and was skipped.LICENSE,renovate.json,.changeset/and the README header come out identical to what form-builder has.Project lines restored, and why
pnpm-workspace.yamlframeworks/*andintegrationworkspaces; theallowBuildsentries with their reason; the catalog,peerDependencyRulesandpackageExtensions.gitignore**/.vitepress/cache,**/.vitepress/dist.oxlintrc.jsonoxfmt.config.ts.copier-answers.ymleslint.config.tswhatsaaaa({ vue: true })tsconfig.json,apps/docs/tsconfig.jsonnode.json,tests) and its docs app (a Vite page) would type-check the root configs and the VitePress app differently.github/workflows/ci.ymlcancel-in-progressoff onmainmainrun.github/workflows/pages.ymlbuild-script: docs:build, the VitePress output path,fetch-depth: 0and the header commentlastUpdatedreads the git history.github/workflows/release.ymlprepackand pre modeThe second commit also deletes
packages/form-builder/tsconfig.jsonandtsconfig.build.json, which the template renders for a package atpackages/form-builder. form-builder's packages have other names, andcopier updatedoes not add back a managed file the project deleted.Checked against main
At
mainand at this branch, each run the same way: frozen install,format:check,lint(no auto-fixes),type-check,test(same test counts),build, the generated docs up to date,docs:build,lint:pkg,size,test:coverage, andconsumer-smokewith the lowest peers on Node 24.12 and 20.19 and with the latest peers, all pass. The published packages' build output is byte-identical. The docs site is the same apart from what differs between any two VitePress builds (asset hashes and the code-group tab ids). No published file changes, so there is no changeset.Repository settings
form-builder's required checks are listed explicitly in the template's settings answers, because its CI runs jobs beyond the shared
ci / check, and they must stay explicit.Template follow-ups
.attwcomment in.gitignorenameslint:package; form-builder's scripts are stilllint:pkg. Renaming them to the template's name is a separate move-only pull request..gitignorehas no VitePress block for a library's docs app, so form-builder adds its own.tsconfig.jsonand the docs app'stsconfig.jsonassume the template's layout. form-builder keeps its own, so any template change to either conflicts.ci.ymlrenderscancel-in-progress: true. A project that needs everymainrun, as form-builder does for Codecov, keeps its own line, which conflicts with any template change to it..copier-answers.ymlis not oxfmt-clean when the description wraps. The template'soxfmt.config.tsshould ignore it, as design-system's does too.Risk Assessment
✅ Low: The net diff only touches config, comments and ignore lists. Everything the intent says stays form-builder's own is still in place, verified against base and the intermediate template render: Codecov, size-limit, the peer-floor and canary jobs, consumer-smoke, the ESLint boundaries config, CONTRIBUTING.md, release/pre mode and the pnpm catalog/peer rules. No tracked file becomes ignored, and the only issue found is one inaccurate comment the template renders.
Testing
This is a repo-tooling change, so I tested it through the tools that read these files, on throwaway clones and projects inside the worktree (all removed afterwards). Copier -copier updateat the recorded v1.3.1 changes nothing. -copier recopyat v1.3.1 reproduces commit 13ab970 exactly, apart from the packages/form-builder tsconfigs that d0b7cac deliberately deleted. - I built a local copy of the template with four changes, tagged it v1.3.2, and rancopier updateagainst it. It merged without conflicts and kept every form-builder job (coverage, docs, packages, valibot-min, react-18, adapters-min, node-22, consumer-smoke-min). It did not add back packages/form-builder. pnpm -pnpm install --frozen-lockfilepasses. - pnpm finds the same 9 workspace projects as before. Parsed, the workspace YAML is unchanged apart from the order of thepackagesglobs. - Release-age exclude: under a 100-year age gate (pnpm 11.27, which applies the gate),@whatsaaaa/tsconfigis let through with the exclude entry and held back without it. git - After install, build, pack and the docs build, the tree shows nothing untracked. dist, .attw and .vitepress/dist are ignored. - New .gitignore lines work: .env, .env.production and Thumbs.db are now ignored, and .env.example still is not. - Dropped lines (Vite timestamp files, dist-ssr, logs, cypress,__screenshots__, *.swp, *.suo) are no longer ignored. The builds did not produce any of those files. - No tracked file is newly ignored, and no tracked file has CRLF line endings. -git check-attrconfirms images, PDFs and fonts are binary and *.sh is text with LF endings. Not run - The oxlint**/distand oxfmt.copier-answers.ymlignores: this phase may not run linters or formatters, so the lint phase and CI cover them. - .editorconfig: only editors read it. Overall: every scenario I drove passed. No UI changed, so there are no screenshots; the evidence is command transcripts.pnpm install --frozen-lockfileon the retrofitted repo; it succeeds and pnpm finds the same 9 workspace projects (packages/, apps/, frameworks/*, integration)copier updateat the recorded v1.3.1 in a clean clone; Copier reads .copier-answers.yml and leaves the tree unchangedgit diff --stat 13ab970differs only by the packages/form-builder tsconfigs, which are re-rendered untracked and were deleted in d0b7cac;git diffvs d0b7cac shows…copier update; the template's changes merge without conflicts, form-builder's own CI jobs and pnpm/.gitignore lines survive, and the deleted pa…pnpm build, packing every published package into .attw (the pack step of lint:pkg) andpnpm docs:build, the cleaned .gitignore leaves nothing untrackedgit status --porcelain --untracked-files=allempty; dist, .attw and .vitepress/dist ignored; no Vite…git check-ignore --no-indexon 29 paths, base vs head, with changed rows marked;git ls-files -ci --exclude-standardempty; no CRLF files)git check-attr: png/jpg/gif/webp/ico/pdf/woff/woff2 are binary with diff unset; *.sh text set, eol lf; src/index.ts text auto)ci / check(node-ci.yml: format:check and lint) cover them.Evidence: Frozen pnpm install on d0b7cac
Evidence: pnpm workspace projects and parsed pnpm-workspace.yaml, base vs head
Evidence: git check-ignore matrix, old vs new .gitignore
Evidence: Build, pack and docs build transcript
Evidence: git status after build, pack and docs build
Evidence: copier update at the recorded v1.3.1
Evidence: copier update to a simulated v1.3.2 template release
Evidence: git check-attr, old vs new .gitattributes
Evidence: minimumReleaseAgeExclude with and without the entry
Evidence: pnpm 12.18.0 release-age probe
Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
.gitignore:21- The comment the template renders,# Packed by lint:package for attw to check, names a script form-builder does not have. Here the.attwpack directory is written bylint:pkg(packages/schema/package.json:52, packages/affects/package.json:48, packages/fills/package.json:49, frameworks/vue/package.json:44, frameworks/react/package.json:44, run from .github/workflows/ci.yml:121). Anyone who searches forlint:packagefrom this comment finds nothing. There are two remedies, and choosing between them is your call. (a) In a separate, move-only PR, rename the fivelint:pkgscripts and the ci.yml call to the template'slint:package. (b) Edit this template-managed comment locally to saylint:pkg, which leaves a small difference from the template thatcopier updatewill merge each time.pnpm-workspace.yaml:8- The template comment says pnpm installs no package younger than a day. Under the pinned pnpm 12.18.0, no age gate applied here. A typescript nightly about 9 hours old and @whatsaaaa/design-system 0.13.0 (published 40 minutes earlier) both installed, even with minimumReleaseAge: 1440 set explicitly. As a result, the minimumReleaseAgeExclude entry has no observable effect under pnpm 12.18 here; pnpm 11.27 does apply the gate and the exclude. This is not caused by this change: the entry's value is the same as on main. See s9b-pnpm12-default-release-age-probe.log.pnpm install --frozen-lockfileon the retrofitted repo; it succeeds and pnpm finds the same 9 workspace projects (packages/, apps/, frameworks/*, integration)copier updateat the recorded v1.3.1 in a clean clone; Copier reads .copier-answers.yml and leaves the tree unchangedgit diff --stat 13ab970differs only by the packages/form-builder tsconfigs, which are re-rendered untracked and were deleted in d0b7cac;git diffvs d0b7cac shows…copier update; the template's changes merge without conflicts, form-builder's own CI jobs and pnpm/.gitignore lines survive, and the deleted pa…pnpm build, packing every published package into .attw (the pack step of lint:pkg) andpnpm docs:build, the cleaned .gitignore leaves nothing untrackedgit status --porcelain --untracked-files=allempty; dist, .attw and .vitepress/dist ignored; no Vite…git check-ignore --no-indexon 29 paths, base vs head, with changed rows marked;git ls-files -ci --exclude-standardempty; no CRLF files)git check-attr: png/jpg/gif/webp/ico/pdf/woff/woff2 are binary with diff unset; *.sh text set, eol lf; src/index.ts text auto)ci / check(node-ci.yml: format:check and lint) cover them.pnpm install --frozen-lockfileon d0b7cac in the worktree (pnpm 12.18.0)pnpm ls -r --depth -1 --jsonandpnpm config get minimumReleaseAgeExclude; pnpm-workspace.yaml at ad9a0d9 and d0b7cac parsed with theyamlpackage and compared key by keycopier update --defaults --vcs-ref v1.3.1in a throwaway clone at d0b7cac, thengit status --porcelaincopier recopy --defaults --overwrite --vcs-ref v1.3.1in a throwaway clone, thengit diff --stat 13ab970andgit diffSimulated template release: local copy of whatsaaaa/template v1.3.1 with 4 changes, tagged v1.3.2;.copier-answers.yml_src_pathpointed at it in a throwaway clone;copier update --defaults --vcs-ref v1.3.2; checked for conflict markers and .rej files, whether packages/form-builder came back, and the CI job listpnpm build,pnpm pack --pack-destination .attwin all 5 published packages,pnpm docs:build, thengit status --porcelain --untracked-files=allandgit status --ignoredgit check-ignore --no-indexon 29 paths against the ad9a0d9 and d0b7cac .gitignore files;git ls-files -ci --exclude-standard;git ls-files --eolgit check-attr binary text eol diffon sample paths against the ad9a0d9 and d0b7cac .gitattributes filespnpm add -w @whatsaaaa/tsconfig --config.minimum-release-age=52560000in two throwaway projects: d0b7cac's pnpm-workspace.yaml as is, and the same file without minimumReleaseAgeExclude (pnpm 11.27.0)Probe of pnpm 12.18.0's release-age gate with @whatsaaaa/design-system@^0.13.0 (published 40 min earlier) and a typescript nightly about 9 hours old✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.