generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
351 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ jobs: | |
- name: Setup pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 8.0.0 | ||
version: 8.5.1 | ||
run_install: true | ||
- name: Cache pnpm modules | ||
uses: actions/cache@v3 | ||
|
@@ -69,7 +69,7 @@ jobs: | |
- name: Setup pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 8.0.0 | ||
version: 8.5.1 | ||
run_install: true | ||
- name: Cache pnpm modules | ||
uses: actions/cache@v3 | ||
|
@@ -114,7 +114,7 @@ jobs: | |
- name: Setup pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 8.0.0 | ||
version: 8.5.1 | ||
run_install: true | ||
- name: Cache pnpm modules | ||
uses: actions/cache@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
"eslint-plugin-sonarjs": "0.19.0", | ||
"husky": "8.0.3", | ||
"jest": "29.5.0", | ||
"jest-sonar": "0.2.15", | ||
"jest-sonar": "0.2.16", | ||
"lint-staged": "13.2.2", | ||
"prettier": "2.8.8", | ||
"pretty-quick": "3.1.3", | ||
|
@@ -46,9 +46,10 @@ | |
"engines": { | ||
"npm": "please-use-pnpm", | ||
"yarn": "please-use-pnpm", | ||
"pnpm": ">=8.0.0", | ||
"pnpm": "8", | ||
"node": ">=16.1.0 < 17.0.0 || >=18.0.0 < 19.0.0" | ||
}, | ||
"packageManager": "[email protected]", | ||
"pnpm": { | ||
"overrides": { | ||
"[email protected]>ansi-regex": "^5.0.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Blogs | ||
export const BLOGS_API_HOST = 'https://searchproxy.api.community.sap.com'; | ||
export const BLOGS_VERSION = 'v1'; | ||
export const BLOGS_SEARCH_PATH = `/external/api/${BLOGS_VERSION}/search?`; | ||
|
||
// Tutorials | ||
export const TUTORIALS_API_HOST = 'https://developers.sap.com'; | ||
export const TUTORIALS_VERSION = 'v3'; | ||
export const TUTORIALS_SEARCH_PATH = `/bin/sapdx/${TUTORIALS_VERSION}/solr/search?json=`; | ||
export const TUTORIALS_SOLR_TAG_ID = 'solrTagId'; | ||
|
||
// Blogs Tags | ||
export const TAGS_BLOGS_API_HOST = 'https://searchproxy.api.community.sap.com'; | ||
export const TAGS_BLOGS_VERSION = 'v1'; | ||
export const TAGS_BLOGS_TAGS_PATH = `/api/${TAGS_BLOGS_VERSION}/tags`; | ||
|
||
// Tutorials Tags | ||
export const TAGS_TUTORIALS_API_HOST = 'https://developers.sap.com'; | ||
export const TAGS_TUTORIALS_VERSION = 'v3'; | ||
export const TAGS_TUTORIALS_SEARCH_PATH = `/bin/sapdx/${TUTORIALS_VERSION}/solr/search?json=`; | ||
export const TAGS_TUTORIALS_SOLR_TAG_ID = 'solrTagId'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export * from './actions'; | ||
export * from './api'; | ||
export * from './app'; | ||
export * from './blogsCategories'; | ||
export * from './blogsLanguages'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,7 @@ | ||
import type { TutorialsState, TutorialsTags } from './tutorials.types'; | ||
import type { TutorialsState } from './tutorials.types'; | ||
import type { BlogsState } from './blogs.types'; | ||
import type { Tag } from './tags.types'; | ||
|
||
// export interface HomeBlogs { | ||
// blogs: BlogsState; | ||
// tags: Tag[]; | ||
// } | ||
|
||
export interface HomeTutorials { | ||
tutorials: TutorialsState; | ||
tags: TutorialsTags; | ||
} | ||
export interface Home { | ||
tutorials: HomeTutorials; | ||
tutorials: TutorialsState; | ||
blogs: BlogsState; | ||
} |
Oops, something went wrong.