upgrade-emitter-version
Skill1.9k starsChanged 8 months agoMITView on GitHub
Use when upgrading Go emitter package and TypeSpec packages in eng/emitter-package.json to their latest versions.
- Installs packages
Trending
Quiet this year.thin dataabout the whole repository
Who's talking about Azure/azure-sdk-for-go
- hashicorp/terraform-provider-azurerm“Support for Flux v2 AKS cluster extension”GitHub · Jan 18, 2022 · 120 reactions
- hashicorp/terraform-provider-azurerm“New Resource request: Azure Data Factory”GitHub · Aug 3, 2018 · 78 reactions
- hashicorp/terraform-provider-azurerm“Support for Azure Red Hat OpenShift (ARO)”GitHub · Jun 7, 2019 · 77 reactions
- hashicorp/terraform-provider-azurerm“New Resource request: Network Watcher Flow Log”GitHub · Aug 15, 2018 · 74 reactions
- hashicorp/terraform-provider-azurerm“Storage Soft Delete Support”GitHub · Apr 4, 2018 · 65 reactions
The biggest 5 of 9 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 9
Talked about on GitHub (9 times).
On GitHub · 9
- Jan 18, 2022Support for Flux v2 AKS cluster extension — hashicorp/terraform-provider-azurerm120 reactions · 17 comments
- Aug 3, 2018New Resource request: Azure Data Factory — hashicorp/terraform-provider-azurerm78 reactions · 8 comments
- Jun 7, 2019Support for Azure Red Hat OpenShift (ARO) — hashicorp/terraform-provider-azurerm77 reactions · 12 comments
- Aug 15, 2018New Resource request: Network Watcher Flow Log — hashicorp/terraform-provider-azurerm74 reactions · 14 comments
- Apr 4, 2018Storage Soft Delete Support — hashicorp/terraform-provider-azurerm65 reactions · 12 comments
4 more on GitHub
- Apr 13, 2022Issue with the size of the API surface of the models package — microsoftgraph/msgraph-sdk-go53 reactions · 105 comments
- Sep 13, 2019AKS: support setting cluster outbound IPs when using standard loadbalancer — hashicorp/terraform-provider-azurerm50 reactions · 4 comments
- May 17, 2022Support for additional properties in azurerm_api_connection — hashicorp/terraform-provider-azurerm42 reactions · 7 comments
- Jun 25, 2019Logic App: Add callback url as attribute of http request trigger — hashicorp/terraform-provider-azurerm37 reactions · 12 comments
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- code-reviewSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Run ncu -u to upgrade all packages in package.json to their latest versions.
- Very specific: line 32
Verify that all versions in package.json are absolute (no ~ or ^ prefixes).
- Very specific: line 40
Run tsp-client generate-lock-file to update emitter-package-lock.json.
- Very specific: line 44
Commit both emitter-package.json and emitter-package-lock.json.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Upgrade Emitter and TypeSpec Versions
Upgrade packages in eng/emitter-package.json to their latest versions.
Prerequisites
- Node.js LTS installed
- npm-check-updates installed globally (
npm install -g npm-check-updates) - tsp-client installed globally (
npm install -g @azure-tools/typespec-client-generator-cli)
Steps
Step 1: Change to the eng directory
Change the working directory to the eng/ folder at the repository root.
Step 2: Rename emitter-package.json to package.json
Rename emitter-package.json to package.json so that ncu can process it.
Step 3: Run ncu to upgrade packages
Run ncu -u to upgrade all packages in package.json to their latest versions.
Step 4: Ensure versions are absolute
Verify that all versions in package.json are absolute (no ~ or ^ prefixes). If any version has a ~ or ^ prefix, remove the prefix so only the version number remains.
Step 5: Rename package.json back to emitter-package.json
Rename package.json back to emitter-package.json.
Step 6: Generate the lock file
Run tsp-client generate-lock-file to update emitter-package-lock.json.
Step 7: Commit the changes
Commit both emitter-package.json and emitter-package-lock.json. Do not commit node_modules or package.json.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

