pnpm-catalog-updates 1.1.4 → 1.1.6
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.
- package/dist/index.js +509 -41
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/cli/commandRegistrar.ts +3 -3
- package/src/cli/index.ts +28 -9
package/dist/index.js
CHANGED
|
@@ -1119,7 +1119,8 @@ var de = {
|
|
|
1119
1119
|
// CLI messages
|
|
1120
1120
|
"cli.runAgain": "Bitte f\xFChren Sie den Befehl erneut aus, um die aktualisierte Version zu verwenden.",
|
|
1121
1121
|
"cli.checkingUpdates": "Suche nach Updates...",
|
|
1122
|
-
"cli.latestVersion": "
|
|
1122
|
+
"cli.latestVersion": "ist die neueste",
|
|
1123
|
+
"cli.available": "verf\xFCgbar",
|
|
1123
1124
|
"cli.unknownCommand": "Unbekannter Befehl: {{command}}",
|
|
1124
1125
|
"cli.couldNotCheckUpdates": "Updates konnten nicht gepr\xFCft werden:",
|
|
1125
1126
|
"cli.error": "Fehler:",
|
|
@@ -1940,7 +1941,8 @@ var en = {
|
|
|
1940
1941
|
// CLI messages
|
|
1941
1942
|
"cli.runAgain": "Please run your command again to use the updated version.",
|
|
1942
1943
|
"cli.checkingUpdates": "Checking for updates...",
|
|
1943
|
-
"cli.latestVersion": "
|
|
1944
|
+
"cli.latestVersion": "is the latest",
|
|
1945
|
+
"cli.available": "available",
|
|
1944
1946
|
"cli.unknownCommand": "Unknown command: {{command}}",
|
|
1945
1947
|
"cli.couldNotCheckUpdates": "Could not check for updates:",
|
|
1946
1948
|
"cli.error": "Error:",
|
|
@@ -2926,7 +2928,8 @@ var es = {
|
|
|
2926
2928
|
// CLI messages
|
|
2927
2929
|
"cli.runAgain": "Por favor, ejecute el comando nuevamente para usar la versi\xF3n actualizada.",
|
|
2928
2930
|
"cli.checkingUpdates": "Buscando actualizaciones...",
|
|
2929
|
-
"cli.latestVersion": "
|
|
2931
|
+
"cli.latestVersion": "es la \xFAltima",
|
|
2932
|
+
"cli.available": "disponible",
|
|
2930
2933
|
"cli.unknownCommand": "Comando desconocido: {{command}}",
|
|
2931
2934
|
"cli.couldNotCheckUpdates": "No se pudo verificar actualizaciones:",
|
|
2932
2935
|
"cli.error": "Error:",
|
|
@@ -3830,7 +3833,8 @@ var fr = {
|
|
|
3830
3833
|
// CLI messages
|
|
3831
3834
|
"cli.runAgain": "Veuillez relancer la commande pour utiliser la version mise \xE0 jour.",
|
|
3832
3835
|
"cli.checkingUpdates": "Recherche de mises \xE0 jour...",
|
|
3833
|
-
"cli.latestVersion": "
|
|
3836
|
+
"cli.latestVersion": "est la derni\xE8re",
|
|
3837
|
+
"cli.available": "disponible",
|
|
3834
3838
|
"cli.unknownCommand": "Commande inconnue : {{command}}",
|
|
3835
3839
|
"cli.couldNotCheckUpdates": "Impossible de v\xE9rifier les mises \xE0 jour :",
|
|
3836
3840
|
"cli.error": "Erreur :",
|
|
@@ -4734,7 +4738,8 @@ var ja = {
|
|
|
4734
4738
|
// CLI messages
|
|
4735
4739
|
"cli.runAgain": "\u66F4\u65B0\u3055\u308C\u305F\u30D0\u30FC\u30B8\u30E7\u30F3\u3092\u4F7F\u7528\u3059\u308B\u306B\u306F\u3001\u30B3\u30DE\u30F3\u30C9\u3092\u518D\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
4736
4740
|
"cli.checkingUpdates": "\u66F4\u65B0\u3092\u78BA\u8A8D\u3057\u3066\u3044\u307E\u3059...",
|
|
4737
|
-
"cli.latestVersion": "\u6700\u65B0\
|
|
4741
|
+
"cli.latestVersion": "\u6700\u65B0\u7248\u3067\u3059",
|
|
4742
|
+
"cli.available": "\u5229\u7528\u53EF\u80FD",
|
|
4738
4743
|
"cli.unknownCommand": "\u4E0D\u660E\u306A\u30B3\u30DE\u30F3\u30C9: {{command}}",
|
|
4739
4744
|
"cli.couldNotCheckUpdates": "\u66F4\u65B0\u3092\u78BA\u8A8D\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F:",
|
|
4740
4745
|
"cli.error": "\u30A8\u30E9\u30FC:",
|
|
@@ -5638,7 +5643,8 @@ var ko = {
|
|
|
5638
5643
|
// CLI messages
|
|
5639
5644
|
"cli.runAgain": "\uC5C5\uB370\uC774\uD2B8\uB41C \uBC84\uC804\uC744 \uC0AC\uC6A9\uD558\uB824\uBA74 \uBA85\uB839\uC744 \uB2E4\uC2DC \uC2E4\uD589\uD558\uC138\uC694.",
|
|
5640
5645
|
"cli.checkingUpdates": "\uC5C5\uB370\uC774\uD2B8 \uD655\uC778 \uC911...",
|
|
5641
|
-
"cli.latestVersion": "\uCD5C\uC2E0 \uBC84\uC804
|
|
5646
|
+
"cli.latestVersion": "\uCD5C\uC2E0 \uBC84\uC804",
|
|
5647
|
+
"cli.available": "\uC0AC\uC6A9 \uAC00\uB2A5",
|
|
5642
5648
|
"cli.unknownCommand": "\uC54C \uC218 \uC5C6\uB294 \uBA85\uB839: {{command}}",
|
|
5643
5649
|
"cli.couldNotCheckUpdates": "\uC5C5\uB370\uC774\uD2B8\uB97C \uD655\uC778\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4:",
|
|
5644
5650
|
"cli.error": "\uC624\uB958:",
|
|
@@ -6542,7 +6548,8 @@ var zh = {
|
|
|
6542
6548
|
// CLI messages
|
|
6543
6549
|
"cli.runAgain": "\u8BF7\u91CD\u65B0\u8FD0\u884C\u547D\u4EE4\u4EE5\u4F7F\u7528\u66F4\u65B0\u540E\u7684\u7248\u672C\u3002",
|
|
6544
6550
|
"cli.checkingUpdates": "\u6B63\u5728\u68C0\u67E5\u66F4\u65B0...",
|
|
6545
|
-
"cli.latestVersion": "\
|
|
6551
|
+
"cli.latestVersion": "\u5DF2\u662F\u6700\u65B0",
|
|
6552
|
+
"cli.available": "\u53EF\u7528",
|
|
6546
6553
|
"cli.unknownCommand": "\u672A\u77E5\u547D\u4EE4\uFF1A{{command}}",
|
|
6547
6554
|
"cli.couldNotCheckUpdates": "\u65E0\u6CD5\u68C0\u67E5\u66F4\u65B0\uFF1A",
|
|
6548
6555
|
"cli.error": "\u9519\u8BEF\uFF1A",
|
|
@@ -7481,6 +7488,476 @@ var ErrorTracker = class _ErrorTracker {
|
|
|
7481
7488
|
return [..._ErrorTracker.skippedPackages];
|
|
7482
7489
|
}
|
|
7483
7490
|
};
|
|
7491
|
+
|
|
7492
|
+
// ../../packages/utils/src/error-handling/data/packageSuggestions.json
|
|
7493
|
+
var packageSuggestions_default = {
|
|
7494
|
+
sveltekit: ["@sveltejs/kit"],
|
|
7495
|
+
"vue-router": ["vue-router"],
|
|
7496
|
+
"vue-cli": ["@vue/cli"],
|
|
7497
|
+
"angular-cli": ["@angular/cli"],
|
|
7498
|
+
"angular-core": ["@angular/core"],
|
|
7499
|
+
"angular-universal": ["@nguniversal/express-engine", "@angular/universal"],
|
|
7500
|
+
"react-router": ["react-router-dom"],
|
|
7501
|
+
"react-dom": ["react-dom"],
|
|
7502
|
+
nextjs: ["next"],
|
|
7503
|
+
nuxtjs: ["nuxt"],
|
|
7504
|
+
"material-ui": ["@mui/material", "@material-ui/core"],
|
|
7505
|
+
mui: ["@mui/material"],
|
|
7506
|
+
antd: ["antd"],
|
|
7507
|
+
"ant-design": ["antd"],
|
|
7508
|
+
"prime-ng": ["primeng"],
|
|
7509
|
+
primeng: ["primeng"],
|
|
7510
|
+
"ng-zorro": ["ng-zorro-antd"],
|
|
7511
|
+
"bootstrap-vue": ["bootstrap-vue"],
|
|
7512
|
+
vuetify: ["vuetify"],
|
|
7513
|
+
quasar: ["quasar"],
|
|
7514
|
+
"onsen-ui": ["onsenui"],
|
|
7515
|
+
ionic: ["@ionic/angular", "@ionic/react", "@ionic/vue"],
|
|
7516
|
+
tailwindcss: ["tailwindcss"],
|
|
7517
|
+
tailwind: ["tailwindcss"],
|
|
7518
|
+
bulma: ["bulma"],
|
|
7519
|
+
"water-css": ["water.css"],
|
|
7520
|
+
"holiday-css": ["@holiday-css/main"],
|
|
7521
|
+
"wing-css": ["@wing-css/wing"],
|
|
7522
|
+
"picnic-css": ["picnicss"],
|
|
7523
|
+
webpack: ["webpack"],
|
|
7524
|
+
"webpack-cli": ["webpack-cli"],
|
|
7525
|
+
rollup: ["rollup"],
|
|
7526
|
+
vite: ["vite"],
|
|
7527
|
+
parcel: ["parcel"],
|
|
7528
|
+
esbuild: ["esbuild"],
|
|
7529
|
+
swc: ["@swc/core"],
|
|
7530
|
+
jest: ["jest"],
|
|
7531
|
+
vitest: ["vitest"],
|
|
7532
|
+
mocha: ["mocha"],
|
|
7533
|
+
chai: ["chai"],
|
|
7534
|
+
cypress: ["cypress"],
|
|
7535
|
+
playwright: ["@playwright/test"],
|
|
7536
|
+
puppeteer: ["puppeteer"],
|
|
7537
|
+
selenium: ["selenium-webdriver"],
|
|
7538
|
+
webdriver: ["selenium-webdriver"],
|
|
7539
|
+
lambdatest: ["@lambdatest/selenium-webdriver"],
|
|
7540
|
+
applitools: ["@applitools/eyes-selenium"],
|
|
7541
|
+
experitest: ["@experitest/seetest-client"],
|
|
7542
|
+
kobiton: ["@kobiton/api"],
|
|
7543
|
+
crossbrowsertesting: ["@crossbrowsertesting/selenium"],
|
|
7544
|
+
"aws-sdk": ["@aws-sdk/client-s3", "aws-sdk"],
|
|
7545
|
+
"aws-device-farm": ["@aws-sdk/client-device-farm"],
|
|
7546
|
+
firebase: ["firebase"],
|
|
7547
|
+
"firebase-test-lab": ["@google-cloud/testing"],
|
|
7548
|
+
azure: ["@azure/storage-blob", "@azure/cosmos"],
|
|
7549
|
+
"azure-devtest-labs": ["@azure/arm-devtestlabs"],
|
|
7550
|
+
gcp: ["@google-cloud/storage"],
|
|
7551
|
+
mongoose: ["mongoose"],
|
|
7552
|
+
sequelize: ["sequelize"],
|
|
7553
|
+
typeorm: ["typeorm"],
|
|
7554
|
+
prisma: ["@prisma/client"],
|
|
7555
|
+
knex: ["knex"],
|
|
7556
|
+
pg: ["pg"],
|
|
7557
|
+
mysql: ["mysql2"],
|
|
7558
|
+
sqlite: ["sqlite3", "better-sqlite3"],
|
|
7559
|
+
redis: ["redis"],
|
|
7560
|
+
mongodb: ["mongodb"],
|
|
7561
|
+
lodash: ["lodash"],
|
|
7562
|
+
loadash: ["lodash"],
|
|
7563
|
+
underscore: ["underscore"],
|
|
7564
|
+
ramda: ["ramda"],
|
|
7565
|
+
rxjs: ["rxjs"],
|
|
7566
|
+
axios: ["axios"],
|
|
7567
|
+
axois: ["axios"],
|
|
7568
|
+
fetch: ["node-fetch"],
|
|
7569
|
+
"node-fetch": ["node-fetch"],
|
|
7570
|
+
request: ["axios", "node-fetch"],
|
|
7571
|
+
superagent: ["superagent"],
|
|
7572
|
+
moment: ["moment"],
|
|
7573
|
+
momentjs: ["moment"],
|
|
7574
|
+
dayjs: ["dayjs"],
|
|
7575
|
+
"date-fns": ["date-fns"],
|
|
7576
|
+
luxon: ["luxon"],
|
|
7577
|
+
eslint: ["eslint"],
|
|
7578
|
+
prettier: ["prettier"],
|
|
7579
|
+
tslint: ["@typescript-eslint/eslint-plugin"],
|
|
7580
|
+
"typescript-eslint": [
|
|
7581
|
+
"@typescript-eslint/eslint-plugin",
|
|
7582
|
+
"@typescript-eslint/parser"
|
|
7583
|
+
],
|
|
7584
|
+
"types-node": ["@types/node"],
|
|
7585
|
+
"@types-node": ["@types/node"],
|
|
7586
|
+
"types-react": ["@types/react"],
|
|
7587
|
+
"types-express": ["@types/express"],
|
|
7588
|
+
express: ["express"],
|
|
7589
|
+
expressjs: ["express"],
|
|
7590
|
+
fastify: ["fastify"],
|
|
7591
|
+
koa: ["koa"],
|
|
7592
|
+
nestjs: ["@nestjs/core"],
|
|
7593
|
+
nest: ["@nestjs/core"],
|
|
7594
|
+
hapi: ["@hapi/hapi"],
|
|
7595
|
+
redux: ["redux"],
|
|
7596
|
+
mobx: ["mobx"],
|
|
7597
|
+
vuex: ["vuex"],
|
|
7598
|
+
pinia: ["pinia"],
|
|
7599
|
+
zustand: ["zustand"],
|
|
7600
|
+
recoil: ["recoil"],
|
|
7601
|
+
"styled-components": ["styled-components"],
|
|
7602
|
+
"styled-component": ["styled-components"],
|
|
7603
|
+
emotion: ["@emotion/react"],
|
|
7604
|
+
sass: ["sass"],
|
|
7605
|
+
"node-sass": ["sass"],
|
|
7606
|
+
less: ["less"],
|
|
7607
|
+
stylus: ["stylus"],
|
|
7608
|
+
forestadmin: ["forest-express", "forest-express-sequelize"],
|
|
7609
|
+
strapi: ["@strapi/strapi"],
|
|
7610
|
+
keystone: ["@keystone-6/core"],
|
|
7611
|
+
ghost: ["ghost"],
|
|
7612
|
+
storybook: ["@storybook/react", "@storybook/vue3"],
|
|
7613
|
+
docusaurus: ["@docusaurus/core"],
|
|
7614
|
+
gitbook: ["@gitbook/cli"],
|
|
7615
|
+
typedoc: ["typedoc"],
|
|
7616
|
+
electron: ["electron"],
|
|
7617
|
+
tauri: ["@tauri-apps/api"],
|
|
7618
|
+
nwjs: ["nw"],
|
|
7619
|
+
"react-native": ["react-native"],
|
|
7620
|
+
expo: ["expo"],
|
|
7621
|
+
cordova: ["cordova"],
|
|
7622
|
+
phonegap: ["phonegap"],
|
|
7623
|
+
jquery: ["jquery"],
|
|
7624
|
+
boostrap: ["bootstrap"],
|
|
7625
|
+
bootstrap: ["bootstrap"],
|
|
7626
|
+
fontawesome: ["@fortawesome/fontawesome-free"],
|
|
7627
|
+
"font-awesome": ["@fortawesome/fontawesome-free"],
|
|
7628
|
+
"react-i18n": ["react-i18next"],
|
|
7629
|
+
i18n: ["i18next"],
|
|
7630
|
+
i18next: ["i18next"],
|
|
7631
|
+
"vue-i18n": ["vue-i18n"],
|
|
7632
|
+
"react-intl": ["react-intl"],
|
|
7633
|
+
intl: ["intl"],
|
|
7634
|
+
chart: ["chart.js"],
|
|
7635
|
+
chartjs: ["chart.js"],
|
|
7636
|
+
"chart.js": ["chart.js"],
|
|
7637
|
+
d3: ["d3"],
|
|
7638
|
+
d3js: ["d3"],
|
|
7639
|
+
plotly: ["plotly.js"],
|
|
7640
|
+
echarts: ["echarts"],
|
|
7641
|
+
highcharts: ["highcharts"],
|
|
7642
|
+
recharts: ["recharts"],
|
|
7643
|
+
victory: ["victory"],
|
|
7644
|
+
nivo: ["@nivo/core"],
|
|
7645
|
+
observable: ["@observablehq/plot"],
|
|
7646
|
+
"socket.io": ["socket.io"],
|
|
7647
|
+
socketio: ["socket.io"],
|
|
7648
|
+
websocket: ["ws"],
|
|
7649
|
+
ws: ["ws"],
|
|
7650
|
+
webrtc: ["simple-peer"],
|
|
7651
|
+
peer: ["peerjs"],
|
|
7652
|
+
peerjs: ["peerjs"],
|
|
7653
|
+
signalr: ["@microsoft/signalr"],
|
|
7654
|
+
web3: ["web3"],
|
|
7655
|
+
web3js: ["web3"],
|
|
7656
|
+
ethers: ["ethers"],
|
|
7657
|
+
ethersjs: ["ethers"],
|
|
7658
|
+
ethereum: ["web3", "ethers"],
|
|
7659
|
+
metamask: ["@metamask/sdk"],
|
|
7660
|
+
wagmi: ["wagmi"],
|
|
7661
|
+
"rainbow-kit": ["@rainbow-me/rainbowkit"],
|
|
7662
|
+
"wallet-connect": ["@walletconnect/client"],
|
|
7663
|
+
tensorflow: ["@tensorflow/tfjs"],
|
|
7664
|
+
tensorflowjs: ["@tensorflow/tfjs"],
|
|
7665
|
+
tfjs: ["@tensorflow/tfjs"],
|
|
7666
|
+
brain: ["brain.js"],
|
|
7667
|
+
brainjs: ["brain.js"],
|
|
7668
|
+
synaptic: ["synaptic"],
|
|
7669
|
+
"ml-matrix": ["ml-matrix"],
|
|
7670
|
+
opencv: ["opencv4nodejs"],
|
|
7671
|
+
sharp: ["sharp"],
|
|
7672
|
+
jimp: ["jimp"],
|
|
7673
|
+
canvas: ["canvas"],
|
|
7674
|
+
fabric: ["fabric"],
|
|
7675
|
+
fabricjs: ["fabric"],
|
|
7676
|
+
konva: ["konva"],
|
|
7677
|
+
konvajs: ["konva"],
|
|
7678
|
+
p5: ["p5"],
|
|
7679
|
+
p5js: ["p5"],
|
|
7680
|
+
three: ["three"],
|
|
7681
|
+
threejs: ["three"],
|
|
7682
|
+
howler: ["howler"],
|
|
7683
|
+
howlerjs: ["howler"],
|
|
7684
|
+
tone: ["tone"],
|
|
7685
|
+
tonejs: ["tone"],
|
|
7686
|
+
video: ["video.js"],
|
|
7687
|
+
videojs: ["video.js"],
|
|
7688
|
+
hls: ["hls.js"],
|
|
7689
|
+
hlsjs: ["hls.js"],
|
|
7690
|
+
dash: ["dashjs"],
|
|
7691
|
+
dashjs: ["dashjs"],
|
|
7692
|
+
phaser: ["phaser"],
|
|
7693
|
+
phaserjs: ["phaser"],
|
|
7694
|
+
pixijs: ["pixi.js"],
|
|
7695
|
+
pixi: ["pixi.js"],
|
|
7696
|
+
babylonjs: ["babylonjs"],
|
|
7697
|
+
babylon: ["babylonjs"],
|
|
7698
|
+
aframe: ["aframe"],
|
|
7699
|
+
"johnny-five": ["johnny-five"],
|
|
7700
|
+
arduino: ["johnny-five"],
|
|
7701
|
+
"raspberry-pi": ["raspi"],
|
|
7702
|
+
raspi: ["raspi"],
|
|
7703
|
+
serialport: ["serialport"],
|
|
7704
|
+
noble: ["noble"],
|
|
7705
|
+
bluetooth: ["noble"],
|
|
7706
|
+
workbox: ["workbox-webpack-plugin"],
|
|
7707
|
+
"sw-precache": ["workbox-webpack-plugin"],
|
|
7708
|
+
"service-worker": ["workbox-webpack-plugin"],
|
|
7709
|
+
pwa: ["workbox-webpack-plugin"],
|
|
7710
|
+
leaflet: ["leaflet"],
|
|
7711
|
+
mapbox: ["mapbox-gl"],
|
|
7712
|
+
"google-maps": ["@googlemaps/js-api-loader"],
|
|
7713
|
+
googlemaps: ["@googlemaps/js-api-loader"],
|
|
7714
|
+
openlayers: ["ol"],
|
|
7715
|
+
ol: ["ol"],
|
|
7716
|
+
gsap: ["gsap"],
|
|
7717
|
+
anime: ["animejs"],
|
|
7718
|
+
animejs: ["animejs"],
|
|
7719
|
+
lottie: ["lottie-web"],
|
|
7720
|
+
"lottie-web": ["lottie-web"],
|
|
7721
|
+
"framer-motion": ["framer-motion"],
|
|
7722
|
+
"react-spring": ["react-spring"],
|
|
7723
|
+
formik: ["formik"],
|
|
7724
|
+
"react-hook-form": ["react-hook-form"],
|
|
7725
|
+
yup: ["yup"],
|
|
7726
|
+
joi: ["joi"],
|
|
7727
|
+
ajv: ["ajv"],
|
|
7728
|
+
zod: ["zod"],
|
|
7729
|
+
superstruct: ["superstruct"],
|
|
7730
|
+
quill: ["quill"],
|
|
7731
|
+
quilljs: ["quill"],
|
|
7732
|
+
tinymce: ["tinymce"],
|
|
7733
|
+
ckeditor: ["@ckeditor/ckeditor5-build-classic"],
|
|
7734
|
+
slate: ["slate"],
|
|
7735
|
+
slatejs: ["slate"],
|
|
7736
|
+
draft: ["draft-js"],
|
|
7737
|
+
draftjs: ["draft-js"],
|
|
7738
|
+
monaco: ["monaco-editor"],
|
|
7739
|
+
"monaco-editor": ["monaco-editor"],
|
|
7740
|
+
apollo: ["@apollo/client"],
|
|
7741
|
+
"apollo-client": ["@apollo/client"],
|
|
7742
|
+
graphql: ["graphql"],
|
|
7743
|
+
relay: ["react-relay"],
|
|
7744
|
+
urql: ["urql"],
|
|
7745
|
+
swr: ["swr"],
|
|
7746
|
+
"react-query": ["@tanstack/react-query"],
|
|
7747
|
+
"tanstack-query": ["@tanstack/react-query"],
|
|
7748
|
+
reac: ["react"],
|
|
7749
|
+
reactjs: ["react"],
|
|
7750
|
+
veu: ["vue"],
|
|
7751
|
+
vuejs: ["vue"],
|
|
7752
|
+
angualr: ["@angular/core"],
|
|
7753
|
+
svelt: ["svelte"],
|
|
7754
|
+
sveltte: ["svelte"],
|
|
7755
|
+
typescirpt: ["typescript"],
|
|
7756
|
+
typescript: ["typescript"],
|
|
7757
|
+
javasript: ["node"],
|
|
7758
|
+
javascript: ["node"],
|
|
7759
|
+
docker: ["dockerode"],
|
|
7760
|
+
k8s: ["@kubernetes/client-node"],
|
|
7761
|
+
kubernetes: ["@kubernetes/client-node"],
|
|
7762
|
+
kubectl: ["@kubernetes/client-node"],
|
|
7763
|
+
helm: ["@helm/sdk"],
|
|
7764
|
+
jenkins: ["jenkins"],
|
|
7765
|
+
circleci: ["@circleci/circleci-config-sdk"],
|
|
7766
|
+
"github-actions": ["@actions/core", "@actions/github"],
|
|
7767
|
+
"gitlab-ci": ["@gitbeaker/node"],
|
|
7768
|
+
travis: ["@travis-ci/travis-yml"],
|
|
7769
|
+
terraform: ["@cdktf/provider-aws"],
|
|
7770
|
+
ansible: ["@ansible/galaxy"],
|
|
7771
|
+
vagrant: ["vagrant"],
|
|
7772
|
+
consul: ["consul"],
|
|
7773
|
+
vault: ["node-vault"],
|
|
7774
|
+
nomad: ["nomad-client"],
|
|
7775
|
+
winston: ["winston"],
|
|
7776
|
+
morgan: ["morgan"],
|
|
7777
|
+
pino: ["pino"],
|
|
7778
|
+
bunyan: ["bunyan"],
|
|
7779
|
+
log4js: ["log4js"],
|
|
7780
|
+
sentry: ["@sentry/node", "@sentry/react"],
|
|
7781
|
+
bugsnag: ["@bugsnag/js"],
|
|
7782
|
+
rollbar: ["rollbar"],
|
|
7783
|
+
newrelic: ["newrelic"],
|
|
7784
|
+
datadog: ["@datadog/browser-rum"],
|
|
7785
|
+
prometheus: ["prom-client"],
|
|
7786
|
+
grafana: ["@grafana/toolkit"],
|
|
7787
|
+
elastic: ["@elastic/elasticsearch"],
|
|
7788
|
+
elasticsearch: ["@elastic/elasticsearch"],
|
|
7789
|
+
kibana: ["@elastic/kibana-utils"],
|
|
7790
|
+
logstash: ["@elastic/logstash"],
|
|
7791
|
+
microservices: ["express"],
|
|
7792
|
+
"service-mesh": ["istio"],
|
|
7793
|
+
envoy: ["envoy"],
|
|
7794
|
+
istio: ["istio"],
|
|
7795
|
+
linkerd: ["linkerd"],
|
|
7796
|
+
"consul-connect": ["consul"],
|
|
7797
|
+
eureka: ["eureka-js-client"],
|
|
7798
|
+
zookeeper: ["node-zookeeper-client"],
|
|
7799
|
+
etcd: ["etcd3"],
|
|
7800
|
+
grpc: ["@grpc/grpc-js"],
|
|
7801
|
+
protobuf: ["protobufjs"],
|
|
7802
|
+
memcached: ["memcached"],
|
|
7803
|
+
"node-cache": ["node-cache"],
|
|
7804
|
+
"memory-cache": ["memory-cache"],
|
|
7805
|
+
"lru-cache": ["lru-cache"],
|
|
7806
|
+
"cache-manager": ["cache-manager"],
|
|
7807
|
+
ioredis: ["ioredis"],
|
|
7808
|
+
hazelcast: ["hazelcast-client"],
|
|
7809
|
+
rabbitmq: ["amqplib"],
|
|
7810
|
+
kafka: ["kafkajs"],
|
|
7811
|
+
"apache-kafka": ["kafkajs"],
|
|
7812
|
+
bull: ["bull"],
|
|
7813
|
+
bullmq: ["bullmq"],
|
|
7814
|
+
"bee-queue": ["bee-queue"],
|
|
7815
|
+
kue: ["kue"],
|
|
7816
|
+
agenda: ["agenda"],
|
|
7817
|
+
amqp: ["amqplib"],
|
|
7818
|
+
mqtt: ["mqtt"],
|
|
7819
|
+
nats: ["nats"],
|
|
7820
|
+
zeromq: ["zeromq"],
|
|
7821
|
+
zmq: ["zeromq"],
|
|
7822
|
+
solr: ["solr-client"],
|
|
7823
|
+
algolia: ["algoliasearch"],
|
|
7824
|
+
sphinx: ["sphinxapi"],
|
|
7825
|
+
lucene: ["lucene"],
|
|
7826
|
+
whoosh: ["whoosh"],
|
|
7827
|
+
meilisearch: ["meilisearch"],
|
|
7828
|
+
typesense: ["typesense"],
|
|
7829
|
+
multer: ["multer"],
|
|
7830
|
+
formidable: ["formidable"],
|
|
7831
|
+
busboy: ["busboy"],
|
|
7832
|
+
multiparty: ["multiparty"],
|
|
7833
|
+
"file-upload": ["express-fileupload"],
|
|
7834
|
+
cloudinary: ["cloudinary"],
|
|
7835
|
+
"aws-s3": ["@aws-sdk/client-s3"],
|
|
7836
|
+
bcrypt: ["bcrypt"],
|
|
7837
|
+
bcryptjs: ["bcryptjs"],
|
|
7838
|
+
crypto: ["crypto-js"],
|
|
7839
|
+
"crypto-js": ["crypto-js"],
|
|
7840
|
+
jsonwebtoken: ["jsonwebtoken"],
|
|
7841
|
+
jwt: ["jsonwebtoken"],
|
|
7842
|
+
passport: ["passport"],
|
|
7843
|
+
helmet: ["helmet"],
|
|
7844
|
+
cors: ["cors"],
|
|
7845
|
+
"express-rate-limit": ["express-rate-limit"],
|
|
7846
|
+
"rate-limiter": ["express-rate-limit"],
|
|
7847
|
+
argon2: ["argon2"],
|
|
7848
|
+
scrypt: ["scrypt"],
|
|
7849
|
+
"node-rsa": ["node-rsa"],
|
|
7850
|
+
speakeasy: ["speakeasy"],
|
|
7851
|
+
otplib: ["otplib"],
|
|
7852
|
+
nodemailer: ["nodemailer"],
|
|
7853
|
+
sendgrid: ["@sendgrid/mail"],
|
|
7854
|
+
mailgun: ["mailgun.js"],
|
|
7855
|
+
ses: ["@aws-sdk/client-ses"],
|
|
7856
|
+
postmark: ["postmark"],
|
|
7857
|
+
sparkpost: ["sparkpost"],
|
|
7858
|
+
mandrill: ["mandrill-api"],
|
|
7859
|
+
mailchimp: ["@mailchimp/mailchimp_marketing"],
|
|
7860
|
+
"email-templates": ["email-templates"],
|
|
7861
|
+
handlebars: ["handlebars"],
|
|
7862
|
+
hbs: ["hbs"],
|
|
7863
|
+
mustache: ["mustache"],
|
|
7864
|
+
pug: ["pug"],
|
|
7865
|
+
jade: ["pug"],
|
|
7866
|
+
ejs: ["ejs"],
|
|
7867
|
+
nunjucks: ["nunjucks"],
|
|
7868
|
+
twig: ["twig"],
|
|
7869
|
+
dust: ["dustjs-linkedin"],
|
|
7870
|
+
serverless: ["serverless"],
|
|
7871
|
+
sls: ["serverless"],
|
|
7872
|
+
lambda: ["aws-lambda"],
|
|
7873
|
+
"azure-functions": ["@azure/functions"],
|
|
7874
|
+
"google-functions": ["@google-cloud/functions-framework"],
|
|
7875
|
+
"netlify-lambda": ["netlify-lambda"],
|
|
7876
|
+
vercel: ["@vercel/node"],
|
|
7877
|
+
claudia: ["claudia"],
|
|
7878
|
+
apex: ["apex"],
|
|
7879
|
+
sam: ["@aws-cdk/aws-sam"],
|
|
7880
|
+
couchdb: ["nano"],
|
|
7881
|
+
pouchdb: ["pouchdb"],
|
|
7882
|
+
neo4j: ["neo4j-driver"],
|
|
7883
|
+
influxdb: ["influx"],
|
|
7884
|
+
cassandra: ["cassandra-driver"],
|
|
7885
|
+
rethinkdb: ["rethinkdb"],
|
|
7886
|
+
orientdb: ["orientjs"],
|
|
7887
|
+
arangodb: ["arangojs"],
|
|
7888
|
+
leveldb: ["level"],
|
|
7889
|
+
rocksdb: ["rocksdb"],
|
|
7890
|
+
mariadb: ["mariadb"],
|
|
7891
|
+
cockroachdb: ["pg"],
|
|
7892
|
+
heroku: ["heroku"],
|
|
7893
|
+
digitalocean: ["@digitalocean/droplet-api"],
|
|
7894
|
+
linode: ["@linode/api-v4"],
|
|
7895
|
+
vultr: ["@vultr/vultr-node"],
|
|
7896
|
+
scaleway: ["@scaleway/sdk"],
|
|
7897
|
+
ovh: ["ovh"],
|
|
7898
|
+
cloudflare: ["cloudflare"],
|
|
7899
|
+
fastly: ["fastly"],
|
|
7900
|
+
maxcdn: ["maxcdn"],
|
|
7901
|
+
bunnycdn: ["bunnycdn"],
|
|
7902
|
+
lighthouse: ["lighthouse"],
|
|
7903
|
+
webpagetest: ["webpagetest"],
|
|
7904
|
+
clinic: ["clinic"],
|
|
7905
|
+
"0x": ["0x"],
|
|
7906
|
+
autocannon: ["autocannon"],
|
|
7907
|
+
loadtest: ["loadtest"],
|
|
7908
|
+
artillery: ["artillery"],
|
|
7909
|
+
k6: ["k6"],
|
|
7910
|
+
benchmark: ["benchmark"],
|
|
7911
|
+
"clinic.js": ["clinic"],
|
|
7912
|
+
"node.js": ["node"],
|
|
7913
|
+
nodejs: ["node"],
|
|
7914
|
+
npm: ["npm"],
|
|
7915
|
+
yarn: ["yarn"],
|
|
7916
|
+
pnpm: ["pnpm"],
|
|
7917
|
+
bun: ["bun"],
|
|
7918
|
+
deno: ["deno"],
|
|
7919
|
+
js: ["javascript"],
|
|
7920
|
+
ts: ["typescript"],
|
|
7921
|
+
html: ["html"],
|
|
7922
|
+
css: ["css"],
|
|
7923
|
+
json: ["json"],
|
|
7924
|
+
xml: ["xml2js"],
|
|
7925
|
+
yaml: ["yaml"],
|
|
7926
|
+
toml: ["@iarna/toml"],
|
|
7927
|
+
ini: ["ini"],
|
|
7928
|
+
csv: ["csv-parser", "papaparse"],
|
|
7929
|
+
pdf: ["pdf2pic", "pdfkit"],
|
|
7930
|
+
excel: ["xlsx"],
|
|
7931
|
+
word: ["mammoth"],
|
|
7932
|
+
zip: ["node-zip"],
|
|
7933
|
+
tar: ["tar"],
|
|
7934
|
+
gzip: ["zlib"],
|
|
7935
|
+
cheerio: ["cheerio"],
|
|
7936
|
+
jsdom: ["jsdom"],
|
|
7937
|
+
xml2js: ["xml2js"],
|
|
7938
|
+
"csv-parse": ["csv-parse"],
|
|
7939
|
+
papaparse: ["papaparse"],
|
|
7940
|
+
"fast-csv": ["fast-csv"],
|
|
7941
|
+
xlsx: ["xlsx"],
|
|
7942
|
+
pdfkit: ["pdfkit"],
|
|
7943
|
+
jspdf: ["jspdf"],
|
|
7944
|
+
mammoth: ["mammoth"],
|
|
7945
|
+
"pdf-parse": ["pdf-parse"],
|
|
7946
|
+
commander: ["commander"],
|
|
7947
|
+
yargs: ["yargs"],
|
|
7948
|
+
inquirer: ["inquirer"],
|
|
7949
|
+
chalk: ["chalk"],
|
|
7950
|
+
ora: ["ora"],
|
|
7951
|
+
"cli-progress": ["cli-progress"],
|
|
7952
|
+
figlet: ["figlet"],
|
|
7953
|
+
boxen: ["boxen"],
|
|
7954
|
+
"update-notifier": ["update-notifier"],
|
|
7955
|
+
meow: ["meow"],
|
|
7956
|
+
arg: ["arg"],
|
|
7957
|
+
minimist: ["minimist"]
|
|
7958
|
+
};
|
|
7959
|
+
|
|
7960
|
+
// ../../packages/utils/src/error-handling/userFriendlyErrorHandler.ts
|
|
7484
7961
|
var ERROR_PATTERNS = {
|
|
7485
7962
|
NOT_FOUND: ["404", "Not found", "ENOTFOUND", "not found"],
|
|
7486
7963
|
TIMEOUT: ["timeout", "ETIMEDOUT", "ESOCKETTIMEDOUT", "ECONNRESET"],
|
|
@@ -7491,32 +7968,11 @@ function matchesErrorPattern(message, patterns) {
|
|
|
7491
7968
|
return patterns.some((pattern) => lowerMessage.includes(pattern.toLowerCase()));
|
|
7492
7969
|
}
|
|
7493
7970
|
var _packageSuggestions = null;
|
|
7494
|
-
var _preloadPromise = null;
|
|
7495
7971
|
async function preloadPackageSuggestions() {
|
|
7496
7972
|
if (_packageSuggestions !== null) {
|
|
7497
7973
|
return;
|
|
7498
7974
|
}
|
|
7499
|
-
|
|
7500
|
-
return _preloadPromise;
|
|
7501
|
-
}
|
|
7502
|
-
_preloadPromise = (async () => {
|
|
7503
|
-
try {
|
|
7504
|
-
const __filename2 = fileURLToPath(import.meta.url);
|
|
7505
|
-
const __dirname2 = dirname(__filename2);
|
|
7506
|
-
const dataPath = join(__dirname2, "data", "packageSuggestions.json");
|
|
7507
|
-
const content = await readFile(dataPath, "utf-8");
|
|
7508
|
-
const data = JSON.parse(content);
|
|
7509
|
-
_packageSuggestions = new Map(Object.entries(data));
|
|
7510
|
-
} catch (error) {
|
|
7511
|
-
const logger2 = Logger.getLogger("ErrorHandler");
|
|
7512
|
-
logger2.warn("Failed to load package suggestions file", {
|
|
7513
|
-
error: error instanceof Error ? error.message : String(error),
|
|
7514
|
-
hint: "Package name suggestions will be unavailable"
|
|
7515
|
-
});
|
|
7516
|
-
_packageSuggestions = /* @__PURE__ */ new Map();
|
|
7517
|
-
}
|
|
7518
|
-
})();
|
|
7519
|
-
return _preloadPromise;
|
|
7975
|
+
_packageSuggestions = new Map(Object.entries(packageSuggestions_default));
|
|
7520
7976
|
}
|
|
7521
7977
|
function getPackageSuggestions() {
|
|
7522
7978
|
if (_packageSuggestions !== null) {
|
|
@@ -8733,7 +9189,7 @@ var VersionChecker = class _VersionChecker {
|
|
|
8733
9189
|
}
|
|
8734
9190
|
/**
|
|
8735
9191
|
* Display update notification (no auto-update for security reasons)
|
|
8736
|
-
* Users must explicitly run `pcu
|
|
9192
|
+
* Users must explicitly run `pcu upgrade` to update
|
|
8737
9193
|
*/
|
|
8738
9194
|
static displayUpdateNotification(versionResult) {
|
|
8739
9195
|
if (!versionResult.shouldPrompt) {
|
|
@@ -8746,7 +9202,7 @@ var VersionChecker = class _VersionChecker {
|
|
|
8746
9202
|
`Current version: ${versionResult.currentVersion} \u2192 Latest: ${versionResult.latestVersion}`
|
|
8747
9203
|
)
|
|
8748
9204
|
);
|
|
8749
|
-
logger.info(chalk10.gray("Run `pcu
|
|
9205
|
+
logger.info(chalk10.gray("Run `pcu upgrade` to update to the latest version."));
|
|
8750
9206
|
logger.info(chalk10.gray("Or update manually: npm install -g pcu@latest"));
|
|
8751
9207
|
logger.info("");
|
|
8752
9208
|
}
|
|
@@ -24159,11 +24615,11 @@ ${t("cli.help.tipLabel")} ${t("cli.help.tipContent", { locale: I18n.getLocale()
|
|
|
24159
24615
|
}
|
|
24160
24616
|
)
|
|
24161
24617
|
);
|
|
24162
|
-
program.command("
|
|
24618
|
+
program.command("upgrade").description(t("cli.description.selfUpdate")).action(
|
|
24163
24619
|
createCommandAction(
|
|
24164
24620
|
serviceFactory,
|
|
24165
24621
|
{
|
|
24166
|
-
name: "
|
|
24622
|
+
name: "upgrade",
|
|
24167
24623
|
needsServices: false
|
|
24168
24624
|
},
|
|
24169
24625
|
async ({ globalOptions }) => {
|
|
@@ -24267,32 +24723,44 @@ async function showUpdateNotificationIfAvailable(checkPromise) {
|
|
|
24267
24723
|
}
|
|
24268
24724
|
async function handleVersionFlag(args, config) {
|
|
24269
24725
|
if (!args.includes("--version")) return;
|
|
24270
|
-
|
|
24726
|
+
const pkg = getPackageJson();
|
|
24727
|
+
const version = pkg.version;
|
|
24271
24728
|
if (VersionChecker.shouldCheckForUpdates() && config.advanced?.checkForUpdates !== false) {
|
|
24272
24729
|
try {
|
|
24273
|
-
|
|
24274
|
-
|
|
24730
|
+
process.stdout.write(
|
|
24731
|
+
`${chalk10.cyan("pcu")} ${chalk10.bold(`v${version}`)} ${chalk10.gray(t("cli.checkingUpdates"))}`
|
|
24732
|
+
);
|
|
24733
|
+
const versionResult = await VersionChecker.checkVersion(version, {
|
|
24275
24734
|
skipPrompt: false,
|
|
24276
24735
|
timeout: 5e3
|
|
24277
|
-
// Longer timeout for explicit version check
|
|
24278
24736
|
});
|
|
24279
|
-
|
|
24737
|
+
process.stdout.write("\r\x1B[K");
|
|
24738
|
+
if (versionResult.shouldPrompt && versionResult.latestVersion) {
|
|
24739
|
+
cliOutput.print(
|
|
24740
|
+
`${chalk10.cyan("pcu")} ${chalk10.bold(`v${version}`)} ${chalk10.yellow(`-> v${versionResult.latestVersion} ${t("cli.available")}`)}`
|
|
24741
|
+
);
|
|
24280
24742
|
const didUpdate = await VersionChecker.promptAndUpdate(versionResult);
|
|
24281
24743
|
if (didUpdate) {
|
|
24282
24744
|
cliOutput.print(chalk10.blue(t("cli.runAgain")));
|
|
24283
24745
|
exitWithCleanup(0);
|
|
24284
24746
|
}
|
|
24285
|
-
} else
|
|
24286
|
-
cliOutput.print(
|
|
24747
|
+
} else {
|
|
24748
|
+
cliOutput.print(
|
|
24749
|
+
`${chalk10.cyan("pcu")} ${chalk10.bold(`v${version}`)} ${chalk10.green(t("cli.latestVersion"))}`
|
|
24750
|
+
);
|
|
24287
24751
|
}
|
|
24288
24752
|
} catch (error) {
|
|
24753
|
+
process.stdout.write("\r\x1B[K");
|
|
24754
|
+
cliOutput.print(`${chalk10.cyan("pcu")} ${chalk10.bold(`v${version}`)}`);
|
|
24289
24755
|
logger.debug("Version flag update check failed", {
|
|
24290
24756
|
error: error instanceof Error ? error.message : error
|
|
24291
24757
|
});
|
|
24292
24758
|
if (args.includes("-v") || args.includes("--verbose")) {
|
|
24293
|
-
cliOutput.warn(chalk10.yellow(
|
|
24759
|
+
cliOutput.warn(chalk10.yellow(` ${t("cli.couldNotCheckUpdates")}`), error);
|
|
24294
24760
|
}
|
|
24295
24761
|
}
|
|
24762
|
+
} else {
|
|
24763
|
+
cliOutput.print(`${chalk10.cyan("pcu")} ${chalk10.bold(`v${version}`)}`);
|
|
24296
24764
|
}
|
|
24297
24765
|
exitWithCleanup(0);
|
|
24298
24766
|
}
|