Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
9 changes: 4 additions & 5 deletions libs/angular-jss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 0 additions & 2 deletions libs/angular-jss/src/lib/styled/styled.decorator.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'reflect-metadata';
import { BehaviorSubject, Subject } from 'rxjs';
import { generateStyles, markAsDecorated, STYLED_PROPS } from './internals';
import { ComponentType, DirectiveType } from './ivy';
Expand Down Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion tools/release/insert-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async function insertVersions(packageRoot: string) {
resolvedPackageRoot,
'src',
'utils',
'versions.js'
'versions.ts'
);

if (!existsSync(packageJsonPath)) {
Expand Down