Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @taiga-ui/eslint-plugin-experience to v0.18.0 #12

Merged
merged 4 commits into from
Nov 9, 2023
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
43 changes: 43 additions & 0 deletions .github/.bundlemonrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"baseDir": "./dist",
"files": [
{
"path": "demo/browser/main.<hash>.js",
"maxPercentIncrease": 10
},
{
"path": "demo/browser/runtime.<hash>.js",
"maxPercentIncrease": 10
},
{
"path": "demo/browser/polyfills.<hash>.js",
"maxPercentIncrease": 10
},
{
"path": "demo/browser/scripts.<hash>.js",
"maxPercentIncrease": 10
},
{
"path": "demo/browser/styles.<hash>.css",
"maxPercentIncrease": 10
},
{
"path": "demo/browser/vendor.<hash>.js",
"maxPercentIncrease": 10
}
],
"groups": [
{
"path": "demo/browser/*.<hash>.js"
}
],
"reportOutput": [
[
"github",
{
"statusCheck": true,
"prComment": true
}
]
]
}
18 changes: 18 additions & 0 deletions .github/workflows/bundle-size-tracking.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: ⚙️ Bundle size
on:
push:
branches: [main]
pull_request:

jobs:
tracking:
runs-on: ubuntu-latest
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- run: npx nx build demo -- --prod
- run: npx --yes bundlemon --config .github/.bundlemonrc.json
continue-on-error: true
env:
CI_COMMIT_SHA: ${{ env.CI_COMMIT_SHA }}
2 changes: 1 addition & 1 deletion apps/demo/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {RouterOutlet} from '@angular/router';
@Component({
standalone: true,
selector: 'app',
encapsulation: ViewEncapsulation.None,
imports: [CommonModule, RouterOutlet],
template: '<router-outlet></router-outlet>',
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class AppComponent {}
8 changes: 4 additions & 4 deletions apps/demo/src/app/home/home.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ import {EventPluginsModule} from '@tinkoff/ng-event-plugins';
@Component({
standalone: true,
selector: 'home',
templateUrl: './home.component.html',
styleUrls: ['./home.component.less'],
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [
CommonModule,
FormsModule,
Expand All @@ -38,6 +34,10 @@ import {EventPluginsModule} from '@tinkoff/ng-event-plugins';
TuiHintModule,
TuiSliderModule,
],
templateUrl: './home.component.html',
styleUrls: ['./home.component.less'],
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class HomeComponent {
readonly labels = ['New', 'Read', 'Archived', 'Junk'];
Expand Down
Loading
Loading