Skip to content

Commit

Permalink
chore: remove package-lock.json files (#3093)
Browse files Browse the repository at this point in the history

Co-authored-by: Daniel Imhoff <[email protected]>
  • Loading branch information
jcesarmobile and imhoffd authored Jun 12, 2020
1 parent 2e61a9a commit 9cb36bb
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 16,331 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
1 change: 1 addition & 0 deletions cli/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
6,894 changes: 0 additions & 6,894 deletions cli/package-lock.json

This file was deleted.

4 changes: 2 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"license": "MIT",
"dependencies": {
"chalk": "^2.3.0",
"commander": "^2.12.2",
"commander": "^4.1.1",
"compare-versions": "^3.1.0",
"fs-extra": "^4.0.3",
"inquirer": "6.3.1",
Expand Down Expand Up @@ -74,7 +74,7 @@
"ts-jest": "^23.10.4",
"tslint": "^5.8.0",
"tslint-ionic-rules": "0.0.11",
"typescript": "^3.2.4"
"typescript": "~3.7.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export function run(process: NodeJS.Process, cliBinDir: string) {

program.parse(process.argv);

if (!program.args.length) {
if (program.rawArgs.length < 3) {
console.log(`\n ${_e('⚡️', '--')} ${chalk.bold('Capacitor - Cross-Platform apps with JavaScript and the Web')} ${_e('⚡️', '--')}`);
program.help();
}
Expand Down
4 changes: 2 additions & 2 deletions cli/src/tasks/doctor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import { join } from 'path';

import chalk from 'chalk';

export async function doctorCommand(config: Config, selectedPlatform: string) {
export async function doctorCommand(config: Config, selectedPlatform: string): Promise<void> {
log(`${_e('💊', '')} ${chalk.bold('Capacitor Doctor')} ${_e('💊', '')} \n`);

await doctorCore(config);

const platforms = config.selectPlatforms(selectedPlatform);
return Promise.all(platforms.map(platformName => {
await Promise.all(platforms.map(platformName => {
return doctor(config, platformName);
}));
}
Expand Down
1 change: 1 addition & 0 deletions core/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
6,659 changes: 0 additions & 6,659 deletions core/package-lock.json

This file was deleted.

2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"tslint": "^5.6.0",
"tslint-ionic-rules": "0.0.8",
"typedoc": "^0.14.2",
"typescript": "^3.2.4"
"typescript": "~3.8.0"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 9cb36bb

Please sign in to comment.