bake-modernize 0.41.0 → 0.42.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.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/bake/modernize/copilot.rb +15 -0
- data/bake/modernize.rb +1 -0
- data/lib/bake/modernize/version.rb +1 -1
- data/template/copilot/.github/copilot-instructions.md +24 -0
- data/template/releases/bake.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af91b0eedefe695477b1266a79792db2b9bf6a80e70ce727ae73de1aa60ac2a8
|
4
|
+
data.tar.gz: e8ebc01396a2c34345083c43dfb72bc1c7388ac4e17826bc549820749f0f33d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8d7030d77bce74d27bd33287d93a5e1f5c92a8b10400c84ab26a1f118bbfa4b2383bedd0aa16fcf70a297fdcaf578fc022bd2b19857a20a4bae72c56b4105c3
|
7
|
+
data.tar.gz: dde5142b11e6a4f03d9b9370a4edd927953c247e7ec64965503b2c6048023ba7b07ee02ee18e1422d2ba2375d7e96b8ab71e168050bc2b6937273975fb47827b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Released under the MIT License.
|
4
|
+
# Copyright, 2020-2024, by Samuel Williams.
|
5
|
+
|
6
|
+
require "bake/modernize"
|
7
|
+
|
8
|
+
def copilot
|
9
|
+
update(root: Dir.pwd)
|
10
|
+
end
|
11
|
+
|
12
|
+
def update(root:)
|
13
|
+
template_root = Bake::Modernize.template_path_for("copilot")
|
14
|
+
Bake::Modernize.copy_template(template_root, root)
|
15
|
+
end
|
data/bake/modernize.rb
CHANGED
@@ -0,0 +1,24 @@
|
|
1
|
+
# GitHub Copilot Instructions
|
2
|
+
|
3
|
+
This project uses `bake` for task automation and project management. To get better assistance from GitHub Copilot when working on this project:
|
4
|
+
|
5
|
+
## Getting Project Context
|
6
|
+
|
7
|
+
Use the following command to install project context for AI agents:
|
8
|
+
|
9
|
+
```bash
|
10
|
+
$ bundle install
|
11
|
+
$ bundle exec bake agent:context:install
|
12
|
+
```
|
13
|
+
|
14
|
+
This command will set up the necessary context files that help AI assistants understand your project structure, dependencies, and conventions.
|
15
|
+
|
16
|
+
## Consulting Project Documentation
|
17
|
+
|
18
|
+
When working on this project, consult the `agent.md` file for project-specific guidelines, architecture decisions, and development patterns. This file contains curated information that will help you and AI assistants make better decisions aligned with the project's goals and standards.
|
19
|
+
|
20
|
+
## Best Practices
|
21
|
+
|
22
|
+
- Always run `bundle install && bundle exec bake agent:context:install` when setting up a new development environment.
|
23
|
+
- Refer to `agent.md` before making significant architectural changes.
|
24
|
+
- Keep the context information up-to-date as the project evolves.
|
data/template/releases/bake.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bake-modernize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.42.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -117,6 +117,7 @@ files:
|
|
117
117
|
- bake/modernize/actions.rb
|
118
118
|
- bake/modernize/contributing.rb
|
119
119
|
- bake/modernize/contributors.rb
|
120
|
+
- bake/modernize/copilot.rb
|
120
121
|
- bake/modernize/editorconfig.rb
|
121
122
|
- bake/modernize/gemfile.rb
|
122
123
|
- bake/modernize/gemspec.rb
|
@@ -137,6 +138,7 @@ files:
|
|
137
138
|
- template/actions/.github/workflows/test-coverage.yaml
|
138
139
|
- template/actions/.github/workflows/test-external.yaml
|
139
140
|
- template/actions/.github/workflows/test.yaml
|
141
|
+
- template/copilot/.github/copilot-instructions.md
|
140
142
|
- template/editorconfig/.editorconfig
|
141
143
|
- template/git/.gitignore
|
142
144
|
- template/readme/readme.md
|
metadata.gz.sig
CHANGED
Binary file
|