Jani Eväkallio
265ab19e31
Prototype basic publish command (just pushes all changes to git)
2020-07-16 11:57:47 +01:00
Ankit Tiwari
3ef95628f5
Remove posttest command
2020-07-16 13:33:18 +05:30
Ankit Tiwari
626f64aec0
Propagate the error from writeFileToDisk method
2020-07-16 13:32:30 +05:30
Ankit Tiwari
e36c285764
Refactor renameFile to use path module
2020-07-16 13:30:26 +05:30
Ankit Tiwari
20ca92f451
Make fs tests no blocking by using promises
2020-07-16 12:12:50 +05:30
Ankit Tiwari
4557150378
Use Promise.resolve(null)
2020-07-16 11:50:41 +05:30
Ankit Tiwari
deb382af2d
Mock fs for tests
2020-07-16 11:08:29 +05:30
Ankit Tiwari
34c775f185
Merge branch 'master' of github.com:foambubble/foam into cli/apply-text-edit
2020-07-16 10:34:59 +05:30
Ankit Tiwari
22876cd5f0
Refactor (PR changes)
...
1. Renamed initializeNoteGraph.ts to initialize-note-graph.ts to be consistent with naming
2. Refactored code in janitor and migrate commands
2020-07-16 10:31:55 +05:30
dependabot[bot]
adfef15404
Bump lodash from 4.17.15 to 4.17.19 in /packages/foam-core ( #126 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-15 22:33:23 +01:00
Francis Hamel
6b99a8bd23
Add open daily note base feature ( #79 )
...
* Add dateformat package dependency
* Implement Open Daily Note feature
- Activate command
- Add default keybindings for the command
- Use settings to configure the filename format, the file extension,
the title format and the directory where the note should be created
2020-07-15 21:32:01 +01:00
chirag-singhal
9c1350f64b
removed excess white space
2020-07-15 22:26:00 +05:30
chirag-singhal
808a453641
removed extra test files
2020-07-15 22:23:59 +05:30
chirag-singhal
63521c91e7
minor fixes
2020-07-15 22:21:41 +05:30
chirag-singhal
c652385a97
Merge branch 'cli/apply-text-edit' of https://github.com/foambubble/foam into cli/apply-text-edit
2020-07-15 22:18:36 +05:30
chirag-singhal
ee7fa79e63
updated foam janitor command
2020-07-15 22:18:17 +05:30
chirag-singhal
ea0a659119
added foam migrate command
2020-07-15 22:12:39 +05:30
Ankit Tiwari
b0e587ddb8
Merge branch 'cli/apply-text-edit' of github.com:foambubble/foam into cli/apply-text-edit
2020-07-15 22:05:07 +05:30
Ankit Tiwari
04d86bc45a
Add foam-core as dependency
2020-07-15 22:05:02 +05:30
chirag-singhal
76b421e800
used github slagger instead of dashify
2020-07-15 21:51:04 +05:30
Ankit Tiwari
d8c42bd8c4
Replace dashify by github-slugger
2020-07-15 21:43:32 +05:30
chirag-singhal
093275ac0c
fixed core tests
2020-07-15 21:34:14 +05:30
chirag-singhal
c2e998927d
Solves issue with roam migration
2020-07-15 21:30:20 +05:30
chirag-singhal
0ace092c34
added tests files for migration
2020-07-15 21:15:30 +05:30
chirag-singhal
cb6ad7809f
ignore link refrences with no file
2020-07-15 16:55:07 +05:30
chirag-singhal
896e894aff
added glob as dependency
2020-07-15 11:42:16 +05:30
chirag-singhal
c0f84f66f1
minor fixes
2020-07-15 11:41:04 +05:30
chirag-singhal
d7de46274d
check if given path is valid directory
2020-07-15 11:32:31 +05:30
Ankit Tiwari
c9bba037b0
Use note.eol to append line endings
2020-07-15 00:29:58 +05:30
Ankit Tiwari
942d9b480f
Store endOfLine inside Note
2020-07-15 00:20:32 +05:30
Ankit Tiwari
a5f8050d9c
Add ora spinner
2020-07-14 22:18:48 +05:30
Ankit Tiwari
c5bd48d86e
PR changes
2020-07-14 21:53:04 +05:30
chirag-singhal
9e07b0f19a
merge branch janitor/link-reference-definitions
2020-07-14 21:14:23 +05:30
chirag-singhal
bb8d0dabba
added tests for generateHeading in janitor
2020-07-14 20:44:54 +05:30
chirag-singhal
b113cafeba
added generate Heading function to janitor
2020-07-14 20:40:01 +05:30
Ankit Tiwari
7c041e0fc8
kebab case file names while running janitor
2020-07-14 20:29:39 +05:30
Ankit Tiwari
f6c3ecf369
Implement basic foam-cli janitor command
2020-07-14 19:58:17 +05:30
Ankit Tiwari
9e452aa9c9
Move noteGraph scaffolding to utils
2020-07-14 19:06:25 +05:30
Ankit Tiwari
52f1dc45a6
Implement generateHeading janitor method
...
Co-authored-by: CHIRAG SINGHAL <csinghal208@gmail.com >
2020-07-14 18:50:43 +05:30
Ankit Tiwari
92e4510c2d
Merge branch 'janitor/link-reference-definitions' into cli/apply-text-edit
2020-07-14 18:33:37 +05:30
Ankit Tiwari
78586be4a3
Add partial tests for writeFileToDisk method
2020-07-14 17:31:22 +05:30
chirag-singhal
79a5621f31
Add no change in link definitions test to generateLinkReferences janitor method
2020-07-14 17:18:17 +05:30
Ankit Tiwari
9367e8e495
Implement first version of applyText method
2020-07-14 17:03:56 +05:30
Ankit Tiwari
b611b1bb07
export TextEdit interface
2020-07-14 17:03:12 +05:30
chirag-singhal
b987ae7a3f
Add update link definitions test to generateLinkReferences janitor method
2020-07-14 16:36:47 +05:30
chirag-singhal
6fa858f8d4
Add remove link definitions test to generateLinkReferences janitor method
2020-07-14 16:17:56 +05:30
Ankit Tiwari
e57db48f0e
Setup Jest
2020-07-14 16:05:49 +05:30
Jani Eväkallio
3e20dc3356
Add partial tests for generateLinkReferenceDefinitions
2020-07-14 10:06:57 +01:00
Jani Eväkallio
d65f724b56
Implement first version of generateLinkReferenceDefinitions janitor method
2020-07-14 10:06:23 +01:00
Jani Eväkallio
6bd9aaa949
Export stringifyMarkdownLinkReferenceDefinition from foam-core
2020-07-14 10:05:47 +01:00