-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat: fix incorrect node loc #288
Conversation
451a252
to
dbc1f83
Compare
this causes issue with `react/no-unescaped-entities` before so now `mdx/no-unescaped-entities` and `eslint-plugin-react` dep can be removed! fix #287
dbc1f83
to
441e521
Compare
@mdx-js/core Can you help to enable https://codesandbox.io/docs/ci for this repo? |
Why is CS needed? |
I want to publish to codesanbox's registry for testing for every PR without publishing to npm. |
What does CodeSandbox check that |
My purpose is not related to Something like |
@wooorm Can we merge and release first because it fixes a bug which breaks ESLint? |
CodeSandbox can point to a specific branch without an integration using https://codesandbox.io/s/github Is there a specific feature you're looking for from the integration? |
It seems nope. I want an installable registry instead of editing source codes. |
🤔 but codesandbox isn't an install-able registry. |
https://codesandbox.io/docs/ci
Did I misunderstand? |
Hmm, that is new. Interesting. |
codesandbox seems simplest to be integrated to me. No NPM_TOKEN or GITHUB_TOKEN required. |
Simplest for who?
True, the release team is fairly small at the moment and cautious about automation
this one could/should be easier?
|
For myself. 😂
I don't know what permissions are required, so codesanbox is the simplest one. |
And if someone is going to set up an automation of npm or GitHub packages, it would also be great to have. |
/cc @mdx-js/releasers |
Merge first, need to be released @wooorm |
Just remember that, only master source codes should be published to npm as canary version. I still think codesandbox is the best choice for PR. |
@JounQin Why not use install from github? https://docs.npmjs.com/cli/v7/configuring-npm/package-json#github-urls Released |
@wooorm The source codes are all written in |
Ah 😅 That’s another good reason for using JS (+ JSDoc based TS)!
Do you think this will help a lot of people in the case of |
Writing It is not related to codesandbox reproductions, it's just a custom npm registry to install locally. Tests added in PR only confirm the single case while the true project could be more complex, a pre-canary version is a better choice to me. |
Of course, if we merge first, and publish canary version for every commit on master, that will be fine too. |
If we use See https://ci.codesandbox.io/status/babel/babel/pr/13046/builds/112443 for instance. So, can we enable it for this repo? (I don't understand why it should not.) |
Looks cool!
Security. You’re also asking about CodeSandbox, but you don’t care about that specifically, you want to release faster.
Why not publish to the GH package registry? In GH actions, you get access to a token specifically for that repository. They have security in place so that PRs are made safe. |
Is that true? I'm just asking for installing this app on this repo. And it can always be configured later.
That's why I don't want to publish PR versions to npm nor GH registry. The user must install a specific PR version, but won't get updates automatically. We don't need to change registry config at all.
No npm token is required here Security is always important to me too. |
Ah, yes, you’re right. I can add it to one or more specific repos.
I know! But this is to reiterate my stance on npm tokens You did say “Of course, if we merge first, and publish canary version for every commit on master, that will be fine too.” before. That’s different from what you’re saying now. And such a canary version can be done with GH. So, do you prefer CSB to publish PRs, or GH for canary releases? |
I said that because it seems you disagreed to install CSB into this repo, so I proposed to release canary versions for every commit on master. And it seems true for
I'd prefer CSB always. |
Besides, Package Scoped tokens is now on npm's roadmap. |
It’s been for half a year, and it’s not moving fast. Added CSB. Here’s an example config {
// If you have a monorepo we infer your packages from your Yarn workspaces
// or lerna configuration by default. If you want to explicitly
// set what to build, you can fill the 'packages' field with paths to your
// packages
"packages": ["packages/react", "packages/react-dom"],
"sandboxes": ["new", "vanilla"]
} |
Yes, sadly. Thanks for adding CSB! ❤️
|
you probably have to open a new PR |
Yes, #299 And it works https://ci.codesandbox.io/status/mdx-js/eslint-mdx/pr/299/builds/112534 Damn great. Cheers! |
this causes issue with
react/no-unescaped-entities
beforeso now
mdx/no-unescaped-entities
andeslint-plugin-react
dep can be removed!fix #287