Skip to content

Remove lock files from cookiecutter templates#31

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/remove-lock-files-complexity
Draft

Remove lock files from cookiecutter templates#31
Copilot wants to merge 3 commits intomainfrom
copilot/remove-lock-files-complexity

Conversation

Copy link
Contributor

Copilot AI commented Jan 8, 2026

Lock files committed in cookiecutter templates create unnecessary template bloat and prevent fresh dependency resolution for each generated project.

Changes

  • TypeScript template: Removed yarn.lock (4190 lines)
  • Python pipeline: Updated cache key from hashFiles('poetry.lock') to hashFiles('**/pyproject.toml') since generated projects don't have lock files initially
  • TypeScript pipeline: Added --no-immutable flag to yarn install to allow lock file creation during CI builds

Lock files now generate on first install rather than being vendored in templates.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • cdn.functions.azure.com
    • Triggering command: /usr/local/bin/node /usr/local/bin/node lib/install.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Remove lock files to remove complexity in the cookiecutter template for python poetry and nodejs package.json and ensure the pipelines pass when they install and build the projects when generated.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits January 8, 2026 07:36
- Removed yarn.lock from TypeScript template to reduce complexity
- Updated Python pipeline cache key to use pyproject.toml instead of poetry.lock

Co-authored-by: colbytimm <9142921+colbytimm@users.noreply.github.com>
- Changed from borales/actions-yarn to direct yarn commands
- Added --no-immutable flag to allow yarn.lock creation during install

Co-authored-by: colbytimm <9142921+colbytimm@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove lock files from cookiecutter template Remove lock files from cookiecutter templates Jan 8, 2026
Copilot AI requested a review from colbytimm January 8, 2026 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants