@zokugun/artifact 0.3.0 → 0.3.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/lib/cli.js +3 -1
- package/lib/commands/update.js +1 -1
- package/package.json +2 -1
package/lib/cli.js
CHANGED
|
@@ -7,7 +7,9 @@ const commander_1 = require("commander");
|
|
|
7
7
|
const package_json_1 = __importDefault(require("../package.json"));
|
|
8
8
|
const commands_1 = require("./commands");
|
|
9
9
|
const program = new commander_1.Command();
|
|
10
|
-
program
|
|
10
|
+
program
|
|
11
|
+
.version(package_json_1.default.version, '-v, --version')
|
|
12
|
+
.description(package_json_1.default.description);
|
|
11
13
|
program
|
|
12
14
|
.command('add')
|
|
13
15
|
.description('add an artifact to the current project')
|
package/lib/commands/update.js
CHANGED
|
@@ -22,7 +22,7 @@ const tempy_1 = __importDefault(require("tempy"));
|
|
|
22
22
|
const config_1 = require("../config");
|
|
23
23
|
const steps_1 = require("../steps");
|
|
24
24
|
const dev_null_1 = require("../utils/dev-null");
|
|
25
|
-
const commonFlow = (0, steps_1.composeSteps)(steps_1.steps.readIncomingPackage, steps_1.steps.validateNewerPackage, steps_1.steps.readIncomingConfig, steps_1.steps.validateUpdatability, steps_1.steps.readFiles, steps_1.steps.readEditorConfig, steps_1.steps.mergeTextFiles, steps_1.steps.insertFinalNewLine, steps_1.steps.applyFormatting, steps_1.steps.copyBinaryFiles, steps_1.steps.writeTextFiles);
|
|
25
|
+
const commonFlow = (0, steps_1.composeSteps)(steps_1.steps.readIncomingPackage, steps_1.steps.validateNewerPackage, steps_1.steps.readIncomingConfig, steps_1.steps.validateUpdatability, steps_1.steps.readFiles, steps_1.steps.readEditorConfig, steps_1.steps.replaceTemplates, steps_1.steps.mergeTextFiles, steps_1.steps.insertFinalNewLine, steps_1.steps.applyFormatting, steps_1.steps.copyBinaryFiles, steps_1.steps.writeTextFiles);
|
|
26
26
|
function update(inputOptions) {
|
|
27
27
|
var _a, _b;
|
|
28
28
|
return __awaiter(this, void 0, void 0, function* () {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zokugun/artifact",
|
|
3
3
|
"description": "Boilerplate your project & keep your configurations up to date",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Baptiste Augrain",
|
|
7
7
|
"email": "daiyam@zokugun.org"
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"test:dev": "mocha",
|
|
31
31
|
"test:watch": "tsc-watch -p test --onSuccess 'mocha'",
|
|
32
32
|
"watch": "tsc-watch -p src",
|
|
33
|
+
"watch:src": "tsc-watch -p src",
|
|
33
34
|
"watch:test": "tsc-watch -p test"
|
|
34
35
|
},
|
|
35
36
|
"dependencies": {
|