Skip to content

Commit 27fe3a8

Browse files
committed
Create mocks for the entire Customer Account extension API
1 parent 072992f commit 27fe3a8

4 files changed

Lines changed: 591 additions & 0 deletions

File tree

packages/ui-extensions-tester/loom.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,9 @@ export default createPackage((pkg) => {
55
pkg.entry({root: './src/index.ts'});
66
pkg.entry({name: 'checkout', root: './src/checkout/index.ts'});
77
pkg.entry({name: 'point-of-sale', root: './src/point-of-sale/index.ts'});
8+
pkg.entry({
9+
name: 'customer-account',
10+
root: './src/customer-account/index.ts',
11+
});
812
pkg.use(defaultProjectPlugin());
913
});

packages/ui-extensions-tester/package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
"esnext": "./point-of-sale.esnext",
2424
"import": "./point-of-sale.mjs",
2525
"require": "./point-of-sale.js"
26+
},
27+
"./customer-account": {
28+
"types": "./build/ts/customer-account/index.d.ts",
29+
"esnext": "./customer-account.esnext",
30+
"import": "./customer-account.mjs",
31+
"require": "./customer-account.js"
2632
}
2733
},
2834
"typesVersions": {
@@ -32,6 +38,9 @@
3238
],
3339
"point-of-sale": [
3440
"./build/ts/point-of-sale/index.d.ts"
41+
],
42+
"customer-account": [
43+
"./build/ts/customer-account/index.d.ts"
3544
]
3645
}
3746
},

0 commit comments

Comments
 (0)