arcli 0.1.2 → 1.2.0
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/CHANGELOG.md +78 -0
- package/LICENSE +21 -0
- package/README.md +169 -4
- package/dist/cli/commands/billing-family.command.d.ts +2 -0
- package/dist/cli/commands/billing-family.command.js +30 -0
- package/dist/cli/commands/billing-family.command.js.map +1 -0
- package/dist/cli/commands/billing-shortcuts.command.d.ts +2 -0
- package/dist/cli/commands/billing-shortcuts.command.js +18 -0
- package/dist/cli/commands/billing-shortcuts.command.js.map +1 -0
- package/dist/cli/commands/billing.command.interactive-preview.d.ts +18 -0
- package/dist/cli/commands/billing.command.interactive-preview.js +69 -0
- package/dist/cli/commands/billing.command.interactive-preview.js.map +1 -0
- package/dist/cli/commands/billing.command.options.d.ts +2 -0
- package/dist/cli/commands/billing.command.options.js +65 -0
- package/dist/cli/commands/billing.command.options.js.map +1 -0
- package/dist/cli/commands/billing.command.output.d.ts +12 -0
- package/dist/cli/commands/billing.command.output.js +33 -0
- package/dist/cli/commands/billing.command.output.js.map +1 -0
- package/dist/cli/commands/billing.command.parser.d.ts +21 -0
- package/dist/cli/commands/billing.command.parser.js +170 -0
- package/dist/cli/commands/billing.command.parser.js.map +1 -0
- package/dist/cli/commands/billing.command.shared.d.ts +7 -0
- package/dist/cli/commands/billing.command.shared.js +99 -0
- package/dist/cli/commands/billing.command.shared.js.map +1 -0
- package/dist/cli/commands/billing.command.shortcuts.d.ts +7 -0
- package/dist/cli/commands/billing.command.shortcuts.js +52 -0
- package/dist/cli/commands/billing.command.shortcuts.js.map +1 -0
- package/dist/cli/commands/config.command.d.ts +2 -0
- package/dist/cli/commands/config.command.js +125 -0
- package/dist/cli/commands/config.command.js.map +1 -0
- package/dist/cli/commands/examples.command.d.ts +2 -0
- package/dist/cli/commands/examples.command.js +14 -0
- package/dist/cli/commands/examples.command.js.map +1 -0
- package/dist/cli/commands/fce-obligation.command.d.ts +2 -0
- package/dist/cli/commands/fce-obligation.command.js +51 -0
- package/dist/cli/commands/fce-obligation.command.js.map +1 -0
- package/dist/cli/commands/storybook.command.d.ts +2 -0
- package/dist/cli/commands/storybook.command.js +26 -0
- package/dist/cli/commands/storybook.command.js.map +1 -0
- package/dist/cli/help.d.ts +11 -0
- package/dist/cli/help.js +534 -0
- package/dist/cli/help.js.map +1 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.js +41 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/program.d.ts +2 -0
- package/dist/cli/program.js +30 -0
- package/dist/cli/program.js.map +1 -0
- package/dist/cli/types.d.ts +6 -0
- package/dist/cli/types.js +2 -0
- package/dist/cli/types.js.map +1 -0
- package/dist/cli/version.d.ts +1 -0
- package/dist/cli/version.js +2 -0
- package/dist/cli/version.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/dates/arca-date.d.ts +6 -0
- package/dist/lib/dates/arca-date.js +45 -0
- package/dist/lib/dates/arca-date.js.map +1 -0
- package/dist/lib/errors/app-error.d.ts +14 -0
- package/dist/lib/errors/app-error.js +29 -0
- package/dist/lib/errors/app-error.js.map +1 -0
- package/dist/lib/files/read-json-file.d.ts +1 -0
- package/dist/lib/files/read-json-file.js +21 -0
- package/dist/lib/files/read-json-file.js.map +1 -0
- package/dist/lib/paths/mask-path.d.ts +1 -0
- package/dist/lib/paths/mask-path.js +17 -0
- package/dist/lib/paths/mask-path.js.map +1 -0
- package/dist/lib/security/certificate.d.ts +7 -0
- package/dist/lib/security/certificate.js +16 -0
- package/dist/lib/security/certificate.js.map +1 -0
- package/dist/lib/security/pem.d.ts +5 -0
- package/dist/lib/security/pem.js +36 -0
- package/dist/lib/security/pem.js.map +1 -0
- package/dist/modules/billing/billing-response.d.ts +4 -0
- package/dist/modules/billing/billing-response.js +74 -0
- package/dist/modules/billing/billing-response.js.map +1 -0
- package/dist/modules/billing/billing.amounts.d.ts +19 -0
- package/dist/modules/billing/billing.amounts.js +72 -0
- package/dist/modules/billing/billing.amounts.js.map +1 -0
- package/dist/modules/billing/billing.associated-period.d.ts +8 -0
- package/dist/modules/billing/billing.associated-period.js +40 -0
- package/dist/modules/billing/billing.associated-period.js.map +1 -0
- package/dist/modules/billing/billing.associated-vouchers.d.ts +12 -0
- package/dist/modules/billing/billing.associated-vouchers.js +73 -0
- package/dist/modules/billing/billing.associated-vouchers.js.map +1 -0
- package/dist/modules/billing/billing.constants.d.ts +2 -0
- package/dist/modules/billing/billing.constants.js +3 -0
- package/dist/modules/billing/billing.constants.js.map +1 -0
- package/dist/modules/billing/billing.currency.d.ts +18 -0
- package/dist/modules/billing/billing.currency.js +53 -0
- package/dist/modules/billing/billing.currency.js.map +1 -0
- package/dist/modules/billing/billing.date-range.d.ts +9 -0
- package/dist/modules/billing/billing.date-range.js +52 -0
- package/dist/modules/billing/billing.date-range.js.map +1 -0
- package/dist/modules/billing/billing.display.d.ts +13 -0
- package/dist/modules/billing/billing.display.js +137 -0
- package/dist/modules/billing/billing.display.js.map +1 -0
- package/dist/modules/billing/billing.fce.d.ts +21 -0
- package/dist/modules/billing/billing.fce.js +59 -0
- package/dist/modules/billing/billing.fce.js.map +1 -0
- package/dist/modules/billing/billing.iva-receptor.d.ts +7 -0
- package/dist/modules/billing/billing.iva-receptor.js +58 -0
- package/dist/modules/billing/billing.iva-receptor.js.map +1 -0
- package/dist/modules/billing/billing.json-format.d.ts +6 -0
- package/dist/modules/billing/billing.json-format.js +5 -0
- package/dist/modules/billing/billing.json-format.js.map +1 -0
- package/dist/modules/billing/billing.labels.d.ts +9 -0
- package/dist/modules/billing/billing.labels.js +108 -0
- package/dist/modules/billing/billing.labels.js.map +1 -0
- package/dist/modules/billing/billing.mappers.d.ts +8 -0
- package/dist/modules/billing/billing.mappers.js +60 -0
- package/dist/modules/billing/billing.mappers.js.map +1 -0
- package/dist/modules/billing/billing.presenter.d.ts +7 -0
- package/dist/modules/billing/billing.presenter.js +3 -0
- package/dist/modules/billing/billing.presenter.js.map +1 -0
- package/dist/modules/billing/billing.schemas.d.ts +107 -0
- package/dist/modules/billing/billing.schemas.js +106 -0
- package/dist/modules/billing/billing.schemas.js.map +1 -0
- package/dist/modules/billing/billing.serialize.d.ts +8 -0
- package/dist/modules/billing/billing.serialize.js +53 -0
- package/dist/modules/billing/billing.serialize.js.map +1 -0
- package/dist/modules/billing/billing.service.d.ts +27 -0
- package/dist/modules/billing/billing.service.js +146 -0
- package/dist/modules/billing/billing.service.js.map +1 -0
- package/dist/modules/billing/billing.text.d.ts +8 -0
- package/dist/modules/billing/billing.text.js +52 -0
- package/dist/modules/billing/billing.text.js.map +1 -0
- package/dist/modules/billing/billing.types.d.ts +13 -0
- package/dist/modules/billing/billing.types.internal.d.ts +27 -0
- package/dist/modules/billing/billing.types.internal.js +2 -0
- package/dist/modules/billing/billing.types.internal.js.map +1 -0
- package/dist/modules/billing/billing.types.js +2 -0
- package/dist/modules/billing/billing.types.js.map +1 -0
- package/dist/modules/billing/billing.validation.d.ts +7 -0
- package/dist/modules/billing/billing.validation.js +80 -0
- package/dist/modules/billing/billing.validation.js.map +1 -0
- package/dist/modules/billing/voucher-kind-map.d.ts +9 -0
- package/dist/modules/billing/voucher-kind-map.js +180 -0
- package/dist/modules/billing/voucher-kind-map.js.map +1 -0
- package/dist/modules/config/config-doctor.d.ts +15 -0
- package/dist/modules/config/config-doctor.js +125 -0
- package/dist/modules/config/config-doctor.js.map +1 -0
- package/dist/modules/config/config-value-parser.d.ts +2 -0
- package/dist/modules/config/config-value-parser.js +99 -0
- package/dist/modules/config/config-value-parser.js.map +1 -0
- package/dist/modules/config/config.presenter.d.ts +7 -0
- package/dist/modules/config/config.presenter.js +88 -0
- package/dist/modules/config/config.presenter.js.map +1 -0
- package/dist/modules/config/config.schemas.d.ts +110 -0
- package/dist/modules/config/config.schemas.js +103 -0
- package/dist/modules/config/config.schemas.js.map +1 -0
- package/dist/modules/config/config.service.d.ts +20 -0
- package/dist/modules/config/config.service.js +82 -0
- package/dist/modules/config/config.service.js.map +1 -0
- package/dist/modules/examples/examples.d.ts +1 -0
- package/dist/modules/examples/examples.js +191 -0
- package/dist/modules/examples/examples.js.map +1 -0
- package/dist/modules/fce/fce-obligation.d.ts +20 -0
- package/dist/modules/fce/fce-obligation.js +33 -0
- package/dist/modules/fce/fce-obligation.js.map +1 -0
- package/dist/modules/fce/fce-obligation.presenter.d.ts +9 -0
- package/dist/modules/fce/fce-obligation.presenter.js +32 -0
- package/dist/modules/fce/fce-obligation.presenter.js.map +1 -0
- package/dist/modules/storybook/showcase-theme.d.ts +7 -0
- package/dist/modules/storybook/showcase-theme.js +6 -0
- package/dist/modules/storybook/showcase-theme.js.map +1 -0
- package/dist/modules/storybook/showcase.d.ts +2 -0
- package/dist/modules/storybook/showcase.js +310 -0
- package/dist/modules/storybook/showcase.js.map +1 -0
- package/dist/modules/update-check/update-check.presenter.d.ts +2 -0
- package/dist/modules/update-check/update-check.presenter.js +6 -0
- package/dist/modules/update-check/update-check.presenter.js.map +1 -0
- package/dist/modules/update-check/update-check.service.d.ts +8 -0
- package/dist/modules/update-check/update-check.service.js +72 -0
- package/dist/modules/update-check/update-check.service.js.map +1 -0
- package/dist/services/arca/arca-billing.gateway.d.ts +10 -0
- package/dist/services/arca/arca-billing.gateway.js +22 -0
- package/dist/services/arca/arca-billing.gateway.js.map +1 -0
- package/dist/services/arca/arca-client.factory.d.ts +5 -0
- package/dist/services/arca/arca-client.factory.js +7 -0
- package/dist/services/arca/arca-client.factory.js.map +1 -0
- package/dist/services/arca/arca-context.resolver.d.ts +44 -0
- package/dist/services/arca/arca-context.resolver.js +120 -0
- package/dist/services/arca/arca-context.resolver.js.map +1 -0
- package/dist/services/arca/arca-fce-obligation.gateway.d.ts +7 -0
- package/dist/services/arca/arca-fce-obligation.gateway.js +36 -0
- package/dist/services/arca/arca-fce-obligation.gateway.js.map +1 -0
- package/dist/ui/components/contentPanel.d.ts +5 -0
- package/dist/ui/components/contentPanel.js +11 -0
- package/dist/ui/components/contentPanel.js.map +1 -0
- package/dist/ui/components/errorPanel.d.ts +1 -0
- package/dist/ui/components/errorPanel.js +13 -0
- package/dist/ui/components/errorPanel.js.map +1 -0
- package/dist/ui/components/index.d.ts +6 -0
- package/dist/ui/components/index.js +7 -0
- package/dist/ui/components/index.js.map +1 -0
- package/dist/ui/components/keyValuePanel.d.ts +3 -0
- package/dist/ui/components/keyValuePanel.js +14 -0
- package/dist/ui/components/keyValuePanel.js.map +1 -0
- package/dist/ui/components/noticePanel.d.ts +3 -0
- package/dist/ui/components/noticePanel.js +11 -0
- package/dist/ui/components/noticePanel.js.map +1 -0
- package/dist/ui/components/rawPanel.d.ts +1 -0
- package/dist/ui/components/rawPanel.js +5 -0
- package/dist/ui/components/rawPanel.js.map +1 -0
- package/dist/ui/components/statusPanel.d.ts +3 -0
- package/dist/ui/components/statusPanel.js +20 -0
- package/dist/ui/components/statusPanel.js.map +1 -0
- package/dist/ui/index.d.ts +5 -0
- package/dist/ui/index.js +6 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/ui/presenters/billing.presenter.d.ts +2 -0
- package/dist/ui/presenters/billing.presenter.js +2 -0
- package/dist/ui/presenters/billing.presenter.js.map +1 -0
- package/dist/ui/presenters/config.presenter.d.ts +1 -0
- package/dist/ui/presenters/config.presenter.js +2 -0
- package/dist/ui/presenters/config.presenter.js.map +1 -0
- package/dist/ui/presenters/errors.presenter.d.ts +1 -0
- package/dist/ui/presenters/errors.presenter.js +89 -0
- package/dist/ui/presenters/errors.presenter.js.map +1 -0
- package/dist/ui/presenters/errors.zod-presenter.d.ts +2 -0
- package/dist/ui/presenters/errors.zod-presenter.js +103 -0
- package/dist/ui/presenters/errors.zod-presenter.js.map +1 -0
- package/dist/ui/presenters/index.d.ts +4 -0
- package/dist/ui/presenters/index.js +5 -0
- package/dist/ui/presenters/index.js.map +1 -0
- package/dist/ui/presenters/showcase.presenter.d.ts +1 -0
- package/dist/ui/presenters/showcase.presenter.js +2 -0
- package/dist/ui/presenters/showcase.presenter.js.map +1 -0
- package/dist/ui/primitives/index.d.ts +10 -0
- package/dist/ui/primitives/index.js +11 -0
- package/dist/ui/primitives/index.js.map +1 -0
- package/dist/ui/primitives/renderDivider.d.ts +5 -0
- package/dist/ui/primitives/renderDivider.js +5 -0
- package/dist/ui/primitives/renderDivider.js.map +1 -0
- package/dist/ui/primitives/renderFooter.d.ts +7 -0
- package/dist/ui/primitives/renderFooter.js +6 -0
- package/dist/ui/primitives/renderFooter.js.map +1 -0
- package/dist/ui/primitives/renderJson.d.ts +3 -0
- package/dist/ui/primitives/renderJson.js +19 -0
- package/dist/ui/primitives/renderJson.js.map +1 -0
- package/dist/ui/primitives/renderKeyValue.d.ts +14 -0
- package/dist/ui/primitives/renderKeyValue.js +34 -0
- package/dist/ui/primitives/renderKeyValue.js.map +1 -0
- package/dist/ui/primitives/renderLogo.d.ts +2 -0
- package/dist/ui/primitives/renderLogo.js +28 -0
- package/dist/ui/primitives/renderLogo.js.map +1 -0
- package/dist/ui/primitives/renderObject.d.ts +1 -0
- package/dist/ui/primitives/renderObject.js +19 -0
- package/dist/ui/primitives/renderObject.js.map +1 -0
- package/dist/ui/primitives/renderPanel.d.ts +23 -0
- package/dist/ui/primitives/renderPanel.js +114 -0
- package/dist/ui/primitives/renderPanel.js.map +1 -0
- package/dist/ui/primitives/renderSubtitle.d.ts +7 -0
- package/dist/ui/primitives/renderSubtitle.js +6 -0
- package/dist/ui/primitives/renderSubtitle.js.map +1 -0
- package/dist/ui/primitives/renderTable.d.ts +6 -0
- package/dist/ui/primitives/renderTable.js +14 -0
- package/dist/ui/primitives/renderTable.js.map +1 -0
- package/dist/ui/primitives/text.d.ts +18 -0
- package/dist/ui/primitives/text.js +154 -0
- package/dist/ui/primitives/text.js.map +1 -0
- package/dist/ui/stream/index.d.ts +1 -0
- package/dist/ui/stream/index.js +2 -0
- package/dist/ui/stream/index.js.map +1 -0
- package/dist/ui/stream/terminal-stream.d.ts +10 -0
- package/dist/ui/stream/terminal-stream.js +20 -0
- package/dist/ui/stream/terminal-stream.js.map +1 -0
- package/dist/ui/theme/index.d.ts +1 -0
- package/dist/ui/theme/index.js +2 -0
- package/dist/ui/theme/index.js.map +1 -0
- package/dist/ui/theme/theme.d.ts +27 -0
- package/dist/ui/theme/theme.js +41 -0
- package/dist/ui/theme/theme.js.map +1 -0
- package/llms.txt +161 -0
- package/package.json +99 -35
- package/.babelrc +0 -4
- package/.eslintignore +0 -1
- package/.eslintrc.js +0 -17
- package/.npmignore +0 -1
- package/lib/arcli.js +0 -275
- package/lib/arcli.min.js +0 -1
- package/src/config.js +0 -22
- package/src/consoler.js +0 -10
- package/src/index.js +0 -21
- package/src/init.js +0 -13
- package/src/run.js +0 -4
- package/src/spinner.js +0 -39
- package/tst/index.js +0 -26
- package/webpack.config.js +0 -47
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { highlightJsonValues } from '../primitives/renderJson.js';
|
|
2
|
+
import { supportsColor } from '../primitives/text.js';
|
|
3
|
+
export function formatTerminalOutput(content, options = {}) {
|
|
4
|
+
const target = options.target ?? 'stdout';
|
|
5
|
+
const renderedContent = options.json && supportsColor(target) ? highlightJsonValues(content, target) : content;
|
|
6
|
+
return `\n${renderedContent}\n\n`;
|
|
7
|
+
}
|
|
8
|
+
export function writeTerminalOutput(content) {
|
|
9
|
+
process.stdout.write(formatTerminalOutput(content, { target: 'stdout' }));
|
|
10
|
+
}
|
|
11
|
+
export function writeTerminalJson(content) {
|
|
12
|
+
process.stdout.write(formatTerminalOutput(content, { json: true, target: 'stdout' }));
|
|
13
|
+
}
|
|
14
|
+
export function writeTerminalError(content) {
|
|
15
|
+
process.stderr.write(formatTerminalOutput(content, { target: 'stderr' }));
|
|
16
|
+
}
|
|
17
|
+
export function writeTerminalJsonError(content) {
|
|
18
|
+
process.stderr.write(formatTerminalOutput(content, { json: true, target: 'stderr' }));
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=terminal-stream.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terminal-stream.js","sourceRoot":"","sources":["../../../src/ui/stream/terminal-stream.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAOnD,MAAM,UAAU,oBAAoB,CAAC,OAAe,EAAE,UAAiC,EAAE;IACvF,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,QAAQ,CAAC;IAC1C,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,mBAAmB,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;IAE/G,OAAO,KAAK,eAAe,MAAM,CAAC;AACpC,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,OAAe;IACjD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;AAC5E,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,OAAe;IAC/C,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;AACxF,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,OAAe;IAChD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,OAAO,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;AAC5E,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,OAAe;IACpD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC;AACxF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './theme';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Options as BoxenOptions, Spacing as BoxenSpacing } from 'boxen';
|
|
2
|
+
export type UiBorderType = 'arrow' | 'common' | 'debug' | 'note';
|
|
3
|
+
export type UiColorToken = 'danger' | 'debug' | 'info' | 'muted' | 'neutral' | 'success' | 'warning';
|
|
4
|
+
export type UiWidthPreset = 'compact' | 'standard' | 'wide';
|
|
5
|
+
export interface UiWidthRange {
|
|
6
|
+
readonly max: number;
|
|
7
|
+
readonly min: number;
|
|
8
|
+
}
|
|
9
|
+
export interface UiTheme {
|
|
10
|
+
readonly badgeBrackets: readonly [left: string, right: string];
|
|
11
|
+
readonly borderStyles: Readonly<Record<UiBorderType, BoxenOptions['borderStyle']>>;
|
|
12
|
+
readonly colors: Readonly<Record<UiColorToken, string>>;
|
|
13
|
+
readonly headingLineMinWidth: number;
|
|
14
|
+
readonly spacing: {
|
|
15
|
+
readonly gaps: {
|
|
16
|
+
readonly section: number;
|
|
17
|
+
readonly block: number;
|
|
18
|
+
};
|
|
19
|
+
readonly panelPadding: BoxenSpacing;
|
|
20
|
+
};
|
|
21
|
+
readonly table: {
|
|
22
|
+
readonly gap: number;
|
|
23
|
+
readonly labelWidth: number;
|
|
24
|
+
};
|
|
25
|
+
readonly widths: Readonly<Record<UiWidthPreset, UiWidthRange>>;
|
|
26
|
+
}
|
|
27
|
+
export declare const UI_THEME: UiTheme;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export const UI_THEME = {
|
|
2
|
+
badgeBrackets: ['[', ']'],
|
|
3
|
+
borderStyles: {
|
|
4
|
+
arrow: 'arrow',
|
|
5
|
+
common: 'doubleSingle',
|
|
6
|
+
debug: 'single',
|
|
7
|
+
note: 'classic',
|
|
8
|
+
},
|
|
9
|
+
colors: {
|
|
10
|
+
danger: '\u001B[31m',
|
|
11
|
+
debug: '\u001B[95m',
|
|
12
|
+
info: '\u001B[36m',
|
|
13
|
+
muted: '\u001B[2m',
|
|
14
|
+
neutral: '\u001B[37m',
|
|
15
|
+
success: '\u001B[32m',
|
|
16
|
+
warning: '\u001B[33m',
|
|
17
|
+
},
|
|
18
|
+
headingLineMinWidth: 18,
|
|
19
|
+
spacing: {
|
|
20
|
+
gaps: {
|
|
21
|
+
block: 1,
|
|
22
|
+
section: 2,
|
|
23
|
+
},
|
|
24
|
+
panelPadding: {
|
|
25
|
+
top: 1,
|
|
26
|
+
right: 2,
|
|
27
|
+
bottom: 1,
|
|
28
|
+
left: 2,
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
table: {
|
|
32
|
+
gap: 2,
|
|
33
|
+
labelWidth: 30,
|
|
34
|
+
},
|
|
35
|
+
widths: {
|
|
36
|
+
compact: { min: 68, max: 80 },
|
|
37
|
+
standard: { min: 80, max: 100 },
|
|
38
|
+
wide: { min: 92, max: 116 },
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../src/ui/theme/theme.ts"],"names":[],"mappings":"AA6BA,MAAM,CAAC,MAAM,QAAQ,GAAY;IAC/B,aAAa,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;IACzB,YAAY,EAAE;QACZ,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,cAAc;QACtB,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,SAAS;KAChB;IACD,MAAM,EAAE;QACN,MAAM,EAAE,YAAY;QACpB,KAAK,EAAE,YAAY;QACnB,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,WAAW;QAClB,OAAO,EAAE,YAAY;QACrB,OAAO,EAAE,YAAY;QACrB,OAAO,EAAE,YAAY;KACtB;IACD,mBAAmB,EAAE,EAAE;IACvB,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,KAAK,EAAE,CAAC;YACR,OAAO,EAAE,CAAC;SACX;QACD,YAAY,EAAE;YACZ,GAAG,EAAE,CAAC;YACN,KAAK,EAAE,CAAC;YACR,MAAM,EAAE,CAAC;YACT,IAAI,EAAE,CAAC;SACR;KACF;IACD,KAAK,EAAE;QACL,GAAG,EAAE,CAAC;QACN,UAAU,EAAE,EAAE;KACf;IACD,MAAM,EAAE;QACN,OAAO,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE;QAC7B,QAAQ,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE;QAC/B,IAAI,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE;KAC5B;CACF,CAAC"}
|
package/llms.txt
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
# arcli
|
|
2
|
+
|
|
3
|
+
> CLI de Node/TypeScript para emitir y previsualizar comprobantes ARCA (ex AFIP) desde
|
|
4
|
+
> terminal: facturas, notas de crédito/débito (papel y electrónicas), en testing o producción.
|
|
5
|
+
> Salida humana por defecto, `--json` para scripts/agentes. Repo: https://github.com/LcsGrz/arcli
|
|
6
|
+
|
|
7
|
+
Este archivo es una referencia densa para que un agente con acceso a shell pueda construir
|
|
8
|
+
comandos `arcli` correctos sin tener que ir probando `--ayuda` a ciegas. Para el detalle
|
|
9
|
+
completo de cada tema, ver los docs linkeados al final.
|
|
10
|
+
|
|
11
|
+
## Instalación y setup mínimo
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install -g arcli # o: yarn dev <comando> si corrés desde el repo
|
|
15
|
+
arcli config establecer cuit <11 digitos>
|
|
16
|
+
arcli config establecer cert.testing /ruta/al/certificado.crt
|
|
17
|
+
arcli config establecer key.testing /ruta/a/la/clave.key
|
|
18
|
+
arcli config establecer puntoVenta <numero>
|
|
19
|
+
arcli config revisar # valida que este todo listo antes de emitir
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Sin `cuit`, `cert.<entorno>`, `key.<entorno>` y `puntoVenta` configurados (o pasados por
|
|
23
|
+
flag), cualquier comando de facturación falla con `ConfigurationError` antes de contactar
|
|
24
|
+
ARCA. `--testing` es el entorno por defecto; `--produccion` cambia a real.
|
|
25
|
+
|
|
26
|
+
## Comandos de facturación (shortcut de 2-4 letras)
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
arcli <shortcut> --monto <n> --cs|--cp|--csp --ir-<tipo>|--iva-receptor <tipo> [--cuit N|--cuil N|--dni N|--consumidor-final] [--emitir|--previsualizar] [--json]
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Shortcuts (`family` = comando alternativo `arcli <family> <letra>`, ej. `arcli factura c`):
|
|
33
|
+
|
|
34
|
+
| shortcut | comprobante | family | requiere comprobante asociado |
|
|
35
|
+
|---|---|---|---|
|
|
36
|
+
| fa, fb, fc | Factura A/B/C | factura | no |
|
|
37
|
+
| nca, ncb, ncc | Nota de crédito A/B/C | nota-credito | sí |
|
|
38
|
+
| nda, ndb, ndc | Nota de débito A/B/C | nota-debito | sí |
|
|
39
|
+
| fcea, fceb, fcec | Factura de crédito electrónica A/B/C | factura-credito-electronica | no |
|
|
40
|
+
| ncea, nceb, ncec | Nota de crédito electrónica A/B/C | nota-credito-electronica | sí |
|
|
41
|
+
| ndea, ndeb, ndec | Nota de débito electrónica A/B/C | nota-debito-electronica | sí |
|
|
42
|
+
|
|
43
|
+
## Flags principales (alias corto entre paréntesis)
|
|
44
|
+
|
|
45
|
+
- `-m, --monto <n>`: importe total (requerido).
|
|
46
|
+
- Concepto: `--concepto <tipo>` (`productos`/`servicios`/`productos-servicios`) o atajos `--cs` `--cp` `--csp`. Uno solo, no combinar `--concepto` con un atajo.
|
|
47
|
+
- IVA receptor: `--iva-receptor <tipo>` / `--ir <tipo>` (alias) o un atajo `--ir-ce|--ir-cf|--ir-il|--ir-ina|--ir-ms|--ir-mtip|--ir-pe|--ir-ri|--ir-rm|--ir-se|--ir-snc`. Usar exactamente una forma.
|
|
48
|
+
Valores válidos: `cliente-del-exterior`, `consumidor-final`, `iva-liberado`, `iva-no-alcanzado`, `monotributista-social`, `monotributo-trabajador-independiente-promovido`, `proveedor-del-exterior`, `responsable-inscripto`, `responsable-monotributo`, `sujeto-exento`, `sujeto-no-categorizado`.
|
|
49
|
+
El IVA receptor tiene que ser válido para la letra: `A` solo admite `responsable-inscripto`, `responsable-monotributo`, `monotributista-social` y `monotributo-trabajador-independiente-promovido`; `B` admite el resto; `C` admite todos. Letras `A` y `B` siempre discriminan IVA al 21%.
|
|
50
|
+
- IVA (solo letras A y B): `--alicuota 0|2.5|5|10.5|21|27` (default `config.alicuota` o 21; la config no aplica a C), `--exento <monto>` y `--nogravado <monto>` (sin guion). `--monto` es siempre el total; exento y no gravado se descuentan y el IVA se calcula sobre el resto. En letra C esos flags dan error.
|
|
51
|
+
- Identidad del receptor: `--cuit <n>` / `--cuil <n>` / `--dni <n>` / `--consumidor-final` (alias `--cfinal`, documento 0). Usar como máximo una. Desde $10.000.000 (total × cotización) no se puede usar `--consumidor-final`: identificar con `--dni`/`--cuit`/`--cuil` y `--ir-cf`.
|
|
52
|
+
- Punto de venta: `--punto-venta <n>` (alias `--pv`). Si no se pasa, usa el default de config.
|
|
53
|
+
- Moneda: `--moneda <codigo>` (alias `--mda`, ej. `ARS`/`USD`; `USD` se envía como `DOL`) y `--cotizacion-moneda <n>` (alias `--cm`). En moneda extranjera la cotización es obligatoria y no puede ser 1; si el pago es en la misma moneda extranjera, usar `--misma-moneda` en lugar de `--cm` (consulta la cotización oficial a ARCA). En pesos no pasar cotización distinta de 1.
|
|
54
|
+
- Fechas: `-f, --fecha <fecha>` acepta formato argentino día-primero: `D`, `DD`, `D/M`, `DD/MM`, `D-M-YY`, `DD-MM-YYYY` (con `-` o `/`); si se omiten mes/año usa los actuales. También `--servicio-desde`/`--sd` y `--servicio-hasta`/`--sh`, y `-d, --dia <n>` (día de vencimiento). `--vencimiento <fecha>` (alias `--vto`) fija `FchVtoPago` aparte del período de servicio (servicios y facturas FCE; no en productos ni NC/ND FCE). Ventana de `--fecha` respecto de hoy: productos ±5 días, servicios ±10, FCE −5/+1; en productos y FCE una fecha futura tiene que caer en el mes actual.
|
|
55
|
+
- Comprobante asociado (obligatorio en notas de crédito/débito): `--ac <shortcut>` (ej. `fc`), `--apv <n>` (punto de venta, alias `--asociado-punto-venta`), `--ar <n>` (número), `--acuit <n>`, `--at <n>` (tipo ARCA, alternativa a `--ac`; no combinar ambos), `--afecha <fecha>` (fecha del asociado, opcional salvo en NC/ND FCE). En notas comunes, en lugar del bloque `--ac` se puede usar un período: `--periodo-desde <fecha>` y `--periodo-hasta <fecha>` (alias `--pd`/`--ph`); no se combinan con `--ac`/`--at`, no aplican a FCE y el período no puede terminar después de la nota.
|
|
56
|
+
- Crédito electrónico (FCE): las facturas `fcea/fceb/fcec` requieren `--cbu <22 dígitos>` (o `arcli config establecer cbu ...`); opcionales `--alias <alias>` y `--transferencia sca|adc` (default `sca`). Las NC/ND FCE (`ncea`…`ndec`) requieren `--afecha`, aceptan `--anulacion`, toman `--acuit` del CUIT emisor si se omite y no aceptan `--cbu`/`--alias`/`--transferencia`. Fuera de FCE esos flags dan error.
|
|
57
|
+
- Régimen FCE: `arcli fce-obligado <cuit> [--fecha <fecha>] [--json]` consulta en ARCA (`wsfecred`) si el receptor está obligado a recibir FCE y desde qué monto. Con `arcli config establecer verificarFce true`, cada factura con CUIT hace esa consulta y devuelve avisos en `avisos` (JSON) sin bloquear. Requiere autorizar `wsfecred` en ARCA además de `wsfe`.
|
|
58
|
+
- Ejecución: `--previsualizar` (default si no se especifica nada) vs `--emitir` (real contra ARCA) — son mutuamente excluyentes. En producción hace falta `--produccion --emitir` juntos — no hay un flag de confirmación adicional, así que esa combinación emite de verdad.
|
|
59
|
+
- Salida: `--json` (estructurada, para scripts/agentes — desactiva el aviso de nueva versión), `--bruto` (incluye la respuesta cruda de ARCA).
|
|
60
|
+
- `--cargar <path.json>`: carga uno o un array de comprobantes desde un JSON en vez de flags (ver forma abajo). Los flags pisan lo que venga del archivo.
|
|
61
|
+
|
|
62
|
+
## Modo no interactivo
|
|
63
|
+
|
|
64
|
+
Sin `--emitir` ni `--previsualizar`, si la sesión es interactiva (TTY) arcli muestra una vista
|
|
65
|
+
previa y pregunta si emitir. **Con `--json`, o cuando stdin/stdout no son un TTY (scripts,
|
|
66
|
+
agentes, CI), nunca pregunta** — se comporta como si fuera dry-run salvo que se pase
|
|
67
|
+
`--emitir` explícitamente. Para invocar desde un agente, siempre pasar `--emitir` o
|
|
68
|
+
`--previsualizar` de forma explícita y no depender del prompt.
|
|
69
|
+
|
|
70
|
+
## Forma del JSON de `--cargar` (un objeto o un array de estos)
|
|
71
|
+
|
|
72
|
+
```json
|
|
73
|
+
{
|
|
74
|
+
"concepto": "servicios",
|
|
75
|
+
"ivaReceptor": "consumidor-final",
|
|
76
|
+
"tipoDocumento": "consumidor-final",
|
|
77
|
+
"numeroDocumento": 0,
|
|
78
|
+
"montoTotal": 1000,
|
|
79
|
+
"puntoVenta": 3,
|
|
80
|
+
"codigoMoneda": "ARS",
|
|
81
|
+
"cotizacionMoneda": 1,
|
|
82
|
+
"fechaComprobante": "18-03-2026",
|
|
83
|
+
"servicioDesde": "01-03-2026",
|
|
84
|
+
"servicioHasta": "31-03-2026",
|
|
85
|
+
"dia": 10,
|
|
86
|
+
"emitir": false,
|
|
87
|
+
"previsualizar": true,
|
|
88
|
+
"confirmarProduccion": false,
|
|
89
|
+
"comprobanteAsociado": { "atajo": "fc", "cuit": "20123456789", "numero": 10, "puntoVenta": 3 }
|
|
90
|
+
}
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Forma de la respuesta (`--json`, sin `--bruto`)
|
|
94
|
+
|
|
95
|
+
```json
|
|
96
|
+
{
|
|
97
|
+
"atajo": "fa",
|
|
98
|
+
"comprobante": "Factura A",
|
|
99
|
+
"tipoArca": 1,
|
|
100
|
+
"estado": "aprobado | observado | rechazado",
|
|
101
|
+
"resultado": "A | R | P | null",
|
|
102
|
+
"cae": "string | null",
|
|
103
|
+
"caeVencimiento": "YYYYMMDD | null",
|
|
104
|
+
"errores": [],
|
|
105
|
+
"eventos": [],
|
|
106
|
+
"observaciones": ["..."],
|
|
107
|
+
"observacion": "string | null",
|
|
108
|
+
"solicitud": { "...": "payload enviado a ARCA" },
|
|
109
|
+
"previsualizacion": true,
|
|
110
|
+
"sugerencias": ["texto en español sugiriendo como resolver errores comunes de ARCA"]
|
|
111
|
+
}
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Con múltiples comprobantes (batch o `--cargar` con array) la salida es un array de estos
|
|
115
|
+
objetos. Con `--bruto` se agrega `respuesta` con la respuesta cruda del SDK.
|
|
116
|
+
|
|
117
|
+
**Importante:** un comprobante rechazado por ARCA (`"estado": "rechazado"`) es una respuesta
|
|
118
|
+
válida, no una excepción — el proceso termina con exit code `0` igual. Para saber si un
|
|
119
|
+
comprobante fue realmente aprobado hay que revisar `estado`/`resultado`/`errores` en el
|
|
120
|
+
JSON, nunca alcanza con chequear el exit code.
|
|
121
|
+
|
|
122
|
+
## Salida de error
|
|
123
|
+
|
|
124
|
+
Sin `--json`: panel de texto en stderr. Con `--json`: JSON en stderr con la forma
|
|
125
|
+
`{"codigo": "...", "detalles": {...} | null, "error": "mensaje", "sugerencia": "..." | null}`.
|
|
126
|
+
`codigo` es `CONFIGURATION_ERROR`, `INPUT_VALIDATION_ERROR`, `TRANSIENT_ERROR` (reintentar,
|
|
127
|
+
suele ser "transacción activa" de ARCA) o `UNEXPECTED_ERROR`. El proceso termina con
|
|
128
|
+
exit code `1` en cualquier error.
|
|
129
|
+
|
|
130
|
+
## Comando `config`
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
arcli config # ver config actual (agregar --json)
|
|
134
|
+
arcli config revisar [--testing|--produccion] # valida credenciales + contexto real
|
|
135
|
+
arcli config ruta # path del archivo de config
|
|
136
|
+
arcli config establecer <clave> <valor>
|
|
137
|
+
arcli config eliminar <clave>
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Claves válidas: `cuit`, `cbu`, `aliasCbu` (solo facturas FCE), `verificarFce`, `alicuota`, `puntoVenta`, `concepto`, `ivaReceptor`, `moneda`, `cotizacion`,
|
|
141
|
+
`entorno` (`testing`/`produccion`), `emitir`, `json`, `bruto` (booleanos: `true/false`,
|
|
142
|
+
`si/no`, `1/0`), `cert.testing`, `cert.produccion`, `key.testing`, `key.produccion`
|
|
143
|
+
(rutas a archivos PEM, se validan al guardar), `ticketPath` (carpeta donde se cachea el
|
|
144
|
+
ticket WSAA; por defecto una carpeta junto al archivo de config).
|
|
145
|
+
|
|
146
|
+
`config revisar` también avisa si un certificado ya venció o vence en menos de 30 días.
|
|
147
|
+
|
|
148
|
+
## Otros comandos
|
|
149
|
+
|
|
150
|
+
- `arcli ejemplos`: comandos listos para copiar por cada tipo de comprobante.
|
|
151
|
+
- `arcli storybook [escena]`: demos visuales de la UI (sin llamar a ARCA).
|
|
152
|
+
- `arcli <cualquier comando> ayuda` o `--ayuda`: ayuda contextual con ejemplos (nota: el flag
|
|
153
|
+
estándar `--help` de commander está deshabilitado, usar `--ayuda` o el subcomando `ayuda`).
|
|
154
|
+
|
|
155
|
+
## Más detalle
|
|
156
|
+
|
|
157
|
+
- `docs/cli-reference.md`: referencia completa de comandos y flags.
|
|
158
|
+
- `docs/configuration.md`: config persistente, claves soportadas, ticketPath.
|
|
159
|
+
- `docs/validation-rules.md` y `docs/input-output.md`: reglas de validación y formatos de entrada/salida.
|
|
160
|
+
- `docs/troubleshooting.md`: errores comunes de ARCA y como resolverlos.
|
|
161
|
+
- `AGENTS.md`: para agentes que van a modificar el código de este repo (no para usar el CLI).
|
package/package.json
CHANGED
|
@@ -1,47 +1,111 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arcli",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "CLI para previsualizar y emitir comprobantes ARCA desde terminal, con validaciones claras y salida lista para automatizar",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"arca",
|
|
7
|
+
"afip",
|
|
8
|
+
"cli",
|
|
9
|
+
"facturacion",
|
|
10
|
+
"typescript",
|
|
11
|
+
"factura-electronica",
|
|
12
|
+
"argentina",
|
|
13
|
+
"cae",
|
|
14
|
+
"cuit",
|
|
15
|
+
"automation"
|
|
16
|
+
],
|
|
17
|
+
"homepage": "https://github.com/LcsGrz/arcli#readme",
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/LcsGrz/arcli/issues"
|
|
10
20
|
},
|
|
11
21
|
"repository": {
|
|
12
22
|
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/
|
|
23
|
+
"url": "git+https://github.com/LcsGrz/arcli.git"
|
|
14
24
|
},
|
|
15
|
-
"keywords": [
|
|
16
|
-
],
|
|
17
|
-
"author": "Arpit Bhayani",
|
|
18
25
|
"license": "MIT",
|
|
19
|
-
"
|
|
20
|
-
|
|
26
|
+
"author": "LcsGrz",
|
|
27
|
+
"sideEffects": false,
|
|
28
|
+
"type": "module",
|
|
29
|
+
"exports": {
|
|
30
|
+
".": "./dist/cli/index.js"
|
|
31
|
+
},
|
|
32
|
+
"main": "./dist/cli/index.js",
|
|
33
|
+
"types": "./dist/cli/index.d.ts",
|
|
34
|
+
"bin": {
|
|
35
|
+
"arcli": "dist/cli/index.js"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist",
|
|
39
|
+
"LICENSE",
|
|
40
|
+
"README.md",
|
|
41
|
+
"CHANGELOG.md",
|
|
42
|
+
"llms.txt"
|
|
43
|
+
],
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "node ./scripts/clean-dist.mjs && tsc --project tsconfig.json && node ./scripts/fix-esm-extensions.mjs",
|
|
46
|
+
"clean": "node ./scripts/clean-dist.mjs",
|
|
47
|
+
"dev": "node --import tsx ./src/cli/index.ts",
|
|
48
|
+
"lint": "yarn lint:eslint && yarn lint:prettier",
|
|
49
|
+
"lint:eslint": "eslint 'src/**/*.{js,jsx,ts,tsx,json}'",
|
|
50
|
+
"lint:eslint:fix": "eslint --fix 'src/**/*.{js,jsx,ts,tsx,json}'",
|
|
51
|
+
"lint:prettier": "prettier --check 'src/**/*.{js,jsx,ts,tsx,json,md}' docs/**/*.md AGENTS.md README.md package.json",
|
|
52
|
+
"lint:prettier:fix": "prettier --write 'src/**/*.{js,jsx,ts,tsx,json,md}' docs/**/*.md AGENTS.md README.md package.json",
|
|
53
|
+
"open-source:check": "yarn typecheck && yarn test:coverage && yarn build && npm pack --dry-run",
|
|
54
|
+
"prepack": "yarn build",
|
|
55
|
+
"pack:check": "npm pack --dry-run",
|
|
56
|
+
"prepare": "husky",
|
|
57
|
+
"test": "vitest run",
|
|
58
|
+
"test:coverage": "vitest run --coverage",
|
|
59
|
+
"test:watch": "vitest",
|
|
60
|
+
"typecheck": "tsc --project tsconfig.typecheck.json"
|
|
61
|
+
},
|
|
62
|
+
"lint-staged": {
|
|
63
|
+
"src/**/*.{ts,tsx}": [
|
|
64
|
+
"tsc-files --noEmit"
|
|
65
|
+
],
|
|
66
|
+
"src/**/*.{js,jsx,ts,tsx,json}": [
|
|
67
|
+
"eslint --fix"
|
|
68
|
+
],
|
|
69
|
+
"src/**/*.{js,jsx,ts,tsx}": [
|
|
70
|
+
"vitest related --silent --passWithNoTests --run"
|
|
71
|
+
]
|
|
21
72
|
},
|
|
22
|
-
"homepage": "https://github.com/arpitbbhayani/arcli#readme",
|
|
23
73
|
"dependencies": {
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
74
|
+
"@arcasdk/core": "2.0.2",
|
|
75
|
+
"@inquirer/select": "5.2.2",
|
|
76
|
+
"big.js": "7.0.1",
|
|
77
|
+
"boxen": "8.0.1",
|
|
78
|
+
"commander": "15.0.0",
|
|
79
|
+
"conf": "15.1.0",
|
|
80
|
+
"ora": "9.4.1",
|
|
81
|
+
"zod": "4.4.3"
|
|
29
82
|
},
|
|
30
83
|
"devDependencies": {
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"eslint": "
|
|
40
|
-
"eslint-
|
|
41
|
-
"eslint-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
84
|
+
"@eslint/js": "10.0.1",
|
|
85
|
+
"@eslint/json": "2.0.1",
|
|
86
|
+
"@types/big.js": "7.0.0",
|
|
87
|
+
"@types/node": "22.20.1",
|
|
88
|
+
"@typescript-eslint/parser": "8.67.0",
|
|
89
|
+
"@vitest/coverage-v8": "4.1.11",
|
|
90
|
+
"eslint": "10.9.0",
|
|
91
|
+
"eslint-config-prettier": "10.1.8",
|
|
92
|
+
"eslint-plugin-jsonc": "3.4.2",
|
|
93
|
+
"eslint-plugin-prettier": "5.5.6",
|
|
94
|
+
"eslint-plugin-simple-import-sort": "14.0.0",
|
|
95
|
+
"husky": "9.1.7",
|
|
96
|
+
"lint-staged": "17.3.0",
|
|
97
|
+
"prettier": "3.9.6",
|
|
98
|
+
"tsc-files": "1.1.4",
|
|
99
|
+
"tsx": "4.23.12",
|
|
100
|
+
"typescript": "6.0.3",
|
|
101
|
+
"typescript-eslint": "8.67.0",
|
|
102
|
+
"vitest": "4.1.11"
|
|
103
|
+
},
|
|
104
|
+
"engines": {
|
|
105
|
+
"node": ">=22.22.1"
|
|
106
|
+
},
|
|
107
|
+
"publishConfig": {
|
|
108
|
+
"access": "public"
|
|
109
|
+
},
|
|
110
|
+
"packageManager": "yarn@1.22.22+sha256.c17d3797fb9a9115bf375e31bfd30058cac6bc9c3b8807a3d8cb2094794b51ca"
|
|
47
111
|
}
|
package/.babelrc
DELETED
package/.eslintignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
node_modules
|
package/.eslintrc.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
"extends": "airbnb-base",
|
|
3
|
-
"rules": {
|
|
4
|
-
"semi": ["error", "always"],
|
|
5
|
-
"quotes": ["error", "single"],
|
|
6
|
-
"linebreak-style": "off",
|
|
7
|
-
"indent": ["error", 4],
|
|
8
|
-
"no-underscore-dangle": "off",
|
|
9
|
-
"no-console": "off",
|
|
10
|
-
"no-unused-vars": ["error", {"argsIgnorePattern": "next"}]
|
|
11
|
-
},
|
|
12
|
-
"env": {
|
|
13
|
-
"node": true,
|
|
14
|
-
"es6": true,
|
|
15
|
-
},
|
|
16
|
-
"parser": "babel-eslint",
|
|
17
|
-
};
|
package/.npmignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
node_modules
|