1
1
mirror of https://github.com/primer/css.git synced 2024-12-29 09:06:07 +03:00
Commit Graph

380 Commits

Author SHA1 Message Date
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
Shawn Allen
199a4e4d50 chore: update script/selector-diff-report for reorg 2019-02-04 12:36:07 -08:00
Shawn Allen
3b65d3a4b3 chore: update script/publish-storybook for actions 2019-02-04 12:35:41 -08:00
Shawn Allen
29e30cc02b chore: nix script/npm-run{,-all} 2019-02-04 10:50:50 -08:00
Shawn Allen
e6bde01760 fix: make sure we migrate all the markdown 2019-01-28 16:40:39 -08:00
Shawn Allen
0621d9e2a7 refactor: delete tools/generator-primer-module 🔥 2019-01-28 16:40:39 -08:00
Shawn Allen
e0870b2971 rename "go" function to "__" 2019-01-28 16:40:39 -08:00
Shawn Allen
484c12e800 do more stuff 2019-01-28 16:40:39 -08:00
Shawn Allen
7830f3cc6e reset tools, too 2019-01-28 16:40:39 -08:00
Shawn Allen
c9451433fd replace primer/primer with primer/css in tools 2019-01-28 16:40:39 -08:00
Shawn Allen
eb22533b0e just delete the source module directory 2019-01-28 16:40:39 -08:00
Shawn Allen
bbf7c05faf move lib/* up a directory 2019-01-28 16:40:39 -08:00
Shawn Allen
3b7820cc82 clean up script/reorg 2019-01-28 16:40:39 -08:00
Shawn Allen
e07c5cc6a9 fold reorg-reset into script/reorg 2019-01-28 16:40:39 -08:00
Shawn Allen
9270e09042 add --help and --dry-run flags to script/reorg 2019-01-28 16:40:39 -08:00
Shawn Allen
097a211900 move reset stuff from script/reorg => script/reorg-reset 2019-01-28 16:40:39 -08:00
Shawn Allen
c7b461f751 don't exit 2019-01-28 16:40:39 -08:00
Shawn Allen
a7f8df07b0 add script to reorganize the monorepo 2019-01-28 16:40:39 -08:00
Shawn Allen
3ecdc6e4bb ci: tweak docs pending commit status 2019-01-25 15:17:12 -08:00
Shawn Allen
2be44f23cc Revert "ci: add branch + version metadata to docs deployments"
This reverts commit 5a78e62dc0.
2019-01-24 11:27:56 -08:00
Shawn Allen
80c32bd241 ci: abbreviate commit status per #518 2019-01-24 11:03:46 -08:00
Shawn Allen
5a78e62dc0 ci: add branch + version metadata to docs deployments 2019-01-24 10:57:01 -08:00
Shawn Allen
642d7fa90b test: add script/selector-diff-report 2019-01-23 15:31:51 -08:00
Shawn Allen
a158835bd0 print the working dir in script/notify 2019-01-22 14:36:56 -08:00
Shawn Allen
d729bf6235 only check links if CHECK_LINKS=1 2019-01-17 15:01:18 -08:00
Shawn Allen
0bc0eeca45
ci: don't check links on Travis
...unless "[check-links]" is in the commit message
2019-01-17 14:47:22 -08:00
Shawn Allen
7941d5378d ci: don't check links on Travis 2019-01-15 11:50:07 -08:00
Shawn Allen
a5658d306f docs: alias docs to now.json "alias" field on master 2019-01-15 11:37:21 -08:00
Shawn Allen
0efd5d919c fix up the call in link check error message [skip ci] 2019-01-11 14:29:22 -08:00
Shawn Allen
b9051853fb run check-links with: -v -m=5 for more detail + speed 2019-01-11 14:29:22 -08:00
Shawn Allen
445dd94f31 do the primer.css copy in prebuild, not deploy-docs 2019-01-11 14:29:22 -08:00
Shawn Allen
b27c56d591 fail builds with broken links 2019-01-11 14:29:22 -08:00
Shawn Allen
0164e948ac tweak how link checker is run in Travis 2019-01-11 14:29:22 -08:00
Shawn Allen
1027a23113 run script/check-links after deploying docs 2019-01-11 14:29:22 -08:00
Shawn Allen
87d68cd4fb run the link checker after deploying docs 2019-01-11 14:29:22 -08:00
Shawn Allen
36125bde54 tidy up docs commit status text 2019-01-08 13:38:49 -08:00
Shawn Allen
f3a4f1a028 deploy docs after releasing 2019-01-08 13:38:38 -08:00
Shawn Allen
93f4e15229 Fix compare-published for private package (docs) 2019-01-07 16:03:15 -08:00
Shawn Allen
eb2780e64e fix path to script/try-publish 2019-01-07 15:38:55 -08:00
Shawn Allen
5c2719f869 add back bump script 2019-01-07 14:58:32 -08:00
Shawn Allen
da3ba6a1b6 pass args through in script/release-candidate 2019-01-07 14:34:20 -08:00
Shawn Allen
2ab362a3fe use the travis branch env vars 2019-01-07 14:09:00 -08:00
Shawn Allen
c09bf292c1 simplify travis deployment config w/deploy script 2019-01-07 13:48:45 -08:00
Shawn Allen
d9b3997c52 move release-pr conditions back to the script again 2019-01-07 13:40:31 -08:00
Shawn Allen
7324c66fd0 simplify release-pr logic again 2019-01-07 13:27:02 -08:00
Shawn Allen
0bc4102b68 echo out the release-pr branch 2019-01-07 13:13:56 -08:00
Shawn Allen
d9c365a1f9 write primer-version.txt instead of VERSION (because Lerna) 2019-01-04 15:18:57 -08:00
Shawn Allen
955f170cb8 tighten up deploy commit statuses 2019-01-04 13:48:24 -08:00
Shawn Allen
0b0648ab5d nix happy-new-year script 2019-01-04 13:07:03 -08:00
Shawn Allen
e7877054c4 move lerna-changelog back into release-candidate 2019-01-04 11:59:00 -08:00
Shawn Allen
68718b7f67 post a pending commit status for docs deployment 2019-01-04 11:56:03 -08:00
Shawn Allen
1b177abe7b move script/release-pr to deploy stage 2019-01-04 11:30:57 -08:00
Shawn Allen
d0074b010a don't run generate-changelog on master releases 2019-01-04 11:29:42 -08:00
Shawn Allen
af3a3185f9 nix script/after_success 2019-01-04 11:26:11 -08:00
Shawn Allen
3dc61a4ec4 only update primer version in docs on mismatch 2019-01-04 11:12:35 -08:00
Shawn Allen
9538cf98b2 add script/happy-new-year 2019-01-04 11:02:37 -08:00
Shawn Allen
f3539dccee only get the primer version from VERSION if it exists 2019-01-04 10:40:04 -08:00
Shawn Allen
5efe7b38d5 write published primer version to /VERSION, use that 2019-01-04 10:40:04 -08:00
Shawn Allen
0935b47688 update the docs primer dependency version manually 2019-01-04 10:40:04 -08:00
Shawn Allen
290f87711e fix script/get-packages 2019-01-04 10:40:04 -08:00
Shawn Allen
924a9758f6 add --dry-run support to script/release-candidate 2019-01-04 10:34:53 -08:00
Shawn Allen
46d8fd945b add standalone pre-release check script 2019-01-04 10:34:53 -08:00
Shawn Allen
85a1ea5aa1 clean up release scripts; separte out changelog script 2019-01-04 10:34:53 -08:00
Shawn Allen
487d98beb1 just do lerna publish --canary for release candidates 2019-01-04 10:34:53 -08:00
Shawn Allen
330d180e36 tidy up release-candidate script again 2019-01-04 10:34:54 -08:00
Shawn Allen
f94b5b255d don't exclude docs from getPackages() 2019-01-04 10:34:53 -08:00
Shawn Allen
419841eac6 only publish non-private packages 2019-01-04 10:34:53 -08:00
Shawn Allen
5e85cb9f54 use dashes instead of underscores in branch alias 2019-01-04 10:34:53 -08:00
Shawn Allen
b445ecd3a3 sanitize dots in branch names 2018-12-21 14:39:39 -08:00
Shawn Allen
b97a1af4d8 move docs build to Travis deploy stage 2018-12-21 14:39:20 -08:00
Shawn Allen
cb1a385897 exclude private packages in getPackages() 2018-12-21 14:29:50 -08:00
Shawn Allen
e1bc134359 tidier 2018-12-21 14:29:37 -08:00
Shawn Allen
da3f5ac1c8 whitespace 2018-12-21 14:28:23 -08:00
Shawn Allen
e941cdf401 exclude private packages from rc versioning 2018-12-21 13:41:38 -08:00
Shawn Allen
9b4caa84a0 do branch urls better, derp 2018-12-21 13:19:12 -08:00
Shawn Allen
0e90ca80cf use the pr branch in now alias 2018-12-21 13:17:17 -08:00
Shawn Allen
6e6954679d fix prefix branch alias url with https:// 2018-12-21 12:14:21 -08:00
Shawn Allen
97cbe9d9f8 update the commit status url to the branch alias 2018-12-21 11:12:11 -08:00
Shawn Allen
ac4ad256da alias the deployment to primer-css-$TRAVIS_BRANCH 2018-12-21 11:06:57 -08:00
Shawn Allen
6108e0c9ed npm run sync manually (not prepare) 2018-12-17 15:26:50 -08:00
Shawn Allen
ff8d0cbbce run prepare in docs dir before deploying 2018-12-17 15:26:50 -08:00
Shawn Allen
176744b28e tweak deploy commit status 2018-12-17 15:26:50 -08:00
Shawn Allen
d7a8e7b03e copy primer css build in script/build-docs 2018-12-17 15:26:50 -08:00
Shawn Allen
511d7aaaec tweak commit-status args 2018-12-17 15:26:50 -08:00
Shawn Allen
7a99f8257b run now + commit-status via npx 2018-12-17 15:26:50 -08:00
Shawn Allen
2700bd6a90 deploy it! 2018-12-17 15:26:50 -08:00
Shawn Allen
77be5e686b simplify script/build-docs 2018-12-17 15:26:09 -08:00
Shawn Allen
f66aed2d5a build docs on Travis :fingers_crossed: 2018-12-17 15:26:09 -08:00
Shawn Allen
2a0c3ca944 nix unused script/bump-rc 2018-11-13 15:59:06 -08:00
Shawn Allen
818efd1ad8 fix up script/check-versions 2018-11-13 15:23:19 -08:00
Shawn Allen
e90c0a78f0 go back to implied --since=master 2018-10-23 10:03:48 -07:00
Shawn Allen
ff22d1ac70 tell lerna exactly which version we're comparing 2018-10-23 09:52:21 -07:00
Shawn Allen
882ff75550 remove --since=master from lerna updated 2018-10-23 09:38:22 -07:00
Shawn Allen
2a84a10331 publish dry-run to debug version issues 2018-10-23 09:31:40 -07:00
Jon Rohan
79856df0ea Adding user details to storybook publish script 2018-07-03 11:21:41 -07:00
Jon Rohan
1417f1298f Using .git 2018-07-03 11:03:43 -07:00
Jon Rohan
44bc26ef3c Remove silent, exit if gh_token isn't present 2018-07-03 10:27:31 -07:00
Jon Rohan
ad61fd143a Don't fail 2018-07-03 10:22:36 -07:00
Jon Rohan
a74cf010dc Log so we're not hella failing 2018-07-03 10:16:20 -07:00
Jon Rohan
ca6e160395 Creating a node script to publish 2018-07-03 10:14:07 -07:00
Jon Rohan
e18a29f00a Creating a node script to publish 2018-07-03 10:14:03 -07:00
Jon Rohan
d5e8c573a8 Merge branch 'release-10.7.0' into multi_status 2018-06-28 16:28:08 -07:00
Jon Rohan
ce54470e5a Modifying notify script to publish from each package 2018-06-28 15:54:13 -07:00
Jon Rohan
2b5ec9b600
Merge pull request #515 from primer/auto_storybook
Auto publish storybook
2018-06-28 12:56:51 -07:00
Jon Rohan
e815e94a7f Remove test 2018-06-28 12:36:23 -07:00
Jon Rohan
20cad391f2 token 2018-06-28 12:25:06 -07:00
Jon Rohan
0e0c5735ce Adding user 2018-06-28 12:14:36 -07:00
Jon Rohan
9cd3522c10 Silent 2018-06-28 12:02:01 -07:00
Jon Rohan
66f4e4954f Trying the token already there 2018-06-28 11:06:22 -07:00
Jon Rohan
55fe516860 Auto publish storybook 2018-06-28 10:47:30 -07:00
Jon Rohan
34b35e4cd8 Updating the docs to account for deleting the dev branch 2018-06-25 15:07:55 -07:00