imdone-core 1.46.0 → 1.46.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.
@@ -45,11 +45,14 @@ module.exports = class ArchivePlugin extends Plugin {
45
45
 
46
46
  const content = this.project.addMetaToContent(
47
47
  [
48
- { key: 'archived', value: 'true'}
48
+ { key: 'archived', value: 'true'},
49
+ { key: 'archivedAt', value: this.project.isoDateWithOffset },
50
+ { key: 'originalPath', value: task.relPath },
51
+ { key: 'originalLine', value: task.line }
49
52
  ],
50
53
  task.content
51
54
  )
52
- const taskContent = `${task.beforeText}#${task.list} ${content}`
55
+ const taskContent = `${task.beforeText}#${task.list} ${content}\n\n\n`
53
56
 
54
57
  this.fileGateway.preparePathForWriting(newPath)
55
58
  this.fileGateway.appendFileSync(newPath, taskContent)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imdone-core",
3
- "version": "1.46.0",
3
+ "version": "1.46.1",
4
4
  "description": "imdone-core",
5
5
  "main": "index.js",
6
6
  "scripts": {