format project files
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
siteUrl: process.env.NEXT_PUBLIC_SITE_URL || "https://sahkoinsinoorikilta.fi",
|
siteUrl: process.env.NEXT_PUBLIC_SITE_URL || "https://sahkoinsinoorikilta.fi",
|
||||||
generateRobotsTxt: true,
|
generateRobotsTxt: true,
|
||||||
exclude: ["/events/*", "/feed/*", "/signup/*", "/admin/*"]
|
exclude: ["/events/*", "/feed/*", "/signup/*", "/admin/*"],
|
||||||
}
|
};
|
||||||
|
|||||||
+1
-1
@@ -15,6 +15,6 @@ module.exports = withBundleAnalyzer({
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
future: {
|
future: {
|
||||||
webpack5: true
|
webpack5: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
version: '3.4'
|
version: "3.4"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
frontend:
|
frontend:
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
version: '3.4'
|
version: "3.4"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
frontend:
|
frontend:
|
||||||
|
|||||||
@@ -4,9 +4,6 @@ import { getSiteRoot } from "./utils";
|
|||||||
fixture`404 page renders and functions correctly`.page(`${getSiteRoot()}/404`);
|
fixture`404 page renders and functions correctly`.page(`${getSiteRoot()}/404`);
|
||||||
|
|
||||||
test("Page contains the text 404", async (t) => {
|
test("Page contains the text 404", async (t) => {
|
||||||
/**
|
|
||||||
* Test if there is a favicon element on the page
|
|
||||||
*/
|
|
||||||
const elem = Selector("#not-found");
|
const elem = Selector("#not-found");
|
||||||
await t.expect(elem.textContent).contains("404");
|
await t.expect(elem.textContent).contains("404");
|
||||||
});
|
});
|
||||||
|
|||||||
+8
-2
@@ -6,7 +6,10 @@
|
|||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"isolatedModules": true,
|
"isolatedModules": true,
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
"lib": ["dom", "esnext"],
|
"lib": [
|
||||||
|
"dom",
|
||||||
|
"esnext"
|
||||||
|
],
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
@@ -19,7 +22,10 @@
|
|||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"strict": false, // TODO: switch true
|
"strict": false, // TODO: switch true
|
||||||
"target": "esnext",
|
"target": "esnext",
|
||||||
"typeRoots": ["types", "node_modules/@types"],
|
"typeRoots": [
|
||||||
|
"types",
|
||||||
|
"node_modules/@types"
|
||||||
|
],
|
||||||
"baseUrl": "./",
|
"baseUrl": "./",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@api/*": [
|
"@api/*": [
|
||||||
|
|||||||
Reference in New Issue
Block a user