atl-fetch 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +113 -0
  3. package/dist/cli/cli.d.ts +61 -0
  4. package/dist/cli/cli.js +131 -0
  5. package/dist/cli/index.d.ts +5 -0
  6. package/dist/cli/index.js +4 -0
  7. package/dist/index.d.ts +8 -0
  8. package/dist/index.js +13 -0
  9. package/dist/ports/file/file-port.d.ts +89 -0
  10. package/dist/ports/file/file-port.js +155 -0
  11. package/dist/ports/file/index.d.ts +1 -0
  12. package/dist/ports/file/index.js +1 -0
  13. package/dist/ports/http/http-port.d.ts +107 -0
  14. package/dist/ports/http/http-port.js +238 -0
  15. package/dist/ports/http/index.d.ts +1 -0
  16. package/dist/ports/http/index.js +1 -0
  17. package/dist/services/auth/auth-service.d.ts +79 -0
  18. package/dist/services/auth/auth-service.js +158 -0
  19. package/dist/services/auth/index.d.ts +1 -0
  20. package/dist/services/auth/index.js +1 -0
  21. package/dist/services/confluence/confluence-service.d.ts +152 -0
  22. package/dist/services/confluence/confluence-service.js +510 -0
  23. package/dist/services/confluence/index.d.ts +1 -0
  24. package/dist/services/confluence/index.js +1 -0
  25. package/dist/services/diff/diff-service.d.ts +84 -0
  26. package/dist/services/diff/diff-service.js +881 -0
  27. package/dist/services/diff/index.d.ts +1 -0
  28. package/dist/services/diff/index.js +1 -0
  29. package/dist/services/fetch/fetch-service.d.ts +112 -0
  30. package/dist/services/fetch/fetch-service.js +302 -0
  31. package/dist/services/fetch/index.d.ts +1 -0
  32. package/dist/services/fetch/index.js +1 -0
  33. package/dist/services/jira/index.d.ts +1 -0
  34. package/dist/services/jira/index.js +1 -0
  35. package/dist/services/jira/jira-service.d.ts +100 -0
  36. package/dist/services/jira/jira-service.js +354 -0
  37. package/dist/services/output/index.d.ts +4 -0
  38. package/dist/services/output/index.js +4 -0
  39. package/dist/services/output/output-service.d.ts +67 -0
  40. package/dist/services/output/output-service.js +228 -0
  41. package/dist/services/storage/index.d.ts +6 -0
  42. package/dist/services/storage/index.js +6 -0
  43. package/dist/services/storage/storage-service.d.ts +77 -0
  44. package/dist/services/storage/storage-service.js +738 -0
  45. package/dist/services/text-converter/index.d.ts +1 -0
  46. package/dist/services/text-converter/index.js +1 -0
  47. package/dist/services/text-converter/text-converter.d.ts +35 -0
  48. package/dist/services/text-converter/text-converter.js +681 -0
  49. package/dist/services/url-parser/index.d.ts +1 -0
  50. package/dist/services/url-parser/index.js +1 -0
  51. package/dist/services/url-parser/url-parser.d.ts +43 -0
  52. package/dist/services/url-parser/url-parser.js +283 -0
  53. package/dist/types/auth.d.ts +25 -0
  54. package/dist/types/auth.js +1 -0
  55. package/dist/types/confluence.d.ts +68 -0
  56. package/dist/types/confluence.js +1 -0
  57. package/dist/types/diff.d.ts +77 -0
  58. package/dist/types/diff.js +7 -0
  59. package/dist/types/fetch.d.ts +65 -0
  60. package/dist/types/fetch.js +1 -0
  61. package/dist/types/file.d.ts +22 -0
  62. package/dist/types/file.js +1 -0
  63. package/dist/types/http.d.ts +45 -0
  64. package/dist/types/http.js +1 -0
  65. package/dist/types/jira.d.ts +90 -0
  66. package/dist/types/jira.js +1 -0
  67. package/dist/types/output.d.ts +55 -0
  68. package/dist/types/output.js +7 -0
  69. package/dist/types/result.d.ts +104 -0
  70. package/dist/types/result.js +119 -0
  71. package/dist/types/storage.d.ts +209 -0
  72. package/dist/types/storage.js +6 -0
  73. package/dist/types/url-parser.d.ts +46 -0
  74. package/dist/types/url-parser.js +1 -0
  75. package/package.json +106 -0
package/package.json ADDED
@@ -0,0 +1,106 @@
1
+ {
2
+ "author": "Ryuichiro Semba",
3
+ "bin": {
4
+ "atl-fetch": "dist/index.js"
5
+ },
6
+ "bugs": {
7
+ "url": "https://github.com/semba-yui/atl-fetch/issues"
8
+ },
9
+ "dependencies": {
10
+ "@t3-oss/env-core": "0.13.10",
11
+ "diff": "8.0.2",
12
+ "got": "14.6.6",
13
+ "jsdom": "27.4.0",
14
+ "neverthrow": "8.2.0",
15
+ "turndown": "7.2.2",
16
+ "turndown-plugin-gfm": "1.0.2",
17
+ "yaml": "2.8.2",
18
+ "yargs": "18.0.0",
19
+ "zod": "4.3.4"
20
+ },
21
+ "description": "Atlassianの情報をfetchする",
22
+ "devDependencies": {
23
+ "@biomejs/biome": "2.3.10",
24
+ "@commitlint/cli": "20.3.0",
25
+ "@commitlint/config-conventional": "20.3.0",
26
+ "@fast-check/vitest": "0.2.4",
27
+ "@secretlint/secretlint-rule-preset-recommend": "11.2.5",
28
+ "@stryker-mutator/core": "9.4.0",
29
+ "@stryker-mutator/typescript-checker": "9.4.0",
30
+ "@stryker-mutator/vitest-runner": "9.4.0",
31
+ "@types/jsdom": "27.0.0",
32
+ "@types/node": "25.0.3",
33
+ "@types/turndown": "5.0.6",
34
+ "@types/yargs": "17.0.35",
35
+ "@vitest/coverage-v8": "4.0.16",
36
+ "dependency-cruiser": "17.3.5",
37
+ "fast-check": "4.5.3",
38
+ "lefthook": "2.0.13",
39
+ "msw": "2.12.7",
40
+ "remark": "15.0.1",
41
+ "remark-cli": "12.0.1",
42
+ "remark-frontmatter": "5.0.0",
43
+ "remark-gfm": "4.0.1",
44
+ "remark-lint": "10.0.1",
45
+ "remark-preset-lint-consistent": "6.0.1",
46
+ "remark-preset-lint-recommended": "7.0.1",
47
+ "remark-toc": "9.0.0",
48
+ "secretlint": "11.2.5",
49
+ "ts-node": "10.9.2",
50
+ "typedoc": "0.28.15",
51
+ "typedoc-plugin-merge-modules": "7.0.0",
52
+ "typedoc-theme-hierarchy": "6.0.0",
53
+ "typescript": "5.9.3",
54
+ "vitest": "4.0.16"
55
+ },
56
+ "engines": {
57
+ "node": ">=22.0.0"
58
+ },
59
+ "exports": {
60
+ ".": {
61
+ "import": "./dist/index.js",
62
+ "types": "./dist/index.d.ts"
63
+ }
64
+ },
65
+ "files": [
66
+ "dist"
67
+ ],
68
+ "homepage": "https://github.com/semba-yui/atl-fetch#readme",
69
+ "keywords": [],
70
+ "license": "MIT",
71
+ "main": "./dist/index.js",
72
+ "name": "atl-fetch",
73
+ "publishConfig": {
74
+ "access": "public",
75
+ "registry": "https://registry.npmjs.org/"
76
+ },
77
+ "repository": {
78
+ "type": "git",
79
+ "url": "git+https://github.com/semba-yui/atl-fetch.git"
80
+ },
81
+ "type": "module",
82
+ "types": "./dist/index.d.ts",
83
+ "version": "1.0.0",
84
+ "scripts": {
85
+ "build": "tsc",
86
+ "dev": "tsc --watch",
87
+ "docs:gen": "typedoc",
88
+ "lint": "biome check .",
89
+ "lint:actions": "actionlint",
90
+ "lint:deps": "dependency-cruise src --config .dependency-cruiser.cjs",
91
+ "lint:deps:graph": "dependency-cruise src --config .dependency-cruiser.cjs --output-type dot | dot -T svg > dependency-graph.svg",
92
+ "lint:fix": "biome check --write .",
93
+ "lint:gha": "ghalint run",
94
+ "lint:md": "remark . --quiet",
95
+ "lint:md:fix": "remark . --quiet --output",
96
+ "lint:secret": "secretlint \"**/*\"",
97
+ "lint:yaml": "yamllint .",
98
+ "lint:zizmor": "zizmor .github/workflows/",
99
+ "test": "vitest run",
100
+ "test:coverage": "vitest run --coverage",
101
+ "test:mutation": "stryker run",
102
+ "test:mutation:dry": "stryker run --dryRunOnly",
103
+ "test:watch": "vitest",
104
+ "typecheck": "tsc --noEmit"
105
+ }
106
+ }