Skip to content

Commit

Permalink
feat: activate mono repo for component library
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Feb 19, 2024
1 parent 3629482 commit 811c081
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
14 changes: 7 additions & 7 deletions .github/scripts/embed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ fi
--dst resources/meteor-icon-kit \
--org ${ORG_METEOR_ICON_KIT:-shopware}

#./docs-cli.cjs clone \
# --ci \
# --repository shopware/meteor-component-library \
# --branch ${BRANCH_METEOR_COMPONENT_LIBRARY:-main} \
# --src docs \
# --dst resources/meteor-component-library \
# --org ${ORG_METEOR_COMPONENT_LIBRARY:-shopware}
./docs-cli.cjs clone \
--ci \
--repository shopware/meteor \
--branch ${BRANCH_METEOR_COMPONENT_LIBRARY:-main} \
--src packages/component-library/docs \
--dst resources/meteor-component-library \
--org ${ORG_METEOR_COMPONENT_LIBRARY:-shopware}

./docs-cli.cjs clone \
--ci \
Expand Down
7 changes: 3 additions & 4 deletions .vitepress/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ const navigation = buildSidebarNav('./src/', [
},
{
text: "Meteor Component Library",
// link: "/resources/meteor-component-library/",
link: 'https://shopware.github.io/meteor-component-library/',
repo: 'shopware/meteor-component-library',
link: "/resources/meteor-component-library/",
repo: 'shopware/meteor',
}
]
},
Expand Down Expand Up @@ -96,7 +95,7 @@ const navigation = buildSidebarNav('./src/', [
'/docs/v6.4/',
'/docs/v6.3/',
//'/resources/admin-extension-sdk/',
//'/resources/meteor-component-library/',
'/resources/meteor-component-library/',
'/', // always have root sidebar
'/resources/meteor-icon-kit/',
'/release-notes/',
Expand Down
4 changes: 2 additions & 2 deletions .vitepress/portal.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@
}
},
{
"name": "shopware/meteor-component-library",
"src": "docs",
"name": "shopware/meteor",
"src": "packages/component-library/docs",
"dst": "resources/meteor-component-library",
"branch": [
"env.BRANCH_METEOR_COMPONENT_LIBRARY",
Expand Down

0 comments on commit 811c081

Please # to comment.