codesyncer 1.0.3 β 1.0.5
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.ko.md +21 -0
- package/README.md +21 -0
- package/dist/index.js +40 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.ko.md
CHANGED
|
@@ -34,6 +34,27 @@ npm install -g codesyncer
|
|
|
34
34
|
|
|
35
35
|
---
|
|
36
36
|
|
|
37
|
+
## π μ
λ°μ΄νΈ
|
|
38
|
+
|
|
39
|
+
### νμ¬ λ²μ νμΈ
|
|
40
|
+
```bash
|
|
41
|
+
codesyncer --version
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### μ΅μ λ²μ νμΈ
|
|
45
|
+
```bash
|
|
46
|
+
npm view codesyncer version
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### μ΅μ λ²μ μΌλ‘ μ
λ°μ΄νΈ
|
|
50
|
+
```bash
|
|
51
|
+
npm update -g codesyncer
|
|
52
|
+
# λλ
|
|
53
|
+
npm install -g codesyncer@latest
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
37
58
|
## π λΉ λ₯Έ μμ
|
|
38
59
|
|
|
39
60
|
### 1. μν¬μ€νμ΄μ€ 루νΈλ‘ μ΄λ
|
package/README.md
CHANGED
|
@@ -34,6 +34,27 @@ npm install -g codesyncer
|
|
|
34
34
|
|
|
35
35
|
---
|
|
36
36
|
|
|
37
|
+
## π Updating
|
|
38
|
+
|
|
39
|
+
### Check your current version
|
|
40
|
+
```bash
|
|
41
|
+
codesyncer --version
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Check latest version
|
|
45
|
+
```bash
|
|
46
|
+
npm view codesyncer version
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Update to latest
|
|
50
|
+
```bash
|
|
51
|
+
npm update -g codesyncer
|
|
52
|
+
# or
|
|
53
|
+
npm install -g codesyncer@latest
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
37
58
|
## π Quick Start
|
|
38
59
|
|
|
39
60
|
### 1. Navigate to your workspace root
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
3
36
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
37
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
38
|
};
|
|
@@ -9,11 +42,17 @@ const chalk_1 = __importDefault(require("chalk"));
|
|
|
9
42
|
const init_1 = require("./commands/init");
|
|
10
43
|
const update_1 = require("./commands/update");
|
|
11
44
|
const add_repo_1 = require("./commands/add-repo");
|
|
45
|
+
const path = __importStar(require("path"));
|
|
46
|
+
const fs = __importStar(require("fs"));
|
|
47
|
+
// Read version from package.json
|
|
48
|
+
const packageJsonPath = path.join(__dirname, '..', 'package.json');
|
|
49
|
+
const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
|
|
50
|
+
const version = packageJson.version;
|
|
12
51
|
const program = new commander_1.Command();
|
|
13
52
|
program
|
|
14
53
|
.name('codesyncer')
|
|
15
54
|
.description('AI-powered multi-repository collaboration system')
|
|
16
|
-
.version(
|
|
55
|
+
.version(`${version} (Currently supports: Claude Code only)\n\n` +
|
|
17
56
|
chalk_1.default.gray('Want to add support for Cursor, GitHub Copilot, or other AI tools?\n') +
|
|
18
57
|
chalk_1.default.gray('We welcome contributions! https://github.com/bitjaru/codesyncer'))
|
|
19
58
|
.addHelpText('after', `
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,yCAAoC;AACpC,kDAA0B;AAC1B,0CAA8C;AAC9C,8CAAkD;AAClD,kDAAqD;AACrD,2CAA6B;AAC7B,uCAAyB;AAEzB,iCAAiC;AACjC,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EA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