gitmark 0.0.54 → 0.0.55
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/bin/git-mark-init +3 -2
- package/package.json +1 -1
package/bin/git-mark-init
CHANGED
|
@@ -12,6 +12,7 @@ const homedir = require('os').homedir()
|
|
|
12
12
|
const exec = require('child_process').exec
|
|
13
13
|
const $ = require('child_process').execSync
|
|
14
14
|
const execSync = require('child_process').execSync
|
|
15
|
+
const package = require('../package.json')
|
|
15
16
|
|
|
16
17
|
// MODEL
|
|
17
18
|
// default privkey = brain for urn:json:bitmark
|
|
@@ -140,8 +141,8 @@ console.log('tx', tx)
|
|
|
140
141
|
// create gitmark.json
|
|
141
142
|
console.log('create gitmark.json and check in files')
|
|
142
143
|
console.log(`{
|
|
143
|
-
"@id": "gitmark:${tx}:
|
|
144
|
-
"genesis": "gitmark:${tx}:
|
|
144
|
+
"@id": "gitmark:${tx}:0",
|
|
145
|
+
"genesis": "gitmark:${tx}:0",
|
|
145
146
|
"nick": "gitmark",
|
|
146
147
|
"package": "./package.json",
|
|
147
148
|
"repository": "./"
|