Skip to content

Commit

Permalink
feat: Meteor Icon Kit @ monorepo (#196)
Browse files Browse the repository at this point in the history
* feat: prepare for monorepo

* lock

* feat: switch monorepo branch

* fix: use root path
  • Loading branch information
bojanrajh authored Mar 21, 2024
1 parent ab1deec commit 578df5c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
9 changes: 5 additions & 4 deletions .github/scripts/embed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BRANCH_DOCS_64=v6.4
BRANCH_DOCS_63=v6.3.0
BRANCH_FRONTENDS=DX-devhub
BRANCH_ADMIN_EXTENSION_SDK=dx-devhub-admin-sdk
BRANCH_METEOR_ICON_KIT=main
BRANCH_METEOR_ICON_KIT=dx/devhub-icon-kit
BRANCH_METEOR_COMPONENT_LIBRARY=DX-231
BRANCH_RELEASE_NOTES=main

Expand Down Expand Up @@ -92,11 +92,12 @@ fi

./docs-cli.cjs clone \
--ci \
--repository shopware/meteor-icon-kit \
--repository shopware/meteor \
--branch ${BRANCH_METEOR_ICON_KIT:-main} \
--src docs \
--src packages/icon-kit/docs \
--dst resources/meteor-icon-kit \
--org ${ORG_METEOR_ICON_KIT:-shopware}
--org ${ORG_METEOR_ICON_KIT:-shopware} \
--root ../..

#./docs-cli.cjs clone \
# --ci \
Expand Down
4 changes: 2 additions & 2 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,11 @@ const embeds: SwagEmbedsConfig[] = [
folder: 'docs',
},
{
repository: 'meteor-icon-kit',
repository: 'meteor',
points: {
'/resources/meteor-icon-kit/': 'main',
},
folder: 'docs',
folder: 'packages/icon-kit/docs',
},
{
repository: 'admin-api-reference',
Expand Down
2 changes: 1 addition & 1 deletion .vitepress/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const navigation = buildSidebarNav('./src/', [
{
text: "Meteor Icon Kit",
link: "/resources/meteor-icon-kit/",
repo: 'shopware/meteor-icon-kit',
repo: 'shopware/meteor',
},
{
text: "Meteor Component Library",
Expand Down
4 changes: 2 additions & 2 deletions .vitepress/portal.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@
]
},
{
"name": "shopware/meteor-icon-kit",
"src": "docs",
"name": "shopware/meteor",
"src": "packages/icon-kit/docs",
"dst": "resources/meteor-icon-kit",
"branch": [
"env.BRANCH_METEOR_ICON_KIT",
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ This repository:
folder (destination) in this repository:
- [shopware/docs](https://github.com/shopware/docs)
- [shopware/frontends](https://github.com/shopware/frontends)
- [shopware/admin-extension-sdk](https://github.com/shopware/admin-extension-sdk)
- [shopware/meteor-icon-kit](https://github.com/shopware/meteor-icon-kit)
- [shopware/meteor-component-library](https://github.com/shopware/meteor-component-library)
- [shopware/meteor](https://github.com/shopware/meteor)
- [shopware/release-notes](https://github.com/shopware/release-notes)
- [shopware/store-api-reference](https://github.com/shopware/store-api-reference)
- [shopware/admin-api-reference](https://github.com/shopware/admin-api-reference)
- **has a single deployment workflow** with the build being served from a single
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@shopware-ag/meteor-icon-kit": "^5.2.0",
"@shopware-ag/meteor-icon-kit": "^5.2.1",
"cross-env": "^7.0.3",
"terser": "^5.27.0",
"vitepress": "1.0.0-rc.40",
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 578df5c

Please sign in to comment.