Skip to content

Commit 416a0fc

Browse files
committed
feat: Update package name and version, add new Semrush commands, configure pnpm workspace, and implement GitHub Actions for release publishing.
1 parent 5325944 commit 416a0fc

File tree

5 files changed

+97
-47
lines changed

5 files changed

+97
-47
lines changed

.github/workflows/onRelease.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
publish:
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
id-token: write
1013
steps:
1114
- uses: actions/checkout@v4
1215
- uses: actions/setup-node@v4
@@ -15,7 +18,5 @@ jobs:
1518
- run: pnpm install
1619
- run: pnpm run build
1720
- run: pnpm run prepack
18-
- uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c
19-
with:
20-
token: ${{ secrets.NPM_TOKEN }}
21+
- uses: JS-DevTools/npm-publish@v4
2122
- run: pnpm run postpack

README.md

Lines changed: 65 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
moa-plugin-semrush
1+
@promactinfo/moa-plugin-semrush
22
=================
33

44
MoA plugin for SemRush
55

66

77
[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
8-
[![Version](https://img.shields.io/npm/v/moa-plugin-semrush.svg)](https://npmjs.org/package/moa-plugin-semrush)
9-
[![Downloads/week](https://img.shields.io/npm/dw/moa-plugin-semrush.svg)](https://npmjs.org/package/moa-plugin-semrush)
8+
[![Version](https://img.shields.io/npm/v/@promactinfo/moa-plugin-semrush.svg)](https://www.npmjs.com/package/@promactinfo/moa-plugin-semrush)
9+
[![Downloads/week](https://img.shields.io/npm/dw/@promactinfo/moa-plugin-semrush.svg)](https://www.npmjs.com/package/@promactinfo/moa-plugin-semrush)
1010

1111

1212
<!-- toc -->
@@ -16,11 +16,11 @@ MoA plugin for SemRush
1616
# Usage
1717
<!-- usage -->
1818
```sh-session
19-
$ npm install -g moa-plugin-semrush
19+
$ npm install -g @promactinfo/moa-plugin-semrush
2020
$ semrush COMMAND
2121
running command...
2222
$ semrush (--version)
23-
moa-plugin-semrush/0.0.0 win32-x64 node-v22.21.1
23+
@promactinfo/moa-plugin-semrush/0.1.0 win32-x64 node-v22.21.1
2424
$ semrush --help [COMMAND]
2525
USAGE
2626
$ semrush COMMAND
@@ -29,19 +29,24 @@ USAGE
2929
<!-- usagestop -->
3030
# Commands
3131
<!-- commands -->
32-
* [`semrush hello PERSON`](#semrush-hello-person)
33-
* [`semrush hello world`](#semrush-hello-world)
34-
* [`semrush help [COMMAND]`](#semrush-help-command)
35-
* [`semrush plugins`](#semrush-plugins)
36-
* [`semrush plugins add PLUGIN`](#semrush-plugins-add-plugin)
37-
* [`semrush plugins:inspect PLUGIN...`](#semrush-pluginsinspect-plugin)
38-
* [`semrush plugins install PLUGIN`](#semrush-plugins-install-plugin)
39-
* [`semrush plugins link PATH`](#semrush-plugins-link-path)
40-
* [`semrush plugins remove [PLUGIN]`](#semrush-plugins-remove-plugin)
41-
* [`semrush plugins reset`](#semrush-plugins-reset)
42-
* [`semrush plugins uninstall [PLUGIN]`](#semrush-plugins-uninstall-plugin)
43-
* [`semrush plugins unlink [PLUGIN]`](#semrush-plugins-unlink-plugin)
44-
* [`semrush plugins update`](#semrush-plugins-update)
32+
- [moa-plugin-semrush](#moa-plugin-semrush)
33+
- [Usage](#usage)
34+
- [Commands](#commands)
35+
- [`semrush hello PERSON`](#semrush-hello-person)
36+
- [`semrush hello world`](#semrush-hello-world)
37+
- [`semrush help [COMMAND]`](#semrush-help-command)
38+
- [`semrush plugins`](#semrush-plugins)
39+
- [`semrush plugins add PLUGIN`](#semrush-plugins-add-plugin)
40+
- [`semrush plugins:inspect PLUGIN...`](#semrush-pluginsinspect-plugin)
41+
- [`semrush plugins install PLUGIN`](#semrush-plugins-install-plugin)
42+
- [`semrush plugins link PATH`](#semrush-plugins-link-path)
43+
- [`semrush plugins remove [PLUGIN]`](#semrush-plugins-remove-plugin)
44+
- [`semrush plugins reset`](#semrush-plugins-reset)
45+
- [`semrush plugins uninstall [PLUGIN]`](#semrush-plugins-uninstall-plugin)
46+
- [`semrush plugins unlink [PLUGIN]`](#semrush-plugins-unlink-plugin)
47+
- [`semrush plugins update`](#semrush-plugins-update)
48+
- [`semrush semrush auth`](#semrush-semrush-auth)
49+
- [`semrush semrush domain-overview DOMAIN`](#semrush-semrush-domain-overview-domain)
4550

4651
## `semrush hello PERSON`
4752

@@ -65,7 +70,7 @@ EXAMPLES
6570
hello friend from oclif! (./src/commands/hello/index.ts)
6671
```
6772

68-
_See code: [src/commands/hello/index.ts](https://github.com/Promact/moa-plugin-semrush/blob/v0.0.0/src/commands/hello/index.ts)_
73+
_See code: [src/commands/hello/index.ts](https://github.com/Promact/moa-plugin-semrush/blob/v0.1.0/src/commands/hello/index.ts)_
6974

7075
## `semrush hello world`
7176

@@ -83,7 +88,7 @@ EXAMPLES
8388
hello world! (./src/commands/hello/world.ts)
8489
```
8590

86-
_See code: [src/commands/hello/world.ts](https://github.com/Promact/moa-plugin-semrush/blob/v0.0.0/src/commands/hello/world.ts)_
91+
_See code: [src/commands/hello/world.ts](https://github.com/Promact/moa-plugin-semrush/blob/v0.1.0/src/commands/hello/world.ts)_
8792

8893
## `semrush help [COMMAND]`
8994

@@ -394,4 +399,44 @@ DESCRIPTION
394399
```
395400

396401
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.55/src/commands/plugins/update.ts)_
402+
403+
## `semrush semrush auth`
404+
405+
Authenticate with Semrush
406+
407+
```
408+
USAGE
409+
$ semrush semrush auth
410+
411+
DESCRIPTION
412+
Authenticate with Semrush
413+
414+
EXAMPLES
415+
$ semrush semrush auth
416+
```
417+
418+
_See code: [src/commands/semrush/auth.ts](https://github.com/Promact/moa-plugin-semrush/blob/v0.1.0/src/commands/semrush/auth.ts)_
419+
420+
## `semrush semrush domain-overview DOMAIN`
421+
422+
Get Domain Overview from Semrush
423+
424+
```
425+
USAGE
426+
$ semrush semrush domain-overview DOMAIN [-d <value>]
427+
428+
ARGUMENTS
429+
DOMAIN Domain name to analyze
430+
431+
FLAGS
432+
-d, --database=<value> [default: us] Semrush Database (us, uk, fr, etc.)
433+
434+
DESCRIPTION
435+
Get Domain Overview from Semrush
436+
437+
EXAMPLES
438+
$ semrush semrush domain-overview example.com --database=us
439+
```
440+
441+
_See code: [src/commands/semrush/domain-overview.ts](https://github.com/Promact/moa-plugin-semrush/blob/v0.1.0/src/commands/semrush/domain-overview.ts)_
397442
<!-- commandsstop -->

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "moa-plugin-semrush",
3-
"description": "MoA plugin for SemRush",
4-
"version": "0.0.0",
2+
"name": "@promactinfo/moa-plugin-semrush",
3+
"description": "MoA plugin for Semrush",
4+
"version": "0.1.0",
55
"author": "Chintan Shah",
66
"bin": {
77
"semrush": "./bin/run.js"

pnpm-lock.yaml

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
onlyBuiltDependencies:
2+
- keytar
3+
- unrs-resolver
4+
- yarn

0 commit comments

Comments
 (0)