bump version to 0.0.8 and update package removal command
This commit is contained in:
parent
ca12ec8a9c
commit
cf6f8194e4
3 changed files with 3 additions and 3 deletions
|
@ -143,7 +143,7 @@ const installPackage = async (lock: MixLockFile, id: string, version: string) =>
|
||||||
};
|
};
|
||||||
|
|
||||||
const removePackage = async (lock: MixLockFile, id: string, version: string) => {
|
const removePackage = async (lock: MixLockFile, id: string, version: string) => {
|
||||||
exec(`winget remove --id ${id} --version ${version} --exact --silent --force`, (error, _, e) => {
|
exec(`winget remove --id ${id} --version ${version} --silent`, (error, _, e) => {
|
||||||
if (error) {
|
if (error) {
|
||||||
console.error(`Error removing package ${id}@${version}:`, error);
|
console.error(`Error removing package ${id}@${version}:`, error);
|
||||||
return;
|
return;
|
||||||
|
|
2
index.ts
2
index.ts
|
@ -6,7 +6,7 @@ const program = new Command();
|
||||||
program
|
program
|
||||||
.name('mix')
|
.name('mix')
|
||||||
.description('a declerative file-based package manager for windows.')
|
.description('a declerative file-based package manager for windows.')
|
||||||
.version('0.0.7', '-v, --version', 'output the current version');
|
.version('0.0.8', '-v, --version', 'output the current version');
|
||||||
|
|
||||||
registerCommands(program);
|
registerCommands(program);
|
||||||
program.parse();
|
program.parse();
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@grng/mix",
|
"name": "@grng/mix",
|
||||||
"version": "0.0.7",
|
"version": "0.0.8",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue