Skip to content

Commit

Permalink
docs: fix pnpm build of ny-portal
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarni committed Feb 4, 2025
1 parent 2d3ed63 commit 0dd4db4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ jest/
tsconfig.json
tsconfig-for-declarations.json
pnpm-lock.yaml
packages/jokul/dev-server.js
packages/jokul/dev-server.js
ny-portal/src/app/(payload)/**/*
3 changes: 3 additions & 0 deletions ny-portal/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Autogenererte filer fra Payload i portalen
src/payload-types.ts
src/app/(payload)/
1 change: 1 addition & 0 deletions ny-portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@fremtind/browserslist-config-jkl": "^2.0.1",
"@types/node": "^22.5.4",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.1",
Expand Down
3 changes: 2 additions & 1 deletion ny-portal/src/components/rich-text/RichText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const jsxConverters: JSXConvertersFunction = ({ defaultConverters }) => ({
"code-example": (props: {
node: {
fields: {
["code-example"]: { path: string; showEditor: boolean };
["code-example"]: string;
showEditor: boolean;
};
};
}) => {
Expand Down
16 changes: 4 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0dd4db4

Please sign in to comment.