Skip to content

Commit 2088cfc

Browse files
authored
Try to fix microapps-publish old package (#370)
- Trying to get `npx microapps-publish` to suggest installing the package again
1 parent 4c6b077 commit 2088cfc

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

packages/microapps-publish/bin/run

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env node
2+
3+
require('pwrdrvr/bin/run');

packages/microapps-publish/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"publishConfig": {
66
"access": "public"
77
},
8+
"bin": {
9+
"microapps-publish": "./bin/run"
10+
},
811
"engineStrict": true,
912
"engine": {
1013
"node": ">= 16.0.0"

packages/pwrdrvr/bin/run

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env node
22

3-
require('@oclif/command').run()
4-
.then(require('@oclif/command/flush'))
5-
.catch(require('@oclif/errors/handle'))
3+
require('@oclif/command')
4+
.run()
5+
.then(require('@oclif/command/flush'))
6+
.catch(require('@oclif/errors/handle'));

packages/pwrdrvr/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"access": "public"
99
},
1010
"bin": {
11-
"microapps-publish": "./bin/run",
1211
"pwrdrvr": "./bin/run"
1312
},
1413
"engineStrict": true,

0 commit comments

Comments
 (0)