feat: nuke UI project; start new with updated tooling BREAKING_CHANGE (#1468)
BREAKING_CHANGE * initial structure for components rewrite * WIP Input * WIP Label * add button props * add label class name * fix dependency * new examples buttonModules & buttonEmotion + refac * clean up to merge initial code into base branch * remove unused file * extend default theme -- add new colors * chore: prettier formatting * chore: try to exclude feature branch PRs * chore: suggest toml syntax highlighting extension * chore: capture yarn.lock changes * docs: condense readme * chore: update deploy preview to build docz component library * chore: Add component library to deploy preview index * chore: fix invalid tailwindcss config * chore: try tweaking toml to kickstart preview * chore: revert * chore: fix formatting of file index * chore: don't waste precious build minutes on a broken build * chore: chmod build-and-deploy.sh * ci: nuke circleci until we need the workflows on master * debug lerna commands * remove redundant yarn commands * try nohoist * revert tests * attempt to resolve import issue * force update yarn lock * try new workarounds for yarn version * another workaround * shift vtk to extension repo deps * catch vtk addition * update lock * Try older yarn version * try again * debugging * fix: yarn doctor warnings * learn some life lessons from the yarn docs * clean up netlify.toml * clean up netlify.toml * yarn package doctor react-dom * yarn doctor: missing peer dep * yarn doctor, satisfying webpack loader peer deps * fix docz base path for deploy-preview * yarn docter: replaced prePublishOnly usage * More yarn doctoring * ignore .yarn directory * fix last yarn doctor warning * updated yarn lock Co-authored-by: Rodrigo Antinarelli <rodrigoantinarelli@gmail.com>
This commit is contained in:
1 parent
8c90d76ea6
commit
d6e3b45f3c
28 files changed
+22736
-693
No files matched your search
+23
-20
@@ -1,39 +1,42 @@
|
||||
const path = require("path");
|
||||
// https://github.com/facebook/jest/issues/3613
|
||||
// Yarn Doctor: `npx @yarnpkg/doctor .` -->
|
||||
// '<rootDir>' warning:
|
||||
// Strings should avoid referencing the node_modules directory (prefer require.resolve)
|
||||
|
||||
module.exports = {
|
||||
verbose: true,
|
||||
roots: ["<rootDir>/src"],
|
||||
roots: ['<rootDir>/src'],
|
||||
transform: {
|
||||
"^.+\\.js$": "babel-jest"
|
||||
'^.+\\.js$': 'babel-jest',
|
||||
},
|
||||
testMatch: ["<rootDir>/src/**/*.test.js"],
|
||||
testPathIgnorePatterns: ["<rootDir>/node_modules/"],
|
||||
moduleFileExtensions: ["js", "jsx"],
|
||||
testMatch: ['<rootDir>/src/**/*.test.js'],
|
||||
testPathIgnorePatterns: ['<rootDir>/node_modules/'],
|
||||
moduleFileExtensions: ['js', 'jsx'],
|
||||
moduleNameMapper: {
|
||||
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$":
|
||||
"<rootDir>/src/__mocks__/fileMock.js",
|
||||
"\\.(css|less)$": "identity-obj-proxy"
|
||||
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
|
||||
'<rootDir>/src/__mocks__/fileMock.js',
|
||||
'\\.(css|less)$': 'identity-obj-proxy',
|
||||
},
|
||||
// Setup
|
||||
// setupFiles: ["jest-canvas-mock/lib/index.js"],
|
||||
// Coverage
|
||||
reporters: [
|
||||
"default",
|
||||
'default',
|
||||
// Docs: https://www.npmjs.com/package/jest-junit
|
||||
[
|
||||
"jest-junit",
|
||||
'jest-junit',
|
||||
{
|
||||
addFileAttribute: true // CircleCI Only
|
||||
}
|
||||
]
|
||||
addFileAttribute: true, // CircleCI Only
|
||||
},
|
||||
],
|
||||
],
|
||||
collectCoverage: false,
|
||||
collectCoverageFrom: [
|
||||
"<rootDir>/src/**/*.{js,jsx}",
|
||||
'<rootDir>/src/**/*.{js,jsx}',
|
||||
// Not
|
||||
"!<rootDir>/src/**/*.test.js",
|
||||
"!**/node_modules/**",
|
||||
"!**/__tests__/**",
|
||||
"!<rootDir>/dist/**"
|
||||
]
|
||||
'!<rootDir>/src/**/*.test.js',
|
||||
'!**/node_modules/**',
|
||||
'!**/__tests__/**',
|
||||
'!<rootDir>/dist/**',
|
||||
],
|
||||
};
|
||||
Reference in new issue
Block a user