Changing front

This commit is contained in:
2023-01-16 17:44:37 +01:00
parent 0b8a93b256
commit 4fe4be7730
48586 changed files with 4725790 additions and 17464 deletions

View File

@@ -0,0 +1,10 @@
{
"$schema": "../node_modules/@angular-devkit/schematics/collection-schema.json",
"schematics": {
"ng-add": {
"description": "Add @angular/localize polyfill to a project.",
"factory": "./ng-add",
"schema": "ng-add/schema.json"
}
}
}

View File

@@ -0,0 +1,13 @@
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*
* @fileoverview Schematics for `ng add @angular/localize` schematic.
*/
/// <amd-module name="@angular/localize/schematics/ng-add" />
import { Rule } from '@angular-devkit/schematics';
import { Schema } from './schema';
export default function (options: Schema): Rule;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,26 @@
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export interface Schema {
/**
* The name of the project.
*/
project?: string;
/**
* The name of the project.
* @deprecated use the `project` option instead.
*/
name?: string;
/**
* Will this project use $localize at runtime?
*
* If true then the dependency is included in the `dependencies` section of package.json, rather
* than `devDependencies`.
*/
useAtRuntime?: boolean;
}

View File

@@ -0,0 +1,26 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "SchematicsAngularLocalizeNgAdd",
"title": "Angular Localize Ng Add Schema",
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "The name of the project.",
"$default": {
"$source": "projectName"
}
},
"name": {
"type": "string",
"description": "The name of the project.",
"x-deprecated": "Use the \"project\" option instead."
},
"useAtRuntime": {
"type": "boolean",
"description": "If set then `@angular/localize` is included in the `dependencies` section of `package.json`, rather than `devDependencies`, which is the default.",
"default": false
}
},
"required": []
}

View File

@@ -0,0 +1,3 @@
{
"type": "commonjs"
}