Skip to content

Commit

Permalink
feat(tauricon): remove from cli (#3293)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
  • Loading branch information
nothingismagick and lucasfernog committed Feb 7, 2022
1 parent 03fc92c commit 5803017
Show file tree
Hide file tree
Showing 10 changed files with 44 additions and 2,987 deletions.
5 changes: 5 additions & 0 deletions .changes/remove-tauricon.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cli.js": patch
---

Removed the `icon` command, now exposed as a separate package, see https://github.com/tauri-apps/tauricon.
61 changes: 0 additions & 61 deletions tooling/cli.js/bin/tauri-icon.js

This file was deleted.

2 changes: 1 addition & 1 deletion tooling/cli.js/bin/tauri.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { createRequire } from 'module'
const require = createRequire(import.meta.url)
const pkg = require('../package.json')

const cmds = ['icon', 'deps']
const cmds = ['deps']
const rustCliCmds = ['dev', 'build', 'init', 'info', 'sign']

const cmd = process.argv[2]
Expand Down
16 changes: 0 additions & 16 deletions tooling/cli.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,8 @@
"glob": "7.2.0",
"global-agent": "3.0.0",
"got": "11.8.3",
"imagemin": "8.0.1",
"imagemin-optipng": "8.0.0",
"imagemin-zopfli": "7.0.0",
"inquirer": "8.2.0",
"is-png": "3.0.1",
"minimist": "1.2.5",
"ms": "2.1.3",
"png-to-ico": "2.1.2",
"png2icons": "2.0.1",
"read-chunk": "4.0.2",
"semver": "7.3.5",
"sharp": "0.29.3",
"update-notifier": "5.1.0"
},
"devDependencies": {
Expand All @@ -84,15 +74,10 @@
"@rollup/plugin-replace": "3.0.1",
"@rollup/plugin-typescript": "8.3.0",
"@types/cross-spawn": "6.0.2",
"@types/fs-extra": "9.0.13",
"@types/glob": "7.2.0",
"@types/global-agent": "2.1.1",
"@types/imagemin": "8.0.0",
"@types/imagemin-optipng": "5.2.1",
"@types/inquirer": "8.1.3",
"@types/ms": "0.7.31",
"@types/semver": "7.3.9",
"@types/sharp": "0.29.5",
"@typescript-eslint/eslint-plugin": "5.9.1",
"@typescript-eslint/parser": "5.9.1",
"babel-jest": "27.4.6",
Expand All @@ -109,7 +94,6 @@
"jest-transform-toml": "1.0.0",
"lockfile-lint": "4.6.2",
"prettier": "2.5.1",
"promise": "8.1.0",
"rimraf": "3.0.2",
"rollup": "2.63.0",
"rollup-plugin-terser": "7.0.2",
Expand Down
1 change: 0 additions & 1 deletion tooling/cli.js/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const cliManifest = TOML.parse(cliManifestContents)
export default {
input: {
'api/cli': './src/api/cli.ts',
'api/tauricon': './src/api/tauricon.ts',
'api/dependency-manager': './src/api/dependency-manager/index.ts',
'helpers/spawn': './src/helpers/spawn.ts',
'helpers/rust-cli': './src/helpers/rust-cli.ts',
Expand Down
Loading

0 comments on commit 5803017

Please sign in to comment.