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

chore: remove package-lock.json files #3093

Merged
merged 9 commits into from
Jun 12, 2020
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
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