-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Windows issue with open npm lib * Upgrade to 5.0.2 --------- Co-authored-by: vivek-gofynd <[email protected]>
- Loading branch information
1 parent
143c8c6
commit c89371f
Showing
17 changed files
with
596 additions
and
455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,30 +8,32 @@ const currentNodeVersion = process.versions.node; | |
const semver = currentNodeVersion.split('.'); | ||
const major = Number(semver[0]); | ||
|
||
const Sentry = require("@sentry/node"); | ||
const packageJson = require("../package.json"); | ||
const Sentry = require('@sentry/node'); | ||
const packageJson = require('../package.json'); | ||
|
||
Sentry.init({ | ||
dsn: "https://[email protected]/4506539889721344", | ||
release: packageJson.version | ||
}) | ||
dsn: 'https://[email protected]/4506539889721344', | ||
release: packageJson.version, | ||
}); | ||
|
||
const bootstrap = () => { | ||
const { init, parseCommands } = require('../dist/fdk'); | ||
const program = init('fdk'); | ||
parseCommands(); | ||
return program; | ||
} | ||
const { init, parseCommands } = require('../dist/fdk'); | ||
const program = init('fdk'); | ||
parseCommands(); | ||
return program; | ||
}; | ||
|
||
if (major < 12) { | ||
console.error(chalk.red( | ||
'You are running Node ' + | ||
currentNodeVersion + | ||
'.\n' + | ||
'Fynd development kit requires Node 12 or higher. \n' + | ||
'Please update your version of Node.' | ||
)); | ||
process.exit(1); | ||
console.error( | ||
chalk.red( | ||
'You are running Node ' + | ||
currentNodeVersion + | ||
'.\n' + | ||
'Fynd development kit requires Node 12 or higher. \n' + | ||
'Please update your version of Node.', | ||
), | ||
); | ||
process.exit(1); | ||
} | ||
|
||
bootstrap(); | ||
bootstrap(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule rolex
deleted from
139386
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.