Skip to content

Commit

Permalink
Fixes issue with not including d.ts files in the built output
Browse files Browse the repository at this point in the history
  • Loading branch information
CarelessCourage committed Sep 10, 2024
1 parent c538964 commit 294f9da
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ declare module 'apca-w3' {
): number | string
}

export function reverseAPCA(
contrast?: number,
knownY?: number,
knownType?: string,
returnAs?: string
): string | number | false | (string | number)[]
// export function reverseAPCA(
// contrast?: number,
// knownY?: number,
// knownType?: string,
// returnAs?: string
// ): string | number | false | (string | number)[]
File renamed without changes.
3 changes: 2 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build && copy package.json dist && copy README.md dist",
"buildall": "tsc && vite build && cp package.json dist && cp README.md dist",
"build": "tsc && vite build",
"publish": "cd dist && npm publish"
},
"dependencies": {
Expand Down
2 changes: 0 additions & 2 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
"declaration": true,
"paths": {
"@/*": ["./engine/*"],
"apca-w3": ["./engine/types/apca.d.ts"],
"colorparsley": ["./engine/colorparsley.d.ts"]
}
}
}
81 changes: 71 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 294f9da

Please sign in to comment.