-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete package-lock.json #1216
Delete package-lock.json #1216
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/docsify-core/docsify-preview/44415l3p5 |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 9842b80:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we are removing this, I guess we should remove the lockfile for packages/docsify-server-renderer
as well and put them in .gitignore
Good catch! Thanks for reminding me! Good to have multiple 👀 . :) |
- ignore package-lock in both .npmrc and .gitignore
There we go. I added the config in |
Let me fix the ironic conflict with package-lock.json. :) |
* develop: Update build/css.js use a port for the tests that doesn't collide with common local server ports Revert "ensure that the test script runs a prod build" update outdated comment ensure that the test script runs a prod build simplify import remove some unused code and accept eslint changes remove the DOCSIFY global made by Rollup, and move Docsify into a separate file where we can import it from tests while leaving the entry point for the bundle without any exports so that Rollup will not create a global variable from it feat: update src/core/index.js to export all global APIs, deprecate old globals in favor of a single global DOCSIFY, and add tests for this add build error handling so builds don't silently fail update docs regarding configs as functions add editorconfig (tells editors which basic text format to use) add tests to make sure the global and plugin APIs are available and that configs can be functions allow the user's $docsify config to be a function that receives as input the Docsify instance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conceptually this seems okay to me. That said, I'm not familiar with some of the tools used in this repo (like Lerna) so I can't comment on if/how this might affect builds in different environments.
Looks like there are a few tests failing which will need to be addressed though.
I think there is some problem with CI related to monorepo (lerna). |
Ah, the tests fail because Lerna is running in I'll make an update. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I think libraries should not include package-lock.json.
npm
command does not publish them to npmjs.com, so end users don't get benefit from them.Wdyt? Any reason to keep it?