comic-vine-sdk 1.3.2 → 2.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.
- package/README.md +36 -732
- package/lib/index.cjs +1456 -0
- package/lib/index.cjs.map +7 -0
- package/lib/index.d.ts +2716 -0
- package/lib/index.js +845 -0
- package/lib/index.js.map +1 -0
- package/package.json +108 -54
- package/.gitattributes +0 -23
- package/.husky/pre-commit +0 -1
- package/.prettierignore +0 -1
- package/.prettierrc.json +0 -4
- package/.projen/tasks.json +0 -261
- package/.releaserc.json +0 -17
- package/CHANGELOG.md +0 -97
- package/CODE_OF_CONDUCT.md +0 -128
- package/CONTRIBUTING.md +0 -294
- package/eslint.config.js +0 -168
- package/lib/cjs/comic-vine.d.ts +0 -44
- package/lib/cjs/comic-vine.js +0 -105
- package/lib/cjs/errors/base-error.d.ts +0 -9
- package/lib/cjs/errors/base-error.js +0 -18
- package/lib/cjs/errors/custom-error.d.ts +0 -2
- package/lib/cjs/errors/custom-error.js +0 -12
- package/lib/cjs/errors/filter-error.d.ts +0 -4
- package/lib/cjs/errors/filter-error.js +0 -14
- package/lib/cjs/errors/generic-error.d.ts +0 -4
- package/lib/cjs/errors/generic-error.js +0 -14
- package/lib/cjs/errors/generic-request-error.d.ts +0 -10
- package/lib/cjs/errors/generic-request-error.js +0 -23
- package/lib/cjs/errors/index.d.ts +0 -10
- package/lib/cjs/errors/index.js +0 -27
- package/lib/cjs/errors/jsonp-callback-missing-error.d.ts +0 -4
- package/lib/cjs/errors/jsonp-callback-missing-error.js +0 -14
- package/lib/cjs/errors/object-not-found-error.d.ts +0 -4
- package/lib/cjs/errors/object-not-found-error.js +0 -14
- package/lib/cjs/errors/options-validation-error.d.ts +0 -4
- package/lib/cjs/errors/options-validation-error.js +0 -14
- package/lib/cjs/errors/subscriber-only-error.d.ts +0 -4
- package/lib/cjs/errors/subscriber-only-error.js +0 -14
- package/lib/cjs/errors/unauthorized-error.d.ts +0 -4
- package/lib/cjs/errors/unauthorized-error.js +0 -14
- package/lib/cjs/errors/url-format-error.d.ts +0 -4
- package/lib/cjs/errors/url-format-error.js +0 -14
- package/lib/cjs/http-client/http-client-factory.d.ts +0 -6
- package/lib/cjs/http-client/http-client-factory.js +0 -15
- package/lib/cjs/http-client/http-client.d.ts +0 -8
- package/lib/cjs/http-client/http-client.js +0 -71
- package/lib/cjs/http-client/index.d.ts +0 -1
- package/lib/cjs/http-client/index.js +0 -18
- package/lib/cjs/http-client/status-code.d.ts +0 -9
- package/lib/cjs/http-client/status-code.js +0 -14
- package/lib/cjs/http-client/url-builder.d.ts +0 -29
- package/lib/cjs/http-client/url-builder.js +0 -107
- package/lib/cjs/index.d.ts +0 -3
- package/lib/cjs/index.js +0 -5
- package/lib/cjs/options/index.d.ts +0 -20
- package/lib/cjs/options/index.js +0 -32
- package/lib/cjs/package.json +0 -3
- package/lib/cjs/resources/base-resource.d.ts +0 -19
- package/lib/cjs/resources/base-resource.js +0 -87
- package/lib/cjs/resources/character/character.d.ts +0 -6
- package/lib/cjs/resources/character/character.js +0 -13
- package/lib/cjs/resources/character/index.d.ts +0 -1
- package/lib/cjs/resources/character/index.js +0 -18
- package/lib/cjs/resources/character/types/character-details.d.ts +0 -110
- package/lib/cjs/resources/character/types/character-details.js +0 -3
- package/lib/cjs/resources/character/types/character-list-item.d.ts +0 -71
- package/lib/cjs/resources/character/types/character-list-item.js +0 -3
- package/lib/cjs/resources/character/types/index.d.ts +0 -2
- package/lib/cjs/resources/character/types/index.js +0 -19
- package/lib/cjs/resources/common-types.d.ts +0 -58
- package/lib/cjs/resources/common-types.js +0 -3
- package/lib/cjs/resources/concept/concept.d.ts +0 -6
- package/lib/cjs/resources/concept/concept.js +0 -13
- package/lib/cjs/resources/concept/index.d.ts +0 -1
- package/lib/cjs/resources/concept/index.js +0 -18
- package/lib/cjs/resources/concept/types/concept-details.d.ts +0 -58
- package/lib/cjs/resources/concept/types/concept-details.js +0 -3
- package/lib/cjs/resources/concept/types/concept-list-item.d.ts +0 -52
- package/lib/cjs/resources/concept/types/concept-list-item.js +0 -3
- package/lib/cjs/resources/concept/types/index.d.ts +0 -2
- package/lib/cjs/resources/concept/types/index.js +0 -19
- package/lib/cjs/resources/episode/episode.d.ts +0 -6
- package/lib/cjs/resources/episode/episode.js +0 -13
- package/lib/cjs/resources/episode/index.d.ts +0 -1
- package/lib/cjs/resources/episode/index.js +0 -18
- package/lib/cjs/resources/episode/types/episode-details.d.ts +0 -87
- package/lib/cjs/resources/episode/types/episode-details.js +0 -3
- package/lib/cjs/resources/episode/types/episode-list-item.d.ts +0 -53
- package/lib/cjs/resources/episode/types/episode-list-item.js +0 -3
- package/lib/cjs/resources/episode/types/index.d.ts +0 -2
- package/lib/cjs/resources/episode/types/index.js +0 -19
- package/lib/cjs/resources/index.d.ts +0 -3
- package/lib/cjs/resources/index.js +0 -20
- package/lib/cjs/resources/issue/index.d.ts +0 -1
- package/lib/cjs/resources/issue/index.js +0 -18
- package/lib/cjs/resources/issue/issue.d.ts +0 -6
- package/lib/cjs/resources/issue/issue.js +0 -13
- package/lib/cjs/resources/issue/types/index.d.ts +0 -2
- package/lib/cjs/resources/issue/types/index.js +0 -19
- package/lib/cjs/resources/issue/types/issue-details.d.ts +0 -94
- package/lib/cjs/resources/issue/types/issue-details.js +0 -3
- package/lib/cjs/resources/issue/types/issue-list-item.d.ts +0 -61
- package/lib/cjs/resources/issue/types/issue-list-item.js +0 -3
- package/lib/cjs/resources/location/index.d.ts +0 -1
- package/lib/cjs/resources/location/index.js +0 -18
- package/lib/cjs/resources/location/location.d.ts +0 -6
- package/lib/cjs/resources/location/location.js +0 -13
- package/lib/cjs/resources/location/types/index.d.ts +0 -2
- package/lib/cjs/resources/location/types/index.js +0 -19
- package/lib/cjs/resources/location/types/location-details.d.ts +0 -62
- package/lib/cjs/resources/location/types/location-details.js +0 -3
- package/lib/cjs/resources/location/types/location-list-item.d.ts +0 -55
- package/lib/cjs/resources/location/types/location-list-item.js +0 -3
- package/lib/cjs/resources/movie/index.d.ts +0 -1
- package/lib/cjs/resources/movie/index.js +0 -18
- package/lib/cjs/resources/movie/movie.d.ts +0 -6
- package/lib/cjs/resources/movie/movie.js +0 -13
- package/lib/cjs/resources/movie/types/index.d.ts +0 -2
- package/lib/cjs/resources/movie/types/index.js +0 -19
- package/lib/cjs/resources/movie/types/movie-details.d.ts +0 -91
- package/lib/cjs/resources/movie/types/movie-details.js +0 -3
- package/lib/cjs/resources/movie/types/movie-list-item.d.ts +0 -74
- package/lib/cjs/resources/movie/types/movie-list-item.js +0 -3
- package/lib/cjs/resources/origin/index.d.ts +0 -1
- package/lib/cjs/resources/origin/index.js +0 -18
- package/lib/cjs/resources/origin/origin.d.ts +0 -6
- package/lib/cjs/resources/origin/origin.js +0 -13
- package/lib/cjs/resources/origin/types/index.d.ts +0 -2
- package/lib/cjs/resources/origin/types/index.js +0 -19
- package/lib/cjs/resources/origin/types/origin-details.d.ts +0 -22
- package/lib/cjs/resources/origin/types/origin-details.js +0 -3
- package/lib/cjs/resources/origin/types/origin-list-item.d.ts +0 -18
- package/lib/cjs/resources/origin/types/origin-list-item.js +0 -3
- package/lib/cjs/resources/person/index.d.ts +0 -1
- package/lib/cjs/resources/person/index.js +0 -18
- package/lib/cjs/resources/person/person.d.ts +0 -6
- package/lib/cjs/resources/person/person.js +0 -13
- package/lib/cjs/resources/person/types/index.d.ts +0 -2
- package/lib/cjs/resources/person/types/index.js +0 -19
- package/lib/cjs/resources/person/types/person-details.d.ts +0 -82
- package/lib/cjs/resources/person/types/person-details.js +0 -3
- package/lib/cjs/resources/person/types/person-list-item.d.ts +0 -77
- package/lib/cjs/resources/person/types/person-list-item.js +0 -8
- package/lib/cjs/resources/power/index.d.ts +0 -1
- package/lib/cjs/resources/power/index.js +0 -18
- package/lib/cjs/resources/power/power.d.ts +0 -6
- package/lib/cjs/resources/power/power.js +0 -13
- package/lib/cjs/resources/power/types/index.d.ts +0 -2
- package/lib/cjs/resources/power/types/index.js +0 -19
- package/lib/cjs/resources/power/types/power-details.d.ts +0 -39
- package/lib/cjs/resources/power/types/power-details.js +0 -3
- package/lib/cjs/resources/power/types/power-list-item.d.ts +0 -34
- package/lib/cjs/resources/power/types/power-list-item.js +0 -3
- package/lib/cjs/resources/promo/index.d.ts +0 -1
- package/lib/cjs/resources/promo/index.js +0 -18
- package/lib/cjs/resources/promo/promo.d.ts +0 -6
- package/lib/cjs/resources/promo/promo.js +0 -13
- package/lib/cjs/resources/promo/types/index.d.ts +0 -2
- package/lib/cjs/resources/promo/types/index.js +0 -19
- package/lib/cjs/resources/promo/types/promo-details.d.ts +0 -40
- package/lib/cjs/resources/promo/types/promo-details.js +0 -3
- package/lib/cjs/resources/promo/types/promo-list-item.d.ts +0 -40
- package/lib/cjs/resources/promo/types/promo-list-item.js +0 -3
- package/lib/cjs/resources/publisher/index.d.ts +0 -1
- package/lib/cjs/resources/publisher/index.js +0 -18
- package/lib/cjs/resources/publisher/publisher.d.ts +0 -6
- package/lib/cjs/resources/publisher/publisher.js +0 -13
- package/lib/cjs/resources/publisher/types/index.d.ts +0 -2
- package/lib/cjs/resources/publisher/types/index.js +0 -19
- package/lib/cjs/resources/publisher/types/publisher-details.d.ts +0 -71
- package/lib/cjs/resources/publisher/types/publisher-details.js +0 -3
- package/lib/cjs/resources/publisher/types/publisher-list-item.d.ts +0 -61
- package/lib/cjs/resources/publisher/types/publisher-list-item.js +0 -11
- package/lib/cjs/resources/resource-factory.d.ts +0 -8
- package/lib/cjs/resources/resource-factory.js +0 -53
- package/lib/cjs/resources/resource-list.d.ts +0 -19
- package/lib/cjs/resources/resource-list.js +0 -36
- package/lib/cjs/resources/resource-map.d.ts +0 -7
- package/lib/cjs/resources/resource-map.js +0 -40
- package/lib/cjs/resources/resource-type.d.ts +0 -21
- package/lib/cjs/resources/resource-type.js +0 -27
- package/lib/cjs/resources/series/index.d.ts +0 -1
- package/lib/cjs/resources/series/index.js +0 -18
- package/lib/cjs/resources/series/series.d.ts +0 -6
- package/lib/cjs/resources/series/series.js +0 -13
- package/lib/cjs/resources/series/types/index.d.ts +0 -2
- package/lib/cjs/resources/series/types/index.js +0 -19
- package/lib/cjs/resources/series/types/series-details.d.ts +0 -68
- package/lib/cjs/resources/series/types/series-details.js +0 -3
- package/lib/cjs/resources/series/types/series-list-item.d.ts +0 -18
- package/lib/cjs/resources/series/types/series-list-item.js +0 -3
- package/lib/cjs/resources/story-arc/index.d.ts +0 -1
- package/lib/cjs/resources/story-arc/index.js +0 -18
- package/lib/cjs/resources/story-arc/story-arc.d.ts +0 -6
- package/lib/cjs/resources/story-arc/story-arc.js +0 -13
- package/lib/cjs/resources/story-arc/types/index.d.ts +0 -2
- package/lib/cjs/resources/story-arc/types/index.js +0 -19
- package/lib/cjs/resources/story-arc/types/story-arc-details.d.ts +0 -62
- package/lib/cjs/resources/story-arc/types/story-arc-details.js +0 -3
- package/lib/cjs/resources/story-arc/types/story-arc-list-item.d.ts +0 -53
- package/lib/cjs/resources/story-arc/types/story-arc-list-item.js +0 -3
- package/lib/cjs/resources/team/index.d.ts +0 -1
- package/lib/cjs/resources/team/index.js +0 -18
- package/lib/cjs/resources/team/team.d.ts +0 -6
- package/lib/cjs/resources/team/team.js +0 -13
- package/lib/cjs/resources/team/types/index.d.ts +0 -2
- package/lib/cjs/resources/team/types/index.js +0 -19
- package/lib/cjs/resources/team/types/team-details.d.ts +0 -80
- package/lib/cjs/resources/team/types/team-details.js +0 -3
- package/lib/cjs/resources/team/types/team-list-item.d.ts +0 -56
- package/lib/cjs/resources/team/types/team-list-item.js +0 -3
- package/lib/cjs/resources/thing/index.d.ts +0 -1
- package/lib/cjs/resources/thing/index.js +0 -18
- package/lib/cjs/resources/thing/thing.d.ts +0 -6
- package/lib/cjs/resources/thing/thing.js +0 -13
- package/lib/cjs/resources/thing/types/index.d.ts +0 -2
- package/lib/cjs/resources/thing/types/index.js +0 -19
- package/lib/cjs/resources/thing/types/thing-details.d.ts +0 -62
- package/lib/cjs/resources/thing/types/thing-details.js +0 -3
- package/lib/cjs/resources/thing/types/thing-list-item.d.ts +0 -55
- package/lib/cjs/resources/thing/types/thing-list-item.js +0 -3
- package/lib/cjs/resources/video/index.d.ts +0 -1
- package/lib/cjs/resources/video/index.js +0 -18
- package/lib/cjs/resources/video/types/index.d.ts +0 -2
- package/lib/cjs/resources/video/types/index.js +0 -19
- package/lib/cjs/resources/video/types/video-details.d.ts +0 -63
- package/lib/cjs/resources/video/types/video-details.js +0 -3
- package/lib/cjs/resources/video/types/video-list-item.d.ts +0 -85
- package/lib/cjs/resources/video/types/video-list-item.js +0 -28
- package/lib/cjs/resources/video/video.d.ts +0 -6
- package/lib/cjs/resources/video/video.js +0 -13
- package/lib/cjs/resources/video-category/index.d.ts +0 -1
- package/lib/cjs/resources/video-category/index.js +0 -18
- package/lib/cjs/resources/video-category/types/index.d.ts +0 -2
- package/lib/cjs/resources/video-category/types/index.js +0 -19
- package/lib/cjs/resources/video-category/types/video-category-details.d.ts +0 -24
- package/lib/cjs/resources/video-category/types/video-category-details.js +0 -3
- package/lib/cjs/resources/video-category/types/video-category-list-item.d.ts +0 -24
- package/lib/cjs/resources/video-category/types/video-category-list-item.js +0 -3
- package/lib/cjs/resources/video-category/video-category.d.ts +0 -6
- package/lib/cjs/resources/video-category/video-category.js +0 -13
- package/lib/cjs/resources/video-type/index.d.ts +0 -1
- package/lib/cjs/resources/video-type/index.js +0 -18
- package/lib/cjs/resources/video-type/types/index.d.ts +0 -2
- package/lib/cjs/resources/video-type/types/index.js +0 -19
- package/lib/cjs/resources/video-type/types/video-type-details.d.ts +0 -22
- package/lib/cjs/resources/video-type/types/video-type-details.js +0 -3
- package/lib/cjs/resources/video-type/types/video-type-list-item.d.ts +0 -22
- package/lib/cjs/resources/video-type/types/video-type-list-item.js +0 -3
- package/lib/cjs/resources/video-type/video-type.d.ts +0 -6
- package/lib/cjs/resources/video-type/video-type.js +0 -13
- package/lib/cjs/resources/volume/index.d.ts +0 -1
- package/lib/cjs/resources/volume/index.js +0 -18
- package/lib/cjs/resources/volume/types/index.d.ts +0 -2
- package/lib/cjs/resources/volume/types/index.js +0 -19
- package/lib/cjs/resources/volume/types/volume-details.d.ts +0 -77
- package/lib/cjs/resources/volume/types/volume-details.js +0 -3
- package/lib/cjs/resources/volume/types/volume-list-item.d.ts +0 -63
- package/lib/cjs/resources/volume/types/volume-list-item.js +0 -3
- package/lib/cjs/resources/volume/volume.d.ts +0 -6
- package/lib/cjs/resources/volume/volume.js +0 -13
- package/lib/cjs/types/apply-override.d.ts +0 -1
- package/lib/cjs/types/apply-override.js +0 -3
- package/lib/cjs/types/http-client.d.ts +0 -4
- package/lib/cjs/types/http-client.js +0 -3
- package/lib/cjs/types/index.d.ts +0 -7
- package/lib/cjs/types/index.js +0 -24
- package/lib/cjs/types/iso-date.d.ts +0 -7
- package/lib/cjs/types/iso-date.js +0 -3
- package/lib/cjs/types/pick-filters.d.ts +0 -6
- package/lib/cjs/types/pick-filters.js +0 -3
- package/lib/cjs/types/request.d.ts +0 -31
- package/lib/cjs/types/request.js +0 -3
- package/lib/cjs/types/response.d.ts +0 -10
- package/lib/cjs/types/response.js +0 -3
- package/lib/cjs/types/url-builder.d.ts +0 -6
- package/lib/cjs/types/url-builder.js +0 -3
- package/lib/cjs/types/valueof.d.ts +0 -1
- package/lib/cjs/types/valueof.js +0 -3
- package/lib/cjs/utils/case-converter.d.ts +0 -4
- package/lib/cjs/utils/case-converter.js +0 -34
- package/lib/cjs/utils/index.d.ts +0 -2
- package/lib/cjs/utils/index.js +0 -19
- package/lib/cjs/utils/is-object.d.ts +0 -1
- package/lib/cjs/utils/is-object.js +0 -8
- package/lib/esm/comic-vine.d.ts +0 -44
- package/lib/esm/comic-vine.js +0 -68
- package/lib/esm/errors/base-error.d.ts +0 -9
- package/lib/esm/errors/base-error.js +0 -14
- package/lib/esm/errors/custom-error.d.ts +0 -2
- package/lib/esm/errors/custom-error.js +0 -8
- package/lib/esm/errors/filter-error.d.ts +0 -4
- package/lib/esm/errors/filter-error.js +0 -10
- package/lib/esm/errors/generic-error.d.ts +0 -4
- package/lib/esm/errors/generic-error.js +0 -10
- package/lib/esm/errors/generic-request-error.d.ts +0 -10
- package/lib/esm/errors/generic-request-error.js +0 -18
- package/lib/esm/errors/index.d.ts +0 -10
- package/lib/esm/errors/index.js +0 -11
- package/lib/esm/errors/jsonp-callback-missing-error.d.ts +0 -4
- package/lib/esm/errors/jsonp-callback-missing-error.js +0 -10
- package/lib/esm/errors/object-not-found-error.d.ts +0 -4
- package/lib/esm/errors/object-not-found-error.js +0 -10
- package/lib/esm/errors/options-validation-error.d.ts +0 -4
- package/lib/esm/errors/options-validation-error.js +0 -10
- package/lib/esm/errors/subscriber-only-error.d.ts +0 -4
- package/lib/esm/errors/subscriber-only-error.js +0 -10
- package/lib/esm/errors/unauthorized-error.d.ts +0 -4
- package/lib/esm/errors/unauthorized-error.js +0 -10
- package/lib/esm/errors/url-format-error.d.ts +0 -4
- package/lib/esm/errors/url-format-error.js +0 -10
- package/lib/esm/http-client/http-client-factory.d.ts +0 -6
- package/lib/esm/http-client/http-client-factory.js +0 -11
- package/lib/esm/http-client/http-client.d.ts +0 -8
- package/lib/esm/http-client/http-client.js +0 -52
- package/lib/esm/http-client/index.d.ts +0 -1
- package/lib/esm/http-client/index.js +0 -2
- package/lib/esm/http-client/status-code.d.ts +0 -9
- package/lib/esm/http-client/status-code.js +0 -11
- package/lib/esm/http-client/url-builder.d.ts +0 -29
- package/lib/esm/http-client/url-builder.js +0 -103
- package/lib/esm/index.d.ts +0 -3
- package/lib/esm/index.js +0 -3
- package/lib/esm/options/index.d.ts +0 -20
- package/lib/esm/options/index.js +0 -28
- package/lib/esm/package.json +0 -3
- package/lib/esm/resources/base-resource.d.ts +0 -19
- package/lib/esm/resources/base-resource.js +0 -54
- package/lib/esm/resources/character/character.d.ts +0 -6
- package/lib/esm/resources/character/character.js +0 -9
- package/lib/esm/resources/character/index.d.ts +0 -1
- package/lib/esm/resources/character/index.js +0 -2
- package/lib/esm/resources/character/types/character-details.d.ts +0 -110
- package/lib/esm/resources/character/types/character-details.js +0 -2
- package/lib/esm/resources/character/types/character-list-item.d.ts +0 -71
- package/lib/esm/resources/character/types/character-list-item.js +0 -2
- package/lib/esm/resources/character/types/index.d.ts +0 -2
- package/lib/esm/resources/character/types/index.js +0 -3
- package/lib/esm/resources/common-types.d.ts +0 -58
- package/lib/esm/resources/common-types.js +0 -2
- package/lib/esm/resources/concept/concept.d.ts +0 -6
- package/lib/esm/resources/concept/concept.js +0 -9
- package/lib/esm/resources/concept/index.d.ts +0 -1
- package/lib/esm/resources/concept/index.js +0 -2
- package/lib/esm/resources/concept/types/concept-details.d.ts +0 -58
- package/lib/esm/resources/concept/types/concept-details.js +0 -2
- package/lib/esm/resources/concept/types/concept-list-item.d.ts +0 -52
- package/lib/esm/resources/concept/types/concept-list-item.js +0 -2
- package/lib/esm/resources/concept/types/index.d.ts +0 -2
- package/lib/esm/resources/concept/types/index.js +0 -3
- package/lib/esm/resources/episode/episode.d.ts +0 -6
- package/lib/esm/resources/episode/episode.js +0 -9
- package/lib/esm/resources/episode/index.d.ts +0 -1
- package/lib/esm/resources/episode/index.js +0 -2
- package/lib/esm/resources/episode/types/episode-details.d.ts +0 -87
- package/lib/esm/resources/episode/types/episode-details.js +0 -2
- package/lib/esm/resources/episode/types/episode-list-item.d.ts +0 -53
- package/lib/esm/resources/episode/types/episode-list-item.js +0 -2
- package/lib/esm/resources/episode/types/index.d.ts +0 -2
- package/lib/esm/resources/episode/types/index.js +0 -3
- package/lib/esm/resources/index.d.ts +0 -3
- package/lib/esm/resources/index.js +0 -4
- package/lib/esm/resources/issue/index.d.ts +0 -1
- package/lib/esm/resources/issue/index.js +0 -2
- package/lib/esm/resources/issue/issue.d.ts +0 -6
- package/lib/esm/resources/issue/issue.js +0 -9
- package/lib/esm/resources/issue/types/index.d.ts +0 -2
- package/lib/esm/resources/issue/types/index.js +0 -3
- package/lib/esm/resources/issue/types/issue-details.d.ts +0 -94
- package/lib/esm/resources/issue/types/issue-details.js +0 -2
- package/lib/esm/resources/issue/types/issue-list-item.d.ts +0 -61
- package/lib/esm/resources/issue/types/issue-list-item.js +0 -2
- package/lib/esm/resources/location/index.d.ts +0 -1
- package/lib/esm/resources/location/index.js +0 -2
- package/lib/esm/resources/location/location.d.ts +0 -6
- package/lib/esm/resources/location/location.js +0 -9
- package/lib/esm/resources/location/types/index.d.ts +0 -2
- package/lib/esm/resources/location/types/index.js +0 -3
- package/lib/esm/resources/location/types/location-details.d.ts +0 -62
- package/lib/esm/resources/location/types/location-details.js +0 -2
- package/lib/esm/resources/location/types/location-list-item.d.ts +0 -55
- package/lib/esm/resources/location/types/location-list-item.js +0 -2
- package/lib/esm/resources/movie/index.d.ts +0 -1
- package/lib/esm/resources/movie/index.js +0 -2
- package/lib/esm/resources/movie/movie.d.ts +0 -6
- package/lib/esm/resources/movie/movie.js +0 -9
- package/lib/esm/resources/movie/types/index.d.ts +0 -2
- package/lib/esm/resources/movie/types/index.js +0 -3
- package/lib/esm/resources/movie/types/movie-details.d.ts +0 -91
- package/lib/esm/resources/movie/types/movie-details.js +0 -2
- package/lib/esm/resources/movie/types/movie-list-item.d.ts +0 -74
- package/lib/esm/resources/movie/types/movie-list-item.js +0 -2
- package/lib/esm/resources/origin/index.d.ts +0 -1
- package/lib/esm/resources/origin/index.js +0 -2
- package/lib/esm/resources/origin/origin.d.ts +0 -6
- package/lib/esm/resources/origin/origin.js +0 -9
- package/lib/esm/resources/origin/types/index.d.ts +0 -2
- package/lib/esm/resources/origin/types/index.js +0 -3
- package/lib/esm/resources/origin/types/origin-details.d.ts +0 -22
- package/lib/esm/resources/origin/types/origin-details.js +0 -2
- package/lib/esm/resources/origin/types/origin-list-item.d.ts +0 -18
- package/lib/esm/resources/origin/types/origin-list-item.js +0 -2
- package/lib/esm/resources/person/index.d.ts +0 -1
- package/lib/esm/resources/person/index.js +0 -2
- package/lib/esm/resources/person/person.d.ts +0 -6
- package/lib/esm/resources/person/person.js +0 -9
- package/lib/esm/resources/person/types/index.d.ts +0 -2
- package/lib/esm/resources/person/types/index.js +0 -3
- package/lib/esm/resources/person/types/person-details.d.ts +0 -82
- package/lib/esm/resources/person/types/person-details.js +0 -2
- package/lib/esm/resources/person/types/person-list-item.d.ts +0 -77
- package/lib/esm/resources/person/types/person-list-item.js +0 -5
- package/lib/esm/resources/power/index.d.ts +0 -1
- package/lib/esm/resources/power/index.js +0 -2
- package/lib/esm/resources/power/power.d.ts +0 -6
- package/lib/esm/resources/power/power.js +0 -9
- package/lib/esm/resources/power/types/index.d.ts +0 -2
- package/lib/esm/resources/power/types/index.js +0 -3
- package/lib/esm/resources/power/types/power-details.d.ts +0 -39
- package/lib/esm/resources/power/types/power-details.js +0 -2
- package/lib/esm/resources/power/types/power-list-item.d.ts +0 -34
- package/lib/esm/resources/power/types/power-list-item.js +0 -2
- package/lib/esm/resources/promo/index.d.ts +0 -1
- package/lib/esm/resources/promo/index.js +0 -2
- package/lib/esm/resources/promo/promo.d.ts +0 -6
- package/lib/esm/resources/promo/promo.js +0 -9
- package/lib/esm/resources/promo/types/index.d.ts +0 -2
- package/lib/esm/resources/promo/types/index.js +0 -3
- package/lib/esm/resources/promo/types/promo-details.d.ts +0 -40
- package/lib/esm/resources/promo/types/promo-details.js +0 -2
- package/lib/esm/resources/promo/types/promo-list-item.d.ts +0 -40
- package/lib/esm/resources/promo/types/promo-list-item.js +0 -2
- package/lib/esm/resources/publisher/index.d.ts +0 -1
- package/lib/esm/resources/publisher/index.js +0 -2
- package/lib/esm/resources/publisher/publisher.d.ts +0 -6
- package/lib/esm/resources/publisher/publisher.js +0 -9
- package/lib/esm/resources/publisher/types/index.d.ts +0 -2
- package/lib/esm/resources/publisher/types/index.js +0 -3
- package/lib/esm/resources/publisher/types/publisher-details.d.ts +0 -71
- package/lib/esm/resources/publisher/types/publisher-details.js +0 -2
- package/lib/esm/resources/publisher/types/publisher-list-item.d.ts +0 -61
- package/lib/esm/resources/publisher/types/publisher-list-item.js +0 -8
- package/lib/esm/resources/resource-factory.d.ts +0 -8
- package/lib/esm/resources/resource-factory.js +0 -16
- package/lib/esm/resources/resource-list.d.ts +0 -19
- package/lib/esm/resources/resource-list.js +0 -20
- package/lib/esm/resources/resource-map.d.ts +0 -7
- package/lib/esm/resources/resource-map.js +0 -36
- package/lib/esm/resources/resource-type.d.ts +0 -21
- package/lib/esm/resources/resource-type.js +0 -24
- package/lib/esm/resources/series/index.d.ts +0 -1
- package/lib/esm/resources/series/index.js +0 -2
- package/lib/esm/resources/series/series.d.ts +0 -6
- package/lib/esm/resources/series/series.js +0 -9
- package/lib/esm/resources/series/types/index.d.ts +0 -2
- package/lib/esm/resources/series/types/index.js +0 -3
- package/lib/esm/resources/series/types/series-details.d.ts +0 -68
- package/lib/esm/resources/series/types/series-details.js +0 -2
- package/lib/esm/resources/series/types/series-list-item.d.ts +0 -18
- package/lib/esm/resources/series/types/series-list-item.js +0 -2
- package/lib/esm/resources/story-arc/index.d.ts +0 -1
- package/lib/esm/resources/story-arc/index.js +0 -2
- package/lib/esm/resources/story-arc/story-arc.d.ts +0 -6
- package/lib/esm/resources/story-arc/story-arc.js +0 -9
- package/lib/esm/resources/story-arc/types/index.d.ts +0 -2
- package/lib/esm/resources/story-arc/types/index.js +0 -3
- package/lib/esm/resources/story-arc/types/story-arc-details.d.ts +0 -62
- package/lib/esm/resources/story-arc/types/story-arc-details.js +0 -2
- package/lib/esm/resources/story-arc/types/story-arc-list-item.d.ts +0 -53
- package/lib/esm/resources/story-arc/types/story-arc-list-item.js +0 -2
- package/lib/esm/resources/team/index.d.ts +0 -1
- package/lib/esm/resources/team/index.js +0 -2
- package/lib/esm/resources/team/team.d.ts +0 -6
- package/lib/esm/resources/team/team.js +0 -9
- package/lib/esm/resources/team/types/index.d.ts +0 -2
- package/lib/esm/resources/team/types/index.js +0 -3
- package/lib/esm/resources/team/types/team-details.d.ts +0 -80
- package/lib/esm/resources/team/types/team-details.js +0 -2
- package/lib/esm/resources/team/types/team-list-item.d.ts +0 -56
- package/lib/esm/resources/team/types/team-list-item.js +0 -2
- package/lib/esm/resources/thing/index.d.ts +0 -1
- package/lib/esm/resources/thing/index.js +0 -2
- package/lib/esm/resources/thing/thing.d.ts +0 -6
- package/lib/esm/resources/thing/thing.js +0 -9
- package/lib/esm/resources/thing/types/index.d.ts +0 -2
- package/lib/esm/resources/thing/types/index.js +0 -3
- package/lib/esm/resources/thing/types/thing-details.d.ts +0 -62
- package/lib/esm/resources/thing/types/thing-details.js +0 -2
- package/lib/esm/resources/thing/types/thing-list-item.d.ts +0 -55
- package/lib/esm/resources/thing/types/thing-list-item.js +0 -2
- package/lib/esm/resources/video/index.d.ts +0 -1
- package/lib/esm/resources/video/index.js +0 -2
- package/lib/esm/resources/video/types/index.d.ts +0 -2
- package/lib/esm/resources/video/types/index.js +0 -3
- package/lib/esm/resources/video/types/video-details.d.ts +0 -63
- package/lib/esm/resources/video/types/video-details.js +0 -2
- package/lib/esm/resources/video/types/video-list-item.d.ts +0 -85
- package/lib/esm/resources/video/types/video-list-item.js +0 -25
- package/lib/esm/resources/video/video.d.ts +0 -6
- package/lib/esm/resources/video/video.js +0 -9
- package/lib/esm/resources/video-category/index.d.ts +0 -1
- package/lib/esm/resources/video-category/index.js +0 -2
- package/lib/esm/resources/video-category/types/index.d.ts +0 -2
- package/lib/esm/resources/video-category/types/index.js +0 -3
- package/lib/esm/resources/video-category/types/video-category-details.d.ts +0 -24
- package/lib/esm/resources/video-category/types/video-category-details.js +0 -2
- package/lib/esm/resources/video-category/types/video-category-list-item.d.ts +0 -24
- package/lib/esm/resources/video-category/types/video-category-list-item.js +0 -2
- package/lib/esm/resources/video-category/video-category.d.ts +0 -6
- package/lib/esm/resources/video-category/video-category.js +0 -9
- package/lib/esm/resources/video-type/index.d.ts +0 -1
- package/lib/esm/resources/video-type/index.js +0 -2
- package/lib/esm/resources/video-type/types/index.d.ts +0 -2
- package/lib/esm/resources/video-type/types/index.js +0 -3
- package/lib/esm/resources/video-type/types/video-type-details.d.ts +0 -22
- package/lib/esm/resources/video-type/types/video-type-details.js +0 -2
- package/lib/esm/resources/video-type/types/video-type-list-item.d.ts +0 -22
- package/lib/esm/resources/video-type/types/video-type-list-item.js +0 -2
- package/lib/esm/resources/video-type/video-type.d.ts +0 -6
- package/lib/esm/resources/video-type/video-type.js +0 -9
- package/lib/esm/resources/volume/index.d.ts +0 -1
- package/lib/esm/resources/volume/index.js +0 -2
- package/lib/esm/resources/volume/types/index.d.ts +0 -2
- package/lib/esm/resources/volume/types/index.js +0 -3
- package/lib/esm/resources/volume/types/volume-details.d.ts +0 -77
- package/lib/esm/resources/volume/types/volume-details.js +0 -2
- package/lib/esm/resources/volume/types/volume-list-item.d.ts +0 -63
- package/lib/esm/resources/volume/types/volume-list-item.js +0 -2
- package/lib/esm/resources/volume/volume.d.ts +0 -6
- package/lib/esm/resources/volume/volume.js +0 -9
- package/lib/esm/types/apply-override.d.ts +0 -1
- package/lib/esm/types/apply-override.js +0 -2
- package/lib/esm/types/http-client.d.ts +0 -4
- package/lib/esm/types/http-client.js +0 -2
- package/lib/esm/types/index.d.ts +0 -7
- package/lib/esm/types/index.js +0 -8
- package/lib/esm/types/iso-date.d.ts +0 -7
- package/lib/esm/types/iso-date.js +0 -2
- package/lib/esm/types/pick-filters.d.ts +0 -6
- package/lib/esm/types/pick-filters.js +0 -2
- package/lib/esm/types/request.d.ts +0 -31
- package/lib/esm/types/request.js +0 -2
- package/lib/esm/types/response.d.ts +0 -10
- package/lib/esm/types/response.js +0 -2
- package/lib/esm/types/url-builder.d.ts +0 -6
- package/lib/esm/types/url-builder.js +0 -2
- package/lib/esm/types/valueof.d.ts +0 -1
- package/lib/esm/types/valueof.js +0 -2
- package/lib/esm/utils/case-converter.d.ts +0 -4
- package/lib/esm/utils/case-converter.js +0 -27
- package/lib/esm/utils/index.d.ts +0 -2
- package/lib/esm/utils/index.js +0 -3
- package/lib/esm/utils/is-object.d.ts +0 -1
- package/lib/esm/utils/is-object.js +0 -4
- package/scripts/create-package-json.ts +0 -29
- package/vitest.config.ts +0 -8
package/.releaserc.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"branches": [
|
|
3
|
-
"+([0-9])?(.{+([0-9]),x}).x",
|
|
4
|
-
"main",
|
|
5
|
-
"next",
|
|
6
|
-
{ "name": "alpha", "prerelease": true },
|
|
7
|
-
{ "name": "beta", "prerelease": true }
|
|
8
|
-
],
|
|
9
|
-
"plugins": [
|
|
10
|
-
"@semantic-release/commit-analyzer",
|
|
11
|
-
"@semantic-release/release-notes-generator",
|
|
12
|
-
"@semantic-release/changelog",
|
|
13
|
-
"@semantic-release/npm",
|
|
14
|
-
"@semantic-release/github",
|
|
15
|
-
"@semantic-release/git"
|
|
16
|
-
]
|
|
17
|
-
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
-
|
|
5
|
-
### [1.3.2](https://github.com/AllyMurray/comic-vine/compare/v1.3.1...v1.3.2) (2025-07-03)
|
|
6
|
-
|
|
7
|
-
## [1.2.8] - 2024-01-01
|
|
8
|
-
|
|
9
|
-
### Changed
|
|
10
|
-
|
|
11
|
-
- Migrated from Projen to standard npm project structure
|
|
12
|
-
- Updated GitHub Actions workflows to use artifact actions v4
|
|
13
|
-
- Improved build process and release workflow
|
|
14
|
-
|
|
15
|
-
## [1.2.5](https://github.com/AllyMurray/comic-vine/compare/v1.2.4...v1.2.5) (2023-03-18)
|
|
16
|
-
|
|
17
|
-
### Bug Fixes
|
|
18
|
-
|
|
19
|
-
- upgrade zod from 3.20.2 to 3.20.5 ([31755e7](https://github.com/AllyMurray/comic-vine/commit/31755e711b7a61fced6da6554461b45f4db43046))
|
|
20
|
-
- upgrade zod from 3.20.5 to 3.20.6 ([4c32d5b](https://github.com/AllyMurray/comic-vine/commit/4c32d5b8f8d94da50a1a4c456f360dbe9d53beaf))
|
|
21
|
-
|
|
22
|
-
## [1.2.4](https://github.com/AllyMurray/comic-vine/compare/v1.2.3...v1.2.4) (2023-01-31)
|
|
23
|
-
|
|
24
|
-
### Bug Fixes
|
|
25
|
-
|
|
26
|
-
- :package: publish typings to npm ([f132dd6](https://github.com/AllyMurray/comic-vine/commit/f132dd6e3d8a2983e5e8b20434c6d491123503e4))
|
|
27
|
-
|
|
28
|
-
## [1.2.3](https://github.com/AllyMurray/comic-vine/compare/v1.2.2...v1.2.3) (2023-01-22)
|
|
29
|
-
|
|
30
|
-
### Bug Fixes
|
|
31
|
-
|
|
32
|
-
- upgrade zod from 3.19.1 to 3.20.2 ([4576f78](https://github.com/AllyMurray/comic-vine/commit/4576f78a34a5470274da2d384814bf8f85e977fe))
|
|
33
|
-
|
|
34
|
-
## [1.2.2](https://github.com/AllyMurray/comic-vine/compare/v1.2.1...v1.2.2) (2022-12-04)
|
|
35
|
-
|
|
36
|
-
### Bug Fixes
|
|
37
|
-
|
|
38
|
-
- **typo in pagination example:** typo in pagination example ([3b3d3c5](https://github.com/AllyMurray/comic-vine/commit/3b3d3c5b30ce42672767f1a17d78b792a6dc3a0f))
|
|
39
|
-
|
|
40
|
-
## [1.2.1](https://github.com/AllyMurray/comic-vine/compare/v1.2.0...v1.2.1) (2022-12-04)
|
|
41
|
-
|
|
42
|
-
### Bug Fixes
|
|
43
|
-
|
|
44
|
-
- **auto pagination example:** fixes the autopagination example so limit is set to 50 ([a198408](https://github.com/AllyMurray/comic-vine/commit/a19840857a67c71f8cd671f47335b8c7a6f28f4d))
|
|
45
|
-
|
|
46
|
-
# [1.2.0](https://github.com/AllyMurray/comic-vine/compare/v1.1.1...v1.2.0) (2022-12-04)
|
|
47
|
-
|
|
48
|
-
### Features
|
|
49
|
-
|
|
50
|
-
- **auto pagination:** add auto pagination to list methods ([a5fa379](https://github.com/AllyMurray/comic-vine/commit/a5fa379e9cc267552741aa5f82c06b8242f55856))
|
|
51
|
-
|
|
52
|
-
## [1.1.1](https://github.com/AllyMurray/comic-vine/compare/v1.1.0...v1.1.1) (2022-10-15)
|
|
53
|
-
|
|
54
|
-
### Bug Fixes
|
|
55
|
-
|
|
56
|
-
- **options docs:** add missing documentation for setting baseUrl ([6954695](https://github.com/AllyMurray/comic-vine/commit/6954695b6d3322fde38258fcc1f50fc6a83aa72e))
|
|
57
|
-
|
|
58
|
-
# [1.1.0](https://github.com/AllyMurray/comic-vine/compare/v1.0.4...v1.1.0) (2022-10-15)
|
|
59
|
-
|
|
60
|
-
### Features
|
|
61
|
-
|
|
62
|
-
- **library options:** allow setting baseUrl when initializing the library ([07fe7e3](https://github.com/AllyMurray/comic-vine/commit/07fe7e3905bea006b8a15dc0b545a0ae1f53f084))
|
|
63
|
-
|
|
64
|
-
## [1.0.4](https://github.com/AllyMurray/comic-vine/compare/v1.0.3...v1.0.4) (2022-10-08)
|
|
65
|
-
|
|
66
|
-
### Bug Fixes
|
|
67
|
-
|
|
68
|
-
- **typings:** improve the api response typings ([e5bf556](https://github.com/AllyMurray/comic-vine/commit/e5bf5561149e1cff6e0c538dacf3c8fc71b6c935))
|
|
69
|
-
|
|
70
|
-
## [1.0.3](https://github.com/AllyMurray/comic-vine/compare/v1.0.2...v1.0.3) (2022-10-07)
|
|
71
|
-
|
|
72
|
-
### Bug Fixes
|
|
73
|
-
|
|
74
|
-
- **tsconfig.json:** remove comments so that the file can be parsed by snyk ([fe715f7](https://github.com/AllyMurray/comic-vine/commit/fe715f72840bce8247c0550c21fa45d555b7990f))
|
|
75
|
-
|
|
76
|
-
## [1.0.2](https://github.com/AllyMurray/comic-vine/compare/v1.0.1...v1.0.2) (2022-10-07)
|
|
77
|
-
|
|
78
|
-
### Bug Fixes
|
|
79
|
-
|
|
80
|
-
- **character details typings:** birth can be null or string, change any arrays to SiteResource array ([5a69bd3](https://github.com/AllyMurray/comic-vine/commit/5a69bd3b6394b2a389cdf7c5b9b4713350788fb8))
|
|
81
|
-
|
|
82
|
-
## [1.0.1](https://github.com/AllyMurray/comic-vine/compare/v1.0.0...v1.0.1) (2022-10-05)
|
|
83
|
-
|
|
84
|
-
### Bug Fixes
|
|
85
|
-
|
|
86
|
-
- **ts build:** update typescript typings to remove false positives in vscode problems window ([ece4080](https://github.com/AllyMurray/comic-vine/commit/ece4080370be2635712b1978f2e6d7f6c88ddc40))
|
|
87
|
-
|
|
88
|
-
# [1.0.0](https://github.com/AllyMurray/comic-vine/compare/efa0a077ec5104451fc33ab773d888bb79f6438f...v1.0.0) (2022-09-30)
|
|
89
|
-
|
|
90
|
-
### Bug Fixes
|
|
91
|
-
|
|
92
|
-
- **npm publish:** rename npm package ([37eb3a1](https://github.com/AllyMurray/comic-vine/commit/37eb3a17b9b8cd1c58e09b2efcb1380e10124d14))
|
|
93
|
-
- **npm publish:** rename npm package to comic-vine-sdk ([26fe0d8](https://github.com/AllyMurray/comic-vine/commit/26fe0d8321c7ed4df57664e5006a798e296b17dc))
|
|
94
|
-
|
|
95
|
-
### Features
|
|
96
|
-
|
|
97
|
-
- **gh workflow:** automate release to npm ([efa0a07](https://github.com/AllyMurray/comic-vine/commit/efa0a077ec5104451fc33ab773d888bb79f6438f))
|
package/CODE_OF_CONDUCT.md
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
|
2
|
-
|
|
3
|
-
## Our Pledge
|
|
4
|
-
|
|
5
|
-
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
-
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
-
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
-
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
-
nationality, personal appearance, race, religion, or sexual identity
|
|
10
|
-
and orientation.
|
|
11
|
-
|
|
12
|
-
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
-
diverse, inclusive, and healthy community.
|
|
14
|
-
|
|
15
|
-
## Our Standards
|
|
16
|
-
|
|
17
|
-
Examples of behavior that contributes to a positive environment for our
|
|
18
|
-
community include:
|
|
19
|
-
|
|
20
|
-
- Demonstrating empathy and kindness toward other people
|
|
21
|
-
- Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
-
- Giving and gracefully accepting constructive feedback
|
|
23
|
-
- Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
-
and learning from the experience
|
|
25
|
-
- Focusing on what is best not just for us as individuals, but for the
|
|
26
|
-
overall community
|
|
27
|
-
|
|
28
|
-
Examples of unacceptable behavior include:
|
|
29
|
-
|
|
30
|
-
- The use of sexualized language or imagery, and sexual attention or
|
|
31
|
-
advances of any kind
|
|
32
|
-
- Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
-
- Public or private harassment
|
|
34
|
-
- Publishing others' private information, such as a physical or email
|
|
35
|
-
address, without their explicit permission
|
|
36
|
-
- Other conduct which could reasonably be considered inappropriate in a
|
|
37
|
-
professional setting
|
|
38
|
-
|
|
39
|
-
## Enforcement Responsibilities
|
|
40
|
-
|
|
41
|
-
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
-
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
-
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
-
or harmful.
|
|
45
|
-
|
|
46
|
-
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
-
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
-
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
-
decisions when appropriate.
|
|
50
|
-
|
|
51
|
-
## Scope
|
|
52
|
-
|
|
53
|
-
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
-
an individual is officially representing the community in public spaces.
|
|
55
|
-
Examples of representing our community include using an official e-mail address,
|
|
56
|
-
posting via an official social media account, or acting as an appointed
|
|
57
|
-
representative at an online or offline event.
|
|
58
|
-
|
|
59
|
-
## Enforcement
|
|
60
|
-
|
|
61
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
-
reported to the community leaders responsible for enforcement at
|
|
63
|
-
allymurray88@gmail.com.
|
|
64
|
-
All complaints will be reviewed and investigated promptly and fairly.
|
|
65
|
-
|
|
66
|
-
All community leaders are obligated to respect the privacy and security of the
|
|
67
|
-
reporter of any incident.
|
|
68
|
-
|
|
69
|
-
## Enforcement Guidelines
|
|
70
|
-
|
|
71
|
-
Community leaders will follow these Community Impact Guidelines in determining
|
|
72
|
-
the consequences for any action they deem in violation of this Code of Conduct:
|
|
73
|
-
|
|
74
|
-
### 1. Correction
|
|
75
|
-
|
|
76
|
-
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
77
|
-
unprofessional or unwelcome in the community.
|
|
78
|
-
|
|
79
|
-
**Consequence**: A private, written warning from community leaders, providing
|
|
80
|
-
clarity around the nature of the violation and an explanation of why the
|
|
81
|
-
behavior was inappropriate. A public apology may be requested.
|
|
82
|
-
|
|
83
|
-
### 2. Warning
|
|
84
|
-
|
|
85
|
-
**Community Impact**: A violation through a single incident or series
|
|
86
|
-
of actions.
|
|
87
|
-
|
|
88
|
-
**Consequence**: A warning with consequences for continued behavior. No
|
|
89
|
-
interaction with the people involved, including unsolicited interaction with
|
|
90
|
-
those enforcing the Code of Conduct, for a specified period of time. This
|
|
91
|
-
includes avoiding interactions in community spaces as well as external channels
|
|
92
|
-
like social media. Violating these terms may lead to a temporary or
|
|
93
|
-
permanent ban.
|
|
94
|
-
|
|
95
|
-
### 3. Temporary Ban
|
|
96
|
-
|
|
97
|
-
**Community Impact**: A serious violation of community standards, including
|
|
98
|
-
sustained inappropriate behavior.
|
|
99
|
-
|
|
100
|
-
**Consequence**: A temporary ban from any sort of interaction or public
|
|
101
|
-
communication with the community for a specified period of time. No public or
|
|
102
|
-
private interaction with the people involved, including unsolicited interaction
|
|
103
|
-
with those enforcing the Code of Conduct, is allowed during this period.
|
|
104
|
-
Violating these terms may lead to a permanent ban.
|
|
105
|
-
|
|
106
|
-
### 4. Permanent Ban
|
|
107
|
-
|
|
108
|
-
**Community Impact**: Demonstrating a pattern of violation of community
|
|
109
|
-
standards, including sustained inappropriate behavior, harassment of an
|
|
110
|
-
individual, or aggression toward or disparagement of classes of individuals.
|
|
111
|
-
|
|
112
|
-
**Consequence**: A permanent ban from any sort of public interaction within
|
|
113
|
-
the community.
|
|
114
|
-
|
|
115
|
-
## Attribution
|
|
116
|
-
|
|
117
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
118
|
-
version 2.0, available at
|
|
119
|
-
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
|
120
|
-
|
|
121
|
-
Community Impact Guidelines were inspired by [Mozilla's code of conduct
|
|
122
|
-
enforcement ladder](https://github.com/mozilla/diversity).
|
|
123
|
-
|
|
124
|
-
[homepage]: https://www.contributor-covenant.org
|
|
125
|
-
|
|
126
|
-
For answers to common questions about this code of conduct, see the FAQ at
|
|
127
|
-
https://www.contributor-covenant.org/faq. Translations are available at
|
|
128
|
-
https://www.contributor-covenant.org/translations.
|
package/CONTRIBUTING.md
DELETED
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
# Contributing to Comic Vine SDK
|
|
2
|
-
|
|
3
|
-
Thank you for your interest in contributing to the Comic Vine SDK! This document provides guidelines and information to help you contribute effectively to the project.
|
|
4
|
-
|
|
5
|
-
## Table of Contents
|
|
6
|
-
|
|
7
|
-
- [Code of Conduct](#code-of-conduct)
|
|
8
|
-
- [Getting Started](#getting-started)
|
|
9
|
-
- [Development Setup](#development-setup)
|
|
10
|
-
- [Development Workflow](#development-workflow)
|
|
11
|
-
- [Code Standards](#code-standards)
|
|
12
|
-
- [Testing](#testing)
|
|
13
|
-
- [Submitting Changes](#submitting-changes)
|
|
14
|
-
- [Project Structure](#project-structure)
|
|
15
|
-
- [Resources](#resources)
|
|
16
|
-
|
|
17
|
-
## Code of Conduct
|
|
18
|
-
|
|
19
|
-
This project adheres to a [Code of Conduct](./CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [allymurray88@gmail.com](mailto:allymurray88@gmail.com).
|
|
20
|
-
|
|
21
|
-
## Getting Started
|
|
22
|
-
|
|
23
|
-
### Prerequisites
|
|
24
|
-
|
|
25
|
-
Before you begin, ensure you have the following installed:
|
|
26
|
-
|
|
27
|
-
- **Node.js**: Version 20.0.0 or higher
|
|
28
|
-
- **pnpm**: Version 9.15.4+ (specified in package.json)
|
|
29
|
-
```bash
|
|
30
|
-
npm install -g pnpm@9.15.4
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Development Setup
|
|
34
|
-
|
|
35
|
-
1. **Fork and Clone**
|
|
36
|
-
|
|
37
|
-
```bash
|
|
38
|
-
git clone https://github.com/your-username/comic-vine.git
|
|
39
|
-
cd comic-vine
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
2. **Install Dependencies**
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
pnpm install
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
3. **Verify Setup**
|
|
49
|
-
```bash
|
|
50
|
-
pnpm test
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
If all tests pass, you're ready to start developing!
|
|
54
|
-
|
|
55
|
-
## Development Workflow
|
|
56
|
-
|
|
57
|
-
### Creating a Branch
|
|
58
|
-
|
|
59
|
-
1. Create a feature branch from `main`:
|
|
60
|
-
|
|
61
|
-
```bash
|
|
62
|
-
git checkout -b feature/your-feature-name
|
|
63
|
-
# or
|
|
64
|
-
git checkout -b fix/issue-description
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
2. Use descriptive branch names:
|
|
68
|
-
- `feature/add-search-pagination`
|
|
69
|
-
- `fix/handle-rate-limiting`
|
|
70
|
-
- `docs/update-readme-examples`
|
|
71
|
-
|
|
72
|
-
### Making Changes
|
|
73
|
-
|
|
74
|
-
1. **Write Code**: Follow the [Code Standards](#code-standards) below
|
|
75
|
-
2. **Add Tests**: Ensure new functionality has corresponding tests
|
|
76
|
-
3. **Run Tests**: `pnpm test` to run tests and linting
|
|
77
|
-
4. **Build**: `pnpm compile` to ensure your changes compile correctly
|
|
78
|
-
|
|
79
|
-
### Commit Messages
|
|
80
|
-
|
|
81
|
-
Follow conventional commit format:
|
|
82
|
-
|
|
83
|
-
```
|
|
84
|
-
type(scope): description
|
|
85
|
-
|
|
86
|
-
[optional body]
|
|
87
|
-
|
|
88
|
-
[optional footer]
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
**Types:**
|
|
92
|
-
|
|
93
|
-
- `feat`: New feature
|
|
94
|
-
- `fix`: Bug fix
|
|
95
|
-
- `docs`: Documentation changes
|
|
96
|
-
- `style`: Code style changes (formatting, etc.)
|
|
97
|
-
- `refactor`: Code refactoring
|
|
98
|
-
- `test`: Adding or updating tests
|
|
99
|
-
- `chore`: Maintenance tasks
|
|
100
|
-
|
|
101
|
-
**Examples:**
|
|
102
|
-
|
|
103
|
-
```
|
|
104
|
-
feat(resources): add pagination support to character list
|
|
105
|
-
fix(http-client): handle network timeout errors
|
|
106
|
-
docs(readme): update installation instructions
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
## Code Standards
|
|
110
|
-
|
|
111
|
-
### TypeScript Guidelines
|
|
112
|
-
|
|
113
|
-
- **Type Safety**: Prefer explicit types over `any`
|
|
114
|
-
- **Interfaces**: Use interfaces for object shapes
|
|
115
|
-
- **Generics**: Leverage generics for reusable components
|
|
116
|
-
- **Strict Mode**: The project uses strict TypeScript settings
|
|
117
|
-
|
|
118
|
-
### Code Style
|
|
119
|
-
|
|
120
|
-
The project uses **ESLint** and **Prettier** for code formatting:
|
|
121
|
-
|
|
122
|
-
```bash
|
|
123
|
-
# Auto-fix linting issues and format code
|
|
124
|
-
pnpm lint
|
|
125
|
-
|
|
126
|
-
# Check linting without fixing
|
|
127
|
-
npx eslint src --ext .ts
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
**Key Style Rules:**
|
|
131
|
-
|
|
132
|
-
- Use camelCase for variables and functions
|
|
133
|
-
- Use PascalCase for classes and interfaces
|
|
134
|
-
- Prefer `const` over `let` when possible
|
|
135
|
-
- Use meaningful variable names
|
|
136
|
-
- Add JSDoc comments for public APIs
|
|
137
|
-
|
|
138
|
-
### Import Organization
|
|
139
|
-
|
|
140
|
-
Imports should be organized as follows:
|
|
141
|
-
|
|
142
|
-
```typescript
|
|
143
|
-
// 1. Built-in Node.js modules
|
|
144
|
-
import { readFile } from 'fs/promises';
|
|
145
|
-
|
|
146
|
-
// 2. External dependencies
|
|
147
|
-
import axios from 'axios';
|
|
148
|
-
import { z } from 'zod';
|
|
149
|
-
|
|
150
|
-
// 3. Internal modules (ordered alphabetically)
|
|
151
|
-
import { BaseResource } from './base-resource';
|
|
152
|
-
import { HttpClient } from './http-client';
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
## Testing
|
|
156
|
-
|
|
157
|
-
### Running Tests
|
|
158
|
-
|
|
159
|
-
```bash
|
|
160
|
-
# Run all tests with linting
|
|
161
|
-
pnpm test
|
|
162
|
-
|
|
163
|
-
# Run tests only (without linting)
|
|
164
|
-
pnpm test:run
|
|
165
|
-
|
|
166
|
-
# Run tests in watch mode
|
|
167
|
-
npx vitest --dir=src
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
### Writing Tests
|
|
171
|
-
|
|
172
|
-
1. **Location**: Place test files alongside source files with `.test.ts` extension
|
|
173
|
-
2. **Naming**: Use descriptive test names that explain the behavior being tested
|
|
174
|
-
3. **Structure**: Follow Arrange-Act-Assert pattern
|
|
175
|
-
|
|
176
|
-
**Example Test:**
|
|
177
|
-
|
|
178
|
-
```typescript
|
|
179
|
-
import { describe, test, expect } from 'vitest';
|
|
180
|
-
|
|
181
|
-
describe('ResourceName', () => {
|
|
182
|
-
test('should return correct data when field list is specified', async () => {
|
|
183
|
-
// Arrange
|
|
184
|
-
const expectedFields = ['id', 'name'];
|
|
185
|
-
|
|
186
|
-
// Act
|
|
187
|
-
const result = await resource.retrieve(123, { fieldList: expectedFields });
|
|
188
|
-
|
|
189
|
-
// Assert
|
|
190
|
-
expect(Object.keys(result)).toEqual(expectedFields);
|
|
191
|
-
});
|
|
192
|
-
});
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
### Test Coverage
|
|
196
|
-
|
|
197
|
-
- Write tests for all new functionality
|
|
198
|
-
- Include both success and error scenarios
|
|
199
|
-
- Mock external dependencies using **nock** for HTTP requests
|
|
200
|
-
- Test files are located in `src/__mocks__/` for mock data
|
|
201
|
-
|
|
202
|
-
## Submitting Changes
|
|
203
|
-
|
|
204
|
-
### Pull Request Process
|
|
205
|
-
|
|
206
|
-
1. **Update Documentation**: Ensure README, JSDoc, and other docs reflect your changes
|
|
207
|
-
|
|
208
|
-
2. **Verify Quality Checks**: All checks must pass before merging
|
|
209
|
-
|
|
210
|
-
```bash
|
|
211
|
-
pnpm test:run # All tests pass
|
|
212
|
-
pnpm lint # No linting errors
|
|
213
|
-
pnpm compile # Code compiles successfully
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
3. **Create Pull Request**:
|
|
217
|
-
- Use a descriptive title
|
|
218
|
-
- Reference any related issues
|
|
219
|
-
- Provide clear description of changes
|
|
220
|
-
- Include examples if adding new features
|
|
221
|
-
|
|
222
|
-
4. **Review Process**:
|
|
223
|
-
- Maintainers will review your PR
|
|
224
|
-
- Address any feedback promptly
|
|
225
|
-
- See [CODE_REVIEW.md](./CODE_REVIEW.md) for review criteria
|
|
226
|
-
|
|
227
|
-
### Pre-commit Hooks
|
|
228
|
-
|
|
229
|
-
The project uses **Husky** and **lint-staged** to ensure code quality:
|
|
230
|
-
|
|
231
|
-
- **Auto-formatting**: Prettier formats code on commit
|
|
232
|
-
- **Linting**: ESLint checks are enforced
|
|
233
|
-
- **Type checking**: TypeScript compilation is verified
|
|
234
|
-
|
|
235
|
-
If pre-commit hooks fail, fix the issues before committing:
|
|
236
|
-
|
|
237
|
-
```bash
|
|
238
|
-
pnpm lint # Fix linting issues
|
|
239
|
-
git add . # Stage the fixes
|
|
240
|
-
git commit # Try committing again
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
## Project Structure
|
|
244
|
-
|
|
245
|
-
```
|
|
246
|
-
src/
|
|
247
|
-
├── comic-vine.ts # Main SDK class
|
|
248
|
-
├── errors/ # Custom error classes
|
|
249
|
-
├── http-client/ # HTTP client and URL builder
|
|
250
|
-
├── options/ # Configuration options
|
|
251
|
-
├── resources/ # API resource implementations
|
|
252
|
-
│ ├── base-resource.ts # Base class for all resources
|
|
253
|
-
│ ├── character/ # Character-specific code
|
|
254
|
-
│ ├── issue/ # Issue-specific code
|
|
255
|
-
│ └── ... # Other Comic Vine resources
|
|
256
|
-
├── types/ # TypeScript type definitions
|
|
257
|
-
└── utils/ # Utility functions
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
### Adding New Resources
|
|
261
|
-
|
|
262
|
-
When adding support for a new Comic Vine API resource:
|
|
263
|
-
|
|
264
|
-
1. Create a new directory under `src/resources/`
|
|
265
|
-
2. Implement the resource class extending `BaseResource`
|
|
266
|
-
3. Add TypeScript types in a `types/` subdirectory
|
|
267
|
-
4. Write comprehensive tests
|
|
268
|
-
5. Update the main `ComicVine` class to include the new resource
|
|
269
|
-
6. Add mock data for testing
|
|
270
|
-
|
|
271
|
-
## Resources
|
|
272
|
-
|
|
273
|
-
### Documentation
|
|
274
|
-
|
|
275
|
-
- [Comic Vine API Documentation](https://comicvine.gamespot.com/api/documentation)
|
|
276
|
-
- [Project README](./README.md)
|
|
277
|
-
- [Code Review Guidelines](./CODE_REVIEW.md)
|
|
278
|
-
|
|
279
|
-
### Getting Help
|
|
280
|
-
|
|
281
|
-
- **Issues**: [GitHub Issues](https://github.com/AllyMurray/comic-vine/issues)
|
|
282
|
-
- **Discussions**: Use GitHub Discussions for questions
|
|
283
|
-
|
|
284
|
-
### Development Tools
|
|
285
|
-
|
|
286
|
-
- **Package Manager**: [pnpm](https://pnpm.io/)
|
|
287
|
-
- **Testing**: [Vitest](https://vitest.dev/)
|
|
288
|
-
- **Linting**: [ESLint](https://eslint.org/) + [TypeScript ESLint](https://typescript-eslint.io/)
|
|
289
|
-
- **Formatting**: [Prettier](https://prettier.io/)
|
|
290
|
-
- **Git Hooks**: [Husky](https://typicode.github.io/husky/)
|
|
291
|
-
|
|
292
|
-
---
|
|
293
|
-
|
|
294
|
-
Thank you for contributing to Comic Vine SDK! Your contributions help make this library better for everyone. 🚀
|
package/eslint.config.js
DELETED
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
// @ts-check
|
|
2
|
-
import eslint from '@eslint/js';
|
|
3
|
-
import importPlugin from 'eslint-plugin-import';
|
|
4
|
-
import prettierPlugin from 'eslint-plugin-prettier';
|
|
5
|
-
import prettierConfig from 'eslint-config-prettier';
|
|
6
|
-
import tseslint from 'typescript-eslint';
|
|
7
|
-
import globals from 'globals';
|
|
8
|
-
|
|
9
|
-
export default tseslint.config(
|
|
10
|
-
// Base ESLint recommended rules
|
|
11
|
-
eslint.configs.recommended,
|
|
12
|
-
|
|
13
|
-
// TypeScript ESLint recommended rules
|
|
14
|
-
...tseslint.configs.recommended,
|
|
15
|
-
|
|
16
|
-
// Prettier config to disable formatting rules that conflict with Prettier
|
|
17
|
-
prettierConfig,
|
|
18
|
-
|
|
19
|
-
// Base configuration for all files
|
|
20
|
-
{
|
|
21
|
-
plugins: {
|
|
22
|
-
import: importPlugin,
|
|
23
|
-
prettier: prettierPlugin,
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
languageOptions: {
|
|
27
|
-
ecmaVersion: 2018,
|
|
28
|
-
sourceType: 'module',
|
|
29
|
-
globals: {
|
|
30
|
-
...globals.node,
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
settings: {
|
|
35
|
-
'import/parsers': {
|
|
36
|
-
'@typescript-eslint/parser': ['.ts', '.tsx'],
|
|
37
|
-
},
|
|
38
|
-
'import/resolver': {
|
|
39
|
-
node: {},
|
|
40
|
-
typescript: {
|
|
41
|
-
project: './tsconfig.dev.json',
|
|
42
|
-
alwaysTryTypes: true,
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
|
|
47
|
-
rules: {
|
|
48
|
-
'prettier/prettier': ['error'],
|
|
49
|
-
'import/no-extraneous-dependencies': [
|
|
50
|
-
'error',
|
|
51
|
-
{
|
|
52
|
-
devDependencies: [
|
|
53
|
-
'**/test/**',
|
|
54
|
-
'**/build-tools/**',
|
|
55
|
-
'.projenrc.ts',
|
|
56
|
-
'projenrc/**/*.ts',
|
|
57
|
-
],
|
|
58
|
-
optionalDependencies: false,
|
|
59
|
-
peerDependencies: true,
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
'import/no-unresolved': ['error'],
|
|
63
|
-
'import/order': [
|
|
64
|
-
'warn',
|
|
65
|
-
{
|
|
66
|
-
groups: ['builtin', 'external'],
|
|
67
|
-
alphabetize: {
|
|
68
|
-
order: 'asc',
|
|
69
|
-
caseInsensitive: true,
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
],
|
|
73
|
-
'no-duplicate-imports': ['error'],
|
|
74
|
-
'no-shadow': ['off'],
|
|
75
|
-
'@typescript-eslint/no-shadow': ['error'],
|
|
76
|
-
'@typescript-eslint/no-unused-vars': [
|
|
77
|
-
'error',
|
|
78
|
-
{
|
|
79
|
-
argsIgnorePattern: '^_',
|
|
80
|
-
varsIgnorePattern: '^_',
|
|
81
|
-
caughtErrorsIgnorePattern: '^_',
|
|
82
|
-
},
|
|
83
|
-
],
|
|
84
|
-
'key-spacing': ['error'],
|
|
85
|
-
'no-multiple-empty-lines': ['error'],
|
|
86
|
-
'@typescript-eslint/no-floating-promises': ['error'],
|
|
87
|
-
'no-return-await': ['off'],
|
|
88
|
-
'@typescript-eslint/return-await': ['error'],
|
|
89
|
-
'no-trailing-spaces': ['error'],
|
|
90
|
-
'dot-notation': ['error'],
|
|
91
|
-
'no-bitwise': ['error'],
|
|
92
|
-
'@typescript-eslint/member-ordering': [
|
|
93
|
-
'error',
|
|
94
|
-
{
|
|
95
|
-
default: [
|
|
96
|
-
'public-static-field',
|
|
97
|
-
'public-static-method',
|
|
98
|
-
'protected-static-field',
|
|
99
|
-
'protected-static-method',
|
|
100
|
-
'private-static-field',
|
|
101
|
-
'private-static-method',
|
|
102
|
-
'field',
|
|
103
|
-
'constructor',
|
|
104
|
-
'method',
|
|
105
|
-
],
|
|
106
|
-
},
|
|
107
|
-
],
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
|
|
111
|
-
// Configuration for TypeScript files
|
|
112
|
-
{
|
|
113
|
-
files: ['**/*.ts', '**/*.tsx'],
|
|
114
|
-
languageOptions: {
|
|
115
|
-
parser: tseslint.parser,
|
|
116
|
-
parserOptions: {
|
|
117
|
-
ecmaVersion: 2018,
|
|
118
|
-
sourceType: 'module',
|
|
119
|
-
project: './tsconfig.dev.json',
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
rules: {
|
|
123
|
-
'@typescript-eslint/no-require-imports': ['error'],
|
|
124
|
-
},
|
|
125
|
-
},
|
|
126
|
-
|
|
127
|
-
// Configuration for test files
|
|
128
|
-
{
|
|
129
|
-
files: ['**/*.test.ts'],
|
|
130
|
-
languageOptions: {
|
|
131
|
-
globals: {
|
|
132
|
-
...globals.vitest,
|
|
133
|
-
},
|
|
134
|
-
},
|
|
135
|
-
rules: {
|
|
136
|
-
'dot-notation': 'off',
|
|
137
|
-
'import/no-extraneous-dependencies': [
|
|
138
|
-
'error',
|
|
139
|
-
{
|
|
140
|
-
devDependencies: true,
|
|
141
|
-
},
|
|
142
|
-
],
|
|
143
|
-
},
|
|
144
|
-
},
|
|
145
|
-
|
|
146
|
-
// Configuration for .projenrc.ts
|
|
147
|
-
{
|
|
148
|
-
files: ['.projenrc.ts'],
|
|
149
|
-
rules: {
|
|
150
|
-
'@typescript-eslint/no-require-imports': 'off',
|
|
151
|
-
'import/no-extraneous-dependencies': 'off',
|
|
152
|
-
},
|
|
153
|
-
},
|
|
154
|
-
|
|
155
|
-
// Global ignores
|
|
156
|
-
{
|
|
157
|
-
ignores: [
|
|
158
|
-
'*.js',
|
|
159
|
-
'*.d.ts',
|
|
160
|
-
'node_modules/',
|
|
161
|
-
'*.generated.ts',
|
|
162
|
-
'coverage',
|
|
163
|
-
'scripts/create-package-json.ts',
|
|
164
|
-
'!.projenrc.ts',
|
|
165
|
-
'!projenrc/**/*.ts',
|
|
166
|
-
],
|
|
167
|
-
},
|
|
168
|
-
);
|