Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit de3edf6

Browse files
author
priley
committed
updates to CLI and refactor
1 parent 2a030cc commit de3edf6

Some content is hidden

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

41 files changed

+1720
-29
lines changed

‎.firebaserc‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "angular2-cli-webcomponents"
4+
}
5+
}

‎README.md‎

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
1-
# Angular2CliWebpack
1+
# angular2-cli-webcomponents
22

3-
This project was generated with [angular-cli](https://github.com/angular/angular-cli) version 1.0.0-beta.26.
3+
This app serves as a demo for building your app with [PatternFly](http://patternfly.org/), [Angular2](https://angular.io/), and [WebComponents](http://webcomponents.org/).
4+
5+
![Image of PatternFly](https://raw.githubusercontent.com/patternfly-webcomponents/angular2-cli-webcomponents/master/icons/patternfly-orb.png)
6+
![Image of Angular2](https://raw.githubusercontent.com/patternfly-webcomponents/angular2-cli-webcomponents/master/icons/ng2.png)
7+
![Image of WebComponents](https://raw.githubusercontent.com/patternfly-webcomponents/angular2-cli-webcomponents/master/icons/webcomponents.png)
8+
9+
**Demo**: https://angular2-cli-webcomponents.firebaseapp.com/  |  **Follow us** on
10+
[Twitter](https://twitter.com/patternfly_des), and [Slack](https://patternfly.slack.com)  | 
11+
12+
This app also attempts to showcase our abilities with custom element interop and new [webcomponent](http://webcomponents.org/) standards.
13+
14+
This project was generated with [angular-cli](https://github.com/angular/angular-cli) version 1.0.0-beta.21.
415

516
## Development server
617
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
718

819
## Code scaffolding
920

10-
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class/module`.
21+
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/route/class`.
1122

1223
## Build
1324

@@ -19,13 +30,13 @@ Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.
1930

2031
## Running end-to-end tests
2132

22-
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
33+
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
2334
Before running the tests make sure you are serving the app via `ng serve`.
2435

25-
## Deploying to GitHub Pages
36+
## Deploying to Github Pages
2637

27-
Run `ng github-pages:deploy` to deploy to GitHub Pages.
38+
Run `ng github-pages:deploy` to deploy to Github Pages.
2839

2940
## Further help
3041

31-
To get more help on the `angular-cli` use `ng help` or go check out the [Angular-CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
42+
To get more help on the `angular-cli` use `ng --help` or go check out the [Angular-CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

‎angular-cli.json‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"project": {
3-
"version": "1.0.0-beta.26",
4-
"name": "angular2-cli-webpack"
3+
"version": "1.0.0-beta.21",
4+
"name": "angular2-cli-webcomponents"
55
},
66
"apps": [
77
{
@@ -18,9 +18,12 @@
1818
"prefix": "app",
1919
"mobile": false,
2020
"styles": [
21-
"styles.css"
21+
"styles.css",
22+
"../node_modules/patternfly-webcomponents/dist/css/patternfly-webcomponents.css"
23+
],
24+
"scripts": [
25+
"../node_modules/patternfly-webcomponents/dist/js/patternfly.js"
2226
],
23-
"scripts": [],
2427
"environments": {
2528
"source": "environments/environment.ts",
2629
"dev": "environments/environment.ts",

‎database.rules.json‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"rules": {
3+
".read": "auth != null",
4+
".write": "auth != null"
5+
}
6+
}

‎e2e/app.e2e-spec.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Angular2CliWebpackPage } from './app.po';
22

3-
describe('angular2-cli-webpack App', function() {
3+
describe('angular2-cli-webcomponents App', function() {
44
let page: Angular2CliWebpackPage;
55

66
beforeEach(() => {

‎firebase.json‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"database": {
3+
"rules": "database.rules.json"
4+
},
5+
"hosting": {
6+
"public": "dist",
7+
"rewrites": [
8+
{
9+
"source": "**",
10+
"destination": "/index.html"
11+
}
12+
]
13+
}
14+
}

‎icons/ng2.png‎

29.2 KB
Loading[フレーム]

‎icons/patternfly-orb.png‎

26.2 KB
Loading[フレーム]

‎icons/webcomponents.png‎

2.54 KB
Loading[フレーム]

‎package.json‎

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "angular2-cli-webpack",
3-
"version": "0.0.0",
4-
"license": "MIT",
2+
"name": "angular2-cli-webcomponents",
3+
"version": "0.0.1",
4+
"license": "Apache2",
55
"angular-cli": {},
66
"scripts": {
77
"ng": "ng",
@@ -21,17 +21,27 @@
2121
"@angular/platform-browser": "^2.3.1",
2222
"@angular/platform-browser-dynamic": "^2.3.1",
2323
"@angular/router": "^3.3.1",
24+
"angular2-patternfly-shims": "git+https://github.com/patternfly-webcomponents/angular2-patternfly-shims.git",
25+
"c3": "~0.4.11",
2426
"core-js": "^2.4.1",
27+
"d3": "~3.5.17",
28+
"jquery-match-height": "~0.7.0",
29+
"patternfly": "^3.18.1",
30+
"patternfly-webcomponents": "https://github.com/patternfly-webcomponents/patternfly-webcomponents.git#development",
2531
"rxjs": "^5.0.1",
2632
"ts-helpers": "^1.1.1",
2733
"zone.js": "^0.7.2"
2834
},
2935
"devDependencies": {
3036
"@angular/compiler-cli": "^2.3.1",
37+
"@types/c3": "^0.4.38",
38+
"@types/d3": "^4.4.1",
3139
"@types/jasmine": "2.5.38",
40+
"@types/jquery": "^2.0.39",
3241
"@types/node": "^6.0.42",
33-
"angular-cli": "1.0.0-beta.26",
42+
"angular-cli": "1.0.0-beta.21",
3443
"codelyzer": "~2.0.0-beta.1",
44+
"extract-text-webpack-plugin": "^2.0.0-rc.0",
3545
"jasmine-core": "2.5.2",
3646
"jasmine-spec-reporter": "2.5.0",
3747
"karma": "1.2.0",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /