fs-fixture-builder
I expect to be able to install fs-fixture-builder so I can run tests before submitting a PR :)
Typedoc does nothing wrong except when installing I get this error:
Even if the commit hash worked because the devs of fs-fixture-builder have their /dist folder in the .gitignore file I'm not even sure anything would pop up if we could install it lol.
simply clone typedoc and try to run npm install
If you want to wait on resolving this I'm working on making a PR that adds fs-fixture-builder as a local dependency in the test folder and point it at that instead since that repo seems pretty broken. (I can't get either the src folder or dist folder when i npm install it)
I figure this is an acceptable solution since typedoc is pointing at a specific commit anyways but, let me know if you disagree!
Why is the dev dependency not installing?
From my research I believe it is because fs-fixture-builder
only included the /dist
folder when installing from npm (specifically on the commit that TypeDoc uses)
see files
property on the package.json https://github.com/TypeStrong/fs-fixture-builder/blob/5a9486bc66f6e36988106685768396281f6cbc10/package.json
but, the /dist
folder is also .gitignored https://github.com/TypeStrong/fs-fixture-builder/blob/5a9486bc66f6e36988106685768396281f6cbc10/.gitignore
I think it was intended that when it is installed the "prepare" script would run and generate the dist folder when the package as installed but, since the /src
folder is not included under files
in package.json we don't get it when we install it via npm.
This has been updated see https://github.com/TypeStrong/fs-fixture-builder/blob/main/package.json
But, I still don't get either folder when installing even from the latest commit so NPM might be cacheing some rules or something. I'm not entirely sure.
Either way, judging from the commit history, it seems like fs-fixture-builder
has struggled with this way of distributing the code. So I'm thinking that putting a local version in TypeDoc would be a solution until that's figured out. And then you guys (or I idk I'm new here lol) can run the tests before approving PRs in the CI/CD pipeline.
Sorry probably more than you asked for.
Were you able to re-create the issue?
Owner Name | TypeStrong |
Repo Name | typedoc |
Full Name | TypeStrong/typedoc |
Language | TypeScript |
Created Date | 2014-05-24 |
Updated Date | 2023-03-19 |
Star Count | 6487 |
Watcher Count | 68 |
Fork Count | 639 |
Issue Count | 48 |
Issue Title | Created Date | Updated Date |
---|