Skip to content
Draft
Show file tree
Hide file tree
Changes from 6 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: 6 additions & 0 deletions .changeset/six-buses-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@o2s/integrations.contentful-cms': minor
'@o2s/api-harmonization': minor
---

feat: added contentful integration
5 changes: 5 additions & 0 deletions apps/api-harmonization/.env.local
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@ MEDUSAJS_PUBLISHABLE_API_KEY=
MEDUSAJS_ADMIN_API_KEY=

SEARCH_ARTICLES_INDEX_NAME=mock

CF_TOKEN=
CF_SPACE_ID=
CF_ENV=
CF_MANAGEMENT_TOKEN=
7 changes: 6 additions & 1 deletion apps/api-harmonization/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@
"MEDUSAJS_ADMIN_API_KEY",
"SEARCH_ARTICLES_INDEX_NAME",
"TELEMETRY_DISABLED",
"TELEMETRY_BASE_URL"
"TELEMETRY_BASE_URL",
"ALGOLIA_API_KEY",
"CF_TOKEN",
"CF_SPACE_ID",
"CF_ENV",
"CF_MANAGEMENT_TOKEN"
]
}
}
Expand Down
674 changes: 645 additions & 29 deletions package-lock.json

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions packages/integrations/contentful-cms/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@

# compiled output
/dist
/node_modules
/build

# Logs
logs
*.log
npm-debug.log*
pnpm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# OS
.DS_Store

# Tests
/coverage
/.nyc_output

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local

# temp directory
.temp
.tmp

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11 changes: 11 additions & 0 deletions packages/integrations/contentful-cms/.prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import apiConfig from '@o2s/prettier-config/api.mjs';

/**
* @see https://prettier.io/docs/en/configuration.html
* @type {import("prettier").Config}
*/
const config = {
...apiConfig,
};

export default config;
Empty file.
4 changes: 4 additions & 0 deletions packages/integrations/contentful-cms/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { config } from '@o2s/eslint-config/api';

/** @type {import("eslint").Linter.Config} */
export default config;
Loading