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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.11.0] - 2025-10-11

### removed

- remove zoneless change detection

## [0.10.1] - 2025-02-09

### Fixed
Expand Down
11 changes: 7 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-tailwind",
"displayName": "Angular Tailwind",
"version": "0.10.1",
"version": "0.11.0",
"description": "Angular & Tailwind CSS Admin Dashboard Starter Kit, Free and Open Source",
"homepage": "https://github.com/lannodev/angular-tailwind#readme",
"repository": {
Expand Down Expand Up @@ -49,8 +49,7 @@
"ng-apexcharts": "^1.7.1",
"ngx-sonner": "^2.0.1",
"rxjs": "^7.8.2",
"tslib": "^2.3.0",
"zone.js": "~0.15.0"
"tslib": "^2.3.0"
},
"devDependencies": {
"@angular/build": "^20.0.1",
Expand Down Expand Up @@ -79,4 +78,4 @@
"path": "./node_modules/cz-conventional-changelog"
}
}
}
}
14 changes: 9 additions & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { enableProdMode, importProvidersFrom } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';

import { environment } from './environments/environment';
import { AppComponent } from './app/app.component';
import { AppRoutingModule } from './app/app-routing.module';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';
import { provideAnimations } from '@angular/platform-browser/animations';
import { AppRoutingModule } from './app/app-routing.module';
import { AppComponent } from './app/app.component';
import { environment } from './environments/environment';
import { provideZonelessChangeDetection } from '@angular/core';

if (environment.production) {
enableProdMode();
Expand All @@ -16,7 +16,11 @@ if (environment.production) {
}

bootstrapApplication(AppComponent, {
providers: [importProvidersFrom(BrowserModule, AppRoutingModule), provideAnimations()],
providers: [
importProvidersFrom(BrowserModule, AppRoutingModule),
provideAnimations(),
provideZonelessChangeDetection(),
],
}).catch((err) => console.error(err));

function selfXSSWarning() {
Expand Down
2 changes: 1 addition & 1 deletion src/polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
/***************************************************************************************************
* Zone JS is required by default for Angular itself.
*/
import 'zone.js' // Included with Angular CLI.
//import 'zone.js' // Included with Angular CLI.

/***************************************************************************************************
* APPLICATION IMPORTS
Expand Down
7 changes: 3 additions & 4 deletions src/test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// This file is required by karma.conf.js and loads recursively all the .spec and framework files

import 'zone.js/testing'
import { getTestBed } from '@angular/core/testing'
import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing'
import { getTestBed } from '@angular/core/testing';
import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing';

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting())
getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting());