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

Commit 54303c2

Browse files
committed
Initial commit
0 parents  commit 54303c2

15 files changed

+1790
-0
lines changed

.github/ISSUE_TEMPLATE/bug.md

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: Report Bug
3+
about: For reporting on bugs in the repository.
4+
title: 'Bug - '
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
### Summary
11+
12+
<!-- Summarize the bug encountered concisely -->
13+
14+
### Steps to reproduce
15+
16+
<!-- How one can reproduce the issue - this is very important -->
17+
18+
### Example
19+
20+
<!-- If possible, please create an example that exhibits the problematic behaviour, and link to it here in the bug report -->
21+
22+
### What is the current *bug* behavior?
23+
24+
<!-- What actually happens -->
25+
26+
### What is the expected *correct* behavior?
27+
28+
<!-- What you should see instead -->
29+
30+
### Relevant logs and/or screenshots
31+
32+
<!-- Paste any relevant logs - please use code blocks (```) to format console output,
33+
logs, and code as it's very hard to read otherwise. -->
34+
35+
### Possible fixes
36+
37+
<!-- If you can, link to the line of code that might be responsible for the problem -->

.github/ISSUE_TEMPLATE/feature.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Feature Request
3+
about: For requesting new features or enhancements.
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
### Problem to solve
11+
12+
<!-- What problem do we solve? -->
13+
14+
### Intended users
15+
16+
<!-- Who will use this feature? If known, include any of the following: types of users (e.g. Developer), personas, or specific company roles (e.g. Release Manager). It's okay to write "Unknown" and fill this field in later. -->
17+
18+
### Further details
19+
20+
<!-- Include use cases, benefits, and/or goals (contributes to our vision?) -->
21+
22+
### Proposal
23+
24+
<!-- How are we going to solve the problem? -->
25+
26+
### Permissions and Security
27+
28+
<!-- What permissions are required to perform the described actions? Are they consistent with the existing permissions? Is the proposed behavior consistent between the UI, API, and other access methods? -->
29+
30+
### What does success look like, and how can we measure that?
31+
32+
<!-- Define both the success metrics and acceptance criteria. Note that success metrics indicate the desired business outcomes, while acceptance criteria indicate when the solution is working correctly. If there is no way to measure success, link to an issue that will implement a way to measure this. -->
33+
34+
### Links / references
+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: General
3+
about: This a gerneral pull request template to be used for any reason
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
---
8+
9+
### What does this MR do?
10+
11+
<!--
12+
Describe in detail what your merge request does, why it does that, etc. Merge
13+
requests without an adequate description will not be reviewed until one is
14+
added.
15+
16+
Please also keep this description up-to-date with any discussion that takes
17+
place so that reviewers can understand your intent. This is especially
18+
important if they didn't participate in the discussion.
19+
20+
Make sure to remove this comment when you are done.
21+
-->
22+
23+
### General checklist
24+
25+
- [ ] [Documentation](README.md) created/updated
26+
- [ ] Changelog entry added, if necessary
27+
- [ ] Tests added for this feature/bug
28+
- [ ] Conforms to the [style guides](https://www.canada.ca/en/government/about/design-system.html)
29+
30+
### Related issues
31+
32+
<!-- list issues that are being closed or worked on with this MR -->

.gitignore

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
.DS_Store
2+
3+
# Logs
4+
logs
5+
*.log
6+
npm-debug.log*
7+
yarn-debug.log*
8+
yarn-error.log*
9+
10+
# Runtime data
11+
pids
12+
*.pid
13+
*.seed
14+
*.pid.lock
15+
16+
# Directory for instrumented libs generated by jscoverage/JSCover
17+
lib-cov
18+
19+
# Coverage directory used by tools like istanbul
20+
coverage
21+
22+
# nyc test coverage
23+
.nyc_output
24+
25+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
26+
.grunt
27+
28+
# Bower dependency directory (https://bower.io/)
29+
bower_components
30+
31+
# node-waf configuration
32+
.lock-wscript
33+
34+
# Compiled binary addons (https://nodejs.org/api/addons.html)
35+
build/Release
36+
37+
# Dependency directories
38+
node_modules/
39+
jspm_packages/
40+
41+
# TypeScript v1 declaration files
42+
typings/
43+
44+
# Optional npm cache directory
45+
.npm
46+
47+
# Optional eslint cache
48+
.eslintcache
49+
50+
# Optional REPL history
51+
.node_repl_history
52+
53+
# Output of 'npm pack'
54+
*.tgz
55+
56+
# Yarn Integrity file
57+
.yarn-integrity
58+
59+
# dotenv environment variables file
60+
.env
61+
62+
# next.js build output
63+
.next
64+
65+
# local bundler files
66+
.bundle
67+
Gemfile.lock
68+
vendor
69+
70+
# local Jekyll files
71+
_site
72+
.jekyll-metadata

.markdown-link-check.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"ignorePatterns": [
3+
"http://esdc*"
4+
]
5+
}

.markdownlint.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"default": true,
3+
"MD013": false,
4+
"MD041": false
5+
}

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
language: node_js
2+
3+
node_js:
4+
- "node"

CODE_OF_CONDUCT.md

+123
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
# Contributor Covenant Code of Conduct for the [`project_name`] project
2+
3+
([Français](#Code-de-conduite-pour-le-projet-nom-du-projet))
4+
5+
Contributors to repositories hosted in [`project_name`] are expected to follow the Contributor Covenant Code of Conduct, and those working within Government are also expected to follow the Values and Ethics Code for the Public Sector
6+
7+
## Values and Ethics Code for the Public Sector
8+
9+
The [Values and Ethics Code for the Public Sector](https://www.tbs-sct.gc.ca/pol/doc-eng.aspx?id=25049)
10+
11+
## Our Pledge
12+
13+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to creating a positive environment include:
18+
19+
* Using welcoming and inclusive language
20+
* Being respectful of differing viewpoints and experiences
21+
* Gracefully accepting constructive criticism
22+
* Focusing on what is best for the department
23+
* Showing empathy towards other members
24+
25+
Examples of unacceptable behavior by participants include:
26+
27+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
28+
* Trolling, insulting/derogatory comments, and personal or political attacks
29+
* Public or private harassment
30+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a professional setting
32+
33+
## Our Responsibilities
34+
35+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
36+
37+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
38+
39+
## Scope
40+
41+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project, members or ESDC.
42+
Examples of representing a project, members or ESDC include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
43+
44+
Representation of a project may be further defined and clarified by project maintainers.
45+
46+
## Enforcement
47+
48+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [`project email`].
49+
All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances.
50+
The project team is obligated to maintain confidentiality with regard to the reporter of an incident.
51+
Further details of specific enforcement policies may be posted separately.
52+
53+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
54+
55+
## Attribution [EN]
56+
57+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
58+
available at [https://www.contributor-covenant.org/version/1/4/code-of-conduct.html](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html)
59+
60+
[homepage]: https://www.contributor-covenant.org
61+
62+
This Code of Conduct is also inspired by GDS' `alphagov` [Code of conduct](https://github.com/alphagov/code-of-conduct)
63+
64+
---
65+
<!--markdownlint-disable MD025-->
66+
# Code de conduite pour le projet [`nom du projet`]
67+
<!--markdownlint-enable MD025-->
68+
69+
([English](#Contributor-Covenant-Code-of-Conduct-for-the-projectname-project))
70+
71+
Les contributeurs aux dépôts hébergés dans [`nom du projet`] sont tenus de respecter le Code de conduite du Pacte des contributeurs, et ceux qui travaillent au sein du gouvernement sont également tenus de respecter le Code de valeurs et d'éthique du secteur public.
72+
73+
## Notre engagement
74+
75+
Dans le but de favoriser un environnement ouvert et accueillant, nous nous engageons, en tant que collaborateurs et responsables, à faire de la participation à notre projet et à notre communauté une expérience sans harcèlement pour tous, quels que soient leur âge, leur taille, leur handicap, leur origine ethnique, leurs caractéristiques sexuelles, leur identité et expression sexuelles, leur niveau d'expérience, leur éducation, leur statut socio-économique, leur nationalité, leur apparence, leur race, leur religion et leur orientation sexuelle et leur identité.
76+
77+
## Nos normes
78+
79+
Exemples de comportements qui contribuent à créer un environnement positif incluent :
80+
81+
* Utiliser un langage accueillant et inclusif
82+
* Être respectueux des différents points de vue et expériences
83+
* Accepter gracieusement les critiques constructives
84+
* Se concentrer sur ce qui est le mieux pour la communauté
85+
* Faire preuve d'empathie envers les autres membres de la communauté
86+
87+
Voici des exemples de comportements inacceptables de la part des participants :
88+
89+
* L'utilisation d'un langage ou d'images sexualisés et d'une attention sexuelle importunée, ou percées
90+
* Trollage, commentaires insultants ou méprisants, et attaques personnelles ou politiques
91+
* Harcèlement public ou privé
92+
* La publication d'informations privées d'autrui, telles que des informations physiques ou électroniques. adresse, sans autorisation explicite
93+
* Tout autre comportement qui pourrait raisonnablement être considéré comme inapproprié dans le cadre d'une enquête du contexte professionnel
94+
95+
## Nos responsabilités
96+
97+
Les responsables de la mise à jour du projet ont la responsabilité de clarifier les normes d'acceptabilité du et on s'attend à ce qu'ils prennent des mesures correctives appropriées et équitables en cas de comportement inacceptable.
98+
99+
Les responsables de projet ont le droit et la responsabilité de supprimer, d'éditer ou de rejeter les commentaires, les soumissions (commits), le code, les éditions du wiki, les problèmes et autres contributions qui ne sont pas conformes au présent Code de conduite, ou d'interdire temporairement ou définitivement tout contributeur pour d'autres comportements qu'ils jugent inappropriés, menaçant, offensant ou nuisible.
100+
101+
## Portée
102+
103+
Ce Code de conduite s'applique dans tous les espaces du projet, et il s'applique également lorsque une personne représente le projet ou sa communauté dans les espaces publics.
104+
Des exemples de représentation d'un projet ou d'une collectivité comprennent l'utilisation d'un représentant officiel de la l'adresse électronique du projet, l'affichage par l'entremise d'un compte officiel de médias sociaux ou le fait d'agir à titre intérimaire en tant que représentant désigné lors d'un événement en ligne ou hors ligne.
105+
La représentation d'un projet peut être mieux défini et clarifié par les responsables du projet.
106+
107+
## Application des règles
108+
109+
Les cas de comportement abusif, de harcèlement ou d'autres comportements inacceptables peuvent être rapportés en communiquant avec l'équipe de projet à l'adresse suivante :[`courriel`].
110+
Toutes les plaintes feront l'objet d'un examen et d'une enquête et donneront lieu à une réponse qui est jugée nécessaire et appropriée dans les circonstances.
111+
L'équipe de projet est dans l'obligation de respecter la confidentialité à l'égard du déclarant d'un incident.
112+
De plus amples détails sur les politiques d'application spécifiques peuvent être affichés séparément.
113+
114+
Les responsables de projet qui ne respectent pas ou n'appliquent pas le Code de conduite en bonne et due formepeuvent faire face à des répercussions temporaires ou permanentes déterminées par d'autres membres de la les membres de la direction du projet.
115+
116+
## Attribution [FR]
117+
118+
Le présent Code de conduite est adapté de la version 1.4 du [Pacte du contributeur][page d'accueil],
119+
disponible à l'adresse [https://www.contributor-covenant.org/version/1/4/code-of-conduct.html](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html)
120+
121+
[page d'accueil]: https://www.contributor-covenant.org
122+
123+
Le présent Code de conduite s'inspire également du " Code de conduite " du [alphaGov](https://github.com/alphagov/code-of-conduct) de GDS.

CONTRIBUTING.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Contributing
2+
3+
([Français](#comment-contribuer))
4+
5+
## How to Contribute
6+
7+
When contributing, post comments and discuss changes you wish to make via Issues.
8+
9+
Feel free to propose changes by creating Pull Requests. If you don't have write access, editing a file will create a Fork of this project for you to save your proposed changes to. Submitting a change to a file will write it to a new Branch in your Fork, so you can send a Pull Request.
10+
11+
If this is your first time contributing on GitHub, don't worry! Let us know if you have any questions.
12+
13+
### Security
14+
15+
**Do not post any security issues on the public repository!** See [SECURITY.md](SECURITY.md)
16+
17+
______________________
18+
19+
## Comment contribuer
20+
21+
Lorsque vous contribuez, veuillez également publier des commentaires et discuter des modifications que vous souhaitez apporter par l'entremise des enjeux (Issues).
22+
23+
N'hésitez pas à proposer des modifications en créant des demandes de tirage (Pull Requests). Si vous n'avez pas accès au mode de rédaction, la modification d'un fichier créera une copie (Fork) de ce projet afin que vous puissiez enregistrer les modifications que vous proposez. Le fait de proposer une modification à un fichier l'écrira dans une nouvelle branche dans votre copie (Fork), de sorte que vous puissiez envoyer une demande de tirage (Pull Request).
24+
25+
Si c'est la première fois que vous contribuez à GitHub, ne vous en faites pas! Faites-nous part de vos questions.
26+
27+
### Sécurité
28+
29+
**Ne publiez aucun problème de sécurité sur le dépôt publique!** Voir [SECURITY.md](SECURITY.md)

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) Her Majesty the Queen in Right of Canada, as represented by the Employment and Social Development Canada, 2019
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)