From d3d68df8ca0382e1774739ac48b72dd090795203 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 8 Sep 2022 18:48:24 +0000 Subject: [PATCH 1/4] chore(docs): deprecate ionic docs command --- packages/@ionic/cli/src/commands/docs.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/@ionic/cli/src/commands/docs.ts b/packages/@ionic/cli/src/commands/docs.ts index 1425817fd9..4b67f76890 100644 --- a/packages/@ionic/cli/src/commands/docs.ts +++ b/packages/@ionic/cli/src/commands/docs.ts @@ -31,6 +31,8 @@ export class DocsCommand extends Command { const homepage = 'https://ion.link/docs'; const url = this.project ? await this.project.getDocsUrl() : homepage; + this.env.log.warn(`The "ionic docs" command has been deprecated and will be removed in an upcoming major release of the Ionic CLI. Developers should bookmark ${url} in their browser for easy access.`); + try { const { req } = await createRequest('HEAD', url, this.env.config.getHTTPConfig()); await req; From cf23d517d70656c18e09510cce62fa02de1e1ed5 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 8 Sep 2022 18:55:53 +0000 Subject: [PATCH 2/4] chore(): update @types/tar --- packages/@ionic/cli/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@ionic/cli/package.json b/packages/@ionic/cli/package.json index 417757e3ce..a17bbc839a 100644 --- a/packages/@ionic/cli/package.json +++ b/packages/@ionic/cli/package.json @@ -78,7 +78,7 @@ "@types/split2": "^2.1.6", "@types/superagent": "4.1.3", "@types/superagent-proxy": "^3.0.0", - "@types/tar": "^4.0.0", + "@types/tar": "^6.1.2", "jest": "^26.4.2", "jest-cli": "^26.0.1", "lint-staged": "^10.0.2", From 9f7b50fb9c1466a2886d97cc20b855f48c2514c1 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 8 Sep 2022 14:56:37 -0400 Subject: [PATCH 3/4] Revert "chore(): update @types/tar" This reverts commit cf23d517d70656c18e09510cce62fa02de1e1ed5. --- packages/@ionic/cli/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@ionic/cli/package.json b/packages/@ionic/cli/package.json index a17bbc839a..417757e3ce 100644 --- a/packages/@ionic/cli/package.json +++ b/packages/@ionic/cli/package.json @@ -78,7 +78,7 @@ "@types/split2": "^2.1.6", "@types/superagent": "4.1.3", "@types/superagent-proxy": "^3.0.0", - "@types/tar": "^6.1.2", + "@types/tar": "^4.0.0", "jest": "^26.4.2", "jest-cli": "^26.0.1", "lint-staged": "^10.0.2", From 9bd6ab30d241baa45ec0fe5a4552d325f5a3ba59 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 8 Sep 2022 19:34:22 +0000 Subject: [PATCH 4/4] fix formatting --- packages/@ionic/cli/src/commands/docs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@ionic/cli/src/commands/docs.ts b/packages/@ionic/cli/src/commands/docs.ts index 4b67f76890..65700ca986 100644 --- a/packages/@ionic/cli/src/commands/docs.ts +++ b/packages/@ionic/cli/src/commands/docs.ts @@ -31,7 +31,7 @@ export class DocsCommand extends Command { const homepage = 'https://ion.link/docs'; const url = this.project ? await this.project.getDocsUrl() : homepage; - this.env.log.warn(`The "ionic docs" command has been deprecated and will be removed in an upcoming major release of the Ionic CLI. Developers should bookmark ${url} in their browser for easy access.`); + this.env.log.warn(`The ${input('ionic docs')} command has been deprecated and will be removed in an upcoming major release of the Ionic CLI. Developers should bookmark ${url} in their browser for easy access.`); try { const { req } = await createRequest('HEAD', url, this.env.config.getHTTPConfig());