-
-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Started migrating to crossnote * feat: Basically finished the integration * feat: Added commands to open local crossnote config files * fix: Fixed some webview bugs * fix: Fixed less in vscode web extension * refactor: Removed all unnecessary console.log * feat: Updated to crossnote 0.8.3 * fix: Removed some commands * feat: Updated crossnote to 0.8.6 * ci: Fixed check:all
- Loading branch information
Showing
29 changed files
with
6,207 additions
and
1,665 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,5 @@ out | |
|
||
|
||
## special cases | ||
mume | ||
mume | ||
crossnote |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ node_modules | |
out | ||
.direnv | ||
mume | ||
crossnote | ||
crossnote | ||
.vscode-test-web |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** | ||
* Delete ./crossnote directory | ||
* Then copy files from | ||
* - ./node_modules/crossnote/out/dependencies/. to ./crossnote/dependencies/ | ||
* - ./node_modules/crossnote/out/styles/. to ./crossnote/styles/ | ||
* - ./node_modules/crossnote/out/webview/. to ./crossnote/webview/ | ||
*/ | ||
const gulp = require('gulp'); | ||
const fs = require('fs'); | ||
|
||
gulp.task('copy-files', cb => { | ||
// Delete ./crossnote directory | ||
if (fs.existsSync('./crossnote')) { | ||
fs.rmSync('./crossnote', { recursive: true }); | ||
} | ||
|
||
// Copy files | ||
gulp | ||
.src('./node_modules/crossnote/out/dependencies/**/*') | ||
.pipe(gulp.dest('./crossnote/dependencies/')); | ||
gulp | ||
.src('./node_modules/crossnote/out/styles/**/*') | ||
.pipe(gulp.dest('./crossnote/styles/')); | ||
gulp | ||
.src('./node_modules/crossnote/out/webview/**/*') | ||
.pipe(gulp.dest('./crossnote/webview/')); | ||
|
||
console.log('Copy files done.'); | ||
|
||
cb(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.