mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-22 00:05:51 +00:00
feat: 删除 npm deprecation-warning 的黄色指引
This commit is contained in:
@@ -2,7 +2,8 @@ import { isInBundledMode } from 'src/utils/bundledMode.js';
|
|||||||
import { getCurrentInstallationType } from 'src/utils/doctorDiagnostic.js';
|
import { getCurrentInstallationType } from 'src/utils/doctorDiagnostic.js';
|
||||||
import { isEnvTruthy } from 'src/utils/envUtils.js';
|
import { isEnvTruthy } from 'src/utils/envUtils.js';
|
||||||
import { useStartupNotification } from './useStartupNotification.js';
|
import { useStartupNotification } from './useStartupNotification.js';
|
||||||
const NPM_DEPRECATION_MESSAGE = 'Claude Code has switched from npm to native installer. Run `claude install` or see https://docs.anthropic.com/en/docs/claude-code/getting-started for more options.';
|
const NPM_DEPRECATION_MESSAGE = '';
|
||||||
|
// const NPM_DEPRECATION_MESSAGE = 'Claude Code has switched from npm to native installer. Run `claude install` or see https://docs.anthropic.com/en/docs/claude-code/getting-started for more options.';
|
||||||
export function useNpmDeprecationNotification() {
|
export function useNpmDeprecationNotification() {
|
||||||
useStartupNotification(_temp);
|
useStartupNotification(_temp);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user