{"id":22709430,"url":"https://github.com/danny5487401/go_advanced_code","last_synced_at":"2025-04-07T12:02:57.779Z","repository":{"id":37741942,"uuid":"357397685","full_name":"Danny5487401/go_advanced_code","owner":"Danny5487401","description":"Go进阶编程学习,be a nicer Gopher","archived":false,"fork":false,"pushed_at":"2025-03-06T01:14:29.000Z","size":103152,"stargazers_count":62,"open_issues_count":1,"forks_count":28,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-31T11:03:04.915Z","etag":null,"topics":["assembly","cgo","golang","linux","makefile","testing"],"latest_commit_sha":null,"homepage":"https://danny5487401.github.io/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Danny5487401.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-13T02:16:12.000Z","updated_at":"2025-03-21T08:36:11.000Z","dependencies_parsed_at":"2023-02-18T03:46:26.099Z","dependency_job_id":"aa2ee535-73eb-4f16-89fd-67c32dc61bf8","html_url":"https://github.com/Danny5487401/go_advanced_code","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danny5487401%2Fgo_advanced_code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danny5487401%2Fgo_advanced_code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danny5487401%2Fgo_advanced_code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Danny5487401%2Fgo_advanced_code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Danny5487401","download_url":"https://codeload.github.com/Danny5487401/go_advanced_code/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246457968,"owners_count":20780676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assembly","cgo","golang","linux","makefile","testing"],"created_at":"2024-12-10T11:09:38.400Z","updated_at":"2025-03-31T11:03:28.856Z","avatar_url":"https://github.com/Danny5487401.png","language":"Go","readme":"# cosmiconfig-typescript-loader\n\n\u003e ⚙️🚀 TypeScript config file support for cosmiconfig\n\n[![build](https://github.com/Codex-/cosmiconfig-typescript-loader/actions/workflows/build.yml/badge.svg)](https://github.com/Codex-/cosmiconfig-typescript-loader/actions/workflows/build.yml)\n[![codecov](https://codecov.io/gh/Codex-/cosmiconfig-typescript-loader/branch/main/graph/badge.svg?token=WWGNIPC249)](https://codecov.io/gh/Codex-/cosmiconfig-typescript-loader)\n[![npm](https://img.shields.io/npm/v/cosmiconfig-typescript-loader.svg)](https://www.npmjs.com/package/cosmiconfig-typescript-loader)\n\n## Usage\n\nSimply add `TypeScriptLoader` to the list of loaders for the `.ts` file type:\n\n```ts\nimport { cosmiconfig } from \"cosmiconfig\";\nimport { TypeScriptLoader } from \"cosmiconfig-typescript-loader\";\n\nconst moduleName = \"module\";\nconst explorer = cosmiconfig(\"test\", {\n  searchPlaces: [\n    \"package.json\",\n    `.${moduleName}rc`,\n    `.${moduleName}rc.json`,\n    `.${moduleName}rc.yaml`,\n    `.${moduleName}rc.yml`,\n    `.${moduleName}rc.js`,\n    `.${moduleName}rc.ts`,\n    `.${moduleName}rc.cjs`,\n    `${moduleName}.config.js`,\n    `${moduleName}.config.ts`,\n    `${moduleName}.config.cjs`,\n  ],\n  loaders: {\n    \".ts\": TypeScriptLoader(),\n  },\n});\n\nconst cfg = explorer.load(\"./\");\n```\n\nOr more simply if you only support loading of a TypeScript based configuration file:\n\n```ts\nimport { cosmiconfig } from \"cosmiconfig\";\nimport { TypeScriptLoader } from \"cosmiconfig-typescript-loader\";\n\nconst moduleName = \"module\";\nconst explorer = cosmiconfig(\"test\", {\n  loaders: {\n    \".ts\": TypeScriptLoader(),\n  },\n});\n\nconst cfg = explorer.load(\"./amazing.config.ts\");\n```\n\n## `@endemolshinegroup/cosmiconfig-typescript-loader`\n\nThis package serves as a drop in replacement for `@endemolshinegroup/cosmiconfig-typescript-loader`. At the time of publishing this, `endemolshinegroup` is not maintaining the original package. I can only assume this is to do with the fact that Endemol Shine Group [was purchased and absorbed by another business](https://en.wikipedia.org/wiki/Endemol_Shine_Group#Sale_to_Banijay). This discontinuation of development efforts towards the original package left any open issues and pull requests unresolved.\n\nThis new package resolves the following original issues:\n\n- [`#134`](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/issues/134): \"Doesn't work with Cosmiconfig sync API\"\n- [`#147`](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/issues/147): \"doesn't provide typescript, requested by ts-node\"\n- [`#155`](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/issues/155): \"Misleading TypeScriptCompileError when user's tsconfig.json \"module\" is set to \"es2015\"\"\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanny5487401%2Fgo_advanced_code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanny5487401%2Fgo_advanced_code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanny5487401%2Fgo_advanced_code/lists"}