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: upgrade netlify-cli dependency #148

Merged
merged 17 commits into from
Nov 1, 2023
Merged
5 changes: 5 additions & 0 deletions .github/workflows/unit_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ jobs:

steps:
- uses: actions/[email protected]

- uses: actions/setup-node@v3
with:
node-version: 18

- name: setup node-gyp
run: npm install -g node-gyp@latest

- name: Run tests
run: yarn install && yarn workspaces run test
3 changes: 3 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
command = "yarn build"
publish = "website/dist"

[build.environment]
YARN_FLAGS = "--frozen-lockfile --network-concurrency 1"
Copy link
Member Author

Choose a reason for hiding this comment

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

Added --network-concurrency to prevent package resolution while the node-gyp is been installed.


[functions]
directory = "functions"

Expand Down
21 changes: 13 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dev": "netlify dev",
"start": "yarn run dev",
"lint": "eslint --ext .js,.vue website/src",
"build": "yarn run build:website",
"build": "yarn workspace website build",
"build:website": "cd website && yarn run build"
},
"devDependencies": {
Expand All @@ -17,14 +17,19 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.14.1",
"netlify-cli": "^10.14.0"
"netlify-cli": "^15.11.0"
},
"workspaces": {
"packages": [
"website",
"gbfs-validator",
"check-systems",
"functions"
],
"nohoist": [
"netlify-cli"
]
},
"workspaces": [
"website",
"gbfs-validator",
"check-systems",
"functions"
],
"engines": {
"npm": ">=8.0.0",
"node": ">=18.0.0"
Expand Down
1 change: 0 additions & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"@turf/bbox": "^6.5.0",
"@vue/compat": "^3.3.2",
"@vueuse/core": "^10.1.2",
"bootstrap": "^5.0.1",
Copy link
Member Author

Choose a reason for hiding this comment

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

The bootstrap-vue requires bootstrap <=4

"bootstrap-vue": "^2.23.1",
"maplibre-gl": "^3.0.1",
"maplibregl-mapbox-request-transformer": "^0.0.2",
Expand Down
Loading
Loading