mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
3960ad64e5
The my-lib schematics-for-libraries example still declared `^21.0.0` peerDependencies, the only adev example left on the previous major. Bumps `@angular/common`/`@angular/core` to `^22.0.0`, matching the current major and this file's stable-`^N.0.0` bump pattern. Also adds this example's package.json to .prettierignore: it contains `// #docregion` markers consumed by the schematics-for-libraries guide, and Prettier's json-stringify parser (used for any package.json) rejects those as invalid JSON. Editing the file surfaced this pre-existing incompatibility in the format check.
50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
pnpm-lock.yaml
|
|
|
|
# Do not format d.ts files as they are generated
|
|
**/*.d.ts
|
|
|
|
# Both third_party and .yarn are directories containing copied code which should
|
|
# not be modified.
|
|
third_party/**/*.js
|
|
third_party/**/*.css
|
|
third_party/**/*.md
|
|
third_party/**/*.json
|
|
|
|
# Do not format the locale files which are checked-in for Google3, but generated using
|
|
# the `generate-locales-tool` from `packages/common/locales`.
|
|
packages/core/src/i18n/locale_en.ts
|
|
packages/common/locales/closure-locale.ts
|
|
packages/common/src/i18n/currencies.ts
|
|
|
|
# Test cases contain non valid code.
|
|
packages/compiler-cli/test/compliance/test_cases/**/*.js
|
|
packages/compiler-cli/test/compliance/test_cases/**/*.ts
|
|
|
|
# Ignore generated javascript file(s)
|
|
.github/actions/deploy-docs-site/main.js
|
|
|
|
# Ignore testing data files for language service
|
|
vscode-ng-language-service/syntaxes/test/data/*.ts
|
|
vscode-ng-language-service/syntaxes/test/data/*.html
|
|
|
|
# Ignore goldens MD files
|
|
goldens/**/*.api.md
|
|
|
|
# Ignore golden symbol json files
|
|
packages/**/*.golden_symbols.json
|
|
|
|
# adev generated files
|
|
adev/src/content/aria/**/*.json
|
|
adev/src/content/cli/**/*.json
|
|
adev/src/content/cdk/**/*.json
|
|
|
|
# Example package.json containing docregion (`// #docregion`) markers, which are
|
|
# not valid JSON and cannot be processed by Prettier's json-stringify parser.
|
|
adev/src/content/examples/schematics-for-libraries/projects/my-lib/package.json
|
|
|
|
# Antigravity rules
|
|
.agent/rules/agents.md
|
|
|
|
CHANGELOG.md
|
|
CHANGELOG_ARCHIVE.md
|