Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

chore(*): refactor, improve, upgrade #444

Closed
wants to merge 10 commits into from

Conversation

gkalpak
Copy link
Member

@gkalpak gkalpak commented Oct 26, 2018

Main themes:

  • Improve file/directory layout.
  • Switch from bower to npm.
  • Upgrade all dependencies.

Incorporates #361 and #390.
Partially addresses #334.

@googlebot
Copy link

So there's good news and bad news.

👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there.

😕 The bad news is that it appears that one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that here in the pull request.

Note to project maintainer: This is a terminal state, meaning the cla/google commit status will not change from this state. It's up to you to confirm consent of all the commit author(s), set the cla label to yes (if enabled on your project), and then merge this pull request when appropriate.

@gkalpak
Copy link
Member Author

gkalpak commented Oct 26, 2018

Not sure why Travis isn't triggered. I verified this on my fork: https://travis-ci.org/gkalpak/angular-seed/builds/446783519

@@ -3,7 +3,7 @@
This project is an application skeleton for a typical [AngularJS][angularjs] web app. You can use it
to quickly bootstrap your angular webapp projects and dev environment for these projects.

The seed contains a sample AngularJS application and is preconfigured to install the Angular
The seed contains a sample AngularJS application and is preconfigured to install the AngularJS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

README.md Outdated
Behind the scenes this will also call `bower install`. After that, you should find out that you have
two new folders in your project.
Behind the scenes this will also call `npm run copy-libs`, which copies the AngularJS files and
other frontend dependencies. After that, you should find out that you have two new directories in
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

front end is two words (possibly hyphenated).

Copy link
Contributor

@petebacondarwin petebacondarwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why rename the folder components to core?

Copy link
Member

@mgol mgol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comments.

.travis.yml Outdated
- npm run test-single-run
- (npm start > /dev/null &) && (npm run protractor)
- npm run test-single-run;
- (npm start > /dev/null &) && npm run protractor;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Semicolons are routinely not used in Bash scripts as a new line serves the same purpose and there are no ASI hazards as in JS. I'd leave it as it was.

.travis.yml Outdated
- npm install
before_install:
- export DISPLAY=":99.0";
- sh -e /etc/init.d/xvfb start;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this whole block needed now that we can use Chrome Headless?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was a little on the fence on that one. (Might be a little too magic for beginners.)
But I am not opposed. Let's give it a go.

@@ -236,7 +236,7 @@ choose to install the tool globally:
sudo npm install -g http-server
```

Then you can start your own development web server to serve static files from a folder by running:
Then you can start your own development web server to serve static files from any folder by running:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use "any"! (a bad TypeScript joke)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about unknown? 😛

@mgol
Copy link
Member

mgol commented Oct 30, 2018

why rename the folder components to core?

@petebacondarwin See #334.

@gkalpak gkalpak force-pushed the chore-upgrade-to-1.7.x branch from 2358bb6 to 58a3c46 Compare October 30, 2018 09:46
@gkalpak
Copy link
Member Author

gkalpak commented Oct 30, 2018

@petebacondarwin, @mgol: PTAL

Copy link
Contributor

@petebacondarwin petebacondarwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see you are committed to "core"

Copy link
Member

@mgol mgol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@Narretz
Copy link
Collaborator

Narretz commented Oct 30, 2018

Looks like Travis is not enabled for this repo - it must have been disabled some time in the last year: https://travis-ci.org/angular/angular-seed (says "This is not an active repository" for me)

@petebacondarwin
Copy link
Contributor

And we don't have rights to turn it back on...

@gkalpak gkalpak closed this in 5ff1cb4 Oct 30, 2018
@gkalpak gkalpak deleted the chore-upgrade-to-1.7.x branch October 30, 2018 11:38
gkalpak added a commit to gkalpak/angular-phonecat that referenced this pull request Oct 30, 2018
gkalpak added a commit to gkalpak/angular-phonecat that referenced this pull request Oct 30, 2018
gkalpak added a commit to gkalpak/angular-phonecat that referenced this pull request Oct 31, 2018
gkalpak added a commit to gkalpak/angular-phonecat that referenced this pull request Nov 1, 2018
gkalpak added a commit to gkalpak/angular-phonecat that referenced this pull request Nov 2, 2018
gkalpak added a commit to gkalpak/angular-phonecat that referenced this pull request Nov 5, 2018
gkalpak added a commit to gkalpak/angular-phonecat that referenced this pull request Nov 5, 2018
gkalpak added a commit to angular/angular-phonecat that referenced this pull request Nov 15, 2018
gkalpak added a commit to angular/angular-phonecat that referenced this pull request Nov 15, 2018
gkalpak added a commit to angular/angular-phonecat that referenced this pull request Nov 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants