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

17 Commits

Author SHA1 Message Date
Dusty Greif
c71e7df03b
Fail dist build when for postcss warnings (#2180)
* Fail dist build when for postcss warnings

* Create rotten-phones-ring.md

Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2022-07-29 13:26:30 -07:00
Jon Rohan
e47324faa4
Convert build tools to use dart-sass (#1617)
* Installing dart-sass

* Moving css compiling to separate file

* Removing node version

* Create polite-mayflies-refuse.md

* Don't compile support files

* Fix test to not check support

* Create olive-ants-kick.md
2021-09-24 00:49:00 +00:00
Jon Rohan
be518b8023
Updating deprecations.js file to be more straightforward (#1581)
* Updating deprecations.js file to be more straightforward

* Create poor-coins-fix.md

* Remove tests

* Adding more info about the deprecation to the doc

* Title section

* Moving data to deprecations.json

* Moving data to deprecations.json

* Lint only scss files
2021-09-10 10:54:26 -07:00
dependabot[bot]
f27faef3eb
Bump globby from 11.0.4 to 12.0.0 (#1515)
* Bump globby from 11.0.4 to 12.0.0

Bumps [globby](https://github.com/sindresorhus/globby) from 11.0.4 to 12.0.0.
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](https://github.com/sindresorhus/globby/compare/v11.0.4...v12.0.0)

---
updated-dependencies:
- dependency-name: globby
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Import globby

* Converting tests

* Ignore docs test

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Rohan <yes@jonrohan.codes>
2021-08-11 17:11:35 -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
07c8d5aebc
Fixing analyze-variables script 2021-04-08 19:34:17 -07:00
Jon Rohan
f003e60997
Fixing eslint config 2021-04-07 08:33:42 -07:00
Michelle Tilley
728e4805aa
Merge branch 'mkt/color-modes-whee' into mkt/color-modes-docs 2020-12-15 12:09:06 -08:00
Michelle Tilley
98268ae488
Experiments with dimmed 2020-12-14 13:54:36 -08:00
Michelle Tilley
c4a5d72b20
Re-enable variable analysis
Since we currently have a lot of old variables aliased to the new CSS
color variables, I modified the variable analysis function to skip any
variable with a computed value that is a CSS variable (i.e. matches
the regex `/^var\(--.*\)/`).
2020-10-29 11:02:16 -07:00
Michelle Tilley
8d98afd79e
Disable variable analysis during build 2020-08-10 10:39:07 -07:00
Shawn Allen
47bad4ac96 fix: write marketing variable data to dist/variables.json 2019-11-04 15:55:02 -08:00
Shawn Allen
e6c6ae10f3 write variables object to data/deprecations.json 2019-11-01 11:05:46 -07:00
simurai
ef8d8459d5 Resolve "output variable analysis to meta/variables.json in dist"
Original commit: 771a9f333e (diff-9356b5fb91b656dac1f038e8d9a84ed3)

Got lost while resolving a merge commit.
2019-10-31 20:37:36 +09:00
Michelle Tilley
851a70a468 Async/awaitify script/dist.js 2019-10-31 20:21:09 +09:00
Shawn Allen
771a9f333e output variable analysis to meta/variables.json in dist 2019-10-22 15:43:47 -07:00
Shawn Allen
3e91364798 rename JS scripts to *.js; lint 2019-09-10 11:28:24 -07:00