Skip to content

Commit 4e97772

Browse files
committed
initial commit
1 parent 25efe43 commit 4e97772

File tree

157 files changed

+3760
-0
lines changed

Some content is hidden

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

157 files changed

+3760
-0
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Editor configuration, see https://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.ts]
12+
quote_type = single
13+
14+
[*.md]
15+
max_line_length = off
16+
trim_trailing_whitespace = false

.gitignore

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,54 @@ dist
128128
.yarn/build-state.yml
129129
.yarn/install-state.gz
130130
.pnp.*
131+
132+
# See http://help.github.com/ignore-files/ for more about ignoring files.
133+
134+
# compiled output
135+
/dist
136+
/tmp
137+
/out-tsc
138+
# Only exists if Bazel was run
139+
/bazel-out
140+
141+
# dependencies
142+
/node_modules
143+
144+
# profiling files
145+
chrome-profiler-events*.json
146+
speed-measure-plugin*.json
147+
148+
# IDEs and editors
149+
/.idea
150+
.project
151+
.classpath
152+
.c9/
153+
*.launch
154+
.settings/
155+
*.sublime-workspace
156+
157+
# IDE - VSCode
158+
.vscode/*
159+
!.vscode/settings.json
160+
!.vscode/tasks.json
161+
!.vscode/launch.json
162+
!.vscode/extensions.json
163+
.history/*
164+
165+
# misc
166+
/.sass-cache
167+
/connect.lock
168+
/coverage
169+
/e2e_report
170+
/libpeerconnection.log
171+
npm-debug.log
172+
yarn-error.log
173+
testem.log
174+
/typings
175+
debug.log
176+
package-lock.json
177+
178+
# System Files
179+
.DS_Store
180+
Thumbs.db
181+

.npmrc

Whitespace-only changes.

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package.json
2+
package-lock.json
3+
dist
4+
node_modules

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"bracketSpacing": true,
3+
"singleQuote": true,
4+
"trailingComma": "es5",
5+
"printWidth": 80
6+
}

README.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
2+
<h1 align="center">Phoenix - The modern web developer's IDE</h1>
3+
4+
5+
<p align="center">
6+
<a href="https://www.angular.io"><strong>www.phcode.io</strong></a>
7+
<br>
8+
</p>
9+
10+
11+
<p align="center">
12+
<a href="https://circleci.com/gh/angular/workflows/angular/tree/main">
13+
<img src="https://img.shields.io/circleci/build/github/angular/angular/main.svg?logo=circleci&logoColor=fff&label=CircleCI" alt="CI status" />
14+
</a>&nbsp;
15+
<a href="https://www.npmjs.com/@angular/core">
16+
<img src="https://img.shields.io/npm/v/@angular/core.svg?logo=npm&logoColor=fff&label=NPM+package&color=limegreen" alt="Angular on npm" />
17+
</a>&nbsp;
18+
<a href="https://discord.gg/angular">
19+
<img src="https://img.shields.io/discord/463752820026376202.svg?logo=discord&logoColor=fff&label=Discord&color=7389d8" alt="Discord conversation" />
20+
</a>
21+
</p>
22+
23+
<p align="center">
24+
<a href="https://app.circleci.com/insights/github/angular/angular/workflows/default_workflow?branch=main">
25+
<img src="https://dl.circleci.com/insights-snapshot/gh/angular/angular/main/default_workflow/badge.svg" alt="InsightsSnapshot" />
26+
</a>
27+
</p>
28+
29+
<hr>
30+
31+
## Documentation
32+
33+
Get started with Angular, learn the fundamentals and explore advanced topics on our documentation website.
34+
35+
- [Getting Started][quickstart]
36+
- [Architecture][architecture]
37+
- [Components and Templates][componentstemplates]
38+
- [Forms][forms]
39+
- [API][api]
40+
41+
### Advanced
42+
43+
- [Angular Elements][angularelements]
44+
- [Server Side Rendering][ssr]
45+
- [Schematics][schematics]
46+
- [Lazy Loading][lazyloading]
47+
- [Animations][animations]
48+
49+
## Development Setup
50+
51+
### Prerequisites
52+
53+
- Install [Node.js] which includes [Node Package Manager][npm]
54+
55+
### Setting Up a Project
56+
57+
Install the Angular CLI globally:
58+
59+
```
60+
npm install -g @angular/cli
61+
```
62+
63+
Run the application:
64+
65+
```
66+
cd [PROJECT NAME]
67+
ng serve
68+
```
69+
70+
Angular is cross-platform, fast, scalable, has incredible tooling, and is loved by millions.
71+
72+
## Quickstart
73+
74+
[Get started in 5 minutes][quickstart].
75+
76+
## Ecosystem
77+
78+
<p>
79+
<img src="/docs/images/angular-ecosystem-logos.png" alt="angular ecosystem logos" width="500px" height="auto">
80+
</p>
81+
82+
- [Angular Command Line (CLI)][cli]
83+
- [Angular Material][angularmaterial]
84+
85+
## Changelog
86+
87+
[Learn about the latest improvements][changelog].
88+
89+
## Upgrading
90+
91+
Check out our [upgrade guide](https://update.angular.io/) to find out the best way to upgrade your project.
92+
93+
94+
### Contributing Guidelines
95+
96+
Read through our [contributing guidelines][contributing] to learn about our submission process, coding rules, and more.
97+
98+
[![Love Angular badge](https://img.shields.io/badge/angular-love-blue?logo=angular&angular=love)](https://www.github.com/angular/angular)

angular.json

Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"phoenix": {
7+
"projectType": "application",
8+
"schematics": {
9+
"@schematics/angular:component": {
10+
"style": "scss"
11+
}
12+
},
13+
"root": "",
14+
"sourceRoot": "src",
15+
"prefix": "px",
16+
"architect": {
17+
"build": {
18+
"builder": "@angular-devkit/build-angular:browser",
19+
"options": {
20+
"outputPath": "dist/phoenix",
21+
"index": "src/index.html",
22+
"main": "src/main.ts",
23+
"polyfills": "src/polyfills.ts",
24+
"tsConfig": "tsconfig.app.json",
25+
"aot": true,
26+
"assets": [
27+
"src/favicon.ico",
28+
"src/assets",
29+
"src/assets/fonts"
30+
],
31+
"styles": [
32+
"src/styles.scss",
33+
"node_modules/ngx-toastr/toastr.css"
34+
],
35+
"scripts": []
36+
},
37+
"configurations": {
38+
"production": {
39+
"fileReplacements": [
40+
{
41+
"replace": "src/environments/environment.ts",
42+
"with": "src/environments/environment.prod.ts"
43+
}
44+
],
45+
"optimization": true,
46+
"outputHashing": "all",
47+
"sourceMap": false,
48+
"extractCss": true,
49+
"namedChunks": false,
50+
"extractLicenses": true,
51+
"vendorChunk": false,
52+
"buildOptimizer": true,
53+
"budgets": [
54+
{
55+
"type": "initial",
56+
"maximumWarning": "2mb",
57+
"maximumError": "5mb"
58+
},
59+
{
60+
"type": "anyComponentStyle",
61+
"maximumWarning": "6kb",
62+
"maximumError": "10kb"
63+
}
64+
]
65+
}
66+
}
67+
},
68+
"serve": {
69+
"builder": "@angular-devkit/build-angular:dev-server",
70+
"options": {
71+
"browserTarget": "phoenix:build"
72+
},
73+
"configurations": {
74+
"production": {
75+
"browserTarget": "phoenix:build:production"
76+
}
77+
}
78+
},
79+
"extract-i18n": {
80+
"builder": "@angular-devkit/build-angular:extract-i18n",
81+
"options": {
82+
"browserTarget": "phoenix:build"
83+
}
84+
},
85+
"test": {
86+
"builder": "@angular-devkit/build-angular:karma",
87+
"options": {
88+
"main": "src/test.ts",
89+
"polyfills": "src/polyfills.ts",
90+
"tsConfig": "tsconfig.spec.json",
91+
"karmaConfig": "karma.conf.js",
92+
"assets": [
93+
"src/favicon.ico",
94+
"src/assets"
95+
],
96+
"styles": [
97+
"src/styles.scss"
98+
],
99+
"scripts": [],
100+
"codeCoverage": true,
101+
"codeCoverageExclude": [
102+
"/**/*mock*.ts"
103+
]
104+
}
105+
},
106+
"lint": {
107+
"builder": "@angular-devkit/build-angular:tslint",
108+
"options": {
109+
"tsConfig": [
110+
"tsconfig.app.json",
111+
"tsconfig.spec.json",
112+
"e2e/tsconfig.json"
113+
],
114+
"exclude": [
115+
"**/node_modules/**"
116+
]
117+
}
118+
},
119+
"e2e": {
120+
"builder": "@angular-devkit/build-angular:protractor",
121+
"options": {
122+
"protractorConfig": "e2e/protractor.conf.js",
123+
"devServerTarget": "phoenix:serve"
124+
},
125+
"configurations": {
126+
"production": {
127+
"devServerTarget": "phoenix:serve:production"
128+
}
129+
}
130+
}
131+
}
132+
}
133+
},
134+
"defaultProject": "phoenix"
135+
}

browserslist

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2+
# For additional information regarding the format and rule options, please see:
3+
# https://github.com/browserslist/browserslist#queries
4+
5+
# You can see what browsers were selected by your queries by running:
6+
# npx browserslist
7+
8+
> 0.5%
9+
last 2 versions
10+
Firefox ESR
11+
not dead
12+
not IE 9-11 # For IE 9-11 support, remove 'not'.

0 commit comments

Comments
 (0)