Skip to content

Commit

Permalink
Merge pull request #163 from maliroteh-sf/dep
Browse files Browse the repository at this point in the history
Upgrade to latest version of dependencies
  • Loading branch information
maliroteh-sf authored Oct 26, 2023
2 parents 44fa8a8 + f622958 commit adefeba
Show file tree
Hide file tree
Showing 17 changed files with 1,455 additions and 1,336 deletions.
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@salesforce/lwc-dev-mobile",
"description": "Salesforce CLI plugin for mobile extensions to Local Development",
"version": "2.2.0",
"version": "2.3.0",
"author": {
"name": "Raj Rao",
"email": "[email protected]",
Expand Down Expand Up @@ -31,38 +31,38 @@
],
"bugs": "https://github.com/forcedotcom/lwc-dev-mobile/issues",
"dependencies": {
"@oclif/core": "^2.11.8",
"@oclif/plugin-version": "^1.3.8",
"@salesforce/sf-plugins-core": "^3.1.15",
"@salesforce/core": "^5.2.1",
"@salesforce/lwc-dev-mobile-core": "^3.2.0",
"@oclif/core": "^3.8.0",
"@oclif/plugin-version": "^2.0.3",
"@salesforce/core": "^5.3.12",
"@salesforce/sf-plugins-core": "^4.0.0",
"@salesforce/lwc-dev-mobile-core": "^3.3.0",
"chalk": "^4.1.2"
},
"devDependencies": {
"@types/inquirer": "^9.0.3",
"@types/jest": "^29.5.3",
"@types/node": "^20.5.0",
"@types/sinon": "^10.0.16",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"eslint": "^8.47.0",
"@types/inquirer": "^9.0.6",
"@types/jest": "^29.5.6",
"@types/node": "^20.8.9",
"@types/sinon": "^10.0.20",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jsdoc": "^46.4.6",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-unicorn": "^48.0.1",
"husky": "^8.0.3",
"jest": "^29.6.2",
"jest": "^29.7.0",
"jest-chain": "^1.1.6",
"jest-extended": "^4.0.1",
"jest-extended": "^4.0.2",
"jest-junit": "^16.0.0",
"lint-staged": "^14.0.0",
"oclif": "^3.11.3",
"prettier": "^3.0.2",
"lint-staged": "^15.0.2",
"oclif": "^4.0.3",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
"typescript": "^5.2.2"
},
"engines": {
"node": ">=18"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@

import { Config } from '@oclif/core/lib/config';
import { Options } from '@oclif/core/lib/interfaces';
import { CommonUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/CommonUtils';
import { RequirementProcessor } from '@salesforce/lwc-dev-mobile-core/lib/common/Requirements';
import {
CommonUtils,
RequirementProcessor
} from '@salesforce/lwc-dev-mobile-core';
import { Setup } from '../setup';

describe('Setup Tests', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
import { Config } from '@oclif/core/lib/config';
import { Options } from '@oclif/core/lib/interfaces';
import { Logger } from '@salesforce/core';
import { AndroidPackage } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidTypes';
import { AndroidUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidUtils';
import { CommonUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/CommonUtils';
import { Version } from '@salesforce/lwc-dev-mobile-core/lib/common/Common';
import { IOSUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSUtils';
import { RequirementProcessor } from '@salesforce/lwc-dev-mobile-core/lib/common/Requirements';
import {
AndroidPackage,
AndroidUtils,
CommonUtils,
IOSUtils,
RequirementProcessor,
Version
} from '@salesforce/lwc-dev-mobile-core';
import { Create } from '../create';

describe('Create Tests', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
import { Config } from '@oclif/core/lib/config';
import { Options } from '@oclif/core/lib/interfaces';
import { Logger } from '@salesforce/core';
import { AndroidVirtualDevice } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidTypes';
import { AndroidUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidUtils';
import { Version } from '@salesforce/lwc-dev-mobile-core/lib/common/Common';
import { IOSSimulatorDevice } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSTypes';
import { IOSUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSUtils';
import {
AndroidVirtualDevice,
AndroidUtils,
IOSSimulatorDevice,
IOSUtils,
Version
} from '@salesforce/lwc-dev-mobile-core';
import { List } from '../list';

describe('List Tests', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
import { Config } from '@oclif/core/lib/config';
import { Options } from '@oclif/core/lib/interfaces';
import { Logger } from '@salesforce/core';
import { AndroidUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidUtils';
import { CommonUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/CommonUtils';
import { IOSSimulatorDevice } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSTypes';
import { IOSUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSUtils';
import { RequirementProcessor } from '@salesforce/lwc-dev-mobile-core/lib/common/Requirements';
import {
AndroidUtils,
CommonUtils,
IOSSimulatorDevice,
IOSUtils,
RequirementProcessor
} from '@salesforce/lwc-dev-mobile-core';
import { Start } from '../start';

describe('Start Tests', () => {
Expand Down
20 changes: 9 additions & 11 deletions src/cli/commands/force/lightning/local/device/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,19 @@

import { Flags } from '@salesforce/sf-plugins-core';
import { Logger, Messages } from '@salesforce/core';
import { AndroidEnvironmentRequirements } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidEnvironmentRequirements';
import { AndroidUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidUtils';
import { BaseCommand } from '@salesforce/lwc-dev-mobile-core/lib/common/BaseCommand';
import {
AndroidEnvironmentRequirements,
AndroidUtils,
BaseCommand,
CommandLineUtils,
FlagsConfigType
} from '@salesforce/lwc-dev-mobile-core/lib/common/Common';
import { CommonUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/CommonUtils';
import { IOSEnvironmentRequirements } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSEnvironmentRequirements';
import { IOSUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSUtils';
import {
Requirement,
CommandRequirements,
CommonUtils,
FlagsConfigType,
IOSEnvironmentRequirements,
IOSUtils,
Requirement,
RequirementProcessor
} from '@salesforce/lwc-dev-mobile-core/lib/common/Requirements';
} from '@salesforce/lwc-dev-mobile-core';
import util from 'util';

// Initialize Messages with the current plugin directory
Expand Down
14 changes: 7 additions & 7 deletions src/cli/commands/force/lightning/local/device/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
*/

import { Messages } from '@salesforce/core';
import { AndroidUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidUtils';
import { BaseCommand } from '@salesforce/lwc-dev-mobile-core/lib/common/BaseCommand';
import {
AndroidUtils,
BaseCommand,
CommandLineUtils,
FlagsConfigType
} from '@salesforce/lwc-dev-mobile-core/lib/common/Common';
import { CommonUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/CommonUtils';
import { IOSUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSUtils';
import { PerformanceMarkers } from '@salesforce/lwc-dev-mobile-core/lib/common/PerformanceMarkers';
CommonUtils,
FlagsConfigType,
IOSUtils,
PerformanceMarkers
} from '@salesforce/lwc-dev-mobile-core';
import chalk from 'chalk';
import { ux } from '@oclif/core';
import { performance, PerformanceObserver } from 'perf_hooks';
Expand Down
18 changes: 8 additions & 10 deletions src/cli/commands/force/lightning/local/device/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,18 @@

import { Flags } from '@salesforce/sf-plugins-core';
import { Messages, SfError } from '@salesforce/core';
import { AndroidEnvironmentRequirements } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidEnvironmentRequirements';
import { AndroidUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidUtils';
import { BaseCommand } from '@salesforce/lwc-dev-mobile-core/lib/common/BaseCommand';
import {
AndroidEnvironmentRequirements,
AndroidUtils,
BaseCommand,
CommandLineUtils,
FlagsConfigType
} from '@salesforce/lwc-dev-mobile-core/lib/common/Common';
import { CommonUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/CommonUtils';
import { IOSEnvironmentRequirements } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSEnvironmentRequirements';
import { IOSUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSUtils';
import {
CommandRequirements,
CommonUtils,
FlagsConfigType,
IOSEnvironmentRequirements,
IOSUtils,
RequirementProcessor
} from '@salesforce/lwc-dev-mobile-core/lib/common/Requirements';
} from '@salesforce/lwc-dev-mobile-core';
import util from 'util';

// Initialize Messages with the current plugin directory
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/force/lightning/local/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/

import { Setup as CoreSetup } from '@salesforce/lwc-dev-mobile-core/lib/cli/commands/force/lightning/local/setup';
import { Setup as CoreSetup } from '@salesforce/lwc-dev-mobile-core';

export class Setup extends CoreSetup {
public async run(): Promise<void> {
Expand Down
12 changes: 7 additions & 5 deletions src/cli/commands/force/lightning/lwc/__tests__/preview.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ process.env['SFDX_ENV'] = 'test'; // run sfdx in test mode when running unit tes
import { Config } from '@oclif/core/lib/config';
import { Options } from '@oclif/core/lib/interfaces';
import { Logger, Messages, SfError } from '@salesforce/core';
import { AndroidLauncher } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidLauncher';
import { CommonUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/CommonUtils';
import { IOSLauncher } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSLauncher';
import { PreviewUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/PreviewUtils';
import { RequirementProcessor } from '@salesforce/lwc-dev-mobile-core/lib/common/Requirements';
import {
AndroidLauncher,
CommonUtils,
IOSLauncher,
PreviewUtils,
RequirementProcessor
} from '@salesforce/lwc-dev-mobile-core';
import fs from 'fs';
import {
LwcServerIsRunningRequirement,
Expand Down
28 changes: 12 additions & 16 deletions src/cli/commands/force/lightning/lwc/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,23 @@

import { Flags } from '@salesforce/sf-plugins-core';
import { Logger, Messages, SfError } from '@salesforce/core';
import { AndroidEnvironmentRequirements } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidEnvironmentRequirements';
import { AndroidLauncher } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidLauncher';
import { BaseCommand } from '@salesforce/lwc-dev-mobile-core/lib/common/BaseCommand';
import {
CommandLineUtils,
FlagsConfigType
} from '@salesforce/lwc-dev-mobile-core/lib/common/Common';
import { CommonUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/CommonUtils';
import { IOSEnvironmentRequirements } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSEnvironmentRequirements';
import { IOSLauncher } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSLauncher';
import { PlatformConfig } from '@salesforce/lwc-dev-mobile-core/lib/common/PlatformConfig';
import {
AndroidEnvironmentRequirements,
AndroidLauncher,
AndroidAppPreviewConfig,
IOSAppPreviewConfig
} from '@salesforce/lwc-dev-mobile-core/lib/common/PreviewConfigFile';
import { PreviewUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/PreviewUtils';
import {
BaseCommand,
CommandLineUtils,
CommonUtils,
CommandRequirements,
FlagsConfigType,
IOSEnvironmentRequirements,
IOSLauncher,
IOSAppPreviewConfig,
PlatformConfig,
PreviewUtils,
Requirement,
RequirementProcessor
} from '@salesforce/lwc-dev-mobile-core/lib/common/Requirements';
} from '@salesforce/lwc-dev-mobile-core';
import fs from 'fs';
import path from 'path';
import util from 'util';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
import { Config } from '@oclif/core/lib/config';
import { Options } from '@oclif/core/lib/interfaces';
import { Logger, Messages, SfError } from '@salesforce/core';
import { AndroidVirtualDevice } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidTypes';
import { AndroidUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidUtils';
import { Version } from '@salesforce/lwc-dev-mobile-core/lib/common/Common';
import { CommonUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/CommonUtils';
import { IOSSimulatorDevice } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSTypes';
import { IOSUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSUtils';
import { RequirementProcessor } from '@salesforce/lwc-dev-mobile-core/lib/common/Requirements';
import {
AndroidVirtualDevice,
AndroidUtils,
CommonUtils,
IOSSimulatorDevice,
IOSUtils,
RequirementProcessor,
Version
} from '@salesforce/lwc-dev-mobile-core';
import { Configure } from '../configure';
import util from 'util';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import { Config } from '@oclif/core/lib/config';
import { Options } from '@oclif/core/lib/interfaces';
import { Logger, Messages } from '@salesforce/core';
import { CommonUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/CommonUtils';
import { CommonUtils } from '@salesforce/lwc-dev-mobile-core';
import { Run } from '../run';
import fs from 'fs';
import path from 'path';
Expand Down
26 changes: 12 additions & 14 deletions src/cli/commands/force/lightning/lwc/test/ui/mobile/configure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,20 @@

import { Flags } from '@salesforce/sf-plugins-core';
import { Messages, SfError } from '@salesforce/core';
import { AndroidEnvironmentRequirements } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidEnvironmentRequirements';
import { AndroidVirtualDevice } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidTypes';
import { AndroidUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/AndroidUtils';
import { BaseCommand } from '@salesforce/lwc-dev-mobile-core/lib/common/BaseCommand';
import {
AndroidEnvironmentRequirements,
AndroidVirtualDevice,
AndroidUtils,
BaseCommand,
CommandLineUtils,
FlagsConfigType
} from '@salesforce/lwc-dev-mobile-core/lib/common/Common';
import { CommonUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/CommonUtils';
import { IOSEnvironmentRequirements } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSEnvironmentRequirements';
import { IOSSimulatorDevice } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSTypes';
import { IOSUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/IOSUtils';
import {
RequirementProcessor,
CommandRequirements
} from '@salesforce/lwc-dev-mobile-core/lib/common/Requirements';
CommandRequirements,
CommonUtils,
FlagsConfigType,
IOSEnvironmentRequirements,
IOSSimulatorDevice,
IOSUtils,
RequirementProcessor
} from '@salesforce/lwc-dev-mobile-core';
import fs from 'fs';
import util from 'util';

Expand Down
10 changes: 5 additions & 5 deletions src/cli/commands/force/lightning/lwc/test/ui/mobile/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

import { Flags } from '@salesforce/sf-plugins-core';
import { Messages, SfError } from '@salesforce/core';
import { BaseCommand } from '@salesforce/lwc-dev-mobile-core/lib/common/BaseCommand';
import {
FlagsConfigType,
CommandLineUtils
} from '@salesforce/lwc-dev-mobile-core/lib/common/Common';
import { CommonUtils } from '@salesforce/lwc-dev-mobile-core/lib/common/CommonUtils';
BaseCommand,
CommandLineUtils,
CommonUtils,
FlagsConfigType
} from '@salesforce/lwc-dev-mobile-core';
import * as childProcess from 'child_process';
import util from 'util';
import fs from 'fs';
Expand Down
7 changes: 6 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
export default {};

export * from './cli/commands/force/lightning/local/device/create';
export * from './cli/commands/force/lightning/local/device/list';
export * from './cli/commands/force/lightning/local/device/start';

export * from './cli/commands/force/lightning/lwc/preview';
Loading

0 comments on commit adefeba

Please sign in to comment.