Merge pull request #441 from wasp-lang/martijn-node-version

We cannot build unless we use the right version of npm
This commit is contained in:
Martijn Faassen 2022-01-31 17:05:31 +01:00 committed by GitHub
commit 43c14c12c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

1
web/.npmrc Normal file
View File

@ -0,0 +1 @@
engine-strict=true

8
web/package-lock.json generated
View File

@ -5,6 +5,7 @@
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "web",
"version": "0.0.0", "version": "0.0.0",
"dependencies": { "dependencies": {
"@docusaurus/core": "2.0.0-beta.6", "@docusaurus/core": "2.0.0-beta.6",
@ -18,6 +19,10 @@
"react-dom": "^17.0.1", "react-dom": "^17.0.1",
"react-modal": "^3.14.3", "react-modal": "^3.14.3",
"url-loader": "^4.1.1" "url-loader": "^4.1.1"
},
"engines": {
"node": "16",
"npm": "8"
} }
}, },
"node_modules/@algolia/autocomplete-core": { "node_modules/@algolia/autocomplete-core": {
@ -4074,7 +4079,6 @@
"dependencies": { "dependencies": {
"anymatch": "~3.1.2", "anymatch": "~3.1.2",
"braces": "~3.0.2", "braces": "~3.0.2",
"fsevents": "~2.3.2",
"glob-parent": "~5.1.2", "glob-parent": "~5.1.2",
"is-binary-path": "~2.1.0", "is-binary-path": "~2.1.0",
"is-glob": "~4.0.1", "is-glob": "~4.0.1",
@ -8306,7 +8310,6 @@
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
"integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
"dependencies": { "dependencies": {
"graceful-fs": "^4.1.6",
"universalify": "^2.0.0" "universalify": "^2.0.0"
}, },
"optionalDependencies": { "optionalDependencies": {
@ -14299,7 +14302,6 @@
"anymatch": "^2.0.0", "anymatch": "^2.0.0",
"async-each": "^1.0.1", "async-each": "^1.0.1",
"braces": "^2.3.2", "braces": "^2.3.2",
"fsevents": "^1.2.7",
"glob-parent": "^3.1.0", "glob-parent": "^3.1.0",
"inherits": "^2.0.3", "inherits": "^2.0.3",
"is-binary-path": "^1.0.0", "is-binary-path": "^1.0.0",

View File

@ -26,6 +26,10 @@
"react-modal": "^3.14.3", "react-modal": "^3.14.3",
"url-loader": "^4.1.1" "url-loader": "^4.1.1"
}, },
"engines": {
"node": "16",
"npm": "8"
},
"browserslist": { "browserslist": {
"production": [ "production": [
">0.5%", ">0.5%",