Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use latest oclif/core #603

Merged
merged 1 commit into from
Jan 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2022, Salesforce.com, Inc.
Copyright (c) 2023, Salesforce.com, Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bugs": "https://github.com/forcedotcom/cli/issues",
"main": "lib/index.js",
"dependencies": {
"@oclif/core": "^1.24.0",
"@oclif/core": "^2.0.7",
"@salesforce/command": "^5.2.42",
"@salesforce/core": "^3.32.12",
"@salesforce/kit": "^1.8.2",
Expand Down Expand Up @@ -42,7 +42,7 @@
"husky": "^7.0.4",
"mocha": "^9.1.3",
"nyc": "^15.1.0",
"oclif": "^3.4.3",
"oclif": "^3.6.1",
"prettier": "^2.8.3",
"pretty-quick": "^3.1.0",
"shx": "0.3.4",
Expand Down Expand Up @@ -128,4 +128,4 @@
"publishConfig": {
"access": "public"
}
}
}
4 changes: 2 additions & 2 deletions src/commands/auth/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import { FlagsConfig, SfdxCommand } from '@salesforce/command';
import { AuthInfo, OrgAuthorization, Messages } from '@salesforce/core';
import { CliUx } from '@oclif/core';
import { ux } from '@oclif/core';

Messages.importMessagesDirectory(__dirname);
const messages = Messages.loadMessages('@salesforce/plugin-auth', 'list');
Expand All @@ -34,7 +34,7 @@ export default class List extends SfdxCommand {
delete auth.aliases;
});
const hasErrors = auths.filter((auth) => !!auth.error).length > 0;
let columns: CliUx.Table.table.Columns<Record<string, unknown>> = {
let columns: ux.Table.table.Columns<Record<string, unknown>> = {
alias: { header: 'ALIAS' },
username: { header: 'USERNAME' },
orgId: { header: 'ORG ID' },
Expand Down
15 changes: 8 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@
is-wsl "^2.1.1"
tslib "^2.3.1"

"@oclif/core@^1.20.0", "@oclif/core@^1.20.3", "@oclif/core@^1.20.4", "@oclif/core@^1.21.0", "@oclif/core@^1.23.0", "@oclif/core@^1.24.0", "@oclif/core@^1.25.0", "@oclif/core@^1.6.3", "@oclif/core@^1.9.0":
"@oclif/core@^1.20.0", "@oclif/core@^1.20.3", "@oclif/core@^1.20.4", "@oclif/core@^1.21.0", "@oclif/core@^1.23.0", "@oclif/core@^1.25.0", "@oclif/core@^1.6.3", "@oclif/core@^1.9.0":
version "1.26.1"
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-1.26.1.tgz#26e46c96143d3e2b1dd9bd558ae1653fe9a4f3fa"
integrity sha512-g+OWJcM7JOVI53caTEtq0BB1nPotWctRLUyFODPgvDqXhVR7QED+Qz3LwFAMD8dt7/Ar2ZNq15U3bnpnOv453A==
Expand Down Expand Up @@ -742,7 +742,7 @@
widest-line "^3.1.0"
wrap-ansi "^7.0.0"

"@oclif/core@^2.0.3":
"@oclif/core@^2.0.3", "@oclif/core@^2.0.7":
version "2.0.7"
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-2.0.7.tgz#a17a85dfa105dda120fbc5647432010feaa97a9e"
integrity sha512-pj7hIH8SBeH3qha47fmyqdaBdNVEqesRgnKFh8Ytdb4S41/4BYOiQuyQGuvnKgvicH6DMxp4FbM9EQEW46V9xw==
Expand Down Expand Up @@ -5939,12 +5939,12 @@ object.values@^1.1.5, object.values@^1.1.6:
define-properties "^1.1.4"
es-abstract "^1.20.4"

oclif@^3.4.3:
version "3.4.3"
resolved "https://registry.yarnpkg.com/oclif/-/oclif-3.4.3.tgz#8db95c7d1f0c8c82fb3037545f78e65fa7769a4a"
integrity sha512-Kg8ezSJvDluazG6eyN+TeoryaFn3i9utKVty2hy6I0FUy6QcPnbl8+MCha4Jwc+x5+pA46Tu0n2cnjUcWqp56w==
oclif@^3.6.1:
version "3.6.1"
resolved "https://registry.yarnpkg.com/oclif/-/oclif-3.6.1.tgz#157ac35f1e634af745879a55c3fa39bf724a5e69"
integrity sha512-zedbQqxAzC8WlH/T2D/CbGCTWIXHMV7wGs2av+M3KPG4SfB9/lwn1zXGjft/3NNy3X6KCEoGCYWqYYMZOf2Fgg==
dependencies:
"@oclif/core" "^1.20.4"
"@oclif/core" "^2.0.3"
"@oclif/plugin-help" "^5.1.19"
"@oclif/plugin-not-found" "^2.3.7"
"@oclif/plugin-warn-if-update-available" "^2.0.14"
Expand All @@ -5958,6 +5958,7 @@ oclif@^3.4.3:
lodash "^4.17.21"
normalize-package-data "^3.0.3"
semver "^7.3.8"
shelljs "^0.8.5"
tslib "^2.3.1"
yeoman-environment "^3.11.1"
yeoman-generator "^5.6.1"
Expand Down