Skip to content

Commit 4ecdc49

Browse files
committed
build: rename docs site folder to docs
Renames the docs site from `material.angular.io` to `docs` so that it's easier to integrate into the Bazel.
1 parent 489b023 commit 4ecdc49

File tree

417 files changed

+28
-54
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

417 files changed

+28
-54
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

material.angular.io/e2e/protractor.conf.js renamed to docs/e2e/protractor.conf.js

+5-11
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,10 @@
55
const {SpecReporter} = require('jasmine-spec-reporter');
66
const path = require('path');
77

8-
// TODO(bazel): drop non-bazel
9-
const isBazel = !!process.env['TEST_TARGET'];
10-
if (isBazel) {
11-
// Resolve CHROME_BIN and CHROMEDRIVER_BIN from relative paths to absolute paths within the
12-
// runfiles tree so that subprocesses spawned in a different working directory can still find them.
13-
process.env.CHROME_BIN = path.resolve(process.env.CHROME_BIN);
14-
process.env.CHROMEDRIVER_BIN = path.resolve(process.env.CHROMEDRIVER_BIN);
15-
}
8+
// Resolve CHROME_BIN and CHROMEDRIVER_BIN from relative paths to absolute paths within the
9+
// runfiles tree so that subprocesses spawned in a different working directory can still find them.
10+
process.env.CHROME_BIN = path.resolve(process.env.CHROME_BIN);
11+
process.env.CHROMEDRIVER_BIN = path.resolve(process.env.CHROMEDRIVER_BIN);
1612

1713
/**
1814
* @type { import("protractor").Config }
@@ -24,9 +20,7 @@ const config = {
2420
capabilities: {
2521
'browserName': 'chrome',
2622
chromeOptions: {
27-
binary: isBazel
28-
? path.resolve(process.env.CHROME_BIN)
29-
: require('puppeteer').executablePath(),
23+
binary: path.resolve(process.env.CHROME_BIN),
3024
args: [
3125
'--no-sandbox',
3226
'--headless',
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

material.angular.io/package.json renamed to docs/package.json

+16-29
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@
3131
},
3232
"dependencies": {
3333
"@angular/animations": "^20.0.0-next.4",
34-
"@angular/cdk": "^20.0.0-next.4",
35-
"@angular/cdk-experimental": "^20.0.0-next.4",
34+
"@angular/cdk": "workspace:*",
35+
"@angular/cdk-experimental": "workspace:*",
3636
"@angular/common": "^20.0.0-next.4",
3737
"@angular/compiler": "^20.0.0-next.4",
38-
"@angular/components-examples": "https://github.com/angular/material2-docs-content.git#e904af2636dc19b7d774a1d8e8b123ea2dfeb2b3",
38+
"@angular/components-examples": "workspace:*",
3939
"@angular/core": "^20.0.0-next.4",
4040
"@angular/forms": "^20.0.0-next.4",
41-
"@angular/google-maps": "^20.0.0-next.4",
41+
"@angular/google-maps": "workspace:*",
4242
"@angular/localize": "^20.0.0-next.4",
43-
"@angular/material": "^20.0.0-next.4",
44-
"@angular/material-experimental": "^20.0.0-next.4",
45-
"@angular/material-moment-adapter": "^20.0.0-next.4",
43+
"@angular/material": "workspace:*",
44+
"@angular/material-experimental": "workspace:*",
45+
"@angular/material-moment-adapter": "workspace:*",
4646
"@angular/platform-browser": "^20.0.0-next.4",
4747
"@angular/platform-browser-dynamic": "^20.0.0-next.4",
4848
"@angular/router": "^20.0.0-next.4",
4949
"@angular/ssr": "^20.0.0-next.3",
50-
"@angular/youtube-player": "^20.0.0-next.4",
50+
"@angular/youtube-player": "workspace:*",
5151
"@stackblitz/sdk": "^1.5.2",
5252
"moment": "^2.29.1",
5353
"path-normalize": "^6.0.13",
@@ -67,9 +67,9 @@
6767
"@angular/compiler-cli": "^20.0.0-next.4",
6868
"@bazel/bazelisk": "^1.12.1",
6969
"@stylistic/eslint-plugin": "^2.6.2",
70-
"@types/jasmine": "^3.7.7",
71-
"@types/node": "^18.11.9",
72-
"@types/shelljs": "~0.8.8",
70+
"@types/jasmine": "5.1.7",
71+
"@types/node": "^22.14.1",
72+
"@types/shelljs": "0.8.15",
7373
"@typescript-eslint/eslint-plugin": "^8.26.0",
7474
"@typescript-eslint/parser": "^8.26.0",
7575
"eslint": "^8.56.0",
@@ -78,9 +78,9 @@
7878
"eslint-plugin-jsdoc": "^48.2.1",
7979
"eslint-plugin-prefer-arrow": "^1.2.3",
8080
"firebase-tools": "^11.0.1",
81-
"jasmine-core": "^3.7.1",
82-
"jasmine-spec-reporter": "^6.0.0",
83-
"karma": "~6.4.1",
81+
"jasmine-core": "5.6.0",
82+
"jasmine-spec-reporter": "7.0.0",
83+
"karma": "~6.4.4",
8484
"karma-chrome-launcher": "^3.1.1",
8585
"karma-coverage-istanbul-reporter": "^3.0.3",
8686
"karma-firefox-launcher": "^2.1.0",
@@ -91,22 +91,9 @@
9191
"lighthouse-logger": "~1.2.0",
9292
"npm-run-all": "^4.1.5",
9393
"protractor": "^7.0.0",
94-
"puppeteer": "^24.1.0",
95-
"sass": "^1.70.0",
94+
"sass": "1.86.3",
9695
"shelljs": "^0.8.4",
97-
"ts-node": "^8.10.2",
96+
"ts-node": "10.9.2",
9897
"typescript": "~5.8.2"
99-
},
100-
"packageManager": "[email protected]",
101-
"dependenciesMeta": {
102-
"esbuild": {
103-
"built": true
104-
},
105-
"puppeteer": {
106-
"built": true
107-
},
108-
"re2": {
109-
"built": true
110-
}
11198
}
11299
}
File renamed without changes.
File renamed without changes.

material.angular.io/scenes/e2e/protractor.conf.js renamed to docs/scenes/e2e/protractor.conf.js

+5-11
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,10 @@ const {StacktraceOption} = require('jasmine-spec-reporter/built/configuration');
66
const {SpecReporter} = require('jasmine-spec-reporter');
77
const path = require('path');
88

9-
// TODO(bazel): drop non-bazel
10-
const isBazel = !!process.env['TEST_TARGET'];
11-
if (isBazel) {
12-
// Resolve CHROME_BIN and CHROMEDRIVER_BIN from relative paths to absolute paths within the
13-
// runfiles tree so that subprocesses spawned in a different working directory can still find them.
14-
process.env.CHROME_BIN = path.resolve(process.env.CHROME_BIN);
15-
process.env.CHROMEDRIVER_BIN = path.resolve(process.env.CHROMEDRIVER_BIN);
16-
}
9+
// Resolve CHROME_BIN and CHROMEDRIVER_BIN from relative paths to absolute paths within the
10+
// runfiles tree so that subprocesses spawned in a different working directory can still find them.
11+
process.env.CHROME_BIN = path.resolve(process.env.CHROME_BIN);
12+
process.env.CHROMEDRIVER_BIN = path.resolve(process.env.CHROMEDRIVER_BIN);
1713

1814
/**
1915
* @type { import("protractor").Config }
@@ -25,9 +21,7 @@ const config = {
2521
capabilities: {
2622
'browserName': 'chrome',
2723
chromeOptions: {
28-
binary: isBazel
29-
? path.resolve(process.env.CHROME_BIN)
30-
: require('puppeteer').executablePath(),
24+
binary: path.resolve(process.env.CHROME_BIN),
3125
args: [
3226
'--no-sandbox',
3327
'--headless',
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)