Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,8 @@ NEXT_PUBLIC_S3_ENDPOINT=https://data.source.coop

# DynamoDB configuration (for local development)
DYNAMODB_ENDPOINT=http://localhost:8000
STAGE=local
STAGE=local

# OIDC configuration for Data Proxy JWT validation
# OIDC_ISSUER_URL=https://data.source.coop
# OIDC_AUDIENCE=https://source.coop
16 changes: 8 additions & 8 deletions fixtures/products.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"roles": {}
},
"disabled": false,
"data_mode": "open",

"featured": 0
},
{
Expand Down Expand Up @@ -54,7 +54,7 @@
"roles": {}
},
"disabled": false,
"data_mode": "open",

"featured": 0
},
{
Expand Down Expand Up @@ -83,7 +83,7 @@
"roles": {}
},
"disabled": true,
"data_mode": "open",

"featured": 0
},
{
Expand Down Expand Up @@ -112,7 +112,7 @@
"roles": {}
},
"disabled": false,
"data_mode": "open",

"featured": 0
},
{
Expand Down Expand Up @@ -141,7 +141,7 @@
"roles": {}
},
"disabled": false,
"data_mode": "open",

"featured": 1
},
{
Expand Down Expand Up @@ -170,7 +170,7 @@
"roles": {}
},
"disabled": false,
"data_mode": "private",

"featured": 0
},
{
Expand Down Expand Up @@ -199,7 +199,7 @@
"roles": {}
},
"disabled": false,
"data_mode": "subscription",

"featured": 0
},
{
Expand Down Expand Up @@ -228,7 +228,7 @@
"roles": {}
},
"disabled": false,
"data_mode": "open",

"featured": 10
}
]
2 changes: 1 addition & 1 deletion jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const customJestConfig = {
"^.+\\.(js|jsx|ts|tsx|mjs)$": ["babel-jest", { presets: ["next/babel"] }],
},
transformIgnorePatterns: [
"/node_modules/(?!(react-markdown|bright|vfile|vfile-message|unist-.*|unified|bail|is-plain-obj|trough|remark-.*|mdast-util-.*|micromark.*|decode-named-character-reference|character-entities|property-information|hast-util-whitespace|space-separated-tokens|comma-separated-tokens|pretty-bytes|aws-sdk-client-mock|sinon)/)",
"/node_modules/(?!(react-markdown|bright|vfile|vfile-message|unist-.*|unified|bail|is-plain-obj|trough|remark-.*|mdast-util-.*|micromark.*|decode-named-character-reference|character-entities|property-information|hast-util-whitespace|space-separated-tokens|comma-separated-tokens|pretty-bytes|aws-sdk-client-mock|sinon|jose)/)",
],
collectCoverageFrom: [
"src/**/*.{js,jsx,ts,tsx}",
Expand Down
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const nextConfig = {
fullUrl: true,
},
},
transpilePackages: ["jose"],
serverExternalPackages: ["@duckdb/node-api"],
};

Expand Down
Loading
Loading