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

feat: cut over to intuit namespace #1

Merged
merged 2 commits into from
Jan 8, 2022
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: PR Merge Verification
on:
# Triggers the workflow on push or pull request events but only for the main branch
pull_request:
branches: [ master ]
branches: [ main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: Release with Testing
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ master ]
branches: [ main ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
<img src=".github/assets/logo.png" alt="Logo" width="80" height="80">
</a>

<h3 align="center">@sumwatshade/oclif-plugin-update</h3>
<h3 align="center">@intuit/oclif-plugin-update</h3>
</p>


A fork of @oclif/plugin-update that mimics an [NVM](https://github.com/nvm-sh/nvm)-like experience

[![Version](https://img.shields.io/npm/v/@sumwatshade/oclif-plugin-update.svg)](https://npmjs.org/package/@sumwatshade/oclif-plugin-update)
![CI Job](https://github.com/sumwatshade/plugin-update/actions/workflows/ci.yml/badge.svg)
![Release Job](https://github.com/sumwatshade/plugin-update/actions/workflows/npm-publish.yml/badge.svg)
[![Downloads/week](https://img.shields.io/npm/dw/@sumwatshade/oclif-plugin-update.svg)](https://npmjs.org/package/@sumwatshade/oclif-plugin-update)
[![License](https://img.shields.io/npm/l/@sumwatshade/oclif-plugin-update.svg)](https://github.com/sumwatshade/plugin-update/blob/master/package.json)
[![Version](https://img.shields.io/npm/v/@intuit/oclif-plugin-update.svg)](https://npmjs.org/package/@intuit/oclif-plugin-update)
![CI Job](https://github.com/intuit/plugin-update/actions/workflows/ci.yml/badge.svg)
![Release Job](https://github.com/intuit/plugin-update/actions/workflows/npm-publish.yml/badge.svg)
[![Downloads/week](https://img.shields.io/npm/dw/@intuit/oclif-plugin-update.svg)](https://npmjs.org/package/@intuit/oclif-plugin-update)
[![License](https://img.shields.io/npm/l/@intuit/oclif-plugin-update.svg)](https://github.com/intuit/plugin-update/blob/master/package.json)

<details open="open">
<summary>Table of Contents</summary>
Expand Down Expand Up @@ -50,7 +50,7 @@ ARGUMENTS
VERSION Specify an explicit version (ex. 3.0.0-next.1) or a channel (ex. alpha)
```

_See code: [src/commands/install.ts](https://github.com/sumwatshade/plugin-update/blob/v1.9.4/src/commands/install.ts)_
_See code: [src/commands/install.ts](https://github.com/intuit/plugin-update/blob/v1.9.4/src/commands/install.ts)_

## `oclif-example update [CHANNEL]`

Expand All @@ -67,7 +67,7 @@ OPTIONS
--from-local interactively choose an already installed version
```

_See code: [src/commands/update.ts](https://github.com/sumwatshade/plugin-update/blob/v1.9.4/src/commands/update.ts)_
_See code: [src/commands/update.ts](https://github.com/intuit/plugin-update/blob/v1.9.4/src/commands/update.ts)_

## `oclif-example use [VERSION]`

Expand All @@ -81,7 +81,7 @@ ARGUMENTS
VERSION Specify an explicit version (ex. 3.0.0-next.1) or a channel (ex. alpha)
```

_See code: [src/commands/use.ts](https://github.com/sumwatshade/plugin-update/blob/v1.9.4/src/commands/use.ts)_
_See code: [src/commands/use.ts](https://github.com/intuit/plugin-update/blob/v1.9.4/src/commands/use.ts)_
<!-- commandsstop -->

## Contributing
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@sumwatshade/oclif-plugin-update",
"name": "@intuit/oclif-plugin-update",
"version": "1.9.4",
"author": "Lucas Shadler @sumwatshade",
"bugs": "https://github.com/sumwatshade/plugin-update/issues",
"bugs": "https://github.com/intuit/plugin-update/issues",
"dependencies": {
"@oclif/color": "^0.1.0",
"@oclif/command": "^1.7.0",
Expand Down Expand Up @@ -66,7 +66,7 @@
"oclif.manifest.json",
"/lib"
],
"homepage": "https://github.com/sumwatshade/plugin-update",
"homepage": "https://github.com/intuit/plugin-update",
"keywords": [
"oclif-plugin"
],
Expand All @@ -86,7 +86,7 @@
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": "sumwatshade/plugin-update",
"repository": "intuit/plugin-update",
"scripts": {
"lint": "eslint . --ext .ts --config .eslintrc.js",
"test": "jest",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class InstallCommand extends UpdateCommand {

if (await isSemverAlias(args.version ?? '')) {
throw new Error(
`We do not yet support major/minor aliases with the install command. Please refer to this issue for updates: https://github.com/sumwatshade/plugin-update/issues/32`,
`We do not yet support major/minor aliases with the install command. Please refer to this issue for updates: https://github.com/intuit/plugin-update/issues/32`,
);
}

Expand Down
2 changes: 1 addition & 1 deletion src/commands/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default class UpdateCommand extends Command {

if (await isSemverAlias(this.channel)) {
throw new Error(
`We do not yet support major/minor aliases with the update command. Please refer to this issue for updates on the enhancement: https://github.com/sumwatshade/plugin-update/issues/32`,
`We do not yet support major/minor aliases with the update command. Please refer to this issue for updates on the enhancement: https://github.com/intuit/plugin-update/issues/32`,
);
}

Expand Down
2 changes: 1 addition & 1 deletion test/commands/install.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ describe('Install Command', () => {
}

expect(err.message).toBe(
`We do not yet support major/minor aliases with the install command. Please refer to this issue for updates: https://github.com/sumwatshade/plugin-update/issues/32`,
`We do not yet support major/minor aliases with the install command. Please refer to this issue for updates: https://github.com/intuit/plugin-update/issues/32`,
);
});

Expand Down