-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
15,773 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
filegroup( | ||
name = "files", | ||
srcs = glob(["**/*"]), | ||
visibility = ["//visibility:public"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
{ | ||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | ||
"version": 1, | ||
"newProjectRoot": "projects", | ||
"projects": { | ||
"first-app": { | ||
"projectType": "application", | ||
"schematics": { | ||
"@schematics/angular:component": { | ||
"inlineTemplate": true, | ||
"inlineStyle": true, | ||
"style": "scss", | ||
"skipTests": true | ||
}, | ||
"@schematics/angular:class": { | ||
"skipTests": true | ||
}, | ||
"@schematics/angular:directive": { | ||
"skipTests": true | ||
}, | ||
"@schematics/angular:guard": { | ||
"skipTests": true | ||
}, | ||
"@schematics/angular:interceptor": { | ||
"skipTests": true | ||
}, | ||
"@schematics/angular:pipe": { | ||
"skipTests": true | ||
}, | ||
"@schematics/angular:resolver": { | ||
"skipTests": true | ||
}, | ||
"@schematics/angular:service": { | ||
"skipTests": true | ||
} | ||
}, | ||
"root": "", | ||
"sourceRoot": "src", | ||
"prefix": "app", | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-angular:application", | ||
"options": { | ||
"outputPath": "dist/first-app", | ||
"index": "src/index.html", | ||
"browser": "src/main.ts", | ||
"polyfills": ["zone.js"], | ||
"tsConfig": "tsconfig.app.json", | ||
"inlineStyleLanguage": "scss", | ||
"assets": ["src/favicon.ico", "src/assets"], | ||
"styles": ["src/styles.css"], | ||
"scripts": [] | ||
}, | ||
"configurations": { | ||
"production": { | ||
"budgets": [ | ||
{ | ||
"type": "initial", | ||
"maximumWarning": "500kb", | ||
"maximumError": "1mb" | ||
}, | ||
{ | ||
"type": "anyComponentStyle", | ||
"maximumWarning": "2kb", | ||
"maximumError": "4kb" | ||
} | ||
], | ||
"outputHashing": "all" | ||
}, | ||
"development": { | ||
"optimization": false, | ||
"extractLicenses": false, | ||
"sourceMap": true | ||
} | ||
}, | ||
"defaultConfiguration": "production" | ||
}, | ||
"serve": { | ||
"builder": "@angular-devkit/build-angular:dev-server", | ||
"configurations": { | ||
"production": { | ||
"buildTarget": "first-app:build:production" | ||
}, | ||
"development": { | ||
"buildTarget": "first-app:build:development" | ||
} | ||
}, | ||
"defaultConfiguration": "development" | ||
}, | ||
"extract-i18n": { | ||
"builder": "@angular-devkit/build-angular:extract-i18n", | ||
"options": { | ||
"buildTarget": "first-app:build" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"cli": { | ||
"analytics": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"title": "Hello world!", | ||
"type": "editor", | ||
"answerSrc": "../02-HomeComponent/src", | ||
"openFiles": ["src/app/app.component.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
{ | ||
"locations": [ | ||
{ | ||
"id": 0, | ||
"name": "Acme Fresh Start Housing", | ||
"city": "Chicago", | ||
"state": "IL", | ||
"photo": "https://angular.dev/assets/images/tutorials/common/bernard-hermant-CLKGGwIBTaY-unsplash.jpg", | ||
"availableUnits": 4, | ||
"wifi": true, | ||
"laundry": true | ||
}, | ||
{ | ||
"id": 1, | ||
"name": "A113 Transitional Housing", | ||
"city": "Santa Monica", | ||
"state": "CA", | ||
"photo": "https://angular.dev/assets/images/tutorials/common/brandon-griggs-wR11KBaB86U-unsplash.jpg", | ||
"availableUnits": 0, | ||
"wifi": false, | ||
"laundry": true | ||
}, | ||
{ | ||
"id": 2, | ||
"name": "Warm Beds Housing Support", | ||
"city": "Juneau", | ||
"state": "AK", | ||
"photo": "https://angular.dev/assets/images/tutorials/common/i-do-nothing-but-love-lAyXdl1-Wmc-unsplash.jpg", | ||
"availableUnits": 1, | ||
"wifi": false, | ||
"laundry": false | ||
}, | ||
{ | ||
"id": 3, | ||
"name": "Homesteady Housing", | ||
"city": "Chicago", | ||
"state": "IL", | ||
"photo": "https://angular.dev/assets/images/tutorials/common/ian-macdonald-W8z6aiwfi1E-unsplash.jpg", | ||
"availableUnits": 1, | ||
"wifi": true, | ||
"laundry": false | ||
}, | ||
{ | ||
"id": 4, | ||
"name": "Happy Homes Group", | ||
"city": "Gary", | ||
"state": "IN", | ||
"photo": "https://angular.dev/assets/images/tutorials/common/krzysztof-hepner-978RAXoXnH4-unsplash.jpg", | ||
"availableUnits": 1, | ||
"wifi": true, | ||
"laundry": false | ||
}, | ||
{ | ||
"id": 5, | ||
"name": "Hopeful Apartment Group", | ||
"city": "Oakland", | ||
"state": "CA", | ||
"photo": "https://angular.dev/assets/images/tutorials/common/r-architecture-JvQ0Q5IkeMM-unsplash.jpg", | ||
"availableUnits": 2, | ||
"wifi": true, | ||
"laundry": true | ||
}, | ||
{ | ||
"id": 6, | ||
"name": "Seriously Safe Towns", | ||
"city": "Oakland", | ||
"state": "CA", | ||
"photo": "https://angular.dev/assets/images/tutorials/common/phil-hearing-IYfp2Ixe9nM-unsplash.jpg", | ||
"availableUnits": 5, | ||
"wifi": true, | ||
"laundry": true | ||
}, | ||
{ | ||
"id": 7, | ||
"name": "Hopeful Housing Solutions", | ||
"city": "Oakland", | ||
"state": "CA", | ||
"photo": "https://angular.dev/assets/images/tutorials/common/r-architecture-GGupkreKwxA-unsplash.jpg", | ||
"availableUnits": 2, | ||
"wifi": true, | ||
"laundry": true | ||
}, | ||
{ | ||
"id": 8, | ||
"name": "Seriously Safe Towns", | ||
"city": "Oakland", | ||
"state": "CA", | ||
"photo": "https://angular.dev/assets/images/tutorials/common/saru-robert-9rP3mxf8qWI-unsplash.jpg", | ||
"availableUnits": 10, | ||
"wifi": false, | ||
"laundry": false | ||
}, | ||
{ | ||
"id": 9, | ||
"name": "Capital Safe Towns", | ||
"city": "Portland", | ||
"state": "OR", | ||
"photo": "https://angular.dev/assets/images/tutorials/common/webaliser-_TPTXZd9mOo-unsplash.jpg", | ||
"availableUnits": 6, | ||
"wifi": true, | ||
"laundry": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# To learn more about how to use Nix to configure your environment | ||
# see: https://developers.google.com/idx/guides/customize-idx-env | ||
{ pkgs, ... }: { | ||
# Which nixpkgs channel to use. | ||
channel = "stable-23.11"; # or "unstable" | ||
# Use https://search.nixos.org/packages to find packages | ||
packages = [ | ||
pkgs.nodejs_18 | ||
]; | ||
# Sets environment variables in the workspace | ||
env = {}; | ||
idx = { | ||
# Search for the extensions you want on https://open-vsx.org/ and use "publisher.id" | ||
extensions = [ | ||
"angular.ng-template" | ||
]; | ||
workspace = { | ||
# Runs when a workspace is first created with this \`dev.nix\` file | ||
onCreate = { | ||
npm-install = "npm install --no-audit --prefer-offline"; | ||
}; | ||
# To run something each time the environment is rebuilt, use the \`onStart\` hook | ||
}; | ||
# Enable previews and customize configuration | ||
previews = { | ||
enable = true; | ||
previews = { | ||
web = { | ||
command = ["npm" "run" "start" "--" "--port" "$PORT" "--host" "0.0.0.0"]; | ||
manager = "web"; | ||
}; | ||
}; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.