1
1
mirror of https://github.com/primer/css.git synced 2024-12-27 08:05:06 +03:00
Commit Graph

390 Commits

Author SHA1 Message Date
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
Jon Rohan
a3c4bc263e
Merge pull request #1263 from primer/primer_script_cleanup
Cleanup unused scripts
2021-03-26 10:24:00 -07:00
Jon Rohan
860cf087f9
Remove from test docs script 2021-03-26 09:32:04 -07:00
Jon Rohan
ed246df7c2
Cleaning up unused scripts 2021-03-26 09:27:18 -07:00
simurai
c06973ea33
Merge branch 'master' into rename_master_to_main 2021-03-26 09:42:58 +09:00
Jon Rohan
87920e1adc
Removing changelog script 2021-03-25 17:18:04 -07:00
Jon Rohan
ce12bc5cd2
Merge branch 'master' into setup_changesets 2021-03-25 17:14:26 -07:00