git-interactive-vlaqa 1.0.1 → 1.0.3
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 +42 -0
- package/dist/add.js +82 -2
- package/dist/commit.js +8 -4
- package/dist/git.js +1 -1
- package/dist/remov.js +2 -0
- package/package.json +9 -6
- package/dist/commit.d.ts +0 -11
- package/dist/commit.d.ts.map +0 -1
- package/dist/commit.js.map +0 -1
- package/dist/errors/gitError.d.ts +0 -4
- package/dist/errors/gitError.d.ts.map +0 -1
- package/dist/errors/gitError.js.map +0 -1
- package/dist/errors/index.d.ts +0 -2
- package/dist/errors/index.d.ts.map +0 -1
- package/dist/errors/index.js.map +0 -1
- package/dist/git.d.ts +0 -14
- package/dist/git.d.ts.map +0 -1
- package/dist/git.js.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -79,3 +79,45 @@ After a successful commit, the short hash and subject are printed:
|
|
|
79
79
|
| Not inside a Git repository | `Make sure you are calling commands from GIT project!` |
|
|
80
80
|
| No staged files | `No staged files. Stage your changes with \`git add\` first.` |
|
|
81
81
|
| Prompt cancelled (`Ctrl+C`) | `👋 until next time!` |
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
### `gia` — Interactive Add
|
|
86
|
+
|
|
87
|
+
Interactively stage files using a checkbox UI. Shows all changed files grouped by directory, with their current Git status.
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
gia
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
#### Interactive Prompts
|
|
94
|
+
|
|
95
|
+
A checkbox list is presented with all modified, untracked, and partially staged files. Files inside subdirectories are grouped under their parent directory.
|
|
96
|
+
|
|
97
|
+
| Entry type | Example display |
|
|
98
|
+
|------------|-----------------|
|
|
99
|
+
| Root-level file | `M src/index.ts` |
|
|
100
|
+
| Directory group | `src/` |
|
|
101
|
+
| File inside directory | ` M src/add.ts` |
|
|
102
|
+
|
|
103
|
+
- Already-staged files are pre-checked.
|
|
104
|
+
- Selecting a directory entry (`src/`) stages all files inside it.
|
|
105
|
+
- Space to toggle, Enter to confirm.
|
|
106
|
+
|
|
107
|
+
#### Output
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
✔ Staged 3 file(s):
|
|
111
|
+
src/add.ts
|
|
112
|
+
src/index.ts
|
|
113
|
+
tests/add.test.ts
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
#### Error handling
|
|
117
|
+
|
|
118
|
+
| Condition | Message |
|
|
119
|
+
|-----------|---------|
|
|
120
|
+
| Not inside a Git repository | `Make sure you are calling commands from GIT project!` |
|
|
121
|
+
| Working tree is clean | `No changes to stage. Working tree is clean.` |
|
|
122
|
+
| No files selected | `No files selected. Nothing staged.` |
|
|
123
|
+
| Prompt cancelled (`Ctrl+C`) | `👋 until next time!` |
|
package/dist/add.js
CHANGED
|
@@ -1,8 +1,68 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.add = void 0;
|
|
4
|
+
const prompts_1 = require("@inquirer/prompts");
|
|
4
5
|
const git_1 = require("./git");
|
|
5
6
|
const gitError_1 = require("./errors/gitError");
|
|
7
|
+
function parseStatusLines(lines) {
|
|
8
|
+
const root = [];
|
|
9
|
+
const dirs = new Map();
|
|
10
|
+
for (const line of lines) {
|
|
11
|
+
const xy = line.slice(0, 2);
|
|
12
|
+
const file = line.slice(3).trim();
|
|
13
|
+
const staged = xy[0] !== ' ' && xy[0] !== '?';
|
|
14
|
+
const status = xy.trim() || '??';
|
|
15
|
+
const entry = { file, status, staged };
|
|
16
|
+
const slashIdx = file.indexOf('/');
|
|
17
|
+
if (slashIdx === -1 || slashIdx === file.length - 1) {
|
|
18
|
+
root.push(entry);
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
const dir = file.slice(0, slashIdx);
|
|
22
|
+
if (!dirs.has(dir))
|
|
23
|
+
dirs.set(dir, []);
|
|
24
|
+
dirs.get(dir).push(entry);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return { root, dirs };
|
|
28
|
+
}
|
|
29
|
+
function buildChoices(root, dirs) {
|
|
30
|
+
const choices = [];
|
|
31
|
+
for (const entry of root) {
|
|
32
|
+
choices.push({ name: `${entry.status} ${entry.file}`, value: entry.file, checked: entry.staged });
|
|
33
|
+
}
|
|
34
|
+
for (const [dir, entries] of dirs) {
|
|
35
|
+
const allStaged = entries.every((e) => e.staged);
|
|
36
|
+
choices.push({ name: `${dir}/`, value: `${dir}/`, checked: allStaged });
|
|
37
|
+
for (const entry of entries) {
|
|
38
|
+
choices.push({
|
|
39
|
+
name: ` ${entry.status} ${entry.file}`,
|
|
40
|
+
value: entry.file,
|
|
41
|
+
checked: allStaged || entry.staged,
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return choices;
|
|
46
|
+
}
|
|
47
|
+
function expandSelection(selected, dirs) {
|
|
48
|
+
const result = [];
|
|
49
|
+
for (const value of selected) {
|
|
50
|
+
if (value.endsWith('/')) {
|
|
51
|
+
const dirName = value.slice(0, -1);
|
|
52
|
+
const children = dirs.get(dirName);
|
|
53
|
+
if (children) {
|
|
54
|
+
children.forEach((e) => result.push(e.file));
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
result.push(value);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
result.push(value);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return [...new Set(result)];
|
|
65
|
+
}
|
|
6
66
|
class Add {
|
|
7
67
|
gitBase;
|
|
8
68
|
constructor(gitBase = git_1.git) {
|
|
@@ -11,8 +71,28 @@ class Add {
|
|
|
11
71
|
async run(workdir) {
|
|
12
72
|
if (!this.gitBase.isInsideGitProject(workdir).ok)
|
|
13
73
|
throw new gitError_1.GitError('Make sure you are calling commands from GIT project!');
|
|
14
|
-
|
|
15
|
-
|
|
74
|
+
const statusResult = this.gitBase.ok(workdir, ['status', '--porcelain']);
|
|
75
|
+
if (!statusResult.ok)
|
|
76
|
+
throw new gitError_1.GitError(`Could not get git status: ${statusResult.out}`);
|
|
77
|
+
const lines = statusResult.out.split('\n').filter(Boolean);
|
|
78
|
+
if (lines.length === 0)
|
|
79
|
+
throw new gitError_1.GitError('No changes to stage. Working tree is clean.');
|
|
80
|
+
const { root, dirs } = parseStatusLines(lines);
|
|
81
|
+
const choices = buildChoices(root, dirs);
|
|
82
|
+
const selected = await (0, prompts_1.checkbox)({
|
|
83
|
+
message: 'Select files to stage:',
|
|
84
|
+
choices,
|
|
85
|
+
});
|
|
86
|
+
if (selected.length === 0) {
|
|
87
|
+
console.log('No files selected. Nothing staged.');
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
const toStage = expandSelection(selected, dirs);
|
|
91
|
+
const result = this.gitBase.ok(workdir, ['add', '--', ...toStage]);
|
|
92
|
+
if (!result.ok)
|
|
93
|
+
throw new gitError_1.GitError(`Failed to stage files: ${result.out}`);
|
|
94
|
+
console.log(`\n\x1b[32m✔ Staged ${toStage.length} file(s):\x1b[0m`);
|
|
95
|
+
toStage.forEach((f) => console.log(` ${f}`));
|
|
16
96
|
}
|
|
17
97
|
}
|
|
18
98
|
exports.add = new Add();
|
package/dist/commit.js
CHANGED
|
@@ -10,24 +10,28 @@ class Commit {
|
|
|
10
10
|
this.gitBase = gitBase;
|
|
11
11
|
}
|
|
12
12
|
async promptMessage(workdir) {
|
|
13
|
-
const
|
|
13
|
+
const wrapScope = (s) => s ? `(${s})` : '';
|
|
14
14
|
const type = await (0, prompts_1.rawlist)({
|
|
15
15
|
message: 'Select commit type:',
|
|
16
16
|
choices: ['feat', 'test', 'fix', 'chore', 'refactor', 'docs', 'style'],
|
|
17
17
|
});
|
|
18
18
|
const scopeAnswer = await (0, prompts_1.rawlist)({
|
|
19
19
|
message: 'Select commit scope:',
|
|
20
|
-
choices: ['branch', 'e2e', 'api', 'omit', 'custom'],
|
|
20
|
+
choices: ['branch', 'e2e', 'testcases', 'api', 'omit', 'custom'],
|
|
21
21
|
});
|
|
22
22
|
let scope = '';
|
|
23
23
|
if (scopeAnswer === 'branch') {
|
|
24
24
|
const branch = this.gitBase.ok(workdir, ['branch', '--show-current']);
|
|
25
25
|
if (!branch.ok)
|
|
26
26
|
throw new errors_1.GitError(`Could not get branch name: ${branch.out}`);
|
|
27
|
-
|
|
27
|
+
const ticket = branch.out.includes('/') ? branch.out.split('/')[1] : branch.out;
|
|
28
|
+
scope = wrapScope(ticket);
|
|
28
29
|
}
|
|
29
30
|
else if (scopeAnswer === 'custom') {
|
|
30
|
-
scope =
|
|
31
|
+
scope = wrapScope(await (0, prompts_1.input)({ message: 'Provide custom scope:' }));
|
|
32
|
+
}
|
|
33
|
+
else if (scopeAnswer !== 'omit') {
|
|
34
|
+
scope = wrapScope(scopeAnswer);
|
|
31
35
|
}
|
|
32
36
|
const description = await (0, prompts_1.input)({
|
|
33
37
|
message: 'Provide commit description:',
|
package/dist/git.js
CHANGED
|
@@ -4,7 +4,7 @@ exports.git = void 0;
|
|
|
4
4
|
const child_process_1 = require("child_process");
|
|
5
5
|
class Git {
|
|
6
6
|
call(workdir, args) {
|
|
7
|
-
return (0, child_process_1.execFileSync)('git', args, { cwd: workdir, encoding: 'utf8', stdio: 'pipe' }).
|
|
7
|
+
return (0, child_process_1.execFileSync)('git', args, { cwd: workdir, encoding: 'utf8', stdio: 'pipe' }).replace(/\r?\n$/, '');
|
|
8
8
|
}
|
|
9
9
|
ok(workdir, args) {
|
|
10
10
|
try {
|
package/dist/remov.js
ADDED
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "git-interactive-vlaqa",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Interactive Git CLI",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"build": "tsc",
|
|
7
|
+
"build": "tsc -p tsconfig.build.json",
|
|
8
8
|
"prepublishOnly": "npm run build",
|
|
9
|
-
"test": "
|
|
9
|
+
"test": "jest"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"dist",
|
|
13
13
|
"bin"
|
|
14
14
|
],
|
|
15
15
|
"bin": {
|
|
16
|
-
"gicm": "
|
|
17
|
-
"gia": "
|
|
16
|
+
"gicm": "bin/gicm",
|
|
17
|
+
"gia": "bin/gia"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
@@ -32,10 +32,13 @@
|
|
|
32
32
|
"@eslint/json": "^2.0.0",
|
|
33
33
|
"@eslint/markdown": "^8.0.2",
|
|
34
34
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
35
|
-
"@types/
|
|
35
|
+
"@types/jest": "^30.0.0",
|
|
36
|
+
"@types/node": "^25.9.4",
|
|
36
37
|
"eslint": "^10.5.0",
|
|
37
38
|
"globals": "^17.6.0",
|
|
39
|
+
"jest": "^30.4.2",
|
|
38
40
|
"jiti": "^2.7.0",
|
|
41
|
+
"ts-jest": "^29.4.11",
|
|
39
42
|
"typescript": "^6.0.3",
|
|
40
43
|
"typescript-eslint": "^8.61.0"
|
|
41
44
|
},
|
package/dist/commit.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { git } from './git';
|
|
2
|
-
declare class Commit {
|
|
3
|
-
private gitBase;
|
|
4
|
-
constructor(gitBase?: typeof git);
|
|
5
|
-
private gitArgs;
|
|
6
|
-
ask(workdir: string): Promise<string>;
|
|
7
|
-
call(workdir: string): Promise<void>;
|
|
8
|
-
}
|
|
9
|
-
export declare const commit: Commit;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=commit.d.ts.map
|
package/dist/commit.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commit.d.ts","sourceRoot":"","sources":["../src/commit.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAG5B,cAAM,MAAM;IACI,OAAO,CAAC,OAAO;gBAAP,OAAO,GAAE,OAAO,GAAS;IAC7C,OAAO,CAAC,OAAO,CAGb;IAEW,GAAG,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IA+BrC,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAWpD;AAED,eAAO,MAAM,MAAM,QAAe,CAAC"}
|
package/dist/commit.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commit.js","sourceRoot":"","sources":["../src/commit.ts"],"names":[],"mappings":";;;AAAA,+CAAmD;AACnD,+BAA4B;AAC5B,gDAA6C;AAE7C,MAAM,MAAM;IACY;IAApB,YAAoB,UAAsB,SAAG;QAAzB,YAAO,GAAP,OAAO,CAAkB;IAAG,CAAC;IACzC,OAAO,GAAG;QACd,MAAM,EAAE,CAAC,QAAQ,EAAE,gBAAgB,CAAC;QACpC,MAAM,EAAE,CAAC,OAAe,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE,IAAI,EAAE,OAAO,CAAC;KACzD,CAAC;IAEK,KAAK,CAAC,GAAG,CAAC,OAAe;QAC5B,MAAM,QAAQ,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;QAClD,IAAI,KAAK,GAAG,EAAE,CAAC;QACf,sCAAsC;QAEtC,MAAM,IAAI,GAAG,MAAM,IAAA,iBAAO,EAAC;YACvB,OAAO,EAAE,qBAAqB;YAC9B,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC;SACzE,CAAC,CAAC;QACH,MAAM,WAAW,GAAG,MAAM,IAAA,iBAAO,EAAC;YAC9B,OAAO,EAAE,sBAAsB;YAC/B,OAAO,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,CAAC;SACvD,CAAC,CAAC;QAEH,IAAI,WAAW,KAAK,QAAQ,EAAE,CAAC;YAC3B,KAAK,GAAG,QAAQ,CAAC,MAAM,IAAA,eAAK,EAAC,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC,CAAC,CAAC;QACxE,CAAC;aAAM,IAAI,WAAW,KAAK,QAAQ,EAAE,CAAC;YAClC,MAAM,UAAU,GAAI,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;YAClE,IAAI,CAAC,UAAU,CAAC,EAAE;gBAAE,MAAM,IAAI,mBAAQ,CAAC,4BAA4B,CAAC,CAAC;YAErE,KAAK,IAAI,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;aAAM,IAAI,WAAW,KAAK,OAAO,EAAE,CAAC;YACjC,KAAK,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,OAAO,GAAG,MAAM,IAAA,eAAK,EAAC;YACxB,OAAO,EAAE,6BAA6B;SACzC,CAAC,CAAC;QAEH,OAAO,GAAG,IAAI,GAAG,KAAK,KAAK,OAAO,EAAE,CAAC;IACzC,CAAC;IAEM,KAAK,CAAC,IAAI,CAAC,OAAe;QAC7B,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,EAAE;YAC5C,MAAM,IAAI,mBAAQ,CAAC,sDAAsD,CAAC,CAAC;QAE/E,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAExC,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC;QAE7E,IAAI,CAAC,aAAa,CAAC,EAAE;YAAE,MAAM,IAAI,mBAAQ,CAAC,mBAAmB,CAAC,CAAC;IACnE,CAAC;CAEJ;AAEY,QAAA,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gitError.d.ts","sourceRoot":"","sources":["../../src/errors/gitError.ts"],"names":[],"mappings":"AAAA,qBAAa,QAAS,SAAQ,KAAK;gBACnB,OAAO,EAAE,MAAM;CAI9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gitError.js","sourceRoot":"","sources":["../../src/errors/gitError.ts"],"names":[],"mappings":";;;AAAA,MAAa,QAAS,SAAQ,KAAK;IAC/B,YAAY,OAAe;QACvB,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC;IAC3B,CAAC;CACJ;AALD,4BAKC"}
|
package/dist/errors/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/errors/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/errors/index.ts"],"names":[],"mappings":";;;AAAA,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA"}
|
package/dist/git.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare class Git {
|
|
2
|
-
private call;
|
|
3
|
-
ok(workdir: string, args: string[]): {
|
|
4
|
-
ok: boolean;
|
|
5
|
-
out: string;
|
|
6
|
-
};
|
|
7
|
-
isInsideGitProject(workdir: string): {
|
|
8
|
-
ok: boolean;
|
|
9
|
-
out: string;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export declare const git: Git;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=git.d.ts.map
|
package/dist/git.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../src/git.ts"],"names":[],"mappings":"AAEA,cAAM,GAAG;IACL,OAAO,CAAC,IAAI;IAIL,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG;QAAE,EAAE,EAAE,OAAO,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE;IAgBjE,kBAAkB,CAAC,OAAO,EAAE,MAAM;YAhBS,OAAO;aAAO,MAAM;;CAmBzE;AAED,eAAO,MAAM,GAAG,KAAY,CAAC"}
|
package/dist/git.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"git.js","sourceRoot":"","sources":["../src/git.ts"],"names":[],"mappings":";;;AAAA,iDAA6C;AAE7C,MAAM,GAAG;IACG,IAAI,CAAC,OAAe,EAAE,IAAc;QACxC,OAAO,IAAA,4BAAY,EAAC,KAAK,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;IAC/F,CAAC;IAEM,EAAE,CAAC,OAAe,EAAE,IAAc;QACrC,IAAI,CAAC;YACD,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,EAAE,CAAC;QACvD,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACT,MAAM,GAAG,GAAG,CAIX,CAAC;YACF,MAAM,MAAM,GAAG,OAAO,GAAG,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;YAC5F,MAAM,MAAM,GAAG,OAAO,GAAG,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;YAE5F,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,MAAM,KAAK,MAAM,KAAK,GAAG,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC;QAC7E,CAAC;IACL,CAAC;IAEM,kBAAkB,CAAC,OAAe;QACrC,OAAO,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,WAAW,EAAE,uBAAuB,CAAC,CAAC,CAAC;IACpE,CAAC;CACJ;AAEY,QAAA,GAAG,GAAG,IAAI,GAAG,EAAE,CAAC"}
|
package/dist/index.d.ts
DELETED
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,qCAAkC;AAElC,CAAC,KAAK,IAAI,EAAE;IACR,IAAI,CAAC;QACD,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;QAE9B,MAAM,eAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC/B,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IAClE,CAAC;AAEL,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;AAE1C,OAAO,CAAC,EAAE,CAAC,mBAAmB,EAAE,CAAC,KAAK,EAAE,EAAE;IACtC,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,iBAAiB,EAAE,CAAC;QAC7D,OAAO,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;IACvC,CAAC;SAAM,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;QAC7D,OAAO,CAAC,GAAG,CAAC,YAAY,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;IAC7C,CAAC;SAAM,CAAC;QACJ,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;IACnE,CAAC;AACL,CAAC,CAAC,CAAC"}
|