mirror of
https://github.com/primer/css.git
synced 2024-11-23 03:10:10 +03:00
303cacae77
* Set package as being a ES module package * Set `engines` key to node versions that support ES modules * Rename postcss config to a CommonJS extension * Use import and export statements * Import the default globby export * Set stylelint config files as CommonJS files * Convert prettier config to a CommonJS module * Set a root ESLint config folder * silence non-error output for dist * export esm for stats modules * Convert bundle size report * Create strong-lemons-ring.md Co-authored-by: Jon Rohan <yes@jonrohan.codes>
12 lines
212 B
Bash
Executable File
12 lines
212 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# generate the build directory
|
|
yarn dist > /dev/null
|
|
|
|
files=$(git ls-files src | sed -e 's#^src/##' | sed -e 's#/.*$##' | sort -u)
|
|
echo $files > publish-files.log
|
|
cd src
|
|
cp -rv $files ..
|
|
cd -
|