File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 }}
Load Diff This file was deleted.
Original file line number Diff line number Diff 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-
2520Use 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
3227To 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' )
3631const vdisplay = new VirtualDisplay ()
3732// Clone primary display
3833vdisplay .cloneVirtualDisplay ({
Original file line number Diff line number Diff line change 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" ,
5554 "*.mm" : [
5655 " clang-format -i"
5756 ]
58- },
59- "publishConfig" : {
60- "@enfp-dev-studio:registry" : " https://npm.pkg.github.com"
6157 }
6258}
You can’t perform that action at this time.
0 commit comments