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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04e6b089be2dd16efd3f77d05a257ee8c4f3a8ef5629bd9263946868c1a263f0
4
- data.tar.gz: 40607b60b6f7b0f8bf60b012859d02a23c2f25b9af509e91784543847a17458d
3
+ metadata.gz: af91b0eedefe695477b1266a79792db2b9bf6a80e70ce727ae73de1aa60ac2a8
4
+ data.tar.gz: e8ebc01396a2c34345083c43dfb72bc1c7388ac4e17826bc549820749f0f33d9
5
5
  SHA512:
6
- metadata.gz: d281699fed06fcc76a735acf7dbe16206f2efc205cd94c451a236aa8fbe1fbee35cc50ac5a7d431205481bc4571e0b2c39f82174a563d9899459b2ac5df616ef
7
- data.tar.gz: e6b5215f579edff838d5e3b3a8808de4c8ca21664a23e50a40829d942e0370f4558144157669f6f33e528325094986f50a278d928df5c9a38ae3d27b3a3434bb
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
@@ -15,5 +15,6 @@ def modernize
15
15
  "modernize:gemspec",
16
16
  "modernize:license",
17
17
  "modernize:contributing",
18
+ "modernize:copilot",
18
19
  )
19
20
  end
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Bake
7
7
  module Modernize
8
- VERSION = "0.41.0"
8
+ VERSION = "0.42.0"
9
9
  end
10
10
  end
@@ -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.
@@ -8,5 +8,5 @@
8
8
  # @parameter version [String] The new version number.
9
9
  def after_gem_release_version_increment(version)
10
10
  context["releases:update"].call(version)
11
- context["utopia:project:readme:update"].call
11
+ context["utopia:project:update"].call
12
12
  end
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.41.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