@stripe/extensibility-tool-utils 0.6.2
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/LICENSE.md +19 -0
- package/dist/cli/cli-ux.d.ts +30 -0
- package/dist/cli/cli-ux.d.ts.map +1 -0
- package/dist/cli/context.d.ts +24 -0
- package/dist/cli/context.d.ts.map +1 -0
- package/dist/cli/guards.d.ts +24 -0
- package/dist/cli/guards.d.ts.map +1 -0
- package/dist/cli/index.d.ts +6 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/output-path.d.ts +11 -0
- package/dist/cli/output-path.d.ts.map +1 -0
- package/dist/extensibility-tool-utils-alpha.d.ts +383 -0
- package/dist/extensibility-tool-utils-beta.d.ts +383 -0
- package/dist/extensibility-tool-utils-internal.d.ts +1866 -0
- package/dist/extensibility-tool-utils-public.d.ts +383 -0
- package/dist/file-editor/assertions/index.d.ts +68 -0
- package/dist/file-editor/assertions/index.d.ts.map +1 -0
- package/dist/file-editor/document.d.ts +107 -0
- package/dist/file-editor/document.d.ts.map +1 -0
- package/dist/file-editor/errors.d.ts +66 -0
- package/dist/file-editor/errors.d.ts.map +1 -0
- package/dist/file-editor/facades/api-extractor.d.ts +34 -0
- package/dist/file-editor/facades/api-extractor.d.ts.map +1 -0
- package/dist/file-editor/facades/brands.d.ts +45 -0
- package/dist/file-editor/facades/brands.d.ts.map +1 -0
- package/dist/file-editor/facades/package-json.d.ts +55 -0
- package/dist/file-editor/facades/package-json.d.ts.map +1 -0
- package/dist/file-editor/facades/stripe-app-manifest.d.ts +62 -0
- package/dist/file-editor/facades/stripe-app-manifest.d.ts.map +1 -0
- package/dist/file-editor/facades/tsconfig-options.d.ts +76 -0
- package/dist/file-editor/facades/tsconfig-options.d.ts.map +1 -0
- package/dist/file-editor/facades/tsconfig.d.ts +43 -0
- package/dist/file-editor/facades/tsconfig.d.ts.map +1 -0
- package/dist/file-editor/fingerprint.d.ts +39 -0
- package/dist/file-editor/fingerprint.d.ts.map +1 -0
- package/dist/file-editor/formats/adapter.d.ts +29 -0
- package/dist/file-editor/formats/adapter.d.ts.map +1 -0
- package/dist/file-editor/formats/detect.d.ts +9 -0
- package/dist/file-editor/formats/detect.d.ts.map +1 -0
- package/dist/file-editor/formats/index.d.ts +13 -0
- package/dist/file-editor/formats/index.d.ts.map +1 -0
- package/dist/file-editor/formats/jsonc.d.ts +14 -0
- package/dist/file-editor/formats/jsonc.d.ts.map +1 -0
- package/dist/file-editor/formats/yaml.d.ts +11 -0
- package/dist/file-editor/formats/yaml.d.ts.map +1 -0
- package/dist/file-editor/index.d.ts +42 -0
- package/dist/file-editor/index.d.ts.map +1 -0
- package/dist/file-editor/pointer.d.ts +74 -0
- package/dist/file-editor/pointer.d.ts.map +1 -0
- package/dist/file-editor/schema.d.ts +72 -0
- package/dist/file-editor/schema.d.ts.map +1 -0
- package/dist/file-editor/state/fs-manifest.d.ts +30 -0
- package/dist/file-editor/state/fs-manifest.d.ts.map +1 -0
- package/dist/file-editor/state/in-memory.d.ts +5 -0
- package/dist/file-editor/state/in-memory.d.ts.map +1 -0
- package/dist/file-editor/state/store.d.ts +19 -0
- package/dist/file-editor/state/store.d.ts.map +1 -0
- package/dist/file-editor/transaction.d.ts +60 -0
- package/dist/file-editor/transaction.d.ts.map +1 -0
- package/dist/file-editor/types.d.ts +131 -0
- package/dist/file-editor/types.d.ts.map +1 -0
- package/dist/file-editor/util/atomic-write.d.ts +7 -0
- package/dist/file-editor/util/atomic-write.d.ts.map +1 -0
- package/dist/file-editor/util/diff.d.ts +20 -0
- package/dist/file-editor/util/diff.d.ts.map +1 -0
- package/dist/file-editor/value-at-pointer.d.ts +46 -0
- package/dist/file-editor/value-at-pointer.d.ts.map +1 -0
- package/dist/index.cjs +2967 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2847 -0
- package/dist/logging/create-logger.d.ts +29 -0
- package/dist/logging/create-logger.d.ts.map +1 -0
- package/dist/logging/index.d.ts +10 -0
- package/dist/logging/index.d.ts.map +1 -0
- package/dist/logging/levels.d.ts +21 -0
- package/dist/logging/levels.d.ts.map +1 -0
- package/dist/naming/inflection.d.ts +15 -0
- package/dist/naming/inflection.d.ts.map +1 -0
- package/dist/naming/metadata-policy.d.ts +35 -0
- package/dist/naming/metadata-policy.d.ts.map +1 -0
- package/dist/naming/stripe-api-case.d.ts +9 -0
- package/dist/naming/stripe-api-case.d.ts.map +1 -0
- package/dist/naming/types.d.ts +11 -0
- package/dist/naming/types.d.ts.map +1 -0
- package/dist/naming/validate.d.ts +6 -0
- package/dist/naming/validate.d.ts.map +1 -0
- package/dist/templates/filesystem-fs.d.ts +20 -0
- package/dist/templates/filesystem-fs.d.ts.map +1 -0
- package/dist/templates/generator.d.ts +305 -0
- package/dist/templates/generator.d.ts.map +1 -0
- package/dist/templates/in-memory-fs.d.ts +44 -0
- package/dist/templates/in-memory-fs.d.ts.map +1 -0
- package/dist/templates/index.d.ts +28 -0
- package/dist/templates/index.d.ts.map +1 -0
- package/dist/templates/simple-templates.d.ts +75 -0
- package/dist/templates/simple-templates.d.ts.map +1 -0
- package/dist/templates/template-manager.d.ts +54 -0
- package/dist/templates/template-manager.d.ts.map +1 -0
- package/dist/templates/types.d.ts +87 -0
- package/dist/templates/types.d.ts.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/dist/workspace-versions.d.ts +30 -0
- package/dist/workspace-versions.d.ts.map +1 -0
- package/package.json +60 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@stripe/extensibility-tool-utils`
|
|
3
|
+
*
|
|
4
|
+
* Internal standalone utilities shared across Stripe extensibility tooling.
|
|
5
|
+
*
|
|
6
|
+
* @packageDocumentation
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export { _tokenizeIdentifier, _toSentenceDisplayName, _toStripeApiCase, _truncateName, } from './naming/stripe-api-case.js';
|
|
10
|
+
export { _stripeMetadataPolicy, _inferStripeApiName } from './naming/metadata-policy.js';
|
|
11
|
+
export { _looksPlural, _looksSingular, _toCapitalized, _toPascalCase, _toPlural, _toSingular, _toSnakeCase, } from './naming/inflection.js';
|
|
12
|
+
export { _validateApiName, _validateDisplayName } from './naming/validate.js';
|
|
13
|
+
export type { _ApiNameValidationResult } from './naming/types.js';
|
|
14
|
+
export { _createLogger, _parseLogLevel } from './logging/index.js';
|
|
15
|
+
export type { _LoggerOptions, _LogLevel } from './logging/index.js';
|
|
16
|
+
export { _CliUx, _createCliContext, _writeJsonOutput, _isRecord, _isRecordWithValueType, } from './cli/index.js';
|
|
17
|
+
export type { _CliContext } from './cli/index.js';
|
|
18
|
+
/** @internal */
|
|
19
|
+
export { _TemplateManager, _SingleTemplateManager, _createSimpleTemplate, _createSimpleSingleFileTemplate, _createInMemoryTemplateFS, _createFilesystemTemplateFS, _GeneratorRunner, _compositeGenerator, _GeneratorInputError, _GeneratorDefectError, } from './templates/index.js';
|
|
20
|
+
/** @internal */
|
|
21
|
+
export type { _GeneratedFile, _TemplateOutput, _TemplateFS, _TemplateContext, _Template, _TemplateFSImageEntry, _InMemoryTemplateFS, _Generator, _GeneratorContext, _StandaloneGeneratorContext, _ProjectGeneratorContext, _WriteCapability, _StandaloneExecuteContext, _ProjectExecuteContext, _GeneratorExecuteContext, _PlannedFile, _BeforeExecuteResult, _AfterExecuteResult, _WriteError, _FileWriteOutcome, _GeneratorWriteResult, _GeneratorPlanResult, _GeneratorExecuteResult, } from './templates/index.js';
|
|
22
|
+
/** @internal */
|
|
23
|
+
export { _workspaceVersion } from './workspace-versions.js';
|
|
24
|
+
/** @internal */
|
|
25
|
+
export * from './file-editor/index.js';
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;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