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

[TECH] Montée de version de NPM. #505

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ workflows:
jobs:
checkout:
docker:
- image: circleci/node:10.15.1
- image: circleci/node:12.2.0-browsers
working_directory: ~/pix
steps:
- checkout
Expand All @@ -87,7 +87,7 @@ jobs:

api_build_and_test:
docker:
- image: circleci/node:10.15.1
- image: circleci/node:12.2.0
- image: postgres:10-alpine
environment:
POSTGRES_USER: circleci
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:

mon_pix_build_and_test:
docker:
- image: circleci/node:10.15.1-browsers
- image: circleci/node:12.2.0-browsers
environment:
# See https://git.io/vdao3 for details.
JOBS: 2
Expand All @@ -139,7 +139,7 @@ jobs:

orga_build_and_test:
docker:
- image: circleci/node:10.15.1-browsers
- image: circleci/node:12.2.0-browsers
environment:
# See https://git.io/vdao3 for details.
JOBS: 2
Expand All @@ -160,7 +160,7 @@ jobs:

certif_build_and_test:
docker:
- image: circleci/node:10.15.1-browsers
- image: circleci/node:12.2.0-browsers
environment:
# See https://git.io/vdao3 for details.
JOBS: 2
Expand All @@ -181,7 +181,7 @@ jobs:

admin_build_and_test:
docker:
- image: circleci/node:10.15.1-browsers
- image: circleci/node:12.2.0-browsers
environment:
# See https://git.io/vdao3 for details.
JOBS: 2
Expand Down Expand Up @@ -254,7 +254,7 @@ jobs:

signal_ci_ok:
docker:
- image: circleci/node:10.15
- image: circleci/node:12.2.0
working_directory: ~/pix
steps:
- attach_workspace:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Installation
Vous devez au préalable avoir correctement installé les logiciels suivants :

* [Git](http://git-scm.com/) (2.6.4)
* [Node.js](http://nodejs.org/) (v10.15.3) et NPM (6.4.1)
* [Node.js](http://nodejs.org/) (v12.2.0) et NPM (6.9.0)
* [Ember CLI](http://ember-cli.com/) (3.7.0)

⚠️ Les versions indiquées sont celles utilisées et préconisées par l'équipe de développement. Il est possible que l'application fonctionne avec des versions différentes.
Expand Down
4 changes: 3 additions & 1 deletion admin/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "AGPL-3.0",
"author": "GIP Pix",
"engines": {
"node": "10.15.3"
"node": "12.2.0"
},
"repository": {
"type": "git",
Expand All @@ -22,7 +22,7 @@
"coverage": "COVERAGE=true ember test",
"dev": "ember serve",
"lint": "eslint .",
"preinstall": "test \"$(npm --version)\" = 6.4.1",
"preinstall": "test \"$(npm --version)\" = 6.9.0",
"scalingo-post-ra-creation": "echo 'nothing to do'",
"start": "ember serve --proxy",
"test": "ember exam",
Expand Down
45 changes: 33 additions & 12 deletions api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"license": "AGPL-3.0",
"author": "GIP Pix",
"engines": {
"node": "10.15.3"
"node": "12.2.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -91,26 +91,23 @@
"coverage:check": "NODE_ENV=test npm run db:migrate && NODE_ENV=test nyc --silent _mocha --recursive --exit --reporter dot tests && nyc report --reporter=lcovonly --report-dir=../coverage",
"coverage:rename": "mv ../coverage/lcov.info ../coverage/api_lcov.info",
"coverage": "npm run coverage:check && npm run coverage:rename",

"db:sqlite:delete": "rm -f db/dev.sqlite3 db/dev.sqlite3-journal db/test.sqlite3 db/test.sqlite3-journal",
"db:sqlite:empty": "node scripts/database/empty-database",
"db:sqlite:migrate": "knex --knexfile db/knexfile.js migrate:latest",
"db:sqlite:prepare": "npm run db:sqlite:delete && npm run db:sqlite:migrate",
"db:sqlite:seed": "knex --knexfile db/knexfile.js seed:run",
"db:sqlite:reset": "npm run db:sqlite:prepare && npm run db:sqlite:seed",

"db:pg:create": "node scripts/database/create-database",
"db:pg:delete": "node scripts/database/drop-database",
"db:pg:empty": "node scripts/database/empty-database",
"db:pg:migrate": "knex --knexfile db/knexfile.js migrate:latest",
"db:pg:prepare": "npm run db:pg:delete && npm run db:pg:create && npm run db:pg:migrate",
"db:pg:seed": "knex --knexfile db/knexfile.js seed:run",
"db:pg:reset": "npm run db:pg:prepare && npm run db:pg:seed",

"dev": "nodemon bin/www",
"lint": "eslint lib tests",
"lint:fix": "eslint lib tests --fix",
"preinstall": "test \"$(npm --version)\" = 6.4.1",
"preinstall": "test \"$(npm --version)\" = 6.9.0",
"scalingo-background-job": "node scripts/reload-cache-everyday.js",
"scalingo-postbuild": "echo 'nothing to do'",
"scalingo-post-ra-creation": "npm run db:pg:seed",
Expand Down