sdtk-kit 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/sdtk.js +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -119,7 +119,7 @@ are the mechanism that puts `sdtk`, `sdtk-spec`, `sdtk-code`, `sdtk-ops`,
|
|
|
119
119
|
- **Major version bumps** in any sub-toolkit require a coordinated `sdtk-kit` major-bump and re-publish.
|
|
120
120
|
- If you need exact version control per toolkit, use standalone packages instead.
|
|
121
121
|
|
|
122
|
-
Current dependency ranges (as of sdtk-kit v1.7.
|
|
122
|
+
Current dependency ranges (as of sdtk-kit v1.7.1):
|
|
123
123
|
|
|
124
124
|
| Package | Version |
|
|
125
125
|
|------------------|---------|
|
package/bin/sdtk.js
CHANGED
|
@@ -113,7 +113,13 @@ function main(argv) {
|
|
|
113
113
|
if (command === "activate") {
|
|
114
114
|
// eslint-disable-next-line global-require
|
|
115
115
|
const { cmdActivate } = require("../src/commands/activate");
|
|
116
|
-
|
|
116
|
+
cmdActivate(argv.slice(1)).then((code) => {
|
|
117
|
+
process.exitCode = code;
|
|
118
|
+
}).catch((err) => {
|
|
119
|
+
console.error(`sdtk activate: unexpected error: ${err.message}`);
|
|
120
|
+
process.exitCode = 2;
|
|
121
|
+
});
|
|
122
|
+
return 0; // exitCode will be overwritten by the Promise above
|
|
117
123
|
}
|
|
118
124
|
|
|
119
125
|
console.error(`sdtk: unknown command '${command}'.`);
|
package/package.json
CHANGED