@stripe/extensibility-dev-tools 0.24.3 → 1.0.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/dist/bin/build-custom-object-definitions.cjs +169 -34
- package/dist/bin/build-custom-object-definitions.js +160 -25
- package/dist/bin/create-upload-image.cjs +168 -33
- package/dist/bin/create-upload-image.js +160 -25
- package/dist/bin/dev-tools-rpc.cjs +203 -59
- package/dist/bin/dev-tools-rpc.js +178 -34
- package/dist/bin/gen-workspace.cjs +191 -47
- package/dist/bin/gen-workspace.js +178 -34
- package/dist/bin/template-info.cjs +165 -30
- package/dist/bin/template-info.js +160 -25
- package/dist/custom-objects/generated/proto/custom_objects/pub/api/app_api/object_definitions_app_service.pb.d.ts +32 -0
- package/dist/custom-objects/generated/proto/custom_objects/pub/api/app_api/object_definitions_app_service.pb.d.ts.map +1 -1
- package/dist/custom-objects/generated/proto/google/protobuf/descriptor.pb.d.ts +2 -2
- package/dist/custom-objects/generated/proto/google/protobuf/wrappers.pb.d.ts +168 -0
- package/dist/custom-objects/generated/proto/google/protobuf/wrappers.pb.d.ts.map +1 -0
- package/dist/custom-objects/generated/proto/proto/extensions.pb.d.ts +4 -4
- package/dist/custom-objects/generated/proto/proto/extensions.pb.d.ts.map +1 -1
- package/dist/custom-objects/generated/proto/vendor/proto/model/common/common_model.pb.d.ts +1553 -0
- package/dist/custom-objects/generated/proto/vendor/proto/model/common/common_model.pb.d.ts.map +1 -0
- package/dist/custom-objects/generated/proto/vendor/proto/model/common/kronos_model.pb.d.ts +1372 -0
- package/dist/custom-objects/generated/proto/vendor/proto/model/common/kronos_model.pb.d.ts.map +1 -0
- package/dist/custom-objects/generated/proto/vendor/publicapi/api_group_enum.pb.d.ts +2 -0
- package/dist/custom-objects/generated/proto/vendor/publicapi/api_group_enum.pb.d.ts.map +1 -1
- package/dist/custom-objects/generated/proto/vendor/publicapi/extension_interface.pb.d.ts +2 -0
- package/dist/custom-objects/generated/proto/vendor/publicapi/extension_interface.pb.d.ts.map +1 -1
- package/dist/custom-objects/generated/proto/vendor/publicapi/feature_enum.pb.d.ts +14 -2
- package/dist/custom-objects/generated/proto/vendor/publicapi/feature_enum.pb.d.ts.map +1 -1
- package/dist/custom-objects/generated/proto/vendor/publicapi/http_error_status.pb.d.ts +6 -0
- package/dist/custom-objects/generated/proto/vendor/publicapi/http_error_status.pb.d.ts.map +1 -1
- package/dist/custom-objects/generated/proto/vendor/publicapi/rollout_configs.pb.d.ts +74 -0
- package/dist/custom-objects/generated/proto/vendor/publicapi/rollout_configs.pb.d.ts.map +1 -1
- package/dist/custom-objects/generated/proto/vendor/publicapi/v2ext.pb.d.ts +10 -3
- package/dist/custom-objects/generated/proto/vendor/publicapi/v2ext.pb.d.ts.map +1 -1
- package/dist/custom-objects/generated/proto/vendor/vext/privacy_unified_annotations.pb.d.ts +1 -0
- package/dist/custom-objects/generated/proto/vendor/vext/privacy_unified_annotations.pb.d.ts.map +1 -1
- package/dist/index.cjs +196 -52
- package/dist/index.js +178 -34
- package/dist/templates/extensions/billing.invoice_collection_options.d.ts +6 -0
- package/dist/templates/extensions/billing.invoice_collection_options.d.ts.map +1 -0
- package/dist/templates/index.cjs +178 -34
- package/dist/templates/index.js +176 -32
- package/dist/templates/root/index.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/workspace/index.cjs +187 -43
- package/dist/workspace/index.d.ts.map +1 -1
- package/dist/workspace/index.js +178 -34
- package/dist/workspace-versions.d.ts +26 -0
- package/dist/workspace-versions.d.ts.map +1 -0
- package/package.json +4 -4
- package/templates/extensions/billing.invoice_collection_options/index.test.ts +15 -0
- package/templates/extensions/billing.invoice_collection_options/index.ts +16 -0
- package/templates/root/custom-objects/eslint.config.mts +89 -0
- package/templates/root/custom-objects/package.json.mustache +2 -0
- package/templates/root/custom-objects/tsconfig.json +1 -0
- package/templates/root/custom-objects/vitest.config.mts +7 -0
- package/templates/root/package.json.mustache +1 -1
- package/templates/root/pnpm-workspace.yaml +4 -0
- package/templates/root/tools/test.mts +4 -2
- package/dist/templates/extensions/billing.invoice_collection_setting.d.ts +0 -6
- package/dist/templates/extensions/billing.invoice_collection_setting.d.ts.map +0 -1
- package/templates/extensions/billing.invoice_collection_setting/index.test.ts +0 -15
- package/templates/extensions/billing.invoice_collection_setting/index.ts +0 -16
package/dist/templates/index.js
CHANGED
|
@@ -90,35 +90,35 @@ export default class MyBalanceApp implements Billing.CustomerBalanceApplication<
|
|
|
90
90
|
`
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
|
-
path: "extensions/billing.
|
|
93
|
+
path: "extensions/billing.invoice_collection_options/index.test.ts",
|
|
94
94
|
content: `import { beforeEach, describe, it, expect } from 'vitest';
|
|
95
95
|
|
|
96
|
-
import
|
|
96
|
+
import MyInvoiceCollectionOptions from './index.js';
|
|
97
97
|
|
|
98
|
-
describe('
|
|
99
|
-
let instance:
|
|
98
|
+
describe('MyInvoiceCollectionOptions', () => {
|
|
99
|
+
let instance: MyInvoiceCollectionOptions;
|
|
100
100
|
|
|
101
101
|
beforeEach(() => {
|
|
102
|
-
instance = new
|
|
102
|
+
instance = new MyInvoiceCollectionOptions();
|
|
103
103
|
});
|
|
104
104
|
|
|
105
105
|
it('should be constructable', () => {
|
|
106
|
-
expect(instance).toBeInstanceOf(
|
|
106
|
+
expect(instance).toBeInstanceOf(MyInvoiceCollectionOptions);
|
|
107
107
|
});
|
|
108
108
|
});
|
|
109
109
|
`
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
|
-
path: "extensions/billing.
|
|
112
|
+
path: "extensions/billing.invoice_collection_options/index.ts",
|
|
113
113
|
content: `import type { Billing, Context } from '@stripe/extensibility-sdk';
|
|
114
114
|
|
|
115
115
|
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
116
|
-
interface
|
|
116
|
+
interface MyInvoiceCollectionOptionsConfig {}
|
|
117
117
|
|
|
118
|
-
export default class
|
|
119
|
-
|
|
120
|
-
_request: Billing.
|
|
121
|
-
_config:
|
|
118
|
+
export default class MyInvoiceCollectionOptions implements Billing.InvoiceCollectionOptions<MyInvoiceCollectionOptionsConfig> {
|
|
119
|
+
overrideOptions(
|
|
120
|
+
_request: Billing.InvoiceCollectionOptions.InvoiceCollectionOptionsInput,
|
|
121
|
+
_config: MyInvoiceCollectionOptionsConfig,
|
|
122
122
|
_context: Context
|
|
123
123
|
) {
|
|
124
124
|
// TODO: implement your collection setting logic here
|
|
@@ -590,6 +590,99 @@ install-deps.log
|
|
|
590
590
|
|
|
591
591
|
# generated schemas
|
|
592
592
|
generated
|
|
593
|
+
`
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
path: "root/custom-objects/eslint.config.mts",
|
|
597
|
+
content: `import eslint from '@eslint/js';
|
|
598
|
+
import { defineConfig } from 'eslint/config';
|
|
599
|
+
import tseslint from 'typescript-eslint';
|
|
600
|
+
import eslintConfigPrettier from 'eslint-config-prettier/flat';
|
|
601
|
+
|
|
602
|
+
import globals from 'globals';
|
|
603
|
+
|
|
604
|
+
import stripeAppsConfig from '@stripe/extensibility-eslint-plugin';
|
|
605
|
+
import customObjectsConfig from '@stripe/extensibility-eslint-plugin/custom-objects';
|
|
606
|
+
|
|
607
|
+
export default defineConfig([
|
|
608
|
+
eslint.configs.recommended,
|
|
609
|
+
...tseslint.configs.recommended,
|
|
610
|
+
...stripeAppsConfig,
|
|
611
|
+
...customObjectsConfig,
|
|
612
|
+
|
|
613
|
+
// Global ignores
|
|
614
|
+
{
|
|
615
|
+
ignores: ['dist', 'generated', 'node_modules'],
|
|
616
|
+
},
|
|
617
|
+
|
|
618
|
+
// TypeScript source files (with type-checking)
|
|
619
|
+
{
|
|
620
|
+
name: 'sources',
|
|
621
|
+
files: ['src/**/*.ts'],
|
|
622
|
+
ignores: ['**/*.test.ts', '**/__tests__/**'],
|
|
623
|
+
languageOptions: {
|
|
624
|
+
globals: {
|
|
625
|
+
...globals.node,
|
|
626
|
+
},
|
|
627
|
+
parserOptions: {
|
|
628
|
+
projectService: true,
|
|
629
|
+
tsconfigRootDir: import.meta.dirname,
|
|
630
|
+
},
|
|
631
|
+
},
|
|
632
|
+
},
|
|
633
|
+
|
|
634
|
+
// Test files
|
|
635
|
+
{
|
|
636
|
+
name: 'tests',
|
|
637
|
+
files: ['src/**/*.test.ts', 'src/**/__tests__/**/*.ts'],
|
|
638
|
+
languageOptions: {
|
|
639
|
+
globals: {
|
|
640
|
+
...globals.node,
|
|
641
|
+
},
|
|
642
|
+
parserOptions: {
|
|
643
|
+
projectService: true,
|
|
644
|
+
tsconfigRootDir: import.meta.dirname,
|
|
645
|
+
},
|
|
646
|
+
},
|
|
647
|
+
},
|
|
648
|
+
|
|
649
|
+
// Config files
|
|
650
|
+
{
|
|
651
|
+
name: 'ts-configs',
|
|
652
|
+
files: ['*.config.m?ts', 'eslint.config.mts'],
|
|
653
|
+
languageOptions: {
|
|
654
|
+
globals: {
|
|
655
|
+
...globals.node,
|
|
656
|
+
},
|
|
657
|
+
parserOptions: {
|
|
658
|
+
projectService: false,
|
|
659
|
+
},
|
|
660
|
+
},
|
|
661
|
+
rules: {
|
|
662
|
+
'@typescript-eslint/no-unused-vars': 'off',
|
|
663
|
+
},
|
|
664
|
+
},
|
|
665
|
+
|
|
666
|
+
// JavaScript/MJS files (scripts, configs) \u2014 no TS project, so only
|
|
667
|
+
// disable the TS-parser-specific rule that doesn't apply without it.
|
|
668
|
+
{
|
|
669
|
+
name: 'js-configs',
|
|
670
|
+
files: ['**/*.js', '**/*.mjs'],
|
|
671
|
+
languageOptions: {
|
|
672
|
+
globals: {
|
|
673
|
+
...globals.node,
|
|
674
|
+
},
|
|
675
|
+
parserOptions: {
|
|
676
|
+
projectService: false,
|
|
677
|
+
},
|
|
678
|
+
},
|
|
679
|
+
rules: {
|
|
680
|
+
'@typescript-eslint/no-require-imports': 'off',
|
|
681
|
+
},
|
|
682
|
+
},
|
|
683
|
+
|
|
684
|
+
eslintConfigPrettier,
|
|
685
|
+
]);
|
|
593
686
|
`
|
|
594
687
|
},
|
|
595
688
|
{
|
|
@@ -602,7 +695,9 @@ generated
|
|
|
602
695
|
"private": true,
|
|
603
696
|
"scripts": {
|
|
604
697
|
"build": "test -d src && custom-objects-build --input src --output dist || true",
|
|
698
|
+
"lint": "pnpm lint:types && pnpm lint:eslint",
|
|
605
699
|
"lint:types": "test ! -d src || tsc --noEmit",
|
|
700
|
+
"lint:eslint": "eslint .",
|
|
606
701
|
"test": "vitest run"
|
|
607
702
|
},
|
|
608
703
|
"dependencies": {
|
|
@@ -625,8 +720,20 @@ generated
|
|
|
625
720
|
"moduleResolution": "bundler",
|
|
626
721
|
"types": ["vitest/globals"]
|
|
627
722
|
},
|
|
723
|
+
"include": ["src/**/*.ts"],
|
|
628
724
|
"exclude": ["dist"]
|
|
629
725
|
}
|
|
726
|
+
`
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
path: "root/custom-objects/vitest.config.mts",
|
|
730
|
+
content: `import { defineConfig } from 'vitest/config';
|
|
731
|
+
|
|
732
|
+
export default defineConfig({
|
|
733
|
+
test: {
|
|
734
|
+
globals: true,
|
|
735
|
+
},
|
|
736
|
+
});
|
|
630
737
|
`
|
|
631
738
|
},
|
|
632
739
|
{
|
|
@@ -744,7 +851,7 @@ export default defineConfig([
|
|
|
744
851
|
"build": "pnpm -r --if-present build",
|
|
745
852
|
"lint": "pnpm lint:types && pnpm lint:eslint && pnpm lint:format",
|
|
746
853
|
"lint:types": "pnpm -r --if-present lint:types",
|
|
747
|
-
"lint:eslint": "eslint . --ignore-pattern 'extensions/**' && pnpm -r --filter './extensions/*' --if-present lint:eslint",
|
|
854
|
+
"lint:eslint": "eslint . --ignore-pattern 'extensions/**' && pnpm -r --filter './extensions/*' --if-present lint:eslint && pnpm -r --filter './custom-objects' --if-present lint:eslint",
|
|
748
855
|
"lint:format": "prettier --check .",
|
|
749
856
|
"fix:lint": "eslint --fix . --ignore-pattern 'extensions/**' && pnpm -r --filter './extensions/*' --if-present fix:lint",
|
|
750
857
|
"fix:format": "prettier --write .",
|
|
@@ -773,6 +880,10 @@ export default defineConfig([
|
|
|
773
880
|
|
|
774
881
|
overrides:
|
|
775
882
|
vite: ^6.0.0
|
|
883
|
+
|
|
884
|
+
allowBuilds:
|
|
885
|
+
core-js-pure: false
|
|
886
|
+
esbuild: false
|
|
776
887
|
`
|
|
777
888
|
},
|
|
778
889
|
{
|
|
@@ -790,7 +901,7 @@ declarations:
|
|
|
790
901
|
content: `#!/usr/bin/env tsx
|
|
791
902
|
/**
|
|
792
903
|
* Runs tests across the workspace:
|
|
793
|
-
* - vitest for script extensions and custom objects (
|
|
904
|
+
* - vitest for script extensions (extensions/*) and custom objects (custom-objects/)
|
|
794
905
|
* - jest for UI extensions (ui/)
|
|
795
906
|
*/
|
|
796
907
|
import { existsSync, readdirSync } from 'node:fs';
|
|
@@ -800,6 +911,8 @@ const hasExtensions =
|
|
|
800
911
|
existsSync('extensions') &&
|
|
801
912
|
readdirSync('extensions').some((name) => existsSync(\`extensions/\${name}/package.json\`));
|
|
802
913
|
|
|
914
|
+
const hasCustomObjects = existsSync('custom-objects/package.json');
|
|
915
|
+
|
|
803
916
|
const hasUI = existsSync('ui/package.json');
|
|
804
917
|
|
|
805
918
|
let exitCode = 0;
|
|
@@ -812,7 +925,7 @@ function run(cmd: string): void {
|
|
|
812
925
|
}
|
|
813
926
|
}
|
|
814
927
|
|
|
815
|
-
if (hasExtensions) {
|
|
928
|
+
if (hasExtensions || hasCustomObjects) {
|
|
816
929
|
run('vitest run');
|
|
817
930
|
}
|
|
818
931
|
|
|
@@ -1596,8 +1709,30 @@ function _devNpmDep(name, version) {
|
|
|
1596
1709
|
return { type: "dev-npm", name, version };
|
|
1597
1710
|
}
|
|
1598
1711
|
|
|
1712
|
+
// src/workspace-versions.json
|
|
1713
|
+
var workspace_versions_default = {
|
|
1714
|
+
"@stripe/extensibility-custom-objects": "1.0.0",
|
|
1715
|
+
"@stripe/extensibility-custom-objects-tools": "4.0.1",
|
|
1716
|
+
"@stripe/extensibility-dev-tools": "1.0.2",
|
|
1717
|
+
"@stripe/extensibility-eslint-plugin": "1.0.0",
|
|
1718
|
+
"@stripe/extensibility-language-server": "1.0.0",
|
|
1719
|
+
"@stripe/extensibility-sdk": "1.0.0",
|
|
1720
|
+
"@stripe/extensibility-test-helpers": "1.0.0"
|
|
1721
|
+
};
|
|
1722
|
+
|
|
1723
|
+
// src/workspace-versions.ts
|
|
1724
|
+
var _workspaceVersions = workspace_versions_default;
|
|
1725
|
+
function _workspaceVersion(packageName) {
|
|
1726
|
+
const v = _workspaceVersions[packageName];
|
|
1727
|
+
if (v === void 0) {
|
|
1728
|
+
throw new Error(
|
|
1729
|
+
`Unknown workspace package "${packageName}". Check workspace-versions.json or run: tsx scripts/src/sync-workspace-versions.ts`
|
|
1730
|
+
);
|
|
1731
|
+
}
|
|
1732
|
+
return v;
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1599
1735
|
// src/templates/extensions/base.ts
|
|
1600
|
-
import { _workspaceVersion } from "@stripe/extensibility-tool-utils";
|
|
1601
1736
|
var SDK_PACKAGE_NAME = "@stripe/extensibility-sdk";
|
|
1602
1737
|
var LANGUAGE_SERVER_PACKAGE_NAME = "@stripe/extensibility-language-server";
|
|
1603
1738
|
var LANGUAGE_SERVER_PACKAGE_VERSION = `^${_workspaceVersion(LANGUAGE_SERVER_PACKAGE_NAME)}`;
|
|
@@ -1902,14 +2037,14 @@ var billing_bill_discount_calculation_default = {
|
|
|
1902
2037
|
[EXTENSION_INTERFACE_ID5]: discountCalculationTemplate
|
|
1903
2038
|
};
|
|
1904
2039
|
|
|
1905
|
-
// src/templates/extensions/billing.
|
|
1906
|
-
var EXTENSION_INTERFACE_ID6 = "billing.
|
|
1907
|
-
var
|
|
2040
|
+
// src/templates/extensions/billing.invoice_collection_options.ts
|
|
2041
|
+
var EXTENSION_INTERFACE_ID6 = "billing.invoice_collection_options";
|
|
2042
|
+
var invoiceCollectionOptionsTemplate = {
|
|
1908
2043
|
hidden: true,
|
|
1909
2044
|
methods: {
|
|
1910
|
-
|
|
2045
|
+
override_options: { implementation_types: ["script"] }
|
|
1911
2046
|
},
|
|
1912
|
-
description: "Use Stripe Scripts to create custom invoice collection
|
|
2047
|
+
description: "Use Stripe Scripts to create custom invoice collection options that controls how your integration handles invoices generated from subscriptions.",
|
|
1913
2048
|
generate: (params, context) => {
|
|
1914
2049
|
const { id } = params;
|
|
1915
2050
|
const { fs: fs2 } = context;
|
|
@@ -1937,15 +2072,15 @@ var invoiceCollectionSettingTemplate = {
|
|
|
1937
2072
|
...base.files
|
|
1938
2073
|
],
|
|
1939
2074
|
methods: {
|
|
1940
|
-
|
|
2075
|
+
override_options: {
|
|
1941
2076
|
implementation_type: "script"
|
|
1942
2077
|
}
|
|
1943
2078
|
}
|
|
1944
2079
|
};
|
|
1945
2080
|
}
|
|
1946
2081
|
};
|
|
1947
|
-
var
|
|
1948
|
-
[EXTENSION_INTERFACE_ID6]:
|
|
2082
|
+
var billing_invoice_collection_options_default = {
|
|
2083
|
+
[EXTENSION_INTERFACE_ID6]: invoiceCollectionOptionsTemplate
|
|
1949
2084
|
};
|
|
1950
2085
|
|
|
1951
2086
|
// src/templates/extensions/billing.prorations.ts
|
|
@@ -2053,7 +2188,7 @@ var DEFAULT_TEMPLATES = {
|
|
|
2053
2188
|
...extend_workflows_custom_action_default,
|
|
2054
2189
|
...billing_customer_balance_application_default,
|
|
2055
2190
|
...billing_bill_discount_calculation_default,
|
|
2056
|
-
...
|
|
2191
|
+
...billing_invoice_collection_options_default,
|
|
2057
2192
|
...billing_prorations_default,
|
|
2058
2193
|
...billing_recurring_billing_item_handling_default
|
|
2059
2194
|
};
|
|
@@ -2066,9 +2201,8 @@ var _templateManager = new _ExtensionTemplateManager(
|
|
|
2066
2201
|
);
|
|
2067
2202
|
|
|
2068
2203
|
// src/templates/root/index.ts
|
|
2069
|
-
import { _workspaceVersion as _workspaceVersion2 } from "@stripe/extensibility-tool-utils";
|
|
2070
2204
|
var EXTENSIBILITY_ESLINT_PLUGIN_PACKAGE_NAME = "@stripe/extensibility-eslint-plugin";
|
|
2071
|
-
var EXTENSIBILITY_ESLINT_PLUGIN_VERSION = `^${
|
|
2205
|
+
var EXTENSIBILITY_ESLINT_PLUGIN_VERSION = `^${_workspaceVersion(EXTENSIBILITY_ESLINT_PLUGIN_PACKAGE_NAME)}`;
|
|
2072
2206
|
var _rootWorkspaceTemplate = {
|
|
2073
2207
|
generate: (params, context) => {
|
|
2074
2208
|
const { fs: fs2 } = context;
|
|
@@ -2123,14 +2257,14 @@ var _rootWorkspaceTemplate = {
|
|
|
2123
2257
|
path: "custom-objects/package.json",
|
|
2124
2258
|
content: fs2.mustache(
|
|
2125
2259
|
{
|
|
2126
|
-
customObjectsVersion:
|
|
2260
|
+
customObjectsVersion: _workspaceVersion(
|
|
2127
2261
|
"@stripe/extensibility-custom-objects"
|
|
2128
2262
|
),
|
|
2129
|
-
sdkVersion:
|
|
2130
|
-
customObjectsToolsVersion:
|
|
2263
|
+
sdkVersion: _workspaceVersion("@stripe/extensibility-sdk"),
|
|
2264
|
+
customObjectsToolsVersion: _workspaceVersion(
|
|
2131
2265
|
"@stripe/extensibility-custom-objects-tools"
|
|
2132
2266
|
),
|
|
2133
|
-
testHelpersVersion:
|
|
2267
|
+
testHelpersVersion: _workspaceVersion("@stripe/extensibility-test-helpers")
|
|
2134
2268
|
},
|
|
2135
2269
|
"custom-objects",
|
|
2136
2270
|
"package.json.mustache"
|
|
@@ -2142,6 +2276,16 @@ var _rootWorkspaceTemplate = {
|
|
|
2142
2276
|
content: fs2.textFile("custom-objects/tsconfig.json"),
|
|
2143
2277
|
precious: true
|
|
2144
2278
|
},
|
|
2279
|
+
{
|
|
2280
|
+
path: "custom-objects/eslint.config.mts",
|
|
2281
|
+
content: fs2.textFile("custom-objects/eslint.config.mts"),
|
|
2282
|
+
precious: true
|
|
2283
|
+
},
|
|
2284
|
+
{
|
|
2285
|
+
path: "custom-objects/vitest.config.mts",
|
|
2286
|
+
content: fs2.textFile("custom-objects/vitest.config.mts"),
|
|
2287
|
+
precious: true
|
|
2288
|
+
},
|
|
2145
2289
|
{
|
|
2146
2290
|
path: "ui/package.json",
|
|
2147
2291
|
content: fs2.textFile("ui/package.json"),
|
|
@@ -2168,7 +2312,7 @@ var _rootWorkspaceTemplate = {
|
|
|
2168
2312
|
_devNpmDep("@types/node", "^20.19.0"),
|
|
2169
2313
|
_devNpmDep(
|
|
2170
2314
|
"@stripe/extensibility-dev-tools",
|
|
2171
|
-
`^${
|
|
2315
|
+
`^${_workspaceVersion("@stripe/extensibility-dev-tools")}`
|
|
2172
2316
|
),
|
|
2173
2317
|
_devNpmDep("concurrently", "^9.2.1"),
|
|
2174
2318
|
_devNpmDep("eslint", "^9.0.0"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/root/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,KAAK,EAAoB,SAAS,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAIhF,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAMhE,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,wCACd,CAAC;AAExC,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,QAAoE,CAAC;AAErH;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACnE,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,OAAO,EAAE,MAAM,CAAC;IAChB,8BAA8B;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,eAAe;IAC3D,qDAAqD;IACrD,YAAY,CAAC,EAAE;QACb,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;QAC3B,GAAG,CAAC,EAAE,iBAAiB,EAAE,CAAC;KAC3B,CAAC;IACF,qDAAqD;IACrD,mBAAmB,CAAC,EAAE,mBAAmB,EAAE,CAAC;CAC7C;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,CAC5C,oBAAoB,EACpB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/root/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,KAAK,EAAoB,SAAS,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAIhF,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAMhE,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,wCACd,CAAC;AAExC,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,QAAoE,CAAC;AAErH;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACnE,gDAAgD;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,OAAO,EAAE,MAAM,CAAC;IAChB,8BAA8B;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,eAAe;IAC3D,qDAAqD;IACrD,YAAY,CAAC,EAAE;QACb,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;QAC3B,GAAG,CAAC,EAAE,iBAAiB,EAAE,CAAC;KAC3B,CAAC;IACF,qDAAqD;IACrD,mBAAmB,CAAC,EAAE,mBAAmB,EAAE,CAAC;CAC7C;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,sBAAsB,EAAE,SAAS,CAC5C,oBAAoB,EACpB,oBAAoB,CA6IrB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,oEAGW,CAAC"}
|