-
Notifications
You must be signed in to change notification settings - Fork 169
prep markdown plugin for publishment #3759
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@lix-js/plugin-md": minor | ||
| --- | ||
|
|
||
| Prepare the Markdown plugin for its first public publish on npm. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,15 @@ | ||
| { | ||
| "name": "@lix-js/plugin-md", | ||
| "type": "module", | ||
| "private": true, | ||
| "version": "0.1.3", | ||
| "license": "Apache-2.0", | ||
| "types": "./dist/index.d.ts", | ||
| "exports": { | ||
| ".": "./dist/index.js" | ||
| }, | ||
| "publishConfig": { | ||
| "access": "public" | ||
| }, | ||
| "scripts": { | ||
| "build": "rolldown -c", | ||
| "typecheck": "tsc --noEmit", | ||
|
|
@@ -36,4 +39,4 @@ | |
| "typescript": "^5.5.4", | ||
| "vitest": "4.0.0-beta.11" | ||
| } | ||
| } | ||
| } | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Missing files field for npm publicationThe package is being prepared for publication but lacks a |
||
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.
With
publishConfig.accessset to public this package is now publishable, but there is still nofileswhitelist or local.npmignoreto override the repo-wide.gitignorethat ignores everydistdirectory. Whennpm/changesets publishruns, thedist/index.js/index.d.tsoutputs referenced byexportsandtypeswill be excluded from the tarball, so consumers will install a package without its entry point. Consider adding afileslist or.npmignoreso the built artifacts are shipped.Useful? React with 👍 / 👎.