Skip to content

Commit

Permalink
fix: fix auth scope
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Dec 7, 2023
1 parent ca7c374 commit 4d8836f
Show file tree
Hide file tree
Showing 7 changed files with 372 additions and 321 deletions.
4 changes: 4 additions & 0 deletions bin/dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env node

const PATCH = false
const PROVISIONING = false

const oclif = require('@oclif/core')

Expand All @@ -15,6 +16,9 @@ require('ts-node').register({ project, files: ['../src/typings/*'] })
// In dev mode, always show stack traces
oclif.settings.debug = true

// Check Provisioning commands
if (PROVISIONING) require('../src/patches/provisioning').checkProvisioningCommand(process.argv)

// Start the CLI
const mainModule = PATCH? require('../src/patches/oclif/core/main') : oclif
mainModule.run()
Expand Down
4 changes: 4 additions & 0 deletions bin/run
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#!/usr/bin/env node

const PATCH = false
const PROVISIONING = false

const oclif = PATCH? require('../lib/patches/oclif/core/main') : require('@oclif/core')

// Check Provisioning commands
if (PROVISIONING) require('../lib/patches/provisioning').checkProvisioningCommand(process.argv)

oclif.run()
.then(require('@oclif/core/flush')(60000))
.catch(error => {
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,21 +104,22 @@
"@types/inquirer": "^8.2.10",
"@types/lodash": "^4.14.202",
"@types/mocha": "^10.0.6",
"@types/node": "^20.10.0",
"@types/node": "^20.10.4",
"@types/update-notifier": "^5.1.0",
"chai": "^4.3.10",
"dotenv": "^16.3.1",
"eslint": "^8.54.0",
"eslint": "^8.55.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"oclif": "^4.0.4",
"semantic-release": "^22.0.8",
"semantic-release": "^22.0.10",
"ts-node": "^10.9.1",
"typescript": "^5.3.2"
"typescript": "^5.3.3"
},
"dependencies": {
"@commercelayer/cli-core": "^4.5.2",
"@commercelayer/sdk": "^5.22.1",
"@commercelayer/cli-core": "^4.9.1",
"@commercelayer/provisioning-sdk": "beta",
"@commercelayer/sdk": "^5.23.2",
"@oclif/core": "^2.15.0",
"@oclif/plugin-autocomplete": "^2.3.10",
"@oclif/plugin-help": "5.2.14",
Expand Down
Loading

0 comments on commit 4d8836f

Please sign in to comment.