1
1
mirror of https://github.com/primer/css.git synced 2024-12-23 14:13:14 +03:00
Commit Graph

396 Commits

Author SHA1 Message Date
Jon Rohan
207070961e Fix bundle size report 2024-01-02 18:51:10 +00:00
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
Katie Langerman
ad358f2087
Remove Gatsby docs site (#2484)
* upgrade

* add all stories

* new directory

* move back to docs

* remove from root

* cleanup

* try node 16

* adjust build script

* try to fix build

* try node 16

* maybe?

* please

* bye gatsby

* fix button story

* add info banner

* add missing marketing docs
2023-07-13 15:14:44 -07:00
Jon Rohan
8f1f95c85c Adding build-css script for watching in dev mode 2022-08-12 21:52:28 +00:00
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
Rez
40b9e1674c
add deployment workflows for GitHub Pages (#2038)
* add workflows

* change trigger to pull_request

* remove duplciate workflow stage name

* remove workflow trigger conditions

* switch to experimental workflow

* attempt restoring storybook environment

* fix build trigger

* apply correct storybook environment

* add deployments to permissions

* bump more permissions

* add ref

* another workaround

* change target_url to make deployment appear

* revert ref stuff
2022-04-19 16:26:47 -07:00
Kate Higa
6d1cc359cf
Add accessibility checks for component documentation examples (#2017)
* * run axe on doc examples

* * update script

* * update axe.yml

* * update script to zsh

* * update axe.yml

* * fix indentation

* * fix script

* * can't use zsh script

* * fix syntax of calling array in bash

* * ensure that we don't run axe on pages we want to exclude

* * add to list

* * include utilities

* * add documentation to script

* * add back localhost

* * fix weird formatting

* bad

* bad

* bad

* bad

* * update script to only run on updated paths we care about

* * update comments on script*

* * move modified files check to action

* add fetch-depth

* add quotes

* * introduce GitHub Action workflow

* * refactor

* pass env variable to bash script

* update script and fix id

* * ensure array is used

* remove temporary testing changes

* * update message slightly

* Revert "remove temporary testing changes"

This reverts commit fc332142a8.

* add back exit code

* fix variables

* Revert "fix variables"

This reverts commit 191b02d5ea.

* update message

* update message

* add back files removed for testing

Co-authored-by: Katie Langerman <langermank@github.com>
2022-04-12 14:19:47 -07:00
Josh Soref
4d2efad7a5
Spelling (code changes) (#1982)
* spelling: contains

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: func

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: itemis

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Katie Langerman <langermank@github.com>
2022-04-12 13:57:56 -07:00
Josh Soref
357d3f2b4c
Spelling (#1981)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2022-03-08 04:29:10 +00:00
Jon Rohan
bb8895db89
Upgrade stylelint config and adding stylelint scripts (#1934)
* Upgrading to @primer/stylelint-config@12.3.1

* Adding scripts for automating stylelint tasks

* Disabling violations after upgrade
2022-02-09 08:38:01 -08:00
Jon Rohan
20e0cebce2
Fixing docs build (#1634) 2021-10-01 16:22: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
122eb0ecd9
Removing the stylelint-todo custom plugin (#1618)
* Removing the stylelint-todo custom plugin

* Revert change
2021-09-23 10:59:55 -07:00
Jon Rohan
53e78d1e64 Fixing bundle report size for bundle that doesn't exist 2021-09-16 18:54:24 -07: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
Jon Rohan
9ad951d1ac
Updating stylint config (#1578)
* Updating stylint config

* Remove needless disables
2021-09-07 19:58:09 -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
93b40e7b7d
Properly calculating the variables computed value for dist 2021-05-25 14:29:18 -07:00
Jon Rohan
82e575f625
Test force 2021-05-05 13:45:27 -07:00
Jon Rohan
90826c205b
Only 1 line before after 2021-05-05 13:15:12 -07:00
Jon Rohan
bea6ecc079
Sort and uniq the selectors 2021-05-05 12:38:18 -07:00
Jon Rohan
ccec5cfcd7
Merge branch 'main' into welcome_template
Conflicts:
	.github/workflows/triage.yml
2021-05-05 10:21:51 -07:00
Jon Rohan
18aa0c9700
Using yarn instead of npm 2021-04-11 20:39:17 -07:00
Jon Rohan
eb7ba12cae
Don't show bundles that haven't changed 2021-04-10 13:53:25 -07:00
Jon Rohan
fef5d92214
Change bundle report to markdown 2021-04-10 13:36:52 -07:00
Jon Rohan
6f9a990356
Integrate into more workflows 2021-04-10 11:07:24 -07:00
Jon Rohan
600fa4fd0b
updating the diff report to output diff 2021-04-10 09:11:02 -07:00
Jon Rohan
753a825faf
Refactor bundle-size-report script 2021-04-09 21:54:34 -07:00
Jon Rohan
07c8d5aebc
Fixing analyze-variables script 2021-04-08 19:34:17 -07:00
Jon Rohan
63764f7edd
Upgrade analyze-variables plugin 2021-04-08 10:27:54 -07:00
Jon Rohan
f003e60997
Fixing eslint config 2021-04-07 08:33:42 -07:00
Jon Rohan
e0c0332a8c
remove script 2021-04-02 11:11:43 -07:00
Jon Rohan
98641d16dc
non deploy test 2021-04-02 11:06:31 -07:00
Jon Rohan
b1931bb768
check deploy 2021-04-02 11:04:54 -07:00
Jon Rohan
3fb6d9970b
Adding list 2021-04-02 10:59:18 -07:00
Jon Rohan
cba43a0829
update script info 2021-04-02 10:46:44 -07:00
Jon Rohan
964c3c4b81
adding script 2021-04-02 10:40:40 -07:00
Jon Rohan
a4ce7a6980
Removing storybook 2021-04-01 13:50:48 -07:00
Jon Rohan
ce47dab85c
Moving stylelint plugin to script folder 2021-04-01 08:46:29 -07:00
Jon Rohan
69011c3f2d
delete test-deprecations 2021-03-31 23:11:27 -07:00
Jon Rohan
2e9f7c4ed6
create pretest script 2021-03-31 22:40:51 -07:00
Jon Rohan
fea05b9f3f
Merge branch 'main' into jest_tests 2021-03-31 15:58:14 -07:00
Jon Rohan
74a3ed1941
Delete the rest of the static folder 2021-03-31 15:39:16 -07:00
Jon Rohan
1007be5723
Removing check relative links script 2021-03-30 17:13:58 -07:00
Jon Rohan
34129eafb2
Delete generate-bundle-readmes 2021-03-29 23:00:23 -07:00
Jon Rohan
5aa2a95df2
This test was made when we moved from styleguide.github.com to primer.style 2021-03-29 23:00:16 -07:00
simurai
b8c641f7b5 Lint 2021-03-30 12:16:11 +09:00
Jon Rohan
dcfd2a6fd6
Change eslint sources 2021-03-26 17:01:41 -07:00
Jon Rohan
a83973c39a
Rename workflow and test deprecations again 2021-03-26 11:19:04 -07:00