Skip to content

Commit ab415e9

Browse files
committed
Prepare for first release on NPM
1 parent 58254e5 commit ab415e9

5 files changed

Lines changed: 22 additions & 3 deletions

File tree

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@3.0.2/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "public",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

packages/annotation-comments/src/core/clean.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export type HandleEditLineContext = {
2323
codeLines: string[]
2424
}
2525

26+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
2627
export function cleanCode(options: CleanCodeOptions) {
27-
const { annotationComments, codeLines, updateTargetRanges, handleRemoveLine, handleEditLine: handleRemoveInlineRange } = options
2828
// TODO: Implement cleanCode()
2929
}

packages/annotation-comments/src/core/find-targets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export function findAnnotationTargets(annotatedCode: AnnotatedCode) {
66
const { codeLines, annotationComments } = annotatedCode
77

88
annotationComments.forEach((comment) => {
9-
const { tag, commentRange, annotationRange, targetRanges } = comment
9+
const { tag, commentRange, targetRanges } = comment
1010

1111
// We don't need to search for `ignore-tags` annotation targets
1212
// as ignores are handled by the annotation comment parser
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export type * from './core/types'
22
export * from './core/parse'
3-
export * from './core/clean'
3+
// export * from './core/clean'
44

55
export * from './parsers/annotation-tags'
66
export * from './parsers/parent-comment'

0 commit comments

Comments
 (0)