Skip to content

Commit

Permalink
Merge pull request #1307 from zyfra/feat/update-doc-v4
Browse files Browse the repository at this point in the history
feat: update doc v4
  • Loading branch information
ZurabDev authored Jan 18, 2024
2 parents 2673d64 + 2e5dcb8 commit 3437840
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 31 deletions.
11 changes: 10 additions & 1 deletion .firebaserc
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,18 @@
],
"beta": [
"prizmui-beta"
],
"v4": [
"prizm-v4"
],
"v4-next": [
"prizm-v4-next"
],
"v4-beta": [
"prizm-v4-beta"
]
}
}
},
"etags": {}
}
}
2 changes: 1 addition & 1 deletion .github/workflows/beta-publish-ng17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRIZMUI }}'
projectId: prizmui
channelId: live
target: v3-beta
target: v4-beta

publish-components:
needs: build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-publish-ng16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRIZMUI }}'
projectId: prizmui
channelId: live
target: main
target: v3

publish-components:
needs: build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-ng17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRIZMUI }}'
expires: 5d
target: v3
target: v4
projectId: prizmui

lint_build_test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release-publish-ng17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRIZMUI }}'
projectId: prizmui
channelId: live
target: v3-next
target: v4-next

publish-components:
needs: build
Expand Down
65 changes: 41 additions & 24 deletions apps/doc/src/app/version-manager/versions.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,22 @@ export const PRIZM_LANGUAGES_META: readonly PrizmLanguageMeta[] = [
},
];
export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [
{
label: '4.0.0 (ng17)',
version: '4.0.0',
stackblitz: 'https://stackblitz.com/edit/prizm-v4-demo',
link: new URL('http://prizm.site'),
otherLinks: [new URL('https://prizm-v4.web.app')],
cb: (hostName: string, current: PrizmVersionMeta) => {
return hostName.startsWith('prizm-v4--');
},
},
{
label: '3.9.0 (ng16)',
version: '3.9.0',
stackblitz: 'https://stackblitz.com/edit/prizm-v3-demo',
link: new URL('http://prizm.site'),
otherLinks: [new URL('https://prizm-v3.web.app')],
stackblitz: 'https://stackblitz.com/edit/prizm-v2-demo',
link: new URL('https://prizm-v3.web.app'),
otherLinks: [],
cb: (hostName: string, current: PrizmVersionMeta) => {
return hostName.startsWith('prizm-v3--');
},
Expand All @@ -56,6 +66,13 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [
return hostName.startsWith('prizm-v1--');
},
},
{
label: '4.0.0-next (ng16)',
version: '4.0.0-next',
stackblitz: 'https://stackblitz.com/edit/prizm-v4-next-demo',
link: new URL('https://prizm-v4-next.web.app'),
otherLinks: [],
},
{
label: '3.9.0-next (ng16)',
version: '3.9.0-next',
Expand All @@ -77,25 +94,25 @@ export const PRIZM_VERSIONS_META: readonly PrizmVersionMeta[] = [
link: new URL('https://prizm-v1-next.web.app'),
otherLinks: [],
},
{
label: '3.9.0-beta (ng16)',
version: '3.9.0-beta',
stackblitz: 'https://stackblitz.com/edit/prizm-v3-beta-demo',
link: new URL('https://prizm-v3-beta.web.app'),
otherLinks: [],
},
{
label: '2.10.0-beta (ng15)',
version: '2.10.0-beta',
stackblitz: 'https://stackblitz.com/edit/prizm-v2-beta-demo',
link: new URL('https://prizm-v2-beta.web.app'),
otherLinks: [],
},
{
label: '1.13.0-beta (ng14)',
version: '1.13.0-beta',
stackblitz: 'https://stackblitz.com/edit/prizm-v1-beta-demo',
link: new URL('https://prizm-v1-beta.web.app'),
otherLinks: [],
},
// {
// label: '3.9.0-beta (ng16)',
// version: '3.9.0-beta',
// stackblitz: 'https://stackblitz.com/edit/prizm-v3-beta-demo',
// link: new URL('https://prizm-v3-beta.web.app'),
// otherLinks: [],
// },
// {
// label: '2.10.0-beta (ng15)',
// version: '2.10.0-beta',
// stackblitz: 'https://stackblitz.com/edit/prizm-v2-beta-demo',
// link: new URL('https://prizm-v2-beta.web.app'),
// otherLinks: [],
// },
// {
// label: '1.13.0-beta (ng14)',
// version: '1.13.0-beta',
// stackblitz: 'https://stackblitz.com/edit/prizm-v1-beta-demo',
// link: new URL('https://prizm-v1-beta.web.app'),
// otherLinks: [],
// },
];
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,6 @@
"typescript": "5.2.2"
},
"volta": {
"node": "16.20.2"
"node": "18.19.0"
}
}
2 changes: 1 addition & 1 deletion package.json.ng17
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,6 @@
"typescript": "5.2.2"
},
"volta": {
"node": "16.20.2"
"node": "18.19.0"
}
}

0 comments on commit 3437840

Please sign in to comment.