-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
3,193 additions
and
446 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 |
---|---|---|
|
@@ -2,5 +2,8 @@ | |
node_modules | ||
package-lock.json | ||
|
||
# OS junk files | ||
.DS_Store | ||
|
||
# Project specific stuff | ||
dist |
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 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "syncing", | ||
"displayName": "Syncing", | ||
"description": "Sync all of your VSCode settings across multiple devices.", | ||
"version": "1.6.2", | ||
"version": "1.7.0", | ||
"publisher": "nonoroazoro", | ||
"author": { | ||
"email": "[email protected]", | ||
|
@@ -94,35 +94,35 @@ | |
"postinstall": "node ./node_modules/vscode/bin/install" | ||
}, | ||
"dependencies": { | ||
"@octokit/rest": "^15.2.6", | ||
"async": "^2.6.0", | ||
"extract-zip": "^1.6.6", | ||
"fs-extra": "^5.0.0", | ||
"@octokit/rest": "^15.9.4", | ||
"async": "^2.6.1", | ||
"extract-zip": "^1.6.7", | ||
"fs-extra": "^6.0.1", | ||
"https-proxy-agent": "^2.2.1", | ||
"jsonc-parser": "^2.0.0", | ||
"jsondiffpatch": "^0.3.9", | ||
"jsonc-parser": "^2.0.1", | ||
"jsondiffpatch": "^0.3.11", | ||
"junk": "^2.1.0", | ||
"lodash.pick": "^4.4.0", | ||
"minimatch": "^3.0.4", | ||
"moment": "^2.22.1", | ||
"moment": "^2.22.2", | ||
"tmp": "0.0.33" | ||
}, | ||
"devDependencies": { | ||
"@types/async": "^2.0.49", | ||
"@types/extract-zip": "^1.6.2", | ||
"@types/fs-extra": "^5.0.2", | ||
"@types/fs-extra": "^5.0.4", | ||
"@types/lodash.pick": "^4.4.3", | ||
"@types/minimatch": "^3.0.3", | ||
"@types/node": "^10.0.0", | ||
"@types/node": "^10.5.2", | ||
"@types/tmp": "0.0.33", | ||
"husky": "^0.14.3", | ||
"lint-staged": "^7.0.5", | ||
"mocha": "^5.1.1", | ||
"lint-staged": "^7.2.0", | ||
"mocha": "^5.2.0", | ||
"rimraf": "^2.6.2", | ||
"should": "^13.2.1", | ||
"tslint": "^5.9.1", | ||
"typescript": "^2.8.3", | ||
"vscode": "^1.1.16" | ||
"tslint": "^5.10.0", | ||
"typescript": "^2.9.2", | ||
"vscode": "^1.1.18" | ||
}, | ||
"lint-staged": { | ||
"./src/**/*.ts": [ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
/** | ||
* Represent the types of various `VSCode Setting`, such as `Extensions`, `Keybindings`... | ||
*/ | ||
export enum SettingTypes | ||
{ | ||
Extensions = "extensions", | ||
Keybindings = "keybindings", | ||
Locale = "locale", | ||
Settings = "settings", | ||
Snippets = "snippets" | ||
} | ||
|
||
/** | ||
* Represent a `VSCode Setting`. | ||
*/ | ||
export interface ISetting | ||
{ | ||
/** | ||
* Settings content. | ||
*/ | ||
content?: string; | ||
|
||
/** | ||
* Settings local filepath. | ||
*/ | ||
filepath: string; | ||
|
||
/** | ||
* Settings filename in GitHub Gist. | ||
*/ | ||
remoteFilename: string; | ||
|
||
/** | ||
* Settings type. | ||
*/ | ||
type: SettingTypes; | ||
} | ||
|
||
/** | ||
* Represent a VSCode extension. | ||
*/ | ||
export interface IExtension | ||
{ | ||
/** | ||
* The extension's identifier in the form of: `publisher.name`. | ||
*/ | ||
id: string; | ||
|
||
/** | ||
* The extension's name. | ||
*/ | ||
name: string; | ||
|
||
/** | ||
* The extension's publisher. | ||
*/ | ||
publisher: string; | ||
|
||
/** | ||
* The extension's version. | ||
*/ | ||
version: string; | ||
|
||
/** | ||
* The extension's metadata. | ||
*/ | ||
__metadata?: string; | ||
|
||
/** | ||
* The downloaded extension's zip file path. | ||
*/ | ||
zip?: string; | ||
|
||
/** | ||
* The installed extension's folder path. | ||
*/ | ||
path?: string; | ||
} | ||
|
||
/** | ||
* Represent the currently synced item. | ||
*/ | ||
export interface ISyncedItem | ||
{ | ||
/** | ||
* Extensions that have been added, updated or removed. | ||
*/ | ||
extension?: { | ||
added: IExtension[], | ||
addedErrors: IExtension[], | ||
updated: IExtension[], | ||
updatedErrors: IExtension[], | ||
removed: IExtension[], | ||
removedErrors: IExtension[] | ||
}; | ||
|
||
/** | ||
* `VSCode Setting` that have been added, updated or removed. | ||
*/ | ||
setting?: ISetting; | ||
} |
Oops, something went wrong.