-
Notifications
You must be signed in to change notification settings - Fork 53
Conversation
bdde748
to
f3fe241
Compare
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.
Love it 😍
Can we also run https://github.com/atlassian/yarn-deduplicate |
|
@layershifter I noticed the internal-tooling package is currently published to npm. Is there a reason for that? |
@ecraig12345 I don't think so, let's make it private |
577ec8a
to
0e9fb42
Compare
524d7e1
to
b441d60
Compare
b441d60
to
b64c9de
Compare
This reverts commit f5b936a.
9479c4e
to
b030350
Compare
…eact into chore/all-packages � Conflicts: � yarn.lock
I fixed it in |
@layershifter Thanks! Yeah accidentally updating React is not good! |
@layershifter Screener is reporting 1 visual regression, but I don't have permission to view the link. https://screener.io/v2/dashboard/5da858d6bca5864d660633ed/2218 |
To clarify this: the issue is that it's misinterpreting the This isn't an immediate problem, but if we did want to get rid of the relative paths, some possible solutions:
|
Description
Promote
build
,docs
,e2e
, andperf
to full packages (for now that just means they have their ownpackage.json
) and start moving dependencies from the root to appropriate places. To reduce noice, I left the folders in the same locations--that can be fixed when we do the repo merge.I also repurposed the
@fluentui/internal-tooling
package name: removedpackages/internal-tooling
and put its contents underbuild
, and used the name@fluentui/internal-tooling
for the new package in thebuild
folder. That seemed like it would simplify things slightly since everything already has@fluentui/internal-tooling
as a dev dependency, but I'm open to other approaches.Dev workflow impact
New dependencies which are specific to
build
,docs
,e2e
, orperf
should be added into thepackage.json
for that folder, not the rootpackage.json
. (Adding to the root will still work, but is not correct.)Smaller changes
config.ts
from the root intobuild
-- that's where it's used mostly, and it lets the couple other packages that need it require it from theinternal-tooling
packagegulp-load-plugins
with explicit imports fromgulp-util
-- this is the only plugin which appears to be used currently, and directly importing it makes the dependency more explicitlerna-aliases
to make sure the new packages won't cause problems, and removed them from the lists in the couple problematic places (they should be harmless in things likemoduleNameMapper
orresolve.alias
)build
to use@fluentui/internal-tooling
instead. Exception is config inheritance, where package-based imports either outright don't work or cause strange issues (see comment about tsconfig).@fluentui/internal-tooling
not be published going forward