This file contains hidden or 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
| { | |
| "branches": ["main"], | |
| "plugins": [ | |
| "@semantic-release/commit-analyzer", | |
| "@semantic-release/release-notes-generator", | |
| "@semantic-release/changelog", | |
| ["@semantic-release/npm", { "npmPublish": false}], | |
| ["@semantic-release/git", | |
| { | |
| "assets": ["package.json", "package-lock.json", "compiled/index.js", "CHANGELOG.md"], |
This file contains hidden or 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
| const useQuery = (): URLSearchParams => { | |
| return new URLSearchParams(useLocation().search); | |
| }; | |
| const Home = (): JSX.Element => { | |
| const query = useQuery(); | |
| const wowUrl = query.get("wow"); | |
| const githubUser: string = query.get("gh_user") ? query.get("gh_user") : "wowlink"; | |
| const githubRepository: string = query.get("gh_repo") ? query.get("gh_repo") : "default-profile"; | |
| const [progress, setProgress] = useState({ msg: "init" }); | |
| useEffect(() => { |
This file contains hidden or 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
| import { | |
| UrlTranslatorRequest, | |
| UrlTranslatorResponse, | |
| UrlTranslator, | |
| UrlTranslatorConfig, | |
| } from "@wowlink/wow-interface"; | |
| class BasicUrlTranslator implements UrlTranslator { | |
| config_: UrlTranslatorConfig; | |
| constructor(config: UrlTranslatorConfig) { |
This file contains hidden or 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
| import { | |
| LookupFetcher, | |
| LookupFetcherConfig, | |
| LookupFetchRequest, | |
| LookupFetchResponse, | |
| } from "@wowlink/wow-interface"; | |
| import { Octokit } from "@octokit/rest"; | |
| import yaml from "js-yaml"; | |
| class GitHubLookupFetcher implements LookupFetcher { |
This file contains hidden or 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
| export interface LookupFetchResponse { | |
| wowMapping: Record<string, string>; | |
| } | |
| export interface UrlTranslatorRequest { | |
| wowUrl: string; | |
| } | |
| export interface UrlTranslatorResponse { | |
| fullUrl: string; |
This file contains hidden or 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
| export interface LookupFetchRequest {} | |
| export interface LookupFetchResponse { | |
| mapping: Record<string, string>; | |
| } | |
| export interface LookupFetcherConfig { | |
| githubUser?: string; | |
| githubRepository?: string; | |
| customPayload?: Record<string, string>; |
This file contains hidden or 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
| mysqlclient | |
| mysql-connector-python |
This file contains hidden or 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
| x-superset-image: &superset-image apache/superset:latest-dev | |
| x-superset-depends-on: &superset-depends-on | |
| - db | |
| - redis | |
| - mysql | |
| - mysqledge | |
| x-superset-volumes: &superset-volumes | |
| # /app/pythonpath_docker will be appended to the PYTHONPATH in the final container | |
| - ./docker:/app/docker | |
| - ./superset:/app/superset |
This file contains hidden or 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
| pull_request_rules: | |
| - name: auto merge experimental projects | |
| conditions: | |
| - -files~=^(!?playground/) | |
| actions: | |
| merge: | |
| method: squash | |
| - name: auto merge personal documentation | |
| conditions: | |
| - -files~=^(!?docs/personal/) |
This file contains hidden or 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
| labelPRBasedOnFilePath: | |
| project_1: | |
| - projects/project_1/**/* | |
| project_2: | |
| - projects/project_2/**/* | |
| experimental_projects: | |
| - playground/**/* | |
| documentation: | |
| - docs/**/* |