fix build
This commit is contained in:
@@ -78,7 +78,7 @@ var createStaticFiles = function () { return __awaiter(void 0, void 0, void 0, f
|
||||
lastmod: "now",
|
||||
changefreq: "weekly",
|
||||
};
|
||||
sitemap.add("".concat(config_1.publicUrl, "/index.html"), sitemapOptions);
|
||||
sitemap.add("".concat(config_1.publicUrl, "index.html"), sitemapOptions);
|
||||
radar.items.forEach(function (item) {
|
||||
(0, fs_1.copyFileSync)("build/index.html", "build/".concat(item.quadrant, "/").concat(item.name, ".html"));
|
||||
sitemap.add("".concat(config_1.publicUrl).concat(item.quadrant, "/").concat(item.name, ".html"), sitemapOptions);
|
||||
|
||||
8
package-lock.json
generated
8
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "aoe_technology_radar",
|
||||
"version": "3.5.0",
|
||||
"version": "3.5.1",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "aoe_technology_radar",
|
||||
"version": "3.5.0",
|
||||
"version": "3.5.1",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@apideck/better-ajv-errors": "0.3.6",
|
||||
@@ -22,6 +22,7 @@
|
||||
"@types/sanitize-html": "2.9.0",
|
||||
"@types/walk": "2.3.1",
|
||||
"classnames": "2.3.2",
|
||||
"cross-env": "7.0.3",
|
||||
"d3": "7.8.4",
|
||||
"front-matter": "4.0.2",
|
||||
"fs-extra": "11.1.1",
|
||||
@@ -55,7 +56,6 @@
|
||||
"@types/marked": "4.0.8",
|
||||
"@types/node": "18.15.11",
|
||||
"@typescript-eslint/parser": "5.58.0",
|
||||
"cross-env": "7.0.3",
|
||||
"eslint": "8.38.0",
|
||||
"eslint-config-prettier": "8.8.0",
|
||||
"eslint-config-react-app": "7.0.1",
|
||||
@@ -6249,7 +6249,6 @@
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz",
|
||||
"integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"cross-spawn": "^7.0.1"
|
||||
},
|
||||
@@ -21112,7 +21111,6 @@
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz",
|
||||
"integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"cross-spawn": "^7.0.1"
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
},
|
||||
"scripts": {
|
||||
"prepare": "husky install && npm run build:scripts",
|
||||
"start": "cross-env GENERATE_SOURCEMAP=false react-scripts start",
|
||||
"build": "cross-env GENERATE_SOURCEMAP=false react-scripts build",
|
||||
"start": "npx cross-env GENERATE_SOURCEMAP=false react-scripts start",
|
||||
"build": "npx cross-env GENERATE_SOURCEMAP=false react-scripts build",
|
||||
"build:scripts": "tsc --project tsconfig.scripts.json",
|
||||
"test": "react-scripts test --watchAll=false",
|
||||
"ts:check": "tsc --noEmit",
|
||||
@@ -36,6 +36,7 @@
|
||||
"@types/sanitize-html": "2.9.0",
|
||||
"@types/walk": "2.3.1",
|
||||
"classnames": "2.3.2",
|
||||
"cross-env": "7.0.3",
|
||||
"d3": "7.8.4",
|
||||
"front-matter": "4.0.2",
|
||||
"fs-extra": "11.1.1",
|
||||
@@ -64,7 +65,6 @@
|
||||
"@types/marked": "4.0.8",
|
||||
"@types/node": "18.15.11",
|
||||
"@typescript-eslint/parser": "5.58.0",
|
||||
"cross-env": "7.0.3",
|
||||
"eslint": "8.38.0",
|
||||
"eslint-config-prettier": "8.8.0",
|
||||
"eslint-config-react-app": "7.0.1",
|
||||
|
||||
@@ -45,7 +45,7 @@ const createStaticFiles = async () => {
|
||||
changefreq: "weekly",
|
||||
}
|
||||
|
||||
sitemap.add(`${publicUrl}/index.html`, sitemapOptions);
|
||||
sitemap.add(`${publicUrl}index.html`, sitemapOptions);
|
||||
|
||||
radar.items.forEach((item) => {
|
||||
copyFileSync(
|
||||
|
||||
Reference in New Issue
Block a user