Update dependencies, fix minor errors
This commit is contained in:
parent
5f5fc60d22
commit
1ae5874502
22
README.md
22
README.md
|
@ -9,3 +9,25 @@ The database is not included in this repository.
|
||||||
The front end, `index.html`, sends asynchronous queries to the back end based on the user's settings.
|
The front end, `index.html`, sends asynchronous queries to the back end based on the user's settings.
|
||||||
Selected data types are stored in a cookie so the user doesn't have to redo their settings each time the page is
|
Selected data types are stored in a cookie so the user doesn't have to redo their settings each time the page is
|
||||||
refreshed.
|
refreshed.
|
||||||
|
|
||||||
|
## Development
|
||||||
|
### Requirements
|
||||||
|
* [npm](https://www.npmjs.com/)
|
||||||
|
* a local PHP server
|
||||||
|
* a local copy of `.fo76-dumps-ids.db`
|
||||||
|
|
||||||
|
### Setting up
|
||||||
|
```shell script
|
||||||
|
# Install dependencies (only needed once)
|
||||||
|
$> npm ci
|
||||||
|
```
|
||||||
|
|
||||||
|
### Building
|
||||||
|
```shell script
|
||||||
|
# Build the tool in `dist/` for development
|
||||||
|
$> npm run dev
|
||||||
|
# Same as above, but automatically rerun it whenever files are changed
|
||||||
|
$> npm run dev:server
|
||||||
|
# Build the tool in `dist/` for deployment
|
||||||
|
$> npm run deploy
|
||||||
|
```
|
||||||
|
|
Binary file not shown.
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "random-fo76",
|
"name": "random-fo76",
|
||||||
"version": "1.0.8",
|
"version": "1.0.9",
|
||||||
"description": "Random Fallout 76 record.",
|
"description": "Random Fallout 76 record.",
|
||||||
"author": "Felix W. Dekker",
|
"author": "Felix W. Dekker",
|
||||||
"browser": "dist/bundle.js",
|
"browser": "dist/bundle.js",
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
"deploy": "grunt deploy"
|
"deploy": "grunt deploy"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fwdekker/template": "^0.0.14",
|
"@fwdekker/template": "^0.0.17",
|
||||||
"js-cookie": "^2.2.1"
|
"js-cookie": "^2.2.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
"grunt-focus": "^1.0.0",
|
"grunt-focus": "^1.0.0",
|
||||||
"grunt-text-replace": "^0.4.0",
|
"grunt-text-replace": "^0.4.0",
|
||||||
"grunt-webpack": "^3.1.3",
|
"grunt-webpack": "^3.1.3",
|
||||||
"webpack": "^4.42.1",
|
"webpack": "^4.43.0",
|
||||||
"webpack-cli": "^3.3.11"
|
"webpack-cli": "^3.3.11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,7 +69,8 @@ const saveSelectedSignaturesToCookie =
|
||||||
() => Cookies.set("selectedSignatures", getSelectedSignatures().join(","), {
|
() => Cookies.set("selectedSignatures", getSelectedSignatures().join(","), {
|
||||||
expires: 5 * 365,
|
expires: 5 * 365,
|
||||||
secure: true,
|
secure: true,
|
||||||
sameSite: "lax"
|
sameSite: "lax",
|
||||||
|
path: ""
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -197,9 +198,9 @@ doAfterLoad(() => {
|
||||||
author: "Felix W. Dekker",
|
author: "Felix W. Dekker",
|
||||||
authorURL: "https://fwdekker.com/",
|
authorURL: "https://fwdekker.com/",
|
||||||
license: "MIT License",
|
license: "MIT License",
|
||||||
licenseURL: "https://git.fwdekker.com/FWDekker/interlanguage-checker/src/branch/master/LICENSE",
|
licenseURL: "https://git.fwdekker.com/FWDekker/random-fo76/src/branch/master/LICENSE",
|
||||||
vcs: "git",
|
vcs: "git",
|
||||||
vcsURL: "https://git.fwdekker.com/FWDekker/interlanguage-checker/",
|
vcsURL: "https://git.fwdekker.com/FWDekker/random-fo76/",
|
||||||
version: "v%%VERSION_NUMBER%%"
|
version: "v%%VERSION_NUMBER%%"
|
||||||
}));
|
}));
|
||||||
$("main").style.display = null;
|
$("main").style.display = null;
|
||||||
|
|
Loading…
Reference in New Issue