Ankit Tiwari
43ac90c3c7
Merge branch 'cli/apply-text-edit' into cli/lint
2020-07-16 11:15:04 +05:30
Ankit Tiwari
deb382af2d
Mock fs for tests
2020-07-16 11:08:29 +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
chirag-singhal
9c1350f64b
removed excess white space
2020-07-15 22:26:00 +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
04d86bc45a
Add foam-core as dependency
2020-07-15 22:05:02 +05:30
chirag-singhal
c2e998927d
Solves issue with roam migration
2020-07-15 21:30:20 +05:30
Ankit Tiwari
7f4f90704d
Implement basic lint command
2020-07-15 21:07:07 +05:30
chirag-singhal
cb6ad7809f
ignore link refrences with no file
2020-07-15 16:55:07 +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
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
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
78586be4a3
Add partial tests for writeFileToDisk method
2020-07-14 17:31:22 +05:30
Ankit Tiwari
9367e8e495
Implement first version of applyText method
2020-07-14 17:03:56 +05:30
Ankit Tiwari
e57db48f0e
Setup Jest
2020-07-14 16:05:49 +05:30
Jani Eväkallio
2501638a55
v0.2.0
2020-07-12 15:16:58 +01:00
Jani Eväkallio
20ae1f2ad9
Prepare for 0.2.0 release
2020-07-12 15:16:28 +01:00
Riccardo Ferretti
8bbf9727f6
renamed packages
...
renamed @foam/core => foam-core and @foam/cli => foam-cli (see https://github.com/foambubble/foam/pull/83#discussion_r453232485 )
2020-07-12 02:39:05 +02:00
Riccardo Ferretti
639edafe52
extracted foam-core and created @foam modules
2020-07-12 02:38:05 +02:00
Jani Eväkallio
1c358dd3a7
Instructions for developing foam-cli with foam-workspace-manager
2020-07-07 13:53:56 +01:00
Jani Eväkallio
821c40118c
Add test code for running foam-workspace-manager from CLI
2020-07-07 13:53:56 +01:00
Jani Eväkallio
9d50f483ff
Add foam-workspace-manager dependency
2020-07-07 13:53:56 +01:00
Jani Eväkallio
5ad24971d3
Remove unused foam-cli mocha tests, will be replaced by jest
2020-07-05 08:50:05 +01:00
Jani Eväkallio
24d81a951d
Remove conflicting test libraries
...
Thanks to moving to monorepo (great idea, me!) we landed in a bit of a mess
where we had conflicting test runners and types from two version of mocha
(foam-vscode and foam-cli) and jest (foam-workspace-manager via tsdx)
To unbreak the tsc builds, I've removed the unused mocha tests (since there
were no tests anyway, with the goal to moving to jest tests across all packages)
For vscode jest tests, see:
https://medium.com/@soloydenko/end-to-end-testing-vs-code-extensions-via-jest-828e5edfeb75
2020-07-05 08:16:56 +01:00
Jani Eväkallio
37deb5d9b7
Comment out cli tests for now
2020-07-05 07:48:05 +01:00
Jani Eväkallio
1580f14204
Init new oclif project for foam-cli
2020-07-04 22:18:59 +01:00