@lsbjordao/type-taxon-script 1.0.14 → 1.1.0
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/dist/init.js +2 -2
- package/package.json +4 -4
- package/readme.md +9 -1
package/dist/init.js
CHANGED
|
@@ -70,14 +70,14 @@ function ttsInit() {
|
|
|
70
70
|
if (dirs.length === 0) {
|
|
71
71
|
console.error('\x1b[36mℹ️ The directory is empty. Please clone a TTS project first.\x1b[0m');
|
|
72
72
|
console.log('\x1b[36mℹ️ Please, visit:\x1b[0m');
|
|
73
|
-
console.log('\x1b[36m TypeTaxonScript package:', '\x1b[33mhttps://www.npmjs.com/package/
|
|
73
|
+
console.log('\x1b[36m TypeTaxonScript package:', '\x1b[33mhttps://www.npmjs.com/package/@lsbjordao/type-taxon-script.\x1b[0m');
|
|
74
74
|
console.log('\x1b[36m TTS project (Mimosa):', '\x1b[33mhttps://github.com/lsbjordao/TTS-Mimosa.\x1b[0m');
|
|
75
75
|
return;
|
|
76
76
|
}
|
|
77
77
|
if (!dirs.includes('taxon') && !dirs.includes('character')) {
|
|
78
78
|
console.error('\x1b[36mℹ️ The directory does not contain a TTS project.\x1b[0m');
|
|
79
79
|
console.log('\x1b[36mℹ️ Please, visit:\x1b[0m');
|
|
80
|
-
console.log('\x1b[36m TypeTaxonScript package:', '\x1b[33mhttps://www.npmjs.com/package/
|
|
80
|
+
console.log('\x1b[36m TypeTaxonScript package:', '\x1b[33mhttps://www.npmjs.com/package/@lsbjordao/type-taxon-script.\x1b[0m');
|
|
81
81
|
console.log('\x1b[36m TTS project (Mimosa):', '\x1b[33mhttps://github.com/lsbjordao/TTS-Mimosa.\x1b[0m');
|
|
82
82
|
return;
|
|
83
83
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lsbjordao/type-taxon-script",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"author": "Lucas Jordão <tucarj@gmail.com> & André Eppinghaus <andreeppinghaus@gmail.com> & Vicente Calfo <vicentecalfo@gmail.com>",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"description": "TypeTaxonScript",
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
"fs": "^0.0.1-security",
|
|
13
13
|
"lodash": "^4.17.21",
|
|
14
14
|
"mustache": "^4.2.0",
|
|
15
|
-
"yargs": "^17.7.2"
|
|
15
|
+
"yargs": "^17.7.2",
|
|
16
|
+
"typescript": "^5.1.5"
|
|
16
17
|
},
|
|
17
18
|
"devDependencies": {
|
|
18
19
|
"@types/cli-spinner": "^0.2.3",
|
|
19
20
|
"@types/lodash": "^4.14.202",
|
|
20
21
|
"@types/mustache": "^4.2.5",
|
|
21
22
|
"@types/node": "^20.4.10",
|
|
22
|
-
"@types/yargs": "^17.0.32"
|
|
23
|
-
"typescript": "^5.1.5"
|
|
23
|
+
"@types/yargs": "^17.0.32"
|
|
24
24
|
},
|
|
25
25
|
"main": "dist/tts.js",
|
|
26
26
|
"files": [
|
package/readme.md
CHANGED
|
@@ -77,4 +77,12 @@ To generate a new `.ts` file containing a comprehensive script outlining the ent
|
|
|
77
77
|
tts new --genus Mimosa --species epithet
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
After the process, a new file named `Mimosa_epithet.ts` will be created in the `./output` directory. To access this script file, simply hold down the `Ctrl` key and click on the file path displayed in the console. However, before you begin editing the script, it is important to relocate this file to the `./taxon` directory, as the script specifically functions within that directory. Outside this directory, the script will not works properly. Opening the script outside of this directory will trigger multiple dependency errors.
|
|
80
|
+
After the process, a new file named `Mimosa_epithet.ts` will be created in the `./output` directory. To access this script file, simply hold down the `Ctrl` key and click on the file path displayed in the console. However, before you begin editing the script, it is important to relocate this file to the `./taxon` directory, as the script specifically functions within that directory. Outside this directory, the script will not works properly. Opening the script outside of this directory will trigger multiple dependency errors.
|
|
81
|
+
|
|
82
|
+
## Exporting JSON database
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
tts export --genus Mimosa
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+

|