-
Notifications
You must be signed in to change notification settings - Fork 110
[ARCH] 01 - Sass lib -> src & Yarn workspaces #603
Conversation
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.
Lots of stuff has not been tested and a big change like this it will a requirement. I would recommend looking into testing local folders as npm packages. Make sure that you can npm i @gov.au/accordion
and copy paste the react and html documentation from the designsystem website. If you can not there is an issue.
My builds seem to hang and not finish. It might be worth investigating async performance or changing limits.
I also noticed a bunch of spacing changes, indentation issues and just general things that have not been explained. Might have to sit down with you and go through them all.
You made a good judgement call running yarn --verbose
there are lots of errors there that should not be showing up.
4e0faa8
to
c40f070
Compare
783f0aa
to
79bba66
Compare
Setup yarn workspaces First attempt at modifying helper.js
Reverted helper react.es5.js changes back Added gitignore for react/tests/dist Updated ES6 dependency imports to pancake root folder
8565ee2
to
6d8c870
Compare
…onents into feature/hoist-node-modules-to-root
51e4ca6
to
b7aff71
Compare
…onents into feature/hoist-node-modules-to-root
* First steps with yarn workspaces * Switched sass imports to read from src Setup yarn workspaces First attempt at modifying helper.js * Removed pancake folder * Upgraded babel and webpack * Updated circleci image and build process * Upgraded webpack ES6 for babel-loader Upgraded ES6 helper babel process * Commented out devDep checks, need to rewrite * Added node-module caching to circleci * Put restore_cache key in wrong order :'( * Removed pancake root key Gave module versions some love Updated circleci comments * Package formatting * Installed mocha/chai over jest, removed jest * Updated 50% of unit tests * Renamed packages -> components * Installed babel preset minify * added preset to .babelrc * updated README.md * Trailing process.exit for circleci * Updated autoprefixer tag to be inline with spec Trialing node direct script over yarn * Added mode flag to webpack config - creates warning in webpack 4 * Playing around with puppetter args and circle images * Removed debug flags, trying node image * Updated circleci image * Helper should read from src for file check and build to lib/ * Correct webpack config to reference babel-preset-minify as a plugin not preset * Removed all instances of babel-preset-minify * Various tweaks based on PR review * Added back missing spacing * Added back es5 name convention * Webpack formatting * Forgot es5 name convention * Dependency shuffling * Added back ES6 dep comment * Trailing why git thinks _deps is new * Updated webpack output location Reverted helper react.es5.js changes back Added gitignore for react/tests/dist Updated ES6 dependency imports to pancake root folder * Added nuke script for pancake/ * Temporary resolved yarn workspace building by pretending animate requires sass * Added missing sass: name false key to animate * Reverted pretending animate hass sass * Resolved root and core vulnerabilities * Added missing whitespace in core * Updated engines, removed verbose --pancake from animate * Added back webpack ./bundle.js -> bundle.js * Updated local install instructions for yarn and grammar * Updated FAQ notes for yarn * Updated auds.json from latest develop * Upgraded circle node images to latest lts
Fix #602
CHANGES
packages
->components
.cfignore
- not used anymoresrc/
overlib/
node_modules
into shared root foldernode_modules/
mocha
overjest
for animate unit testswebpack 3
->webpack 4
- This includes moving to@babel/7
which brings some really good optimizationsISSUES
sass-verioning
functionality with this change. Reading our sass files fromsrc/
results in versioning to fail as we are now checking files that haven't had their dependencies set. We should look at bringing this or an alternative of this back sometime in the future.NOTES
This branch fails to build in Windows due to pathing complications from
pancake
. We should look at resolving this but our Windows support in general is something else to discuss.This PR will require publishing new changes to the following packages:
due to the minor changes of updating prefixer causing
text-decoration-skip: ink;
->text-decoration-skip-ink: auto;