-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Removed post install script - Removed compile scripts & build:watch - Fixed TS types in several components (SelectControl, CellExpandWrapper, DateTimeRangeFloatingPicker, DateTimeFloatingPicker, ...) - Removed dead code - Missing LICENSE file in datetime package - Added mergeStyles test
- Loading branch information
Showing
77 changed files
with
2,079 additions
and
1,306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import type { Options } from 'tsup'; | ||
import styledComponentsPlugin from 'esbuild-plugin-styled-components'; | ||
|
||
export const tsupConfig: Options = { | ||
// Here is the plugin for that allow us to use the | ||
// styled-components CSS prop properly | ||
// https://github.com/appzic/esbuild-plugin-styled-components | ||
esbuildPlugins: [styledComponentsPlugin({})], | ||
sourcemap: true, | ||
clean: true, | ||
dts: true, | ||
minify: 'terser', | ||
format: ['esm', 'cjs'], | ||
metafile: true, | ||
treeshake: true, | ||
// silent: true, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import react from '@vitejs/plugin-react'; | ||
import { defineConfig } from 'vitest/config'; | ||
|
||
export const vitestConfig = defineConfig({ | ||
// Here is the plugin for React that allow us to use the babel plugin for | ||
// styled-components and test the CSS prop output properly | ||
// https://styled-components.com/docs/tooling#babel-plugin | ||
plugins: [ | ||
react({ | ||
babel: { | ||
plugins: [ | ||
[ | ||
'babel-plugin-styled-components', | ||
{ | ||
ssr: false, | ||
pure: true, | ||
displayName: command !== 'build', | ||
fileName: command !== 'build', | ||
}, | ||
], | ||
], | ||
}, | ||
}), | ||
], | ||
test: { | ||
environment: 'happy-dom', | ||
include: ['{src,stories}/**/*.test.ts?(x)'], | ||
coverage: { | ||
provider: 'v8', | ||
include: ['{src,stories}/**/*'], | ||
}, | ||
}, | ||
}); |
Oops, something went wrong.