Skip to content

Commit 56d52cf

Browse files
build: revert to public npm registry (unscoped name)
1 parent 6e9e0be commit 56d52cf

4 files changed

Lines changed: 5 additions & 15 deletions

File tree

.github/workflows/release-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
- uses: actions/setup-node@v3
1414
with:
1515
node-version: 22
16-
registry-url: https://npm.pkg.github.com/
16+
registry-url: 'https://registry.npmjs.org'
1717
- run: npm ci
1818
- run: npm run build
1919
- run: npm publish
2020
env:
21-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
21+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,17 @@ A native library for macOS to create virtual displays for your applications usin
1717

1818
## Installation
1919

20-
> [!IMPORTANT]
21-
> **Package Name Changed**: Starting from v1.0.11, the package is published under the `@enfp-dev-studio` scope.
22-
> - **Old**: `node-mac-virtual-display`
23-
> - **New**: `@enfp-dev-studio/node-mac-virtual-display`
24-
2520
Use npm to install the library:
2621

2722
```shell
28-
yarn add @enfp-dev-studio/node-mac-virtual-display
23+
yarn add node-mac-virtual-display
2924
```
3025
## Usage
3126

3227
To create/destroy a virtual display:
3328

3429
```javascript
35-
const VirtualDisplay = require('@enfp-dev-studio/node-mac-virtual-display')
30+
const VirtualDisplay = require('node-mac-virtual-display')
3631
const vdisplay = new VirtualDisplay()
3732
// Clone primary display
3833
vdisplay.cloneVirtualDisplay({

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
{
2-
"name": "@enfp-dev-studio/node-mac-virtual-display",
1+
"name": "node-mac-virtual-display",
32
"version": "1.0.12",
43
"description": "A Native module to create and handle virtual display on macOS",
54
"main": "dist/index.js",
@@ -55,8 +54,5 @@
5554
"*.mm": [
5655
"clang-format -i"
5756
]
58-
},
59-
"publishConfig": {
60-
"@enfp-dev-studio:registry": "https://npm.pkg.github.com"
6157
}
6258
}

0 commit comments

Comments
 (0)