Skip to content

Commit

Permalink
Rename extension to denote reference implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
tjwiebell committed Mar 18, 2021
1 parent 824f3ab commit 8440cb6
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ const jestConfig = {
]
})),
configureProject(
'extensions/venia-virtual-products',
'extensions/venia-sample-virtual-products',
'Venia Virtual Products',
inPackage => testReactComponents(inPackage)
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ module.exports = targets => {
talons.tap(hooks => {
const useCategory = hooks.RootComponents.Category.useCategory;
useCategory.wrapWith(
'@magento/venia-virtual-products/src/wrapUseCategory'
'@magento/venia-sample-virtual-products/src/wrapUseCategory'
);
});

const { categoryListProductAttributes } = targets.of('@magento/venia-ui');
categoryListProductAttributes.tap(target => {
target.insertAfterJSX({
matcher: 'Link className={classes.name}',
importStatement: `import SubTypeAttribute from '@magento/venia-virtual-products/src/components/SubTypeAttribute'`
importStatement: `import SubTypeAttribute from '@magento/venia-sample-virtual-products/src/components/SubTypeAttribute'`
});
});
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@magento/venia-virtual-products",
"name": "@magento/venia-sample-virtual-products",
"version": "0.0.1",
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 8440cb6

Please sign in to comment.