Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(build): enable AoT #1

Closed
wants to merge 92 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
442a02f
Ensure long urls in modals wrap to stay within the modal.
bodnarbm Nov 5, 2016
debe9d2
reorder agencies in alphabetical order
Nov 5, 2016
ce6b6a5
Resolve a number of unresolve peer dependencies that were causing `np…
bodnarbm Nov 6, 2016
acd23f7
Resolve tslint warnings.
bodnarbm Nov 6, 2016
851e7f6
Merge pull request #139 from bodnarbm/feature/133-Fix-Modal-Width
lukad03 Nov 7, 2016
c69b2e7
Merge pull request #149 from michaelhwan/reorder-agencies
lukad03 Nov 7, 2016
a76ac6b
Fix: remove 2 old and one renamed tslint rule (issue #146) (#148)
cdoremus Nov 7, 2016
7a2ad92
Add NPM Update to Circle Config
lukad03 Nov 7, 2016
58e091d
Use quote instead of code block for quotations
joewiz Nov 7, 2016
002f126
Added Modal Component Specs
cdoremus Nov 7, 2016
ffeea5b
Add TruncatePipe Specs
cdoremus Nov 7, 2016
6f00163
Merge pull request #157 from joewiz/patch-1
lukad03 Nov 7, 2016
b2869b0
Merge pull request #155 from bodnarbm/feature/resolve-tslint-warnings…
lukad03 Nov 7, 2016
de49f4a
Merge pull request #154 from bodnarbm/feature/resolve-unmet-peer-depe…
lukad03 Nov 7, 2016
61a1b9b
Add Staging Script to Webpack Configuration
lukad03 Nov 4, 2016
51da462
Add Mobile-friendly Styles to Modal
lukad03 Nov 7, 2016
069a886
Set SEO Metadata in HomeComponent
lukad03 Nov 7, 2016
d94071e
Fix GSA Link in Footer
lukad03 Nov 7, 2016
eaadee8
feat(CSS): add webpack plugin to inline critical path CSS
jeffbcross Nov 5, 2016
08470d6
Merge pull request #141 from jeffbcross/critical-css
lukad03 Nov 7, 2016
392c2e3
Add CreateFilePlugin and Create nojekyll File for Gh Pages Deployment
lukad03 Nov 7, 2016
f71fc5d
chore: fix tslint errors in modal comp spec
cdoremus Nov 7, 2016
1f24b4d
Create Separate Staging Webpack Config
lukad03 Nov 7, 2016
2656748
perf(index): base64-encode flag.svg
jeffbcross Nov 8, 2016
a30c911
perf(index): move GTM script to body and add defer attribute
jeffbcross Nov 8, 2016
5a231df
Merge pull request #171 from jeffbcross/inline-svg
lukad03 Nov 8, 2016
e4db5f9
Merge pull request #172 from jeffbcross/gtm-defer
lukad03 Nov 8, 2016
cd83565
Merge pull request #168 from cdoremus/chore/fix-modal-component-spec-…
lukad03 Nov 8, 2016
3858a7c
Fix: null or undefined truncate value (issue #162) (#166)
cdoremus Nov 8, 2016
ed0be64
Update Version
lukad03 Nov 8, 2016
ec33c0e
Clean Up Polyfills
lukad03 Nov 8, 2016
0a15c17
Change $ to #
lukad03 Nov 8, 2016
0eb2a83
Trigger Modals for External URLs Only
lukad03 Nov 9, 2016
41c70a9
Clean up observable subscriptions when components are destroyed (#177)
jeffbcross Nov 9, 2016
a8422d0
Fix Issue with GTM ID
lukad03 Nov 10, 2016
a01d5ec
Fix GTM Assignment During GitHub Deployment
lukad03 Nov 10, 2016
e54f83d
New boolean pipe used for tests of defined values
cdoremus Nov 10, 2016
14039ba
Test class for isDefinedPipe
cdoremus Nov 10, 2016
a4e53f4
Extracted methods to reduce complexity of transform()
cdoremus Nov 10, 2016
bebb301
Barrel for isdefined pipe
cdoremus Nov 11, 2016
790dc15
Added test for value as expression
cdoremus Nov 11, 2016
e865e3c
Added isdefined checks for *ngIf value
cdoremus Nov 11, 2016
b1343f2
Merged in ngOnDestroy() test
cdoremus Nov 11, 2016
343b51c
Added documentation.
cdoremus Nov 11, 2016
0213ad1
Fixed tslint errors
cdoremus Nov 11, 2016
858b625
Add Angularitics2 For Tracking Page Views and Events
lukad03 Nov 14, 2016
fe9564d
Fix GTM Configuration for Staging and Production
lukad03 Nov 14, 2016
4b9a43d
Add Event Tracking to External Links and Modals
lukad03 Nov 16, 2016
7257c6d
chore(webpack): consolidate most config into common file
jeffbcross Nov 18, 2016
b1044fb
Updated indentation of schema definition markdown
IanLee1521 Nov 18, 2016
521dbee
Merge pull request #185 from jeffbcross/webpack-consolidate
lukad03 Nov 21, 2016
37a9856
Merge pull request #186 from IanLee1521/patch-1
lukad03 Nov 21, 2016
0d6e4bf
Removed scripts dir (shouldn't be part of frontend/web project).
michael-balint Nov 23, 2016
69dba90
Hide Mobile Menu on Route Change
lukad03 Nov 28, 2016
f19666c
Update Styles for Various Links
lukad03 Nov 29, 2016
8c92f5c
Minor formatting and typo fixes
IanLee1521 Nov 30, 2016
b31316e
Improve Testing of MobileService
lukad03 Nov 30, 2016
f550b85
Chore/flesh out app component spec (issue #182) (#192)
cdoremus Dec 1, 2016
d2fc192
Merge pull request #191 from IanLee1521/patch-2
lukad03 Dec 1, 2016
56ebb46
Add tests for the LanguageIconPipe and Update Transform
lukad03 Dec 1, 2016
7ab8305
Update Protractor Port
lukad03 Dec 1, 2016
d4be1cb
Test Pluralize Pipe and Update Pipe
lukad03 Dec 1, 2016
f0995a1
added data.gov
Dec 5, 2016
c864d1f
Added e2e test section to readme
cdoremus Dec 8, 2016
53f2fb8
Fix TypeScript Version
lukad03 Dec 12, 2016
590c7f1
Updated metadata schema based on discussions in #187
IanLee1521 Dec 1, 2016
f8a3169
Updated sample code.json file to match updates to metadata schema
IanLee1521 Dec 1, 2016
631f1c4
Updated field types per http://json-schema.org
IanLee1521 Dec 9, 2016
0063ff4
updated metadata schema specification with changes
Dec 16, 2016
271c287
sample code.json for schema v1.0.1
Dec 16, 2016
4a06809
added reference to 'governmentWideReuseProject'
Dec 16, 2016
5d18d90
made 'repository a required field'
Dec 16, 2016
5d3bb7b
updating the description of 'partners' field
Jan 5, 2017
0f41e7c
converted 'projects' to array; clarified partners
Jan 5, 2017
22a799d
remove _draft_content folder
Jan 5, 2017
2fabac3
formating and language tweaks. add changelog
mattbailey0 Jan 5, 2017
e51e1ca
Merge branch 'ok-schema-fix'
mattbailey0 Jan 5, 2017
8f51cd9
updated link to sample code.json file
Jan 6, 2017
50b00a3
Added `name` field back.
michael-balint Jan 6, 2017
2b75a55
Moved `organization` into `projects`.
michael-balint Jan 6, 2017
8bc7584
Refactored `exemption_text` --> `exemptionText`.
michael-balint Jan 6, 2017
bd64617
Formatting changes.
michael-balint Jan 6, 2017
c232ba0
updated exemption_text ->exemptionText
Jan 6, 2017
74571f7
Refactored `exemption_text` --> `exemptionText` in the sample code.json.
michael-balint Jan 6, 2017
758062c
wording tweaks for schema content
mattbailey0 Jan 6, 2017
e672055
resolve merge conflicts
mattbailey0 Jan 6, 2017
c78bb56
remove compliance metadata schema folder
Jan 6, 2017
919994b
Fix Selenium Deployment Issues
lukad03 Jan 6, 2017
9139172
Remove ComplianceMetaDataSchemaComponent from Imported Components
lukad03 Jan 6, 2017
2ab7986
Remove trailing comma in tsconfig
lukad03 Jan 6, 2017
363a5b4
Remove ComplianceMetaDataSchema Routes
lukad03 Jan 6, 2017
50244f8
chore(build): enable AoT
robwormald Jan 7, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 18 additions & 6 deletions README.md
Expand Up @@ -17,11 +17,11 @@ Code.gov is an open source project, so we invite your contributions, be it in th

The development of code.gov is guided by the requirements set forth in [Section 7.2 (Code Inventories and Discovery)](https://sourcecode.cio.gov/Implementation/#code-inventories-and-discovery), [Section 7.3 (Code.gov)](https://sourcecode.cio.gov/Implementation/#codegov), and [Section 7.6 (Agency Policy)](https://sourcecode.cio.gov/Implementation/#agency-policy) of the Federal Source Code Policy. Namely:

* "Within 90 days of the publication date of this policy, the Administration will launch https://www.code.gov, an online collection of tools, best practices, and schemas to help agencies implement this policy.";

* "Within 90 days of the publication date of this policy, each agency’s CIO—in consultation with the agency’s CAO—shall develop an agency-wide policy that addresses the requirements of this [document.]"; and

* "Within 120 days of the publication date of this policy, each agency must update—and thereafter keep up to date—its inventory of agency information resources to include an enterprise code inventory that lists custom-developed code for or by the agency after the publication of this policy."
> * "Within 90 days of the publication date of this policy, the Administration will launch https://www.code.gov, an online collection of tools, best practices, and schemas to help agencies implement this policy.";
>
> * "Within 90 days of the publication date of this policy, each agency’s CIO—in consultation with the agency’s CAO—shall develop an agency-wide policy that addresses the requirements of this [document.]"; and
>
> * "Within 120 days of the publication date of this policy, each agency must update—and thereafter keep up to date—its inventory of agency information resources to include an enterprise code inventory that lists custom-developed code for or by the agency after the publication of this policy."

Over the next few weeks, we will begin the *discovery sprint* for code.gov. During that time, we will conduct user interviews and engage this community in discussions that will inform the user experience for code.gov.

Expand Down Expand Up @@ -53,9 +53,21 @@ You can then run the server using `npm start`.
By default, the development server will listen on <http://localhost:2700/>. You can change the default port by setting the `PORT` environment variable before starting the server (for example, `PORT=3000 npm start`).

## Testing
This app uses Karma + Jasmine to handle testing. Run `npm test` to execute
### Unit tests
This app uses Karma + Jasmine to handle unit testing. Run `npm test` to execute
tests. To add tests, simply create a file with `.spec.ts` as the extension and
your tests will be included.
### End-to-end tests
End-to-end testing is done with Protractor and tests are written in Jasmine with the Protractor API
used to locate elements and interact with the page.
Running e2e tests requires the following steps:
* Run `npm start` to start the application.
* In a second terminal window, run `npm run webdriver:start` to start the selenium server used to run the tests.
This step must be done before the next step.
* In a third terminal window, run `npm run e2e`. The Chrome browser will be launched to
run the tests and the test results will be displayed in this window.

End-to-end tests need to be written in a file with an `.e2e.ts` extension.

## Deployment
This app uses the `github-deploy` package for handling deployment. To configure
Expand Down

This file was deleted.

21 changes: 0 additions & 21 deletions _draft_content/01_overview/04_tracking-our-progress.md

This file was deleted.

1 change: 0 additions & 1 deletion _draft_content/01_overview/README.md

This file was deleted.

32 changes: 0 additions & 32 deletions _draft_content/02_compliance/01_overview.md

This file was deleted.

66 changes: 0 additions & 66 deletions _draft_content/02_compliance/05-metadata-schema-definition.md

This file was deleted.