NRPTI

On this site you'll find records, documents and details of compliance and enforcement activities undertaken by British Columbia natural resource agencies such as administrative sanctions, administrative penalties, court convictions, inspections, orders, violation tickets and community environmental justice forums.
https://github.com/bcgov/nrpti

Category: Sustainable Development
Sub Category: Knowledge Platforms

Keywords

angular dds empr env javascript mongodb natural-resources nodejs transparency-initiative typescript

Keywords from Contributors

bcgov-csnr groundwater-data openshift tran eao mongoose flnr rc-falcon-general fuel transfer

Last synced: about 2 hours ago
JSON representation

Repository metadata

Natural Resources Public Transparency Initiative

README.md

API tests Front-End tests

NRPTI

Natural Resources Public Transparency Initiative monorepo. This supports the LNG Regulatory interface, Natural Resource Compliance and Enforcement Database, and soon the BC Mines Information site.

Environments

PUBLIC-NRCED

https://nrced.gov.bc.ca/

NRPTI API/ADMIN

https://nrpti-f00029-prod.apps.silver.devops.gov.bc.ca/

METABASE

https://metabase-f00029-prod.apps.silver.devops.gov.bc.ca/

ClamAV

All documents uploaded to the NRPTI system are first checked by the ClamAV anti-virus service and rejected if they do not pass. See ClamAV BCGov Repo for more information.

Running it locally

IMPORTANT: Please read through this confluence page before running anything.
https://apps.nrs.gov.bc.ca/int/confluence/pages/viewpage.action?pageId=208740091

See the READMEs in the angular/ and api/ subdirectories for further instructions.

VSCode Extensions

A list of recommended/helpful VS Code extensions.

Linting/Formatting

  • ESLint
  • Prettier - Code formatter
  • EditorConfig for VS Code

Languages

  • npm
  • Angular Extension pack
    • This may include 'Beautify' which should be disabled as we are using Prettier.
  • JavaScript (ES6) code snippets

Doc + Comments

  • Document This
  • Better Comments
  • Code Spell Checker
  • Auto Comment Blocks

General

  • Auto-Open Markdown Preview
  • Bracket Pair Colorizer
  • Path intellisense
  • SCSS intellisense
  • Shell launcher

Other

  • Declarative Jenkinsfile Support

How to Contribute

Fork the repo and create pull requests against the master branch.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 8 days ago

Total Commits: 1,095
Total Committers: 29
Avg Commits per committer: 37.759
Development Distribution Score (DDS): 0.774

Commits in past year: 21
Committers in past year: 4
Avg Commits per committer in past year: 5.25
Development Distribution Score (DDS) in past year: 0.476

Name Email Commits
Mark Lisé m****e 247
Daniel Truong d****l@d****a 223
Nick Phura N****a@q****m 154
BcGovNeal 4****l 89
Kit Armstrong k****c@g****m 75
Dylan d****h@g****m 66
Morgan Thompson m****n@g****a 42
Cameron Pettit 7****t 37
Max Wardle m****e@g****a 29
Dave 6****u 23
dependabot[bot] 4****] 18
Sanjay Babu 1****u 15
Lolanda Emerson 1****E 12
Samuel Gerard s****7@g****m 11
acatchpole 1****e 10
Matthew Logan 6****V 8
Christopher-walsh22 1****2 6
Richard r****o@g****m 6
Robert Johnstone r****b@p****m 5
pinkyandthekane 1****e 4
LStachiw l****a@t****m 3
dmitri-korin-bcps 1****s 3
Norris Ng 1****c 2
raarielgrace r****e@g****m 2
Fergus MacConnell f****l@g****m 1
Jason Aitchison i****n@g****m 1
JulianForeman 7****n 1
Keeghan Polard k****d@g****a 1
repo-mountie[bot] 4****] 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 83
Total pull requests: 258
Average time to close issues: 10 months
Average time to close pull requests: 14 days
Total issue authors: 14
Total pull request authors: 11
Average comments per issue: 1.67
Average comments per pull request: 0.32
Merged pull request: 215
Bot issues: 0
Bot pull requests: 22

Past year issues: 60
Past year pull requests: 19
Past year average time to close issues: about 1 month
Past year average time to close pull requests: 15 days
Past year issue authors: 9
Past year pull request authors: 7
Past year average comments per issue: 1.22
Past year average comments per pull request: 1.11
Past year merged pull request: 14
Past year bot issues: 0
Past year bot pull requests: 2

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/bcgov/nrpti

Top Issue Authors

  • Keegnan (20)
  • RFK250 (11)
  • jakemorr (9)
  • sggerard (9)
  • Rebecca-MDS (7)
  • PaulGreywal (6)
  • PaulGarewal (5)
  • malafry (5)
  • ActionAnalytics (3)
  • DerekRoberts (3)
  • LolandaE (2)
  • fergmac (1)
  • sanjaytkbabu (1)
  • acatchpole (1)

Top Pull Request Authors

  • marklise (124)
  • danieltruong (54)
  • NickPhura (41)
  • dependabot[bot] (19)
  • sggerard (8)
  • raarielgrace (4)
  • repo-mountie[bot] (3)
  • acatchpole (2)
  • PaulGreywal (1)
  • DerekRoberts (1)
  • PaulGarewal (1)

Top Issue Labels

  • Ready (37)
  • Task (33)
  • User Story (18)
  • Roadmap (14)
  • Spike (11)
  • Bug (10)
  • Cancelled (4)
  • NRIS Abyss (3)
  • Duplicate (1)
  • Epic (1)
  • Block (1)
  • Tech Debt (1)

Top Pull Request Labels

  • dependencies (19)
  • Backend (18)
  • Frontend (10)
  • Docker (4)
  • Testing (3)
  • GitHub Actions (2)
  • javascript (2)
  • OpenShift (1)

Dependencies

.jenkins/.pipeline/package.json npm
  • @bcgov/pipeline-cli ^1.0.1-0
angular/package-lock.json npm
  • 1202 dependencies
angular/package.json npm
  • @angular-devkit/build-angular ^0.13.8 development
  • @angular-devkit/build-ng-packagr ~0.13.8 development
  • @angular-devkit/core ~0.0.29 development
  • @angular-devkit/schematics ~0.0.40 development
  • @angular/cli ~7.3.7 development
  • @angular/compiler-cli ~7.2.0 development
  • @angular/language-service ~7.2.0 development
  • @types/arcgis-js-api ~4.13.0 development
  • @types/geojson ~7946.0.7 development
  • @types/jasmine ~2.8.8 development
  • @types/jasminewd2 ~2.0.3 development
  • @types/leaflet ~1.4.4 development
  • @types/leaflet.markercluster ~1.4.0 development
  • @types/linkify-it ~2.1.0 development
  • @types/node ~8.9.4 development
  • @types/papaparse ~5.0.4 development
  • codelyzer ~4.5.0 development
  • jasmine-core ~2.99.1 development
  • jasmine-spec-reporter ~4.2.1 development
  • karma ~4.0.0 development
  • karma-chrome-launcher ~2.2.0 development
  • karma-coverage-istanbul-reporter ~2.0.1 development
  • karma-jasmine ~1.1.2 development
  • karma-jasmine-html-reporter ^0.2.2 development
  • karma-spec-reporter ^0.0.32 development
  • lint-staged ~9.4.2 development
  • ng-packagr ^4.2.0 development
  • npm-run-all ^4.1.5 development
  • prettier ~1.19.1 development
  • puppeteer ^2.1.1 development
  • ts-node ~7.0.0 development
  • tsickle 0.34.0 development
  • tslint ~5.20.1 development
  • tslint-config-prettier ~1.18.0 development
  • typescript ~3.2.2 development
  • @angular/animations ~7.2.0
  • @angular/cdk ~7.2.2
  • @angular/common ~7.2.0
  • @angular/compiler ~7.2.0
  • @angular/core ~7.2.0
  • @angular/forms ~7.2.0
  • @angular/material ~7.2.0
  • @angular/platform-browser ~7.2.0
  • @angular/platform-browser-dynamic ~7.2.0
  • @angular/router ~7.2.0
  • @auth0/angular-jwt ~3.0.0
  • @ng-bootstrap/ng-bootstrap ~4.1.1
  • @tinymce/tinymce-angular 3.4.0
  • async ~3.1.0
  • bootstrap ~4.5.0
  • chart.js ^2.9.4
  • classlist.js ~1.1.20150312
  • core-js ^2.5.4
  • guid-typescript ^1.0.9
  • hammerjs ~2.0.8
  • intl ~1.2.5
  • jquery ~3.5.1
  • keycloak-angular ~5.1.0
  • leaflet ~1.3.1
  • leaflet.markercluster ~1.4.1
  • linkify-it ~2.2.0
  • moment ~2.24.0
  • mygovbc-bootstrap-theme ~0.4.1
  • ng-inline-svg ~8.5.1
  • ng2-bootstrap-modal ~1.0.1
  • ngx-page-scroll ~6.0.0-beta.1
  • ngx-page-scroll-core ~6.0.0-beta.0
  • ngx-pagination ~3.2.1
  • ngx-text-overflow-clamp ~0.0.1
  • ngx-toastr ^10.0.4
  • object-fit-images ~3.2.4
  • papaparse ~5.2.0
  • popper.js ~1.14.7
  • rxjs ~6.3.3
  • rxjs-compat ^6.5.3
  • tinymce ~5.6.0
  • topojson-client ~3.0.1
  • tslib ^1.9.0
  • web-animations-js ~2.3.1
  • zone.js ~0.8.26
api/package-lock.json npm
  • 903 dependencies
api/package.json npm
  • aws-sdk-mock ^5.1.0 development
  • babel-eslint 10.0.3 development
  • canada ^0.1.0 development
  • database-cleaner 1.3.0 development
  • eslint ~6.8.0 development
  • eslint-config-prettier ~6.10.0 development
  • factory-girl 5.0.4 development
  • faker ^5.1.0 development
  • jest 24.9.0 development
  • jest-environment-node ^26.6.2 development
  • jest-sonar-reporter ^2.0.0 development
  • jsonwebtoken 8.5.1 development
  • mockingoose ^2.15.2 development
  • mongodb-memory-server 5.2.8 development
  • nock 11.4.0 development
  • npm-run-all ^4.1.5 development
  • prettier ~1.19.1 development
  • shelljs 0.8.3 development
  • supertest ^4.0.2 development
  • aws-sdk ^2.613.0
  • axios ^0.21.1
  • body-parser 1.19.0
  • cheerio ^1.0.0-rc.3
  • clamav.js 0.12.0
  • compression ^1.7.4
  • csvtojson 2.0.10
  • db-migrate 0.11.6
  • db-migrate-mongodb 1.5.0
  • express 4.17.1
  • jwks-rsa 1.6.0
  • moment 2.24.0
  • moment-timezone ^0.5.32
  • mongoose 5.7.7
  • qs 6.9.0
  • stream 0.0.2
  • swagger-tools 0.10.4
  • winston 2.4.4
  • yamljs 0.3.0
.github/workflows/API-Lint-Test.yml actions
  • actions/checkout v1 composite
  • actions/setup-node v1 composite
  • dorny/paths-filter v2 composite
.github/workflows/FrontEnd-Lint-Test.yml actions
  • actions/checkout v1 composite
  • actions/setup-node v1 composite
  • dorny/paths-filter v2 composite
.jenkins/docker/Dockerfile docker
  • jenkins/core/there latest build
.github/workflows/Promote-Test.yml actions
.github/workflows/pr-labeller.yaml actions
  • actions/labeler v4 composite
angular/projects/global/package-lock.json npm
angular/projects/global/package.json npm
api/Dockerfile docker
  • node 18.15.0-alpine build

Score: 7.761744984658913