Deployed the page to Github Pages.
This commit is contained in:
parent
1d79754e93
commit
2c89899458
62797 changed files with 6551425 additions and 15279 deletions
10
node_modules/@schematics/angular/ng-new/index.d.ts
generated
vendored
Executable file
10
node_modules/@schematics/angular/ng-new/index.d.ts
generated
vendored
Executable file
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* @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.dev/license
|
||||
*/
|
||||
import { Rule } from '@angular-devkit/schematics';
|
||||
import { Schema as NgNewOptions } from './schema';
|
||||
export default function (options: NgNewOptions): Rule;
|
64
node_modules/@schematics/angular/ng-new/index.js
generated
vendored
Executable file
64
node_modules/@schematics/angular/ng-new/index.js
generated
vendored
Executable file
|
@ -0,0 +1,64 @@
|
|||
"use strict";
|
||||
/**
|
||||
* @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.dev/license
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.default = default_1;
|
||||
const schematics_1 = require("@angular-devkit/schematics");
|
||||
const tasks_1 = require("@angular-devkit/schematics/tasks");
|
||||
function default_1(options) {
|
||||
if (!options.directory) {
|
||||
// If scoped project (i.e. "@foo/bar"), convert directory to "foo/bar".
|
||||
options.directory = options.name.startsWith('@') ? options.name.slice(1) : options.name;
|
||||
}
|
||||
const workspaceOptions = {
|
||||
name: options.name,
|
||||
version: options.version,
|
||||
newProjectRoot: options.newProjectRoot,
|
||||
minimal: options.minimal,
|
||||
strict: options.strict,
|
||||
packageManager: options.packageManager,
|
||||
};
|
||||
const applicationOptions = {
|
||||
projectRoot: '',
|
||||
name: options.name,
|
||||
inlineStyle: options.inlineStyle,
|
||||
inlineTemplate: options.inlineTemplate,
|
||||
prefix: options.prefix,
|
||||
viewEncapsulation: options.viewEncapsulation,
|
||||
routing: options.routing,
|
||||
style: options.style,
|
||||
skipTests: options.skipTests,
|
||||
skipPackageJson: false,
|
||||
// always 'skipInstall' here, so that we do it after the move
|
||||
skipInstall: true,
|
||||
strict: options.strict,
|
||||
minimal: options.minimal,
|
||||
standalone: options.standalone,
|
||||
ssr: options.ssr,
|
||||
};
|
||||
return (0, schematics_1.chain)([
|
||||
(0, schematics_1.mergeWith)((0, schematics_1.apply)((0, schematics_1.empty)(), [
|
||||
(0, schematics_1.schematic)('workspace', workspaceOptions),
|
||||
options.createApplication ? (0, schematics_1.schematic)('application', applicationOptions) : schematics_1.noop,
|
||||
(0, schematics_1.move)(options.directory),
|
||||
])),
|
||||
(_host, context) => {
|
||||
let packageTask;
|
||||
if (!options.skipInstall) {
|
||||
packageTask = context.addTask(new tasks_1.NodePackageInstallTask({
|
||||
workingDirectory: options.directory,
|
||||
packageManager: options.packageManager,
|
||||
}));
|
||||
}
|
||||
if (!options.skipGit) {
|
||||
const commit = typeof options.commit == 'object' ? options.commit : options.commit ? {} : false;
|
||||
context.addTask(new tasks_1.RepositoryInitializerTask(options.directory, commit), packageTask ? [packageTask] : []);
|
||||
}
|
||||
},
|
||||
]);
|
||||
}
|
129
node_modules/@schematics/angular/ng-new/schema.d.ts
generated
vendored
Executable file
129
node_modules/@schematics/angular/ng-new/schema.d.ts
generated
vendored
Executable file
|
@ -0,0 +1,129 @@
|
|||
/**
|
||||
* Creates a new project by combining the workspace and application schematics.
|
||||
*/
|
||||
export interface Schema {
|
||||
/**
|
||||
* Initial git repository commit information.
|
||||
*/
|
||||
commit?: CommitUnion;
|
||||
/**
|
||||
* Create a new initial application project in the 'src' folder of the new workspace. When
|
||||
* false, creates an empty workspace with no initial application. You can then use the
|
||||
* generate application command so that all applications are created in the projects folder.
|
||||
*/
|
||||
createApplication?: boolean;
|
||||
/**
|
||||
* The directory name to create the workspace in.
|
||||
*/
|
||||
directory?: string;
|
||||
/**
|
||||
* Include styles inline in the component TS file. By default, an external styles file is
|
||||
* created and referenced in the component TypeScript file.
|
||||
*/
|
||||
inlineStyle?: boolean;
|
||||
/**
|
||||
* Include template inline in the component TS file. By default, an external template file
|
||||
* is created and referenced in the component TypeScript file.
|
||||
*/
|
||||
inlineTemplate?: boolean;
|
||||
/**
|
||||
* Create a workspace without any testing frameworks. (Use for learning purposes only.)
|
||||
*/
|
||||
minimal?: boolean;
|
||||
/**
|
||||
* The name of the new workspace and initial project.
|
||||
*/
|
||||
name: string;
|
||||
/**
|
||||
* The path where new projects will be created, relative to the new workspace root.
|
||||
*/
|
||||
newProjectRoot?: string;
|
||||
/**
|
||||
* The package manager used to install dependencies.
|
||||
*/
|
||||
packageManager?: PackageManager;
|
||||
/**
|
||||
* The prefix to apply to generated selectors for the initial project.
|
||||
*/
|
||||
prefix?: string;
|
||||
/**
|
||||
* Enable routing in the initial project.
|
||||
*/
|
||||
routing?: boolean;
|
||||
/**
|
||||
* Do not initialize a git repository.
|
||||
*/
|
||||
skipGit?: boolean;
|
||||
/**
|
||||
* Do not install dependency packages.
|
||||
*/
|
||||
skipInstall?: boolean;
|
||||
/**
|
||||
* Do not generate "spec.ts" test files for the new project.
|
||||
*/
|
||||
skipTests?: boolean;
|
||||
/**
|
||||
* Creates an application with Server-Side Rendering (SSR) and Static Site Generation
|
||||
* (SSG/Prerendering) enabled.
|
||||
*/
|
||||
ssr?: boolean;
|
||||
/**
|
||||
* Creates an application based upon the standalone API, without NgModules.
|
||||
*/
|
||||
standalone?: boolean;
|
||||
/**
|
||||
* Creates a workspace with stricter type checking and stricter bundle budgets settings.
|
||||
* This setting helps improve maintainability and catch bugs ahead of time. For more
|
||||
* information, see https://angular.dev/tools/cli/template-typecheck#strict-mode
|
||||
*/
|
||||
strict?: boolean;
|
||||
/**
|
||||
* The file extension or preprocessor to use for style files.
|
||||
*/
|
||||
style?: Style;
|
||||
/**
|
||||
* The version of the Angular CLI to use.
|
||||
*/
|
||||
version: string;
|
||||
/**
|
||||
* The view encapsulation strategy to use in the initial project.
|
||||
*/
|
||||
viewEncapsulation?: ViewEncapsulation;
|
||||
}
|
||||
/**
|
||||
* Initial git repository commit information.
|
||||
*/
|
||||
export type CommitUnion = boolean | CommitObject;
|
||||
export interface CommitObject {
|
||||
email: string;
|
||||
message?: string;
|
||||
name: string;
|
||||
[property: string]: any;
|
||||
}
|
||||
/**
|
||||
* The package manager used to install dependencies.
|
||||
*/
|
||||
export declare enum PackageManager {
|
||||
Bun = "bun",
|
||||
Cnpm = "cnpm",
|
||||
Npm = "npm",
|
||||
Pnpm = "pnpm",
|
||||
Yarn = "yarn"
|
||||
}
|
||||
/**
|
||||
* The file extension or preprocessor to use for style files.
|
||||
*/
|
||||
export declare enum Style {
|
||||
Css = "css",
|
||||
Less = "less",
|
||||
Sass = "sass",
|
||||
Scss = "scss"
|
||||
}
|
||||
/**
|
||||
* The view encapsulation strategy to use in the initial project.
|
||||
*/
|
||||
export declare enum ViewEncapsulation {
|
||||
Emulated = "Emulated",
|
||||
None = "None",
|
||||
ShadowDom = "ShadowDom"
|
||||
}
|
35
node_modules/@schematics/angular/ng-new/schema.js
generated
vendored
Executable file
35
node_modules/@schematics/angular/ng-new/schema.js
generated
vendored
Executable file
|
@ -0,0 +1,35 @@
|
|||
"use strict";
|
||||
// THIS FILE IS AUTOMATICALLY GENERATED. TO UPDATE THIS FILE YOU NEED TO CHANGE THE
|
||||
// CORRESPONDING JSON SCHEMA FILE, THEN RUN devkit-admin build (or bazel build ...).
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ViewEncapsulation = exports.Style = exports.PackageManager = void 0;
|
||||
/**
|
||||
* The package manager used to install dependencies.
|
||||
*/
|
||||
var PackageManager;
|
||||
(function (PackageManager) {
|
||||
PackageManager["Bun"] = "bun";
|
||||
PackageManager["Cnpm"] = "cnpm";
|
||||
PackageManager["Npm"] = "npm";
|
||||
PackageManager["Pnpm"] = "pnpm";
|
||||
PackageManager["Yarn"] = "yarn";
|
||||
})(PackageManager || (exports.PackageManager = PackageManager = {}));
|
||||
/**
|
||||
* The file extension or preprocessor to use for style files.
|
||||
*/
|
||||
var Style;
|
||||
(function (Style) {
|
||||
Style["Css"] = "css";
|
||||
Style["Less"] = "less";
|
||||
Style["Sass"] = "sass";
|
||||
Style["Scss"] = "scss";
|
||||
})(Style || (exports.Style = Style = {}));
|
||||
/**
|
||||
* The view encapsulation strategy to use in the initial project.
|
||||
*/
|
||||
var ViewEncapsulation;
|
||||
(function (ViewEncapsulation) {
|
||||
ViewEncapsulation["Emulated"] = "Emulated";
|
||||
ViewEncapsulation["None"] = "None";
|
||||
ViewEncapsulation["ShadowDom"] = "ShadowDom";
|
||||
})(ViewEncapsulation || (exports.ViewEncapsulation = ViewEncapsulation = {}));
|
144
node_modules/@schematics/angular/ng-new/schema.json
generated
vendored
Executable file
144
node_modules/@schematics/angular/ng-new/schema.json
generated
vendored
Executable file
|
@ -0,0 +1,144 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "SchematicsAngularNgNew",
|
||||
"title": "Angular Ng New Options Schema",
|
||||
"type": "object",
|
||||
"description": "Creates a new project by combining the workspace and application schematics.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"directory": {
|
||||
"type": "string",
|
||||
"description": "The directory name to create the workspace in."
|
||||
},
|
||||
"name": {
|
||||
"description": "The name of the new workspace and initial project.",
|
||||
"type": "string",
|
||||
"$default": {
|
||||
"$source": "argv",
|
||||
"index": 0
|
||||
},
|
||||
"x-prompt": "What name would you like to use for the new workspace and initial project?"
|
||||
},
|
||||
"skipInstall": {
|
||||
"description": "Do not install dependency packages.",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"skipGit": {
|
||||
"description": "Do not initialize a git repository.",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"alias": "g"
|
||||
},
|
||||
"commit": {
|
||||
"description": "Initial git repository commit information.",
|
||||
"oneOf": [
|
||||
{ "type": "boolean" },
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"email": {
|
||||
"type": "string",
|
||||
"format": "email"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": ["name", "email"]
|
||||
}
|
||||
],
|
||||
"default": true
|
||||
},
|
||||
"newProjectRoot": {
|
||||
"description": "The path where new projects will be created, relative to the new workspace root.",
|
||||
"type": "string",
|
||||
"default": "projects"
|
||||
},
|
||||
"inlineStyle": {
|
||||
"description": "Include styles inline in the component TS file. By default, an external styles file is created and referenced in the component TypeScript file.",
|
||||
"type": "boolean",
|
||||
"alias": "s",
|
||||
"x-user-analytics": "ep.ng_inline_style"
|
||||
},
|
||||
"inlineTemplate": {
|
||||
"description": "Include template inline in the component TS file. By default, an external template file is created and referenced in the component TypeScript file.",
|
||||
"type": "boolean",
|
||||
"alias": "t",
|
||||
"x-user-analytics": "ep.ng_inline_template"
|
||||
},
|
||||
"viewEncapsulation": {
|
||||
"description": "The view encapsulation strategy to use in the initial project.",
|
||||
"enum": ["Emulated", "None", "ShadowDom"],
|
||||
"type": "string"
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"description": "The version of the Angular CLI to use.",
|
||||
"visible": false,
|
||||
"$default": {
|
||||
"$source": "ng-cli-version"
|
||||
}
|
||||
},
|
||||
"routing": {
|
||||
"type": "boolean",
|
||||
"description": "Enable routing in the initial project.",
|
||||
"x-user-analytics": "ep.ng_routing"
|
||||
},
|
||||
"prefix": {
|
||||
"type": "string",
|
||||
"format": "html-selector",
|
||||
"description": "The prefix to apply to generated selectors for the initial project.",
|
||||
"minLength": 1,
|
||||
"default": "app",
|
||||
"alias": "p"
|
||||
},
|
||||
"style": {
|
||||
"description": "The file extension or preprocessor to use for style files.",
|
||||
"type": "string",
|
||||
"enum": ["css", "scss", "sass", "less"],
|
||||
"x-user-analytics": "ep.ng_style"
|
||||
},
|
||||
"skipTests": {
|
||||
"description": "Do not generate \"spec.ts\" test files for the new project.",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"alias": "S"
|
||||
},
|
||||
"createApplication": {
|
||||
"description": "Create a new initial application project in the 'src' folder of the new workspace. When false, creates an empty workspace with no initial application. You can then use the generate application command so that all applications are created in the projects folder.",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"minimal": {
|
||||
"description": "Create a workspace without any testing frameworks. (Use for learning purposes only.)",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"strict": {
|
||||
"description": "Creates a workspace with stricter type checking and stricter bundle budgets settings. This setting helps improve maintainability and catch bugs ahead of time. For more information, see https://angular.dev/tools/cli/template-typecheck#strict-mode",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"packageManager": {
|
||||
"description": "The package manager used to install dependencies.",
|
||||
"type": "string",
|
||||
"enum": ["npm", "yarn", "pnpm", "cnpm", "bun"]
|
||||
},
|
||||
"standalone": {
|
||||
"description": "Creates an application based upon the standalone API, without NgModules.",
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"x-user-analytics": "ep.ng_standalone"
|
||||
},
|
||||
"ssr": {
|
||||
"description": "Creates an application with Server-Side Rendering (SSR) and Static Site Generation (SSG/Prerendering) enabled.",
|
||||
"type": "boolean",
|
||||
"x-user-analytics": "ep.ng_ssr"
|
||||
}
|
||||
},
|
||||
"required": ["name", "version"]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue