-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
* feat: first-attempt at adding rollup * feat(build-process): fix css bundling * feat(build-process): fix svg bundling ^_^ * chore(build-process): dep cleanup" * chore(build-process): fixup rollup config * feat(build-process): add messages export * chore: moved proxy exports * chore(build-process): add cjs module and script fixups Add cjs module export, rearrange npm scripts, fix for namespace exports, add cleanup rollup plugin, and copy files and folders to dist. * chore(build-process): remove thread loader from webpack config * chore: copy files from rollup * chore: inline plugins in rollup config * chore: cp -r -> -R * chore: rename demo to storybook in scripts * chore(build-process): remove remnants of thread-loader from webpack.config * chore(build-process): remove unused webpack loaders * chore(build-process): fixup deps, remove unused rollup deps * chore: disable eslint for proxy-exports dir * chore(build-systems): add cross-env for node-env setting * chore: add netlify.toml config * docs(readme): improve imports docs * chore: run prettier, adjust glob matches * chore(build-process): add rollup replace plugin for production node env setting * chore(build-process): add srync copy for orig materials * chore(build-process): remove unused proxy exports * chore(build-process): copy images as well * chore(process-build): add table-cell proxy export * chore: add script for copying files to dist folder
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
dist/ | ||
proxy_exports/**/*.js | ||
node_modules/* | ||
**/node_modules/* |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
export * as en from './en.json'; | ||
export * as de from './de.json'; | ||
export * as es from './es.json'; | ||
import * as en from './en.json'; | ||
import * as de from './de.json'; | ||
import * as es from './es.json'; | ||
|
||
export { en, de, es }; |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,31 @@ | ||
const formatMarkdown = ['npm run format:md', 'git add']; | ||
const formatJs = [ | ||
// NOTE: apparently if you pass some argument that is not a flag AFTER the `reporters` | ||
// flag, jest does not seem correctly parse the arguments. | ||
// | ||
// No tests found related to files changed since last commit. | ||
// Run Jest without `-o` or with `--all` to run all tests. | ||
// Error: An error occurred while adding the reporter at path "/path/to/file".Reporter is not a constructor | ||
// | ||
// For that reason, we move the `--onlyChanged` flag next to it. | ||
'npm run lint:js -- --reporters=jest-silent-reporter --onlyChanged', | ||
]; | ||
const formatCss = [ | ||
// NOTE: apparently if you pass some argument that is not a flag AFTER the `reporters` | ||
// flag, jest does not seem correctly parse the arguments. | ||
// | ||
// No tests found related to files changed since last commit. | ||
// Run Jest without `-o` or with `--all` to run all tests. | ||
// Error: An error occurred while adding the reporter at path "/path/to/file".Reporter is not a constructor | ||
// | ||
// For that reason, we move the `--onlyChanged` flag next to it. | ||
'npm run lint:css -- --reporters=jest-silent-reporter --onlyChanged', | ||
]; | ||
|
||
module.exports = { | ||
'{.github,src,examples}/**/*.md': ['npm run format:md', 'git add'], | ||
'{src,scripts,examples,.storybook}/**/*.js': [ | ||
// NOTE: apparently if you pass some argument that is not a flag AFTER the `reporters` | ||
// flag, jest does not seem correctly parse the arguments. | ||
// | ||
// No tests found related to files changed since last commit. | ||
// Run Jest without `-o` or with `--all` to run all tests. | ||
// Error: An error occurred while adding the reporter at path "/path/to/file".Reporter is not a constructor | ||
// | ||
// For that reason, we move the `--onlyChanged` flag next to it. | ||
'npm run lint:js -- --reporters=jest-silent-reporter --onlyChanged', | ||
], | ||
'src/**/*.css': [ | ||
// NOTE: apparently if you pass some argument that is not a flag AFTER the `reporters` | ||
// flag, jest does not seem correctly parse the arguments. | ||
// | ||
// No tests found related to files changed since last commit. | ||
// Run Jest without `-o` or with `--all` to run all tests. | ||
// Error: An error occurred while adding the reporter at path "/path/to/file".Reporter is not a constructor | ||
// | ||
// For that reason, we move the `--onlyChanged` flag next to it. | ||
'npm run lint:css -- --reporters=jest-silent-reporter --onlyChanged', | ||
], | ||
'*.md': formatMarkdown, | ||
'{.github,.storybook,examples,src}/**/*.md': formatMarkdown, | ||
'*.js': formatJs, | ||
'{.storybook,examples,scripts,src}/**/*.js': formatJs, | ||
'{.storybook,examples,src}/**/*.css': formatCss, | ||
}; |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[build] | ||
command = "yarn storybook:build" | ||
publish = ".public" | ||
|