@vention/vention-cli 0.12.0 → 0.12.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/cli.esm.js +3 -3
- package/package.json +2 -2
package/cli.esm.js
CHANGED
|
@@ -212,7 +212,7 @@ const loginWithSso = async (environment) => {
|
|
|
212
212
|
openBrowser(auth.toString());
|
|
213
213
|
console.log(`🌐 Waiting for authentication callback on port ${port}...`);
|
|
214
214
|
const code = await waitForCode;
|
|
215
|
-
const tokens = await exchangeAuthorizationCodeForTokens({ clientId,
|
|
215
|
+
const tokens = await exchangeAuthorizationCodeForTokens({ clientId, tokenUrl }, code, verifier, redirectUri);
|
|
216
216
|
return tokens;
|
|
217
217
|
};
|
|
218
218
|
const getSsoEnvironmentConfig = getSsoConfig;
|
|
@@ -368,10 +368,10 @@ const serializeFileSystem = (sourceDirectory, ignoredFileSystemNodes, shouldBase
|
|
|
368
368
|
const fullPath = path.join(sourceDirectory, directoryItem);
|
|
369
369
|
const directoryItemInformation = fs.statSync(fullPath);
|
|
370
370
|
if (directoryItemInformation.isDirectory()) {
|
|
371
|
-
fileSystemNode[directoryItem] = serializeFileSystem(fullPath, ignoredFileSystemNodes
|
|
371
|
+
fileSystemNode[directoryItem] = serializeFileSystem(fullPath, ignoredFileSystemNodes);
|
|
372
372
|
}
|
|
373
373
|
else if (directoryItemInformation.isFile()) {
|
|
374
|
-
const fileContent =
|
|
374
|
+
const fileContent = fs.readFileSync(fullPath, "base64") ;
|
|
375
375
|
fileSystemNode[directoryItem] = fileContent;
|
|
376
376
|
}
|
|
377
377
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vention/vention-cli",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.1",
|
|
4
4
|
"description": "CLI tool for Vention applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"chalk": "4.1.2",
|
|
24
|
-
"commander": "14.0.
|
|
24
|
+
"commander": "14.0.2",
|
|
25
25
|
"@inquirer/prompts": "7.6.0",
|
|
26
26
|
"zod": "3.23.8"
|
|
27
27
|
},
|