Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
e5a348f57c | |||
d243880d55 | |||
c1bd85fc58 | |||
b81220b2ba | |||
ca26d9e98d | |||
61b6161470 | |||
463183bd3a | |||
069a74d2b4 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@git.zone/tsdoc",
|
"name": "@git.zone/tsdoc",
|
||||||
"version": "1.1.21",
|
"version": "1.1.25",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "An advanced TypeScript documentation tool leveraging AI for enhanced insights and automated documentation generation, with capabilities for automated and enhanced documentation creation tailor-made for TypeScript projects.",
|
"description": "An advanced TypeScript documentation tool leveraging AI for enhanced insights and automated documentation generation, with capabilities for automated and enhanced documentation creation tailor-made for TypeScript projects.",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
@ -25,16 +25,16 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@push.rocks/early": "^4.0.3",
|
"@push.rocks/early": "^4.0.3",
|
||||||
"@push.rocks/npmextra": "^5.0.10",
|
"@push.rocks/npmextra": "^5.0.12",
|
||||||
"@push.rocks/qenv": "^6.0.5",
|
"@push.rocks/qenv": "^6.0.5",
|
||||||
"@push.rocks/smartai": "^0.0.8",
|
"@push.rocks/smartai": "^0.0.8",
|
||||||
"@push.rocks/smartcli": "^4.0.6",
|
"@push.rocks/smartcli": "^4.0.10",
|
||||||
"@push.rocks/smartdelay": "^3.0.5",
|
"@push.rocks/smartdelay": "^3.0.5",
|
||||||
"@push.rocks/smartfile": "^11.0.13",
|
"@push.rocks/smartfile": "^11.0.13",
|
||||||
"@push.rocks/smartinteract": "^2.0.15",
|
"@push.rocks/smartinteract": "^2.0.15",
|
||||||
"@push.rocks/smartlog": "^3.0.1",
|
"@push.rocks/smartlog": "^3.0.1",
|
||||||
"@push.rocks/smartlog-destination-local": "^9.0.1",
|
"@push.rocks/smartlog-destination-local": "^9.0.1",
|
||||||
"@push.rocks/smartpath": "^5.0.13",
|
"@push.rocks/smartpath": "^5.0.14",
|
||||||
"@push.rocks/smartshell": "^3.0.4",
|
"@push.rocks/smartshell": "^3.0.4",
|
||||||
"typedoc": "^0.25.13",
|
"typedoc": "^0.25.13",
|
||||||
"typescript": "^5.4.5"
|
"typescript": "^5.4.5"
|
||||||
|
46
pnpm-lock.yaml
generated
46
pnpm-lock.yaml
generated
@ -9,8 +9,8 @@ dependencies:
|
|||||||
specifier: ^4.0.3
|
specifier: ^4.0.3
|
||||||
version: 4.0.4
|
version: 4.0.4
|
||||||
'@push.rocks/npmextra':
|
'@push.rocks/npmextra':
|
||||||
specifier: ^5.0.10
|
specifier: ^5.0.12
|
||||||
version: 5.0.10
|
version: 5.0.12
|
||||||
'@push.rocks/qenv':
|
'@push.rocks/qenv':
|
||||||
specifier: ^6.0.5
|
specifier: ^6.0.5
|
||||||
version: 6.0.5
|
version: 6.0.5
|
||||||
@ -18,8 +18,8 @@ dependencies:
|
|||||||
specifier: ^0.0.8
|
specifier: ^0.0.8
|
||||||
version: 0.0.8
|
version: 0.0.8
|
||||||
'@push.rocks/smartcli':
|
'@push.rocks/smartcli':
|
||||||
specifier: ^4.0.6
|
specifier: ^4.0.10
|
||||||
version: 4.0.8
|
version: 4.0.10
|
||||||
'@push.rocks/smartdelay':
|
'@push.rocks/smartdelay':
|
||||||
specifier: ^3.0.5
|
specifier: ^3.0.5
|
||||||
version: 3.0.5
|
version: 3.0.5
|
||||||
@ -36,8 +36,8 @@ dependencies:
|
|||||||
specifier: ^9.0.1
|
specifier: ^9.0.1
|
||||||
version: 9.0.1
|
version: 9.0.1
|
||||||
'@push.rocks/smartpath':
|
'@push.rocks/smartpath':
|
||||||
specifier: ^5.0.13
|
specifier: ^5.0.14
|
||||||
version: 5.0.13
|
version: 5.0.14
|
||||||
'@push.rocks/smartshell':
|
'@push.rocks/smartshell':
|
||||||
specifier: ^3.0.4
|
specifier: ^3.0.4
|
||||||
version: 3.0.4
|
version: 3.0.4
|
||||||
@ -100,7 +100,7 @@ packages:
|
|||||||
'@push.rocks/smartmanifest': 2.0.2
|
'@push.rocks/smartmanifest': 2.0.2
|
||||||
'@push.rocks/smartmime': 1.0.6
|
'@push.rocks/smartmime': 1.0.6
|
||||||
'@push.rocks/smartopen': 2.0.0
|
'@push.rocks/smartopen': 2.0.0
|
||||||
'@push.rocks/smartpath': 5.0.13
|
'@push.rocks/smartpath': 5.0.14
|
||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
'@push.rocks/smartrequest': 2.0.21
|
'@push.rocks/smartrequest': 2.0.21
|
||||||
'@push.rocks/smartrx': 3.0.7
|
'@push.rocks/smartrx': 3.0.7
|
||||||
@ -399,11 +399,11 @@ packages:
|
|||||||
hasBin: true
|
hasBin: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@push.rocks/early': 4.0.4
|
'@push.rocks/early': 4.0.4
|
||||||
'@push.rocks/smartcli': 4.0.8
|
'@push.rocks/smartcli': 4.0.10
|
||||||
'@push.rocks/smartdelay': 3.0.5
|
'@push.rocks/smartdelay': 3.0.5
|
||||||
'@push.rocks/smartfile': 11.0.13
|
'@push.rocks/smartfile': 11.0.13
|
||||||
'@push.rocks/smartlog': 3.0.3
|
'@push.rocks/smartlog': 3.0.3
|
||||||
'@push.rocks/smartpath': 5.0.13
|
'@push.rocks/smartpath': 5.0.14
|
||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
typescript: 5.3.3
|
typescript: 5.3.3
|
||||||
dev: true
|
dev: true
|
||||||
@ -413,12 +413,12 @@ packages:
|
|||||||
hasBin: true
|
hasBin: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@push.rocks/early': 4.0.4
|
'@push.rocks/early': 4.0.4
|
||||||
'@push.rocks/smartcli': 4.0.8
|
'@push.rocks/smartcli': 4.0.10
|
||||||
'@push.rocks/smartdelay': 3.0.5
|
'@push.rocks/smartdelay': 3.0.5
|
||||||
'@push.rocks/smartfile': 11.0.13
|
'@push.rocks/smartfile': 11.0.13
|
||||||
'@push.rocks/smartlog': 3.0.3
|
'@push.rocks/smartlog': 3.0.3
|
||||||
'@push.rocks/smartlog-destination-local': 9.0.1
|
'@push.rocks/smartlog-destination-local': 9.0.1
|
||||||
'@push.rocks/smartpath': 5.0.13
|
'@push.rocks/smartpath': 5.0.14
|
||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
'@push.rocks/smartspawn': 3.0.2
|
'@push.rocks/smartspawn': 3.0.2
|
||||||
'@types/html-minifier': 4.0.5
|
'@types/html-minifier': 4.0.5
|
||||||
@ -624,14 +624,14 @@ packages:
|
|||||||
'@types/symbol-tree': 3.2.5
|
'@types/symbol-tree': 3.2.5
|
||||||
symbol-tree: 3.2.4
|
symbol-tree: 3.2.4
|
||||||
|
|
||||||
/@push.rocks/npmextra@5.0.10:
|
/@push.rocks/npmextra@5.0.12:
|
||||||
resolution: {integrity: sha512-qkyIwlKW9jEqBTCkoo4IuaF5et7QTRZhAPjotQF8E71MRwYBH+QUvj5JwQMBy4ZhpWf+3/3X47aib3JAhzJFbQ==}
|
resolution: {integrity: sha512-YZgpVFYoAKG87ygNGH2xbh6/xM7OUOvr6NF2RATcjyITgiY3NPKK+CjxCFWn6VA+SOZfueWWQBJmhN7qak/SvA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@push.rocks/qenv': 6.0.5
|
'@push.rocks/qenv': 6.0.5
|
||||||
'@push.rocks/smartfile': 11.0.13
|
'@push.rocks/smartfile': 11.0.13
|
||||||
'@push.rocks/smartjson': 5.0.16
|
'@push.rocks/smartjson': 5.0.16
|
||||||
'@push.rocks/smartlog': 3.0.3
|
'@push.rocks/smartlog': 3.0.3
|
||||||
'@push.rocks/smartpath': 5.0.13
|
'@push.rocks/smartpath': 5.0.14
|
||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
'@push.rocks/smartrx': 3.0.7
|
'@push.rocks/smartrx': 3.0.7
|
||||||
'@push.rocks/taskbuffer': 3.1.7
|
'@push.rocks/taskbuffer': 3.1.7
|
||||||
@ -644,7 +644,7 @@ packages:
|
|||||||
'@configvault.io/interfaces': 1.0.17
|
'@configvault.io/interfaces': 1.0.17
|
||||||
'@push.rocks/smartfile': 11.0.13
|
'@push.rocks/smartfile': 11.0.13
|
||||||
'@push.rocks/smartlog': 3.0.3
|
'@push.rocks/smartlog': 3.0.3
|
||||||
'@push.rocks/smartpath': 5.0.13
|
'@push.rocks/smartpath': 5.0.14
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@push.rocks/smartai@0.0.8:
|
/@push.rocks/smartai@0.0.8:
|
||||||
@ -652,7 +652,7 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@push.rocks/qenv': 6.0.5
|
'@push.rocks/qenv': 6.0.5
|
||||||
'@push.rocks/smartfile': 11.0.13
|
'@push.rocks/smartfile': 11.0.13
|
||||||
'@push.rocks/smartpath': 5.0.13
|
'@push.rocks/smartpath': 5.0.14
|
||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
openai: 4.31.0
|
openai: 4.31.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
@ -695,8 +695,8 @@ packages:
|
|||||||
'@tempfix/watcher': 2.3.0
|
'@tempfix/watcher': 2.3.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@push.rocks/smartcli@4.0.8:
|
/@push.rocks/smartcli@4.0.10:
|
||||||
resolution: {integrity: sha512-B4F3nqq7ko8tev1wxGdFnh/zSDDP8Q9LpEOb3wTf0jayyhYetFQ7n6zi4J9fhXYBKPkJSyQEBoOfRmgJyeLHkA==}
|
resolution: {integrity: sha512-rnjLwibIMuikK+5I3w/WtN2twrXbHhq98bsApXFjzULXbEMWDyHqcIJ+yAhZvOXmtqEwejEALGNx6bUgn5pvvQ==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@push.rocks/lik': 6.0.14
|
'@push.rocks/lik': 6.0.14
|
||||||
'@push.rocks/smartlog': 3.0.3
|
'@push.rocks/smartlog': 3.0.3
|
||||||
@ -749,7 +749,7 @@ packages:
|
|||||||
'@push.rocks/smarthash': 3.0.4
|
'@push.rocks/smarthash': 3.0.4
|
||||||
'@push.rocks/smartjson': 5.0.16
|
'@push.rocks/smartjson': 5.0.16
|
||||||
'@push.rocks/smartmime': 1.0.6
|
'@push.rocks/smartmime': 1.0.6
|
||||||
'@push.rocks/smartpath': 5.0.13
|
'@push.rocks/smartpath': 5.0.14
|
||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
'@push.rocks/smartrequest': 2.0.21
|
'@push.rocks/smartrequest': 2.0.21
|
||||||
'@push.rocks/smartstream': 2.0.8
|
'@push.rocks/smartstream': 2.0.8
|
||||||
@ -770,7 +770,7 @@ packages:
|
|||||||
'@push.rocks/smarthash': 3.0.4
|
'@push.rocks/smarthash': 3.0.4
|
||||||
'@push.rocks/smartjson': 5.0.16
|
'@push.rocks/smartjson': 5.0.16
|
||||||
'@push.rocks/smartmime': 1.0.6
|
'@push.rocks/smartmime': 1.0.6
|
||||||
'@push.rocks/smartpath': 5.0.13
|
'@push.rocks/smartpath': 5.0.14
|
||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
'@push.rocks/smartrequest': 2.0.21
|
'@push.rocks/smartrequest': 2.0.21
|
||||||
'@push.rocks/smartstream': 3.0.34
|
'@push.rocks/smartstream': 3.0.34
|
||||||
@ -879,8 +879,8 @@ packages:
|
|||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
minimatch: 9.0.4
|
minimatch: 9.0.4
|
||||||
|
|
||||||
/@push.rocks/smartpath@5.0.13:
|
/@push.rocks/smartpath@5.0.14:
|
||||||
resolution: {integrity: sha512-MTcZ2kVQDtyNSmcyadIMcSsGeTX2EcNvw2HFHRWNmMq/CHpEM8rluad11zJm5ULTydsAl176rEwESzn4YD5e8A==}
|
resolution: {integrity: sha512-/FwGJ7+y1il6joO+bTc45X8z8h/UKUyZqNSvrKMA69zHFn8dl2552OApVcNphuAxhid4OUAOVSnJFVywOdRYyw==}
|
||||||
|
|
||||||
/@push.rocks/smartpdf@3.0.17:
|
/@push.rocks/smartpdf@3.0.17:
|
||||||
resolution: {integrity: sha512-oymxajeDnwMzg20Ru7GkpYHM4KtNyTrvxt+AwXD3EjzOaJnFtevszDpCdcCruBik8BcG2XiKJIyY5PprPALvaA==}
|
resolution: {integrity: sha512-oymxajeDnwMzg20Ru7GkpYHM4KtNyTrvxt+AwXD3EjzOaJnFtevszDpCdcCruBik8BcG2XiKJIyY5PprPALvaA==}
|
||||||
@ -888,7 +888,7 @@ packages:
|
|||||||
'@push.rocks/smartdelay': 3.0.5
|
'@push.rocks/smartdelay': 3.0.5
|
||||||
'@push.rocks/smartfile': 10.0.41
|
'@push.rocks/smartfile': 10.0.41
|
||||||
'@push.rocks/smartnetwork': 3.0.2
|
'@push.rocks/smartnetwork': 3.0.2
|
||||||
'@push.rocks/smartpath': 5.0.13
|
'@push.rocks/smartpath': 5.0.14
|
||||||
'@push.rocks/smartpromise': 4.0.3
|
'@push.rocks/smartpromise': 4.0.3
|
||||||
'@push.rocks/smartpuppeteer': 2.0.2
|
'@push.rocks/smartpuppeteer': 2.0.2
|
||||||
'@push.rocks/smartunique': 3.0.8
|
'@push.rocks/smartunique': 3.0.8
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tsdoc',
|
name: '@git.zone/tsdoc',
|
||||||
version: '1.1.21',
|
version: '1.1.25',
|
||||||
description: 'An advanced TypeScript documentation tool leveraging AI for enhanced insights and automated documentation generation, with capabilities for automated and enhanced documentation creation tailor-made for TypeScript projects.'
|
description: 'An advanced TypeScript documentation tool leveraging AI for enhanced insights and automated documentation generation, with capabilities for automated and enhanced documentation creation tailor-made for TypeScript projects.'
|
||||||
}
|
}
|
||||||
|
@ -42,13 +42,15 @@ export class AiDoc {
|
|||||||
mandatoryKeys: ['OPENAI_TOKEN'],
|
mandatoryKeys: ['OPENAI_TOKEN'],
|
||||||
});
|
});
|
||||||
|
|
||||||
const missingKeys = this.npmextraKV.getMissingMandatoryKeys();
|
const missingKeys = await this.npmextraKV.getMissingMandatoryKeys();
|
||||||
if (missingKeys.length > 0) {
|
if (missingKeys.length > 0) {
|
||||||
// lets try argv
|
// lets try argv
|
||||||
if (this.argvArg?.OPENAI_TOKEN) {
|
if (this.argvArg?.OPENAI_TOKEN) {
|
||||||
this.openaiToken = this.argvArg.OPENAI_TOKEN;
|
this.openaiToken = this.argvArg.OPENAI_TOKEN;
|
||||||
} else {
|
} else {
|
||||||
// lets try smartinteract
|
// lets try smartinteract
|
||||||
|
// wait for a second until OpenAI fixes punycode problem...
|
||||||
|
await plugins.smartdelay.delayFor(1000);
|
||||||
const answerObject = await this.smartinteractInstance.askQuestion({
|
const answerObject = await this.smartinteractInstance.askQuestion({
|
||||||
type: 'input',
|
type: 'input',
|
||||||
message: `Please provide your OpenAI token`,
|
message: `Please provide your OpenAI token`,
|
||||||
@ -59,7 +61,7 @@ export class AiDoc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.printSanitizedToken();
|
this.printSanitizedToken();
|
||||||
// await this.npmextraKV.writeKey('OPENAI_TOKEN', this.openaiToken);
|
await this.npmextraKV.writeKey('OPENAI_TOKEN', this.openaiToken);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user