feat(claude-code): update package to v0.2.106

- Bumped version of `claude-code` from 0.2.99 to 0.2.106.
- Updated dependencies, hashes, and added Node.js 20 support.
- Ensures compatibility with the latest release and runtime environment.
This commit is contained in:
Harald Hoyer 2025-05-09 13:12:03 +02:00
parent 8d3323df80
commit f731fa5ec1
2 changed files with 14 additions and 11 deletions

View file

@ -5,13 +5,13 @@
"packages": { "packages": {
"": { "": {
"dependencies": { "dependencies": {
"@anthropic-ai/claude-code": "^0.2.99" "@anthropic-ai/claude-code": "^0.2.106"
} }
}, },
"node_modules/@anthropic-ai/claude-code": { "node_modules/@anthropic-ai/claude-code": {
"version": "0.2.99", "version": "0.2.106",
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-0.2.99.tgz", "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-0.2.106.tgz",
"integrity": "sha512-KG+pFtiqSRmrSzcBRtgiPSqu9zaGg7GIlppKLEyDBlTn9M9JJbe1SLY5W8eB2AXC/fro+ePmM9cHzHO+zhkr7g==", "integrity": "sha512-bryGjkA4VhQ4E7McxHVGgectYP/J9zhtkOP9nMNkLPepi5m85tyPHOZgTIhA3R3N7wrIRHPlpMv5y2GjGOo5TQ==",
"hasInstallScript": true, "hasInstallScript": true,
"license": "SEE LICENSE IN README.md", "license": "SEE LICENSE IN README.md",
"dependencies": { "dependencies": {

View file

@ -1,19 +1,22 @@
{ lib {
, buildNpmPackage lib,
, fetchzip buildNpmPackage,
, fetchzip,
nodejs_20,
}: }:
buildNpmPackage rec { buildNpmPackage rec {
pname = "claude-code"; pname = "claude-code";
version = "0.2.99"; version = "0.2.106";
nodejs = nodejs_20;
src = fetchzip { src = fetchzip {
url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz"; url = "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-${version}.tgz";
hash = "sha256-MfzhISp36niovUMPU8vC+a3PTp53PpOHeGacH6nj/PY="; hash = "sha256-hS/aPB4hL1+jeJjIu+ztS2TVLO4lL7IKhBTMXlRO58Y=";
}; };
npmDepsHash = "sha256-pe2WSDovHvAsx4SYr+a/fTRrpYPya68S10mUWvv18M4="; npmDepsHash = "sha256-HZ3d04tLeZkSLACIu79K5QIYpkYNcSyvp07OXIgFdss=";
postPatch = '' postPatch = ''
cp ${./package-lock.json} package-lock.json cp ${./package-lock.json} package-lock.json