git-sync-js 1.1.0 → 2.0.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.
- package/README.md +38 -16
- package/dist/src/clone.d.ts +3 -3
- package/dist/src/clone.d.ts.map +1 -1
- package/dist/src/clone.js +15 -11
- package/dist/src/clone.js.map +1 -1
- package/dist/src/commitAndSync.d.ts +8 -8
- package/dist/src/commitAndSync.d.ts.map +1 -1
- package/dist/src/commitAndSync.js +70 -66
- package/dist/src/commitAndSync.js.map +1 -1
- package/dist/src/credential.d.ts.map +1 -1
- package/dist/src/credential.js +2 -2
- package/dist/src/credential.js.map +1 -1
- package/dist/src/errors.d.ts +3 -3
- package/dist/src/errors.d.ts.map +1 -1
- package/dist/src/errors.js +2 -1
- package/dist/src/errors.js.map +1 -1
- package/dist/src/forcePull.d.ts +22 -0
- package/dist/src/forcePull.d.ts.map +1 -0
- package/dist/src/forcePull.js +58 -0
- package/dist/src/forcePull.js.map +1 -0
- package/dist/src/index.d.ts +5 -4
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +5 -4
- package/dist/src/index.js.map +1 -1
- package/dist/src/init.js.map +1 -1
- package/dist/src/initGit.d.ts +7 -7
- package/dist/src/initGit.d.ts.map +1 -1
- package/dist/src/initGit.js +2 -2
- package/dist/src/initGit.js.map +1 -1
- package/dist/src/inspect.d.ts +2 -2
- package/dist/src/inspect.d.ts.map +1 -1
- package/dist/src/inspect.js +24 -10
- package/dist/src/inspect.js.map +1 -1
- package/dist/src/interface.d.ts +53 -31
- package/dist/src/interface.d.ts.map +1 -1
- package/dist/src/interface.js +54 -25
- package/dist/src/interface.js.map +1 -1
- package/dist/src/sync.d.ts +5 -0
- package/dist/src/sync.d.ts.map +1 -1
- package/dist/src/sync.js +16 -2
- package/dist/src/sync.js.map +1 -1
- package/package.json +35 -39
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "git-sync-js",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "JS implementation for Git-Sync, a handy script that backup your notes in a git repo to the remote git services.",
|
|
5
5
|
"homepage": "https://github.com/linonetwo/git-sync-js",
|
|
6
6
|
"bugs": {
|
|
@@ -18,55 +18,51 @@
|
|
|
18
18
|
"dist/src/"
|
|
19
19
|
],
|
|
20
20
|
"scripts": {
|
|
21
|
-
"prepublishOnly": "npm run clean && npm run compile",
|
|
22
|
-
"test": "
|
|
21
|
+
"prepublishOnly": "npm run clean && npm run test && npm run lint && npm run compile",
|
|
22
|
+
"test": "npm run clean:test && jest",
|
|
23
23
|
"clean": "rimraf --no-glob dist",
|
|
24
|
+
"clean:test": "rimraf test/mockRepo test/mockRepo2 test/mockUpstreamRepo",
|
|
24
25
|
"compile": "tsc",
|
|
25
26
|
"docs": "docs-ts",
|
|
26
27
|
"lint": "eslint --ext ts .",
|
|
27
28
|
"lint:fix": "eslint --ext ts --fix .",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
29
|
+
"docs:build": "docusaurus build",
|
|
30
|
+
"docs:dev": "docusaurus start",
|
|
31
|
+
"docs:generate": "npm run docs:generate:api && npm run docs:generate:copy",
|
|
32
|
+
"docs:generate:api": "rimraf docs/api && typedoc --options typedoc.json",
|
|
33
|
+
"docs:generate:copy": "zx scripts/copy-readme.mjs"
|
|
30
34
|
},
|
|
31
35
|
"dependencies": {
|
|
32
|
-
"dugite": "^2.5.
|
|
33
|
-
"fs-extra": "^11.
|
|
34
|
-
"isomorphic-git": "^1.
|
|
36
|
+
"dugite": "^2.5.2",
|
|
37
|
+
"fs-extra": "^11.2.0",
|
|
38
|
+
"isomorphic-git": "^1.25.2",
|
|
35
39
|
"lodash": "^4.17.21"
|
|
36
40
|
},
|
|
37
41
|
"devDependencies": {
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"@types
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
42
|
+
"@docusaurus/core": "^3.0.1",
|
|
43
|
+
"@docusaurus/preset-classic": "^3.0.1",
|
|
44
|
+
"@docusaurus/types": "^3.0.1",
|
|
45
|
+
"@mdx-js/react": "^3.0.0",
|
|
46
|
+
"@types/fs-extra": "^11.0.4",
|
|
47
|
+
"@types/jest": "^29.5.11",
|
|
48
|
+
"@types/lodash": "^4.14.202",
|
|
49
|
+
"@types/node": "^20.10.6",
|
|
44
50
|
"docs-ts": "^0.8.0",
|
|
45
|
-
"
|
|
46
|
-
"eslint-config-
|
|
47
|
-
"eslint-
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"eslint-plugin-security-node": "1.1.1",
|
|
61
|
-
"eslint-plugin-typescript-sort-keys": "2.3.0",
|
|
62
|
-
"eslint-plugin-unicorn": "47.0.0",
|
|
63
|
-
"eslint-plugin-unused-imports": "^2.0.0",
|
|
64
|
-
"jest": "^29.5.0",
|
|
65
|
-
"dprint": "^0.37.1",
|
|
66
|
-
"rimraf": "^5.0.1",
|
|
67
|
-
"ts-jest": "^29.1.0",
|
|
68
|
-
"ts-node": "^10.9.1",
|
|
69
|
-
"typescript": "^5.1.3"
|
|
51
|
+
"dprint": "^0.45.0",
|
|
52
|
+
"eslint-config-tidgi": "latest",
|
|
53
|
+
"eslint-plugin-jest-extended": "^2.0.0",
|
|
54
|
+
"jest": "^29.7.0",
|
|
55
|
+
"jest-extended": "^4.0.2",
|
|
56
|
+
"jest-matcher-utils": "^29.7.0",
|
|
57
|
+
"prism-react-renderer": "^2.3.1",
|
|
58
|
+
"react": "^18.2.0",
|
|
59
|
+
"react-dom": "^18.2.0",
|
|
60
|
+
"rimraf": "^5.0.5",
|
|
61
|
+
"ts-jest": "^29.1.1",
|
|
62
|
+
"typedoc": "^0.25.4",
|
|
63
|
+
"typedoc-plugin-markdown": "^3.17.1",
|
|
64
|
+
"typescript": "^5.3.3",
|
|
65
|
+
"zx": "^7.2.3"
|
|
70
66
|
},
|
|
71
67
|
"keywords": [
|
|
72
68
|
"git,sync,notebook,commit,rebase,note"
|