diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 35a1da83..d229719e 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -32,10 +32,10 @@ jobs: - name: Build app env: - VITE_RELEASE_VERSION: ${{ steps.semantic-release.outputs.new-release-version }} + RELEASE_VERSION: ${{ steps.semantic-release.outputs.new-release-version }} run: | echo '********' - echo "VITE_RELEASE_VERSION: $VITE_RELEASE_VERSION" + echo "RELEASE_VERSION: $RELEASE_VERSION" echo '********' npm run build diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 3cf6f3a3..333bbe82 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -20,9 +20,9 @@ import { FormatAndParserExamples, ParserAndFormatterDocs, } from '../assets/content/parser-and-formatter'; -// import * as process from 'process'; -// import { VersionToken } from '@libraries/version/version.token'; -// const { VITE_RELEASE_VERSION } = process.env; +import * as process from 'process'; +import { VersionToken } from '@libraries/version/version.token'; +const { RELEASE_VERSION } = process.env; @Component({ selector: 'jsdaddy-open-source-root', @@ -36,7 +36,7 @@ import { AccordionComponent, FooterComponent, ], - // providers: [{ provide: VersionToken, useValue: VITE_RELEASE_VERSION }], + providers: [{ provide: VersionToken, useValue: RELEASE_VERSION }], }) export class AppComponent { public card: { @@ -46,6 +46,7 @@ export class AppComponent { docs: ComDocs, examples: ComExamples, }; + public lists: IListItem[] = lists; public githubMaskLink = LinkPath.NGX_MASK; public title = 'Ngx-Mask'; diff --git a/src/libraries b/src/libraries index 105950e3..62334a2c 160000 --- a/src/libraries +++ b/src/libraries @@ -1 +1 @@ -Subproject commit 105950e32513efd046e15e0f4dcdf14f5c2cfcfc +Subproject commit 62334a2c1cb5d45b3440c01f978915f8017fba8e