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
Jon Rohan
365d0eb8b9
roll back these changes
2021-03-25 13:43:57 -07:00
Jon Rohan
774ab307b6
Updating lint line
2021-03-25 13:36:35 -07:00
Jon Rohan
c9debf5d62
Rename all links and references to the default git branch being master
2021-03-21 22:34:44 -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
Kate Travers
58033cbde7
rm flash-banner docs (component was deprecated)
2019-12-20 10:57:49 -05:00
Shawn Allen
0cde1c4f04
Merge pull request #963 from primer/generate-changelog
...
Generate changelog with semantic-release
2019-11-04 16:42:53 -08:00
Shawn Allen
5d79d2dabf
lint
2019-11-04 15:59:45 -08:00
Shawn Allen
47bad4ac96
fix: write marketing variable data to dist/variables.json
2019-11-04 15:55:02 -08:00
Shawn Allen
9998cbbbf0
fix up script/test-deprecations.js
2019-11-04 15:54:34 -08:00
Shawn Allen
e6c6ae10f3
write variables object to data/deprecations.json
2019-11-01 11:05:46 -07:00
Shawn Allen
b6969f7c20
improve test-deprecations output
2019-10-31 16:06:18 -07:00
Shawn Allen
ed61a3a6d5
add variable deprecation + tests
2019-10-31 15:48:30 -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
828e3dc25e
get branch name from GITHUB_REF
2019-10-25 16:46:18 -07:00
Shawn Allen
9c041bfe4a
add script/changelog.js
2019-10-25 16:34:40 -07:00
Shawn Allen
99c223e13a
lint
2019-10-22 15:50:09 -07:00
Shawn Allen
771a9f333e
output variable analysis to meta/variables.json in dist
2019-10-22 15:43:47 -07:00
Shawn Allen
7f0cca8c4d
add script/analyze-variables.js
2019-10-22 15:43:47 -07:00
Shawn Allen
94e08d3ccd
add script/remove-needless-disables
2019-09-25 14:57:53 -07:00
Shawn Allen
f3c9415cee
don't run stylelint with --cache
2019-09-25 13:25:45 -07:00
Shawn Allen
3f96d4ed02
.stylelintrc.json -> stylelint.config.js; add script/lint-ci
2019-09-25 13:17:00 -07:00
Shawn Allen
049b110107
tidy up duplicate deprecation test messages
2019-09-10 13:28:03 -07:00
Shawn Allen
ae36cbf8c6
Merge remote-tracking branch 'origin/release-13.0.0' into remove_column_styles
2019-09-10 13:25:12 -07:00
Jon Rohan
af86d158e1
Removing layout test
2019-09-10 13:23:05 -07:00
Shawn Allen
27beb570bb
add --help screen to test-deprecations
2019-09-10 13:18:30 -07:00
Shawn Allen
448e7a732e
rename JS scripts to *.js; lint
2019-09-10 13:06:07 -07:00
Shawn Allen
69dd24f33c
improve test-deprecations messaging
2019-09-10 13:06:07 -07:00
Shawn Allen
b15b9b60cc
tidy up deprecation test messages
2019-09-10 13:06:07 -07:00
Shawn Allen
df4e4842bc
add script/test-deprecations
2019-09-10 13:06:07 -07:00
Shawn Allen
5e55b3c1d9
derp
2019-09-10 11:36:15 -07:00
Shawn Allen
eb7cc3a9c1
rename script/check-relative-links -> .js
2019-09-10 11:36:01 -07:00
Shawn Allen
71b9992ca9
fix bundle-size-report path
2019-09-10 11:35:14 -07:00
Shawn Allen
3e91364798
rename JS scripts to *.js; lint
2019-09-10 11:28:24 -07:00
Shawn Allen
09bab3b3c3
docs-test/urls.js -> script/test-doc-urls.js
2019-09-10 11:28:09 -07:00
Shawn Allen
5a9ebe6929
disable no-console in script/
2019-09-10 11:28:09 -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
9935981fb8
Merge pull request #862 from primer/input-dark
...
Import Dropdown component; add dark variants for dropdown and text fields
2019-09-05 16:08:57 -07:00
Shawn Allen
6964be2bff
create empty stats for new bundles
2019-09-05 12:42:54 -07:00
Shawn Allen
bdd1208fc0
lint script/dist
2019-09-05 12:38:06 -07:00
Shawn Allen
5ab29b5a67
better deprecation data key naming
2019-09-05 11:55:10 -07:00
Shawn Allen
81ae8d9788
add deprecations/index.js; write dist/deprecations.json
2019-09-05 11:13:45 -07:00
Shawn Allen
c5b1ba21e0
fix new bundle diff report
2019-09-04 15:02:17 -07:00
Shawn Allen
7a9ca91d2c
add bundle README generator, template
2019-08-07 15:09:55 -07:00
Shawn Allen
7fb3c6952a
chore: delete script/check-links, dependencies
2019-05-14 15:15:00 -07:00
Shawn Allen
9d4b4663bc
fix(reports): fix args handling in bundle-size-report
2019-04-26 16:19:49 -07:00
Shawn Allen
30963bc057
internal(reports): run script/bundle-size-report --all
2019-04-26 13:56:53 -07:00
Shawn Allen
b35afa1f2f
internal(reports): add more bundle-size-report options, columns
2019-04-26 13:56:26 -07:00
Shawn Allen
3587ff562a
fix: remove the build/ directory in script/postpublish
2019-04-26 13:55:51 -07:00
Shawn Allen
7ec6f0f4e0
add script/run-reports, run *that* in prepublish
2019-04-26 13:22:14 -07:00
Shawn Allen
ff33378a47
add script/bundle-size-report
2019-04-26 13:12:00 -07:00
Shawn Allen
0efc37deb5
tidy selector-diff-report
2019-04-26 13:11:08 -07:00
Shawn Allen
77b1fa4f9f
fix: don't die on npm run publish-storybook
...
closes #724
2019-03-14 13:17:13 -07:00
Shawn Allen
52464bcfed
Merge remote-tracking branch 'origin/release-12.1.1' into fix-storybook
2019-03-06 15:57:03 -08:00
Shawn Allen
e601d78b7b
storybook: run publish-storybook on merge to master
2019-03-06 11:48:00 -08:00
Shawn Allen
d09713f60e
storybook: build to .storybuild, run script/publish-storybook
2019-03-06 11:46:16 -08:00
Emily
4b65beba8a
remove sync
2019-03-04 14:30:23 -08:00
Shawn Allen
913e890629
remove unused function from selector-diff-report
2019-02-28 16:43:34 -08:00
Shawn Allen
b4afe7ac99
run npm --silent in script/selector-diff-report
2019-02-28 15:23:36 -08:00
Shawn Allen
8cc63dbef3
fix(selector-diff-report): always rebuild the data
2019-02-28 15:19:53 -08:00
Shawn Allen
0af24fb9c0
fix: update selector-diff-report to compare @primer/css
2019-02-28 13:33:56 -08:00
Shawn Allen
3c79835402
better file names in primer-migrate test script
2019-02-13 15:49:05 -08:00
Shawn Allen
95910527a4
migrate: add primer-migrate binary, tests
2019-02-13 15:43:12 -08:00
Shawn Allen
1085ed6e4e
ci: remove custom publish statuses
2019-02-12 13:36:51 -08:00
Shawn Allen
4e0fc92365
chore: clean up dist/meta.json import lists
2019-02-12 10:30:54 -08:00
Shawn Allen
28461b4524
build: output imports to dist/meta.json
2019-02-11 22:33:03 -08:00
Shawn Allen
1b82944060
build: run selector diff report in prepublish
2019-02-11 21:46:15 -08:00
Shawn Allen
183f73f3ce
rename selector-diff.txt -> .log
2019-02-11 21:46:15 -08:00
Shawn Allen
e8728e1da5
build: output dist/meta.json with useful metadata
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
48b62d8912
chore: make script/selector-diff-report work again
2019-02-11 21:46:15 -08:00
Shawn Allen
6b64f84970
build: rework where stats go (dist/stats/{name}.json)
2019-02-11 21:46:15 -08:00
Shawn Allen
00c4d63572
build: refactor script/dist w/postcss
2019-02-11 21:46:15 -08:00
Shawn Allen
d3e7b7e803
dist: bring back dist/*.js
2019-02-11 14:34:50 -08:00
Shawn Allen
49fb5a10d2
chore: rm script/reorg 💥
2019-02-08 11:39:00 -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
4290be965e
dist: skip <index>.js (just do .json)
2019-02-07 16:12:08 -08:00
Shawn Allen
e016e8bf6c
chore: delete script/publish 🔥
2019-02-06 11:12:22 -08:00
Shawn Allen
679818e7f0
publish: prefix fx calls w/npx
2019-02-05 14:17:20 -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
2308cef1b5
publish: run npm w/--unsafe-perms for pre- and post-scripts
2019-02-05 13:13:35 -08:00
Shawn Allen
40db235ff4
publish: fix paths to dist files, nix script/server
2019-02-04 15:57:52 -08:00
Shawn Allen
897ef7ed9d
fix: run next w/npx
2019-02-04 15:48:25 -08:00
Shawn Allen
94779a5d0f
lint: whitespace in script/update-assets
2019-02-04 15:38:17 -08:00
Shawn Allen
44155e0eaa
ci: refactor dist, build, prepublish scripts
2019-02-04 15:37:52 -08:00
Shawn Allen
51521cb4a8
ci: use GH_STATUS_TOKEN for commit-status
2019-02-04 15:19:23 -08:00
Shawn Allen
01cb8c77d4
publish: run pre- and post-scripts explicitly
2019-02-04 15:14:24 -08:00
Shawn Allen
1a5da388cb
publish: add script/publish
2019-02-04 15:03:19 -08:00
Shawn Allen
1c9698a8bd
fix: fix build script, run-script
2019-02-04 14:27:39 -08:00
Shawn Allen
8895827eac
publish: copy all src/* before publishing, clean up post
2019-02-04 13:58:18 -08:00
Shawn Allen
be1aa271e0
chore: move primer build script up
2019-02-04 13:02:11 -08:00
Shawn Allen
b24c5ac127
chore: move all the docs stuff up
2019-02-04 12:55:18 -08:00
Shawn Allen
b7fee34d57
chore: remove lerna and related scripts
2019-02-04 12:36:34 -08:00