specifica-br 1.0.0 → 1.0.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/dist/index.js +7 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
|
+
};
|
|
3
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
7
|
const commander_1 = require("commander");
|
|
8
|
+
const fs_extra_1 = __importDefault(require("fs-extra"));
|
|
9
|
+
const path_1 = __importDefault(require("path"));
|
|
5
10
|
const init_1 = require("./commands/init");
|
|
6
11
|
const help_1 = require("./commands/help");
|
|
7
12
|
const upgrade_1 = require("./commands/upgrade");
|
|
13
|
+
const packageJson = JSON.parse(fs_extra_1.default.readFileSync(path_1.default.join(__dirname, '..', 'package.json'), 'utf-8'));
|
|
8
14
|
const program = new commander_1.Command();
|
|
9
15
|
program
|
|
10
16
|
.name('specifica-br')
|
|
11
17
|
.description('Ferramenta de automação para desenvolvimento guiado por especificações (Spec Driven Development - SDD) com IA. Otimizado para o ecossistema brasileiro.')
|
|
12
|
-
.version(
|
|
18
|
+
.version(packageJson.version);
|
|
13
19
|
program.addCommand(init_1.initCommand);
|
|
14
20
|
program.addCommand(help_1.helpCommand);
|
|
15
21
|
program.addCommand(upgrade_1.upgradeCommand);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specifica-br",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Ferramenta de automação para desenvolvimento guiado por especificações (Spec Driven Development - SDD) com IA. Otimizado para o ecossistema brasileiro.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|