-
Notifications
You must be signed in to change notification settings - Fork 37
Toolkit v5.0.0 Proposed Changes #262
Comments
This bug was logged: #257. It discusses default configuration issues and makes me wonder if how we should handle this. We could:
We should land on a consensus before v5 is released. |
These are a lot of changes. It might be worth maintaining a v5 branch for this work to keep PRs manageable. For example: toolkit-v5...toolkit-v5-remove-nightwatch. |
Recent changes to aggregate-translations script added the |
In our meeting on Friday, March 15th, we talked about turning terra-toolkit into a monorepo. Not sure if this GitHub issue is the best to comment on or if a new issue should be logged for the terra-toolkit monorepo concept. I'd like to see the code in this repo split into 3 packages: With the idea of terra-toolkit becoming a monorepo, I'm curious what others think about this proposed split of the current repo. I'm also curious what others think about some of the other singular repos we have like eslint-config-terra, stylelint-config-terra, browserslist-config-terra, and generator-terra-module. Should we pull those repos under the terra-toolkit repo if we go down the monorepo path for terra-toolkit? |
Possibly terra-scripts? We also have our tt-serve and serve static scripts as well as aggregate themes. |
Our toolkit currently has some coupled logic: I think this breakdown could result in the following mono-repo structure :
One could even argue our custom services could be their own package such that @mjhenkes I do think |
As long as Terra scripts and Terra utility themselves don’t turn into junk drawers |
As for issue #257 I propose we drop the script defaults and rely on the defaults in the code later. Thus the fallback goes cli options, config file, and then defaults |
I like the proposal @emilyrohrbough posted. I think decoupling the various features in terra-toolkit is a highly needed improvement. I also see value in terra-scripts or terra-cli package that could be appropriate for managing the .bin executables we provide and dry up the amount of packages within the repo. In regards to implementation details of the monorepo, I do think using lerna would be good to manage the toolkit monorepo. While a lot of these packages can be standalone, a concern I have is the devDependencies they use. Most of them will share common dependencies, I'm mainly thinking of babel. Being able to hoist the devDependency up and have 1 instance of it would be nice. I believe this should be possible without lerna, but I do think lerna makes managing that easier. |
We could also create a terra-toolkit package in the mono-repo structure that will house our default peer dependency recommendations and provide an one-to-one out of the box place for people to reference the new packages. Would need to test this theory, but then we could create set the root-level package.json to Quick reference to other projects that use mono-repos: |
Proposed Changes
Wdio
Webpack
Axe
Scripts
- [ ] remove Arabic translation from supported locales: #229Dependencies
Issues to ConsiderWon't Fix in v5The text was updated successfully, but these errors were encountered: