Skip to content
Open
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
8 changes: 1 addition & 7 deletions adev/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,14 @@ APPLICATION_DEPS = [
":node_modules/w3c-keyname",
]

TEST_FILES = APPLICATION_FILES + [
"karma.conf.js",
"test-main.ts",
] + glob(["src/**/*.spec.ts"])
TEST_FILES = APPLICATION_FILES + glob(["src/app/**/*.spec.ts"])

TEST_DEPS = [
dep
for dep in APPLICATION_DEPS
if dep != ":node_modules/@types/node"
] + [
"@rules_browsers//browsers/chromium",
"@rules_browsers//browsers/firefox",
"//adev/tools:windows-chromium-path",
]

ng_config(name = "ng_config")
Expand Down Expand Up @@ -164,6 +159,5 @@ ng_test(
project_name = "angular-dev",
toolchains = [
"@rules_browsers//browsers/chromium:toolchain_alias",
"@rules_browsers//browsers/firefox:toolchain_alias",
],
)
18 changes: 7 additions & 11 deletions adev/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,13 @@
}
},
"test": {
"builder": "@angular/build:karma",
"options": {
"tsConfig": "tsconfig.spec.json",
"include": ["src/app"],
"karmaConfig": "karma.conf.js",
"main": "test-main.ts",
"inlineStyleLanguage": "scss",
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["@angular/docs/styles/global-styles.scss"],
"scripts": [],
"webWorkerTsConfig": "tsconfig.worker.json"
"builder": "@angular/build:unit-test",
"options": {
"runner": "karma",
"browsers": ["ChromeHeadlessNoSandbox"],
"include": [
"src/app/**/*.spec.ts"
]
}
}
}
Expand Down
85 changes: 0 additions & 85 deletions adev/karma.conf.js

This file was deleted.

31 changes: 16 additions & 15 deletions adev/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
{
"dependencies": {
"@algolia/client-common": "5.41.0",
"@algolia/client-search": "5.41.0",
"@algolia/requester-browser-xhr": "5.41.0",
"@algolia/requester-node-http": "5.41.0",
"@angular-devkit/build-angular": "21.0.0-next.9",
"@angular/animations": "workspace:*",
"@angular/build": "21.0.0-next.9",
"@angular/cdk": "21.0.0-next.10",
"@angular/cli": "21.0.0-next.9",
"@angular/common": "workspace:*",
"@angular/compiler-cli": "workspace:*",
"@angular/compiler": "workspace:*",
"@angular/compiler-cli": "workspace:*",
"@angular/core": "workspace:*",
"@angular/docs": "workspace:*",
"@angular/forms": "workspace:*",
Expand All @@ -30,8 +33,13 @@
"@codemirror/state": "6.5.2",
"@codemirror/view": "6.38.6",
"@lezer/common": "1.3.0",
"@lezer/css": "1.3.0",
"@lezer/highlight": "1.2.2",
"@lezer/html": "1.3.12",
"@lezer/javascript": "1.5.4",
"@lezer/lr": "1.4.2",
"@lezer/sass": "1.1.0",
"@marijn/find-cluster-break": "1.0.2",
"@stackblitz/sdk": "1.11.0",
"@types/dom-navigation": "1.0.6",
"@types/jasmine": "5.1.12",
Expand All @@ -43,44 +51,37 @@
"@xterm/xterm": "5.5.0",
"algoliasearch": "5.41.0",
"angular-split": "20.0.0",
"crelt": "1.0.6",
"diff": "8.0.2",
"emoji-regex": "10.6.0",
"fflate": "0.8.2",
"jasmine-core": "5.12.0",
"jsdom": "27.0.1",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "2.2.1",
"karma-jasmine-html-reporter": "2.1.0",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.1.0",
"marked": "16.4.1",
"mermaid": "11.12.0",
"ngx-progressbar": "14.0.0",
"open-in-idx": "0.1.1",
"playwright-core": "1.56.1",
"preact-render-to-string": "6.6.3",
"preact": "10.27.2",
"preact-render-to-string": "6.6.3",
"prettier": "3.6.2",
"rxjs": "7.8.2",
"shiki": "3.14.0",
"style-mod": "4.1.3",
"tinyglobby": "0.2.15",
"tslib": "2.8.1",
"typescript": "5.9.3",
"w3c-keyname": "2.2.8",
"xhr2": "0.2.1",
"zone.js": "0.15.1",
"@algolia/client-common": "5.41.0",
"@algolia/requester-browser-xhr": "5.41.0",
"@algolia/requester-node-http": "5.41.0",
"@lezer/css": "1.3.0",
"@lezer/html": "1.3.12",
"@lezer/lr": "1.4.2",
"@lezer/sass": "1.1.0",
"@marijn/find-cluster-break": "1.0.2",
"crelt": "1.0.6",
"style-mod": "4.1.3",
"w3c-keyname": "2.2.8"
"zone.js": "0.15.1"
},
"devDependencies": {
"autoprefixer": "10.4.21",
"karma": "~6.4.4",
"postcss": "8.5.6",
"tailwindcss": "3.4.18"
}
Expand Down
8 changes: 5 additions & 3 deletions adev/src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ describe('AppComponent', () => {
const fakeSearch = {};
const fakeWindow = {location: {hostname: 'angular.dev'}};

it('should create the app', () => {
TestBed.configureTestingModule({
it('should create the app', async () => {
await TestBed.configureTestingModule({
imports: [AppComponent],
providers: [
provideHttpClient(),
provideHttpClientTesting(),
Expand All @@ -33,7 +34,8 @@ describe('AppComponent', () => {
useValue: fakeSearch,
},
],
});
}).compileComponents();

const fixture = TestBed.createComponent(AppComponent);
const app = fixture.componentInstance;
expect(app).toBeTruthy();
Expand Down
2 changes: 1 addition & 1 deletion adev/src/app/core/services/a-dev-title-strategy.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {Router, provideRouter} from '@angular/router';
import {Title} from '@angular/platform-browser';
import {Component} from '@angular/core';

@Component({})
@Component({template: ''})
class FakeComponent {}

describe('ADevTitleStrategy', () => {
Expand Down
18 changes: 0 additions & 18 deletions adev/test-main.ts

This file was deleted.

12 changes: 0 additions & 12 deletions adev/tools/BUILD.bazel

This file was deleted.

49 changes: 0 additions & 49 deletions adev/tools/windows-chromium-path.js

This file was deleted.

2 changes: 1 addition & 1 deletion integration/cli-hello-world-ivy-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@
"ts-node": "^10.9.1",
"typescript": "5.9.3"
},
"packageManager": "pnpm@10.19.0"
"packageManager": "pnpm@10.24.0"
}
2 changes: 1 addition & 1 deletion integration/cli-hello-world-lazy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
"ts-node": "^10.9.1",
"typescript": "5.9.3"
},
"packageManager": "pnpm@10.19.0"
"packageManager": "pnpm@10.24.0"
}
2 changes: 1 addition & 1 deletion integration/cli-hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
"ts-node": "^10.9.1",
"typescript": "5.9.3"
},
"packageManager": "pnpm@10.19.0"
"packageManager": "pnpm@10.24.0"
}
2 changes: 1 addition & 1 deletion integration/cli-signal-inputs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint": "ng lint",
"e2e": "ng e2e --port 0"
},
"packageManager": "pnpm@10.19.0",
"packageManager": "pnpm@10.24.0",
"private": true,
"dependencies": {
"@angular/animations": "link:./in-existing-linked-by-bazel",
Expand Down
2 changes: 1 addition & 1 deletion integration/defer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
"ts-node": "10.9.2",
"typescript": "5.9.3"
},
"packageManager": "pnpm@10.19.0"
"packageManager": "pnpm@10.24.0"
}
2 changes: 1 addition & 1 deletion integration/legacy-animations-async/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
"ts-node": "^10.9.1",
"typescript": "5.9.3"
},
"packageManager": "pnpm@10.19.0"
"packageManager": "pnpm@10.24.0"
}
2 changes: 1 addition & 1 deletion integration/legacy-animations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@
"ts-node": "^10.9.1",
"typescript": "5.9.3"
},
"packageManager": "pnpm@10.19.0"
"packageManager": "pnpm@10.24.0"
}
2 changes: 1 addition & 1 deletion integration/ng-add-localize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
"@types/node": "^20.14.8",
"typescript": "5.9.3"
},
"packageManager": "pnpm@10.19.0"
"packageManager": "pnpm@10.24.0"
}
Loading
Loading