Skip to content

Commit fcf5a03

Browse files
docs: update repository context via Repomix [skip ci]
1 parent d799b17 commit fcf5a03

File tree

1 file changed

+108
-107
lines changed

1 file changed

+108
-107
lines changed

DOCS/repository_context.txt

Lines changed: 108 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -6518,6 +6518,51 @@ tsconfig.json
65186518
17: });
65196519
````
65206520

6521+
## File: src/e2e/cypress/e2e/index.cy.ts
6522+
````typescript
6523+
1: /// <reference types="cypress"/>
6524+
2: // https://cheatography.com/aiqbal/cheat-sheets/cypress-io/
6525+
3: describe("Forside", () => {
6526+
4: beforeEach(() => {
6527+
5: //cy.visit("/");
6528+
6: // Local:
6529+
7: cy.visit("http://localhost:3000");
6530+
8: });
6531+
9: it(`Hei vises på forsiden`, () => {
6532+
10: cy.get('[data-cy="hei"]').contains("Hei!");
6533+
11: });
6534+
12: it(`Om meg vises på forsiden`, () => {
6535+
13: cy.get('[data-cy="Om Meg"]').contains("Om Meg");
6536+
14: });
6537+
15: it(`Prosjekter vises på forsiden`, () => {
6538+
16: cy.get('[data-cy="Prosjekter"]').contains("Prosjekter");
6539+
17: });
6540+
18: });
6541+
````
6542+
6543+
## File: src/e2e/cypress/e2e/kontakt.cy.ts
6544+
````typescript
6545+
1: /// <reference types="cypress"/>
6546+
2: /// <reference types="cypress-axe"/>
6547+
3: /// <reference types="axe-core"/>
6548+
4: import { checkAccessibility } from "../support/functions";
6549+
5: describe("Kontakt", () => {
6550+
6: const beVisible = "be.visible";
6551+
7: beforeEach(() => {
6552+
8: cy.visit("http://localhost:3000/kontakt");
6553+
9: });
6554+
10: it(`Navn vises`, () => {
6555+
11: cy.get("#navn").should(beVisible);
6556+
12: });
6557+
13: it(`Vi kan skrive navn`, () => {
6558+
14: cy.get("#navn").type("Fullt navn").should("have.value", "Fullt navn");
6559+
15: });
6560+
16: it("Kontakt skal ikke ha noen a11y feilmeldinger", () => {
6561+
17: checkAccessibility(5000);
6562+
18: });
6563+
19: });
6564+
````
6565+
65216566
## File: src/e2e/cypress/support/commands.ts
65226567
````typescript
65236568
1: /// <reference types="cypress" />
@@ -9268,6 +9313,23 @@ tsconfig.json
92689313
23: }
92699314
````
92709315

9316+
## File: src/utils/eslint/tsconfig.json
9317+
````json
9318+
1: {
9319+
2: "compilerOptions": {
9320+
3: "target": "es2016",
9321+
4: "module": "commonjs",
9322+
5: "outDir": "./dist",
9323+
6: "strict": true,
9324+
7: "esModuleInterop": true,
9325+
8: "skipLibCheck": true,
9326+
9: "forceConsistentCasingInFileNames": true
9327+
10: },
9328+
11: "include": ["./**/*.ts"],
9329+
12: "exclude": ["node_modules"]
9330+
13: }
9331+
````
9332+
92719333
## File: src/utils/portableTextComponents.tsx
92729334
````typescript
92739335
1: import Link from "next/link";
@@ -15279,51 +15341,6 @@ tsconfig.json
1527915341
13: });
1528015342
````
1528115343

15282-
## File: src/e2e/cypress/e2e/index.cy.ts
15283-
````typescript
15284-
1: /// <reference types="cypress"/>
15285-
2: // https://cheatography.com/aiqbal/cheat-sheets/cypress-io/
15286-
3: describe("Forside", () => {
15287-
4: beforeEach(() => {
15288-
5: //cy.visit("/");
15289-
6: // Local:
15290-
7: cy.visit("http://localhost:3000");
15291-
8: });
15292-
9: it(`Hei vises på forsiden`, () => {
15293-
10: cy.get('[data-cy="hei"]').contains("Hei!");
15294-
11: });
15295-
12: it(`Om meg vises på forsiden`, () => {
15296-
13: cy.get('[data-cy="Om Meg"]').contains("Om Meg");
15297-
14: });
15298-
15: it(`Prosjekter vises på forsiden`, () => {
15299-
16: cy.get('[data-cy="Prosjekter"]').contains("Prosjekter");
15300-
17: });
15301-
18: });
15302-
````
15303-
15304-
## File: src/e2e/cypress/e2e/kontakt.cy.ts
15305-
````typescript
15306-
1: /// <reference types="cypress"/>
15307-
2: /// <reference types="cypress-axe"/>
15308-
3: /// <reference types="axe-core"/>
15309-
4: import { checkAccessibility } from "../support/functions";
15310-
5: describe("Kontakt", () => {
15311-
6: const beVisible = "be.visible";
15312-
7: beforeEach(() => {
15313-
8: cy.visit("http://localhost:3000/kontakt");
15314-
9: });
15315-
10: it(`Navn vises`, () => {
15316-
11: cy.get("#navn").should(beVisible);
15317-
12: });
15318-
13: it(`Vi kan skrive navn`, () => {
15319-
14: cy.get("#navn").type("Fullt navn").should("have.value", "Fullt navn");
15320-
15: });
15321-
16: it("Kontakt skal ikke ha noen a11y feilmeldinger", () => {
15322-
17: checkAccessibility(5000);
15323-
18: });
15324-
19: });
15325-
````
15326-
1532715344
## File: src/e2e/cypress/support/functions.ts
1532815345
````typescript
1532915346
1: import { Result } from "axe-core";
@@ -15627,23 +15644,6 @@ tsconfig.json
1562715644
82: };
1562815645
````
1562915646

15630-
## File: src/utils/eslint/tsconfig.json
15631-
````json
15632-
1: {
15633-
2: "compilerOptions": {
15634-
3: "target": "es2016",
15635-
4: "module": "commonjs",
15636-
5: "outDir": "./dist",
15637-
6: "strict": true,
15638-
7: "esModuleInterop": true,
15639-
8: "skipLibCheck": true,
15640-
9: "forceConsistentCasingInFileNames": true
15641-
10: },
15642-
11: "include": ["./**/*.ts"],
15643-
12: "exclude": ["node_modules"]
15644-
13: }
15645-
````
15646-
1564715647
## File: studio/package.json
1564815648
````json
1564915649
1: {
@@ -17292,51 +17292,52 @@ tsconfig.json
1729217292
47: "sanity": "^3.92.0",
1729317293
48: "sitemap": "^8.0.0",
1729417294
49: "ts-node": "^10.9.2",
17295-
50: "zod": "^3.24.3",
17296-
51: "@babel/helpers": ">=7.27.6"
17297-
52: },
17298-
53: "devDependencies": {
17299-
54: "@tailwindcss/postcss": "^4.1.8",
17300-
55: "@jest/expect": "^29.7.0",
17301-
56: "@jest/globals": "^29.7.0",
17302-
57: "@ladle/react": "^5.0.3",
17303-
58: "@lhci/cli": "^0.14.0",
17304-
59: "@playwright/test": "^1.51.1",
17305-
60: "@portabletext/types": "^2.0.13",
17306-
61: "@testing-library/cypress": "^10.0.3",
17307-
62: "@testing-library/jest-dom": "^6.6.3",
17308-
63: "@testing-library/react": "^16.3.0",
17309-
64: "@testing-library/user-event": "^14.6.1",
17310-
65: "@types/jest": "^29.5.14",
17311-
66: "@types/node": "^22.14.1",
17312-
67: "@types/react": "^19.1.2",
17313-
68: "@types/react-dom": "^19.1.2",
17314-
69: "@typescript-eslint/eslint-plugin": "^8.30.1",
17315-
70: "@typescript-eslint/parser": "^8.30.1",
17316-
71: "@typescript-eslint/utils": "^8.34.0",
17317-
72: "axe-core": "^4.10.3",
17318-
73: "cypress": "14.3.3",
17319-
74: "cypress-axe": "^1.6.0",
17320-
75: "eslint": "9.28.0",
17321-
76: "eslint-config-next": "15.3.3",
17322-
77: "eslint-plugin-jest": "^28.11.0",
17323-
78: "eslint-plugin-jsx-a11y": "^6.10.2",
17324-
79: "eslint-plugin-react": "^7.37.5",
17325-
80: "eslint-plugin-react-hooks": "^5.2.0",
17326-
81: "eslint-plugin-test-rules": "file:src/utils/eslint",
17327-
82: "eslint-plugin-testing-library": "^7.1.1",
17328-
83: "expect": "^29.7.0",
17329-
84: "jest-environment-jsdom": "^29.7.0",
17330-
85: "jest-extended": "^4.0.2",
17331-
86: "jsdom-testing-mocks": "^1.13.1",
17332-
87: "postcss": "^8.5.4",
17333-
88: "prettier": "3.5.3",
17334-
89: "tailwindcss": "^4.1.8",
17335-
90: "ts-jest": "^29.3.2",
17336-
91: "typescript": "^5.8.3",
17337-
92: "wait-on": "^8.0.3"
17338-
93: }
17339-
94: }
17295+
50: "zod": "^3.25.58",
17296+
51: "@babel/helpers": ">=7.27.6",
17297+
52: "tar-fs": ">=3.0.9"
17298+
53: },
17299+
54: "devDependencies": {
17300+
55: "@tailwindcss/postcss": "^4.1.8",
17301+
56: "@jest/expect": "^29.7.0",
17302+
57: "@jest/globals": "^29.7.0",
17303+
58: "@ladle/react": "^5.0.3",
17304+
59: "@lhci/cli": "^0.14.0",
17305+
60: "@playwright/test": "^1.51.1",
17306+
61: "@portabletext/types": "^2.0.13",
17307+
62: "@testing-library/cypress": "^10.0.3",
17308+
63: "@testing-library/jest-dom": "^6.6.3",
17309+
64: "@testing-library/react": "^16.3.0",
17310+
65: "@testing-library/user-event": "^14.6.1",
17311+
66: "@types/jest": "^29.5.14",
17312+
67: "@types/node": "^22.14.1",
17313+
68: "@types/react": "^19.1.2",
17314+
69: "@types/react-dom": "^19.1.2",
17315+
70: "@typescript-eslint/eslint-plugin": "^8.30.1",
17316+
71: "@typescript-eslint/parser": "^8.30.1",
17317+
72: "@typescript-eslint/utils": "^8.34.0",
17318+
73: "axe-core": "^4.10.3",
17319+
74: "cypress": "14.3.3",
17320+
75: "cypress-axe": "^1.6.0",
17321+
76: "eslint": "9.28.0",
17322+
77: "eslint-config-next": "15.3.3",
17323+
78: "eslint-plugin-jest": "^28.11.0",
17324+
79: "eslint-plugin-jsx-a11y": "^6.10.2",
17325+
80: "eslint-plugin-react": "^7.37.5",
17326+
81: "eslint-plugin-react-hooks": "^5.2.0",
17327+
82: "eslint-plugin-test-rules": "file:src/utils/eslint",
17328+
83: "eslint-plugin-testing-library": "^7.1.1",
17329+
84: "expect": "^29.7.0",
17330+
85: "jest-environment-jsdom": "^29.7.0",
17331+
86: "jest-extended": "^4.0.2",
17332+
87: "jsdom-testing-mocks": "^1.13.1",
17333+
88: "postcss": "^8.5.4",
17334+
89: "prettier": "3.5.3",
17335+
90: "tailwindcss": "^4.1.8",
17336+
91: "ts-jest": "^29.3.2",
17337+
92: "typescript": "^5.8.3",
17338+
93: "wait-on": "^8.0.3"
17339+
94: }
17340+
95: }
1734017341
````
1734117342

1734217343
## File: src/__tests__/Prosjekter/page.test.tsx

0 commit comments

Comments
 (0)