Skip to content

Commit

Permalink
Try to fix microapps-publish old package (#370)
Browse files Browse the repository at this point in the history
- Trying to get `npx microapps-publish` to suggest installing the package again
  • Loading branch information
huntharo authored Apr 26, 2024
1 parent 4c6b077 commit 2088cfc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions packages/microapps-publish/bin/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('pwrdrvr/bin/run');
3 changes: 3 additions & 0 deletions packages/microapps-publish/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"publishConfig": {
"access": "public"
},
"bin": {
"microapps-publish": "./bin/run"
},
"engineStrict": true,
"engine": {
"node": ">= 16.0.0"
Expand Down
7 changes: 4 additions & 3 deletions packages/pwrdrvr/bin/run
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env node

require('@oclif/command').run()
.then(require('@oclif/command/flush'))
.catch(require('@oclif/errors/handle'))
require('@oclif/command')
.run()
.then(require('@oclif/command/flush'))
.catch(require('@oclif/errors/handle'));
1 change: 0 additions & 1 deletion packages/pwrdrvr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"access": "public"
},
"bin": {
"microapps-publish": "./bin/run",
"pwrdrvr": "./bin/run"
},
"engineStrict": true,
Expand Down

0 comments on commit 2088cfc

Please sign in to comment.