diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index d356634..4f2fef2 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -24,5 +24,10 @@ jobs: - name: Install Dependencies 🔧 run: npm install --no-package-lock + - run: | + git config user.name "GitHub Actions Bot" + git config user.email "<>" + - name: Build & Deploy 🚀 - run: npm run deploy + - run: | + npm run deploy -- --message="docs(package): gh-pages" diff --git a/libs/angular-jss/package.json b/libs/angular-jss/package.json index 60b87bf..41931f4 100644 --- a/libs/angular-jss/package.json +++ b/libs/angular-jss/package.json @@ -24,16 +24,15 @@ "homepage": "https://design4pro.github.io/angular-jss/", "peerDependencies": { "@angular/common": "^13.2.0", - "@angular/core": "^13.2.0" + "@angular/core": "^13.2.0", + "rxjs": "^7.5.4", + "tslib": "^2.3.0" }, "dependencies": { "jss": "^10.9.0", "jss-plugin-camel-case": "^10.9.0", "jss-plugin-global": "^10.9.0", - "jss-plugin-rule-value-function": "^10.9.0", - "reflect-metadata": "^0.1.13", - "rxjs": "^7.5.4", - "tslib": "^2.3.0" + "jss-plugin-rule-value-function": "^10.9.0" }, "publishConfig": { "access": "public" diff --git a/libs/angular-jss/src/lib/styled/styled.decorator.ts b/libs/angular-jss/src/lib/styled/styled.decorator.ts index 993ec01..fb6a8d4 100644 --- a/libs/angular-jss/src/lib/styled/styled.decorator.ts +++ b/libs/angular-jss/src/lib/styled/styled.decorator.ts @@ -1,4 +1,3 @@ -import 'reflect-metadata'; import { BehaviorSubject, Subject } from 'rxjs'; import { generateStyles, markAsDecorated, STYLED_PROPS } from './internals'; import { ComponentType, DirectiveType } from './ivy'; @@ -73,7 +72,6 @@ function decorateNgOnCheck( function decorateNgOnDestroy(ngOnDestroy: (() => void) | null | undefined) { // eslint-disable-next-line @typescript-eslint/no-explicit-any return function (this: any) { - // Invoke the original `ngOnDestroy` if it exists if (ngOnDestroy) { ngOnDestroy.call(this); diff --git a/tools/release/insert-versions.ts b/tools/release/insert-versions.ts index 53c12bc..06ed920 100644 --- a/tools/release/insert-versions.ts +++ b/tools/release/insert-versions.ts @@ -55,7 +55,7 @@ async function insertVersions(packageRoot: string) { resolvedPackageRoot, 'src', 'utils', - 'versions.js' + 'versions.ts' ); if (!existsSync(packageJsonPath)) {