1
1
mirror of https://github.com/primer/css.git synced 2024-11-25 18:26:14 +03:00
Commit Graph

16 Commits

Author SHA1 Message Date
Jon Rohan
e1b3f4f4bd
Remove yarn in favor of npm (#2443)
* Remove yarn in favor of npm

* Create tame-turkeys-laugh.md

* Check in package-lock

* Revert

* Use auto commit action instead

* Cache and run npm ci

* Change node version to 18

* config legacy-peer-deps

* Update node version

* Also legacy peer deps in docs

* Ignore yarn.lock

* no-audit no-fund

* I dont know

* re-yarn the docs folder

* Update pakage-lock.json

* package lock

* Removing yarn from docs again

* Remove docs preview

* don't depend on deploy

* put back

---------

Co-authored-by: Katie Langerman <18661030+langermank@users.noreply.github.com>
2023-07-13 16:40:26 -07:00
Kristján Oddsson
303cacae77
Convert package to a ES module (#1528)
* 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>
2021-08-11 14:10:47 -07:00
Jon Rohan
18aa0c9700
Using yarn instead of npm 2021-04-11 20:39:17 -07:00
Jon Rohan
1ab06d37ca
Put copy info back 2021-03-25 14:16:57 -07:00
Jon Rohan
1165b07ad0
Adding bundle workflow 2021-03-25 13:53:21 -07:00
Shawn Allen
afd5a05646 remove build directory
BREAKING CHANGE: the build directory is no longer included in the
distributed package. build/stats.json can be found at
dist/stats/primer.json, and `require('@primer/css/build')` references
should be rewritten to `require('@primer/css/dist/primer')`.
2019-09-10 11:28:09 -07:00
Shawn Allen
7ec6f0f4e0 add script/run-reports, run *that* in prepublish 2019-04-26 13:22:14 -07:00
Shawn Allen
1085ed6e4e ci: remove custom publish statuses 2019-02-12 13:36:51 -08:00
Shawn Allen
1b82944060 build: run selector diff report in prepublish 2019-02-11 21:46:15 -08:00
Shawn Allen
460800741c build: make backwards-compatible build/ directory 2019-02-11 21:46:15 -08:00
Shawn Allen
389b006a9f chore: rename publish-files.txt -> .log 2019-02-07 16:40:38 -08:00
Shawn Allen
d3406fc868 publish: clean up pre-publish and post-publish scripts 2019-02-07 16:12:36 -08:00
Shawn Allen
422892579c ci: rename STATUS_CONTEXT -> PUBLISH_STATUS_CONTEXT 2019-02-05 13:56:13 -08:00
Shawn Allen
ceea4b9e89 publish: run action-status in prepublish, postpublish 2019-02-05 13:13:56 -08:00
Shawn Allen
44155e0eaa ci: refactor dist, build, prepublish scripts 2019-02-04 15:37:52 -08:00
Shawn Allen
8895827eac publish: copy all src/* before publishing, clean up post 2019-02-04 13:58:18 -08:00