From a17ae68c48ab4c0bf3ff894cde2514e413df8955 Mon Sep 17 00:00:00 2001 From: Vladimir Jimenez Date: Sun, 8 Apr 2018 00:59:47 -0700 Subject: [PATCH 1/2] Update README with script changes --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 96bf98f..8234642 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ A [Vue.js](https://vuejs.org/) powered website used to generate the skeleton of The website is built with [Webpack](https://webpack.js.org/) and has npm scripts to build the site for a development environment or for production. ```bash -bash tools/fetchEvents.sh npm install +npm run fetch-events # for a production build npm run build @@ -34,10 +34,8 @@ This project makes use of a few separate parts so here's a brief explanation of All BZFlag API events are generated automatically from BZFlag's [official documentation](https://github.com/BZFlag-Dev/bzflag.org/tree/master/_documentation) repository. The event documentation is not committed directly to this repository and instead is just fetched from the official docs during the deployment process; any changes to the documentation need be made in the official documentation and will be automatically updated on this website the next deployment. -Use the included script to fetch all of the events. - -``` -bash tools/fetchEvents.sh +```bash +npm run fetch-events ``` ### Licenses From 856696a0e8b06650404782a6682f656a4b4ce124 Mon Sep 17 00:00:00 2001 From: Vladimir Jimenez Date: Sun, 8 Apr 2018 01:07:46 -0700 Subject: [PATCH 2/2] Bump file-loader to fix deprecation warning --- package-lock.json | 67 ++++++++++++++++++++++++++++++++++++++++++++--- package.json | 2 +- 2 files changed, 64 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 08afe7a..0bd21b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3242,12 +3242,54 @@ } }, "file-loader": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-0.9.0.tgz", - "integrity": "sha1-HS2t3UJM5tGwfP4/eXMb7TYXq0I=", + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-1.1.11.tgz", + "integrity": "sha512-TGR4HU7HUsGg6GCOPJnFk06RhWgEWFLAGWiT6rcD+GRC2keU3s9RGJ+b3Z6/U73jwwNb2gKLJ7YCrp+jvU4ALg==", "dev": true, "requires": { - "loader-utils": "0.2.17" + "loader-utils": "1.1.0", + "schema-utils": "0.4.5" + }, + "dependencies": { + "ajv": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.4.0.tgz", + "integrity": "sha1-06/3jpJ3VJdx2vAWTP9ISCt1T8Y=", + "dev": true, + "requires": { + "fast-deep-equal": "1.1.0", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.3.1", + "uri-js": "3.0.2" + } + }, + "ajv-keywords": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.1.0.tgz", + "integrity": "sha1-rCsnk5xUPpXSwG5/f1wnvkqlQ74=", + "dev": true + }, + "loader-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", + "dev": true, + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1" + } + }, + "schema-utils": { + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.5.tgz", + "integrity": "sha512-yYrjb9TX2k/J1Y5UNy3KYdZq10xhYcF8nMpAW6o3hy6Q8WSIEf9lJHG/ePnOBfziPM3fvQwfOwa13U/Fh8qTfA==", + "dev": true, + "requires": { + "ajv": "6.4.0", + "ajv-keywords": "3.1.0" + } + } } }, "file-saver": { @@ -9772,6 +9814,23 @@ "integrity": "sha512-d4SJySNBXDaQp+DPrziv3xGS6w3d2Xt69FijJr86zMPBy23JEloMCEOUBBzuN7xCtjLCnmB9tI/z7SBCahHBOw==", "dev": true }, + "uri-js": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-3.0.2.tgz", + "integrity": "sha1-+QuFhQf4HepNz7s8TD2/orVX+qo=", + "dev": true, + "requires": { + "punycode": "2.1.0" + }, + "dependencies": { + "punycode": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.0.tgz", + "integrity": "sha1-X4Y+3Im5bbCQdLrXlHvwkFbKTn0=", + "dev": true + } + } + }, "urix": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", diff --git a/package.json b/package.json index 61672ed..2444915 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "eslint": "^4.18.2", "eslint-plugin-vue": "^2.1.0", "extract-text-webpack-plugin": "^2.1.2", - "file-loader": "^0.9.0", + "file-loader": "^1.1.11", "front-matter-loader": "^0.2.0", "node-sass": "^4.7.2", "postcss-loader": "^2.1.1",