Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
24
my-app/node_modules/@schematics/angular/library/files/README.md.template
generated
vendored
Executable file
24
my-app/node_modules/@schematics/angular/library/files/README.md.template
generated
vendored
Executable file
|
@ -0,0 +1,24 @@
|
|||
# <%= classify(name) %>
|
||||
|
||||
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version <%= angularLatestVersion %>.
|
||||
|
||||
## Code scaffolding
|
||||
|
||||
Run `ng generate component component-name --project <%= name %>` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project <%= name %>`.
|
||||
> Note: Don't forget to add `--project <%= name %>` or else it will be added to the default project in your `angular.json` file.
|
||||
|
||||
## Build
|
||||
|
||||
Run `ng build <%= name %>` to build the project. The build artifacts will be stored in the `dist/` directory.
|
||||
|
||||
## Publishing
|
||||
|
||||
After building your library with `ng build <%= name %>`, go to the dist folder `cd dist/<%= dasherize(name) %>` and run `npm publish`.
|
||||
|
||||
## Running unit tests
|
||||
|
||||
Run `ng test <%= name %>` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
||||
|
||||
## Further help
|
||||
|
||||
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
7
my-app/node_modules/@schematics/angular/library/files/ng-package.json.template
generated
vendored
Executable file
7
my-app/node_modules/@schematics/angular/library/files/ng-package.json.template
generated
vendored
Executable file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"$schema": "<%= relativePathToWorkspaceRoot %>/node_modules/ng-packagr/ng-package.schema.json",
|
||||
"dest": "<%= relativePathToWorkspaceRoot %>/<%= distRoot %>",
|
||||
"lib": {
|
||||
"entryFile": "src/<%= entryFile %>.ts"
|
||||
}
|
||||
}
|
12
my-app/node_modules/@schematics/angular/library/files/package.json.template
generated
vendored
Executable file
12
my-app/node_modules/@schematics/angular/library/files/package.json.template
generated
vendored
Executable file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"name": "<%= dasherize(packageName) %>",
|
||||
"version": "0.0.1",
|
||||
"peerDependencies": {
|
||||
"@angular/common": "^<%= angularLatestVersion %>",
|
||||
"@angular/core": "^<%= angularLatestVersion %>"
|
||||
},
|
||||
"dependencies": {
|
||||
"tslib": "^<%= tsLibLatestVersion %>"
|
||||
},
|
||||
"sideEffects": false
|
||||
}
|
7
my-app/node_modules/@schematics/angular/library/files/src/__entryFile__.ts.template
generated
vendored
Executable file
7
my-app/node_modules/@schematics/angular/library/files/src/__entryFile__.ts.template
generated
vendored
Executable file
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* Public API Surface of <%= dasherize(name) %>
|
||||
*/
|
||||
|
||||
export * from './lib/<%= dasherize(name) %>.service';
|
||||
export * from './lib/<%= dasherize(name) %>.component';<% if (!standalone) { %>
|
||||
export * from './lib/<%= dasherize(name) %>.module';<% } %>
|
14
my-app/node_modules/@schematics/angular/library/files/tsconfig.lib.json.template
generated
vendored
Executable file
14
my-app/node_modules/@schematics/angular/library/files/tsconfig.lib.json.template
generated
vendored
Executable file
|
@ -0,0 +1,14 @@
|
|||
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
||||
{
|
||||
"extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "<%= relativePathToWorkspaceRoot %>/out-tsc/lib",
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"inlineSources": true,
|
||||
"types": []
|
||||
},
|
||||
"exclude": [
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
10
my-app/node_modules/@schematics/angular/library/files/tsconfig.lib.prod.json.template
generated
vendored
Executable file
10
my-app/node_modules/@schematics/angular/library/files/tsconfig.lib.prod.json.template
generated
vendored
Executable file
|
@ -0,0 +1,10 @@
|
|||
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
||||
{
|
||||
"extends": "./tsconfig.lib.json",
|
||||
"compilerOptions": {
|
||||
"declarationMap": false
|
||||
},
|
||||
"angularCompilerOptions": {
|
||||
"compilationMode": "partial"
|
||||
}
|
||||
}
|
14
my-app/node_modules/@schematics/angular/library/files/tsconfig.spec.json.template
generated
vendored
Executable file
14
my-app/node_modules/@schematics/angular/library/files/tsconfig.spec.json.template
generated
vendored
Executable file
|
@ -0,0 +1,14 @@
|
|||
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
||||
{
|
||||
"extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "<%= relativePathToWorkspaceRoot %>/out-tsc/spec",
|
||||
"types": [
|
||||
"jasmine"
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"**/*.spec.ts",
|
||||
"**/*.d.ts"
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue