Commit graph

819 commits

Author SHA1 Message Date
Brendan Forster
2a858eceec extract updateLicenseDump to separate module and promisify it 2019-01-16 08:50:41 -04:00
Brendan Forster
862e0922df
update a couple of mentions of master to development 2019-01-09 14:02:04 -04:00
Brendan Forster
8ceef71712 ensure jest-junit generates distinct files before uploading 2019-01-03 13:08:19 -04:00
Brendan Forster
4005ff8720 don't apply rule to jest config 2019-01-03 13:08:19 -04:00
Brendan Forster
a0b9185a43 remove chai assertions 2019-01-03 13:08:19 -04:00
Brendan Forster
c8f60558c2 port script tests to jest 2019-01-03 13:08:19 -04:00
Brendan Forster
2ddaab868b ensure octicons are generated in predictable order 2018-12-31 13:48:02 -04:00
Brendan Forster
cf99e9555c
Merge pull request #6260 from desktop/upstream-fix-for-install-scripts
spaces in filenames are problematic for profile scripts
2018-12-19 13:25:59 -04:00
evelyn masso
f1604561cf pull prettier into yarn scripts 2018-11-30 12:16:43 -08:00
Brendan Forster
dc775fa11f corrected formatting of emitted profile script 2018-11-21 14:59:16 -04:00
Brendan Forster
0fa2a184b4 wrap path in quote marks as sanity check 2018-11-21 14:58:58 -04:00
Brendan Forster
51c9efec11 rename profile script to avoid spaces 2018-11-21 14:58:21 -04:00
evelyn masso
1b6bc7cfcd pull eslint into yarn scripts 2018-11-19 12:11:53 -08:00
Jed Fox
b39f201453
Run Prettier on HTML files 2018-11-07 11:05:07 -05:00
Brendan Forster
9854b24239 revert this tracing as it affect local production builds 2018-10-26 08:11:24 -03:00
evelyn masso
3756bc9ece comment 2018-10-25 14:52:36 -07:00
evelyn masso
e1425f1dfc don't getSha locally 2018-10-25 14:51:10 -07:00
William Shepherd
ba3194c1e0
Merge pull request #5663 from desktop/extract-ci-logic
extract CI logic to make scripts more friendly
2018-10-25 13:25:47 -05:00
Brendan Forster
d4713a175b add install hooks to deb package
Co-Authored-By: bb441db <jelle.keeris@gmail.com>
2018-10-23 11:26:06 -03:00
Brendan Forster
8cc232f42d add snap package to build
Co-Authored-By: Martin Wimpress <flexiondotorg@users.noreply.github.com>
Co-Authored-By: bb441db <jelle.keeris@gmail.com>
2018-10-23 11:26:06 -03:00
Brendan Forster
8258acb70d
Update info.plist 2018-10-11 11:11:54 -03:00
Brendan Forster
4f8ea9079e clarified the circleci checks 2018-09-17 08:40:12 -03:00
Brendan Forster
5431018d16 extract platform-specific checks for building and packaging into new build 2018-09-16 20:47:32 -03:00
Brendan Forster
a07604db65 update build script to provide a base info.plist with folder drop enabled 2018-09-10 14:23:43 -03:00
evelyn masso
42c5b3fa18
Merge pull request #5478 from desktop/add-curl-dependencies
add explicit dependencies to libcurl and libsecret when packaging for deb and RPM
2018-09-10 08:50:28 -07:00
Brendan Forster
a52c8f4d1d
add libscret shared library dependencies 2018-08-31 10:26:47 -03:00
Brendan Forster
7295b2b447 add explicit dependencies for deb and RPM installers 2018-08-26 12:09:40 -03:00
evelyn masso
2e6c4372f7 reintegrate extra env for unit tests 2018-08-17 14:49:46 -05:00
Brendan Forster
e5831a9ac3
s/module/mode 2018-08-13 19:12:34 -03:00
Brendan Forster
b346ced1c6 we use yarn now 2018-08-13 17:25:58 -03:00
Brendan Forster
e75a35451a set a flag when running unit tests that pass through ts-node 2018-08-13 16:54:29 -03:00
Brendan Forster
9d70a77468 Merge branch 'master' into upgrade-to-local-yarn-usage 2018-08-09 12:51:46 -03:00
Jed Fox
15c4019a55 Merge branch 'master' into prettier-1.14 2018-08-08 19:41:25 -04:00
Brendan Forster
49b1f14b45 add some notes 2018-08-03 15:08:17 -03:00
Brendan Forster
33ba8972af first pass at a postinstall script that loads the right version of yarn 2018-08-03 14:07:22 -03:00
Brendan Forster
8abd3dacf1 Merge branch 'master' into migrate-to-circle-ci-2.0 2018-08-02 12:40:15 -03:00
Brendan Forster
02d80738bf
less ceremony 2018-08-01 18:51:59 -03:00
Vanessa Yuen
4a4cd04f96 newline 2018-07-27 17:43:34 -07:00
Vanessa Yuen
77a054ded8 add deploy steps 2018-07-27 17:28:19 -07:00
Vanessa Yuen
ad820c1c9a improve use of yarn caching 2018-07-26 22:08:30 -07:00
Vanessa Yuen
29f31ce098 travis 2018-07-26 21:26:10 -07:00
Vanessa Yuen
33cf7fcf24 Set key partition list 2018-07-26 21:23:51 -07:00
Brendan Forster
98ba69a86c liiiint 2018-07-26 17:31:57 -03:00
Brendan Forster
233e2ec5b9 the zeroth beta should be skipped 2018-07-26 15:40:01 -03:00
Brendan Forster
96271d101f ignore entries from test deployments 2018-07-26 15:35:24 -03:00
Brendan Forster
aaf7ee17d0 ignore new merges on master for production releases
This avoids two different kinds of confusion:
 - we edit the changelog entries when publish, so older merges can reappear
 - we assume that these merges have already been published to beta, so they
   should be already in the changelog
2018-07-26 15:30:00 -03:00
Jed Fox
fa1f3b1655 Upgrade Prettier to 1.14 (beta) 2018-07-18 06:42:46 -04:00
Brendan Forster
39e28a5125 use await to discourage from further callback usage 2018-07-16 16:57:16 -03:00
Brendan Forster
7b2733cd22 switch over to use new endpoint 2018-07-16 16:57:16 -03:00
Jed Fox
0cabb14df7 Address review comments 2018-07-04 14:29:29 -04:00
Brendan Forster
7d1dee546a Merge branch 'master' into pr/3675 2018-07-03 14:44:55 -03:00
Brendan Forster
b740f69783 make control flow more explicit 2018-06-26 09:26:55 -03:00
Brendan Forster
8110a3bb19 fix the compiler warnings 2018-06-22 10:44:22 -03:00
Brendan Forster
bbab6f36e5 ensure scripts are strictly typed 2018-06-22 10:41:04 -03:00
Brendan Forster
87cc7b99d3 Merge branch 'master' into pr/3675 2018-06-18 13:32:48 -03:00
Brendan Forster
2660d93cde add support for spawing the dev tools when running renderer tests 2018-06-07 13:23:49 +09:30
Brendan Forster
a4b8d23ea8 Merge branch 'master' into pr/3675 2018-06-06 17:44:42 +09:30
Brendan Forster
b9386be0d1 ensure prettier looks at all these files 2018-05-28 22:44:40 +10:00
Brendan Forster
b0c34b1059 Revert "lift this up to the file header"
This reverts commit f9d4740b7b.
2018-05-24 11:24:45 +10:00
Brendan Forster
e7b85143ae tidy up this bit of type annotation 2018-05-24 11:12:05 +10:00
Brendan Forster
f9d4740b7b lift this up to the file header 2018-05-24 11:07:47 +10:00
Brendan Forster
e5652d3f70 fixing up some T Y P E S 2018-05-23 15:42:47 +10:00
Brendan Forster
3540ed76fa report these warnings 2018-05-21 16:29:48 +10:00
Brendan Forster
2578dc6022 actually we should watch these sync methods 2018-05-21 16:28:17 +10:00
Brendan Forster
9ff56aa3d0 cleanup unnecessary globals 2018-05-21 15:49:06 +10:00
Brendan Forster
5c57361f36 lint on new TS files at the root of the repository 2018-05-21 15:40:40 +10:00
Brendan Forster
e9ee7cc27d extract getPortOrDefault function to be defensive 2018-05-14 14:31:32 +10:00
Brendan Forster
7a8fcd1203 some additional guard checks 2018-05-14 14:30:39 +10:00
Brendan Forster
317d3fb03f defensive work around the deployment secret 2018-05-14 14:22:06 +10:00
Brendan Forster
57c65b17c3 defensive lookup of getSHA using environment variables 2018-05-14 14:18:32 +10:00
Brendan Forster
cfff3094dc validate input to electron-packager 2018-05-14 14:13:57 +10:00
Jed Fox
87e9529977
Merge branch 'master' into my-hands-are-typing 2018-05-13 18:42:34 -04:00
Jed Fox
9dab65aa29 Revert logic changes 2018-05-05 17:10:55 -04:00
Jed Fox
43466fc645 🔥 script/debug 2018-05-05 17:09:39 -04:00
Jed Fox
3b05ffabbf No more JS 2018-05-05 16:16:26 -04:00
Brendan Forster
dafdb2b9f7 Merge branch 'master' into upgrade-fs-extra 2018-05-04 15:08:33 +10:00
Brendan Forster
78d36a105a remove unused debug script 2018-04-30 13:28:47 -05:00
Brendan Forster
a6ca6926e3 Merge branch 'master' into my-hands-are-typing 2018-04-20 11:24:22 -05:00
Brendan Forster
ba54497f43 Merge branch 'master' into upgrade-fs-extra 2018-04-19 10:58:15 -05:00
Brendan Forster
c036e11bef fixed naming for things 2018-04-11 13:41:54 +10:00
Brendan Forster
66b0c75fd1 Merge branch 'master' into upgrade-yarn-time 2018-04-08 15:25:26 +10:00
Brendan Forster
27c191c623 Merge branch 'master' into my-hands-are-typing 2018-04-08 14:25:11 +10:00
Markus Olsson
768dc010f1
Merge branch 'master' into we-dont-need-to-ship-a-yaml-parser 2018-04-04 14:45:18 +02:00
Markus Olsson
985bf1c23d
Merge pull request #4355 from desktop/investigate-slimming-things
generate an analysis of the renderer bundle when building for prod
2018-04-03 15:36:38 +02:00
Brendan Forster
42f536bb0b Merge branch 'master' into we-dont-need-to-ship-a-yaml-parser 2018-04-03 14:47:26 +10:00
Brendan Forster
2bebf74be3 embed the choosealicense license alongside the license payload 2018-04-03 14:47:22 +10:00
Brendan Forster
63c199877d Merge branch 'master' into pr/3675 2018-04-02 17:54:33 +10:00
Brendan Forster
71caf015c2
Merge branch 'master' into upgrade-yarn-time 2018-03-31 16:30:05 +11:00
Markus Olsson
614f848985
Merge pull request #4198 from jkleinsc/arm64
Add the ability to build arm64 builds
2018-03-29 21:49:29 +02:00
Brendan Forster
835aeb7702 tidy up the things 2018-03-29 18:56:34 +11:00
Brendan Forster
542b8bde84 perform license parsing as part of build proces 2018-03-29 16:51:14 +11:00
Brendan Forster
6c1fadfe76 move the analysis file into dist so that it isn't part of the packaged app 2018-03-29 15:49:33 +11:00
Brendan Forster
a76185792d
Merge branch 'master' into upgrade-yarn-time 2018-03-29 12:29:46 +11:00
William Shepherd
289ae93745
Merge pull request #4336 from desktop/validate-all-the-things
validate the changelog to catch errors before it's time to release
2018-03-28 20:14:29 -05:00
William Shepherd
33162baccf
Merge pull request #4288 from desktop/relax-regex-for-fixed-issue
relax regex rule to catch more merged PRs when generating changelog
2018-03-28 20:13:59 -05:00
Brendan Forster
15bf7e3d0d forgive me padre for i have TYPES 2018-03-28 08:01:23 +11:00
Brendan Forster
4e34d4a870 this message here refers to a non-existant command 2018-03-27 12:39:46 +11:00
Brendan Forster
32d0cea27a lint the changelog file to catch syntax errors 2018-03-27 12:21:02 +11:00
Brendan Forster
2fd937430a update error message 2018-03-27 12:03:08 +11:00
Brendan Forster
c926876209 improve error output 2018-03-27 11:53:14 +11:00
Brendan Forster
cf7f361f34 format the errors from ajv rather than relying on their infrastructure, which loses some context 2018-03-27 11:43:05 +11:00
Brendan Forster
42c187799b work with the object, not just the text 2018-03-27 11:41:59 +11:00
Brendan Forster
c0edc1a9ba this seems helpful 2018-03-27 11:03:41 +11:00
Brendan Forster
1a17c6c092 ajv doesn't seem to care about malformed JSON, gotta do this first as a sanity check 2018-03-27 11:02:00 +11:00
Brendan Forster
04cc3bd122 first pass at script to validate changelog 2018-03-27 10:54:21 +11:00
Brendan Forster
c3dfb3f7e4 Merge branch 'master' into pr/4198 2018-03-27 08:59:27 +11:00
Brendan Forster
1cfee4b4c4 on Windows this needs to be the full cmd file path 2018-03-26 10:23:35 +11:00
Brendan Forster
a775049f6a and one last comment 2018-03-24 12:12:55 +11:00
Brendan Forster
b6bb2a95e2 address review feedback 2018-03-24 12:10:05 +11:00
Brendan Forster
918c8fd64a Merge branch 'master' into upgrade-yarn-time 2018-03-24 12:09:02 +11:00
Brendan Forster
26666adc5f words 2018-03-23 11:23:53 +11:00
Brendan Forster
2cc6be365a add comment to explain hard-coded index 2018-03-23 11:21:24 +11:00
Brendan Forster
3bb4779b63 log what commands are spawned 2018-03-23 08:52:32 +11:00
Brendan Forster
a1d3cc6e89 an even simpler fix 2018-03-22 13:13:18 +11:00
Brendan Forster
a856e93d9f add a sanity check for when an empty log is returned 2018-03-22 13:06:56 +11:00
Brendan Forster
6491dc57f9 we know there are three groups returned, so we can just poke the last value directly 2018-03-22 09:25:45 +11:00
Brendan Forster
2fea7f9b8b refine the regex to catch more scenarios 2018-03-21 17:27:26 +11:00
Brendan Forster
8369d8279a add test for multiple closing statements 2018-03-21 17:26:15 +11:00
Brendan Forster
c79e4fae16 extract function and add tests 2018-03-21 17:15:16 +11:00
Brendan Forster
2939f72f5b some PRs will use Fixed: #XXX which isn't caught by this rule 2018-03-21 17:12:22 +11:00
Brendan Forster
afe26687bf propagate the exitCode up the chain 2018-03-16 18:08:53 +11:00
Brendan Forster
a5b8861cf9 extracting unit tests to a standalone script
This npm script has been unreadable for a long time, and
rather than putting in additional hacks I decided to extract
it to it's own file so that it can be annotated for future
visitors to this fresh hell that I find myself in.
2018-03-16 18:05:06 +11:00
Neha Batra
fdf6c52f0e Update draft-release to match merge conflict resolution decisions
Merging added info around semver
2018-03-14 15:43:21 +01:00
John Kleinschmidt
58b14325a9 Update to build for arm64 2018-03-14 10:21:21 -04:00
Neha Batra
9af853316c Release the Update to the Release Update
nothing has changed but now it's not as much of a secret

Co-Authored-By: Brendan Forster <brendan@github.com>
2018-02-22 02:08:11 -08:00
Jed Fox
72ea02412c Merge branch 'master' into my-hands-are-typing 2018-02-14 17:04:23 -05:00
William Shepherd
5668c45efa
Merge pull request #3916 from desktop/update-prettier-for-stylesheets
update prettier and apply it to SCSS files
2018-02-11 20:05:01 -06:00
Brendan Forster
13bd78c5cd simplify output 2018-02-09 15:47:47 +11:00
Brendan Forster
7ceb9d085a extract function for parsing beta number 2018-02-09 15:30:14 +11:00
Brendan Forster
93e8fb9235 fix test failure 2018-02-09 15:22:56 +11:00
Brendan Forster
d380d279b7 refactor into stages 2018-02-09 15:11:20 +11:00
Brendan Forster
3d5a95a82c some readability 2018-02-09 15:08:15 +11:00
Brendan Forster
e8921e5dbf move this into an options object 2018-02-09 15:04:30 +11:00
Brendan Forster
cdc99e1618 address review feedback 2018-02-09 14:55:45 +11:00
Brendan Forster
ba5c131c0f address review feedback 2018-02-09 14:30:37 +11:00
Brendan Forster
b7eaff7d91 always be erroring 2018-02-06 08:49:37 +11:00
Jed Fox
4a79b8ddb2
Fix logic
Turns out there’s a reason the function was written that way.
2018-02-05 11:40:39 -05:00
Brendan Forster
5d1ad00ef8 ensure you only do this when there aren't uncommitted changes 2018-02-04 22:19:19 +11:00
Brendan Forster
44246b07c7 reorder imports 2018-02-04 22:18:09 +11:00
Brendan Forster
9d38422d0a extra to types 2018-02-04 22:17:04 +11:00
Brendan Forster
4204c88145 handle situation where no changelog entries found 2018-02-04 16:16:58 +11:00
Brendan Forster
3b8a00ddfd introduce production flow 2018-02-04 15:16:32 +11:00
Brendan Forster
5bfcc8e6fc read the existing changelog 2018-02-04 14:55:59 +11:00
Brendan Forster
c568b233db extract function 2018-02-04 14:51:21 +11:00
Brendan Forster
371d94ad64 rename this method to be a bit more specific 2018-02-04 14:49:15 +11:00
Brendan Forster
7b63552f5b make output clearer 2018-02-04 14:02:58 +11:00
Brendan Forster
990ca59d92 better words 2018-02-04 13:41:36 +11:00
Brendan Forster
84003fcf9c port behaviour to new draft-release script 2018-02-04 13:37:26 +11:00
Brendan Forster
3c17c19ee0 extract logic so it can be used with new command 2018-02-04 13:32:55 +11:00
Brendan Forster
255f92962c tidy this up 2018-02-04 13:24:47 +11:00
Brendan Forster
12bde27bf8 a bit of tidy up 2018-02-04 12:17:05 +11:00
Brendan Forster
015f7dba6c constrain the types to known channels 2018-02-04 12:15:29 +11:00
Brendan Forster
2405980484 extract fiddly rules into function and add tests 2018-02-04 11:38:44 +11:00
Brendan Forster
3e581c227d tidy up tests 2018-02-04 10:54:15 +11:00
Brendan Forster
b39015ac97 tags are hard 2018-02-04 10:49:28 +11:00
Brendan Forster
d0c5be50cb mute this warning while i'm hacking on stuff 2018-02-04 10:45:51 +11:00
Brendan Forster
690fdaf47b what about this? 2018-02-04 10:43:10 +11:00
Brendan Forster
82c6b48450 handle stable -> beta flow 2018-02-04 10:39:55 +11:00
Brendan Forster
9ccd7ae161 maybe this? 2018-02-04 10:36:31 +11:00
Brendan Forster
92af1b1f73 first part of drafting a release, what's the version number? 2018-02-04 10:35:47 +11:00
Brendan Forster
da2b4173a1 update prettier and format SCSS files
Co-Authored-By: Jed Fox <git@twopointzero.us>
2018-02-02 10:47:01 +11:00
William Shepherd
c8e2c679ef
Revert "Run Prettier on All The Things" 2018-02-01 17:08:53 -06:00
William Shepherd
bf14e592fa
Merge pull request #3569 from j-f1/its-more-prettier
Run Prettier on All The Things
2018-02-01 17:00:39 -06:00
Jed Fox
3c2042f7a6
Merge branch 'master' into my-hands-are-typing 2018-01-31 13:55:00 -05:00
Brendan Forster
b74f01bc81 newline to break it up 2018-01-31 11:29:09 +11:00
Brendan Forster
3072ce3c1c sort tags to get latest version 2018-01-31 11:14:38 +11:00
Brendan Forster
a7b04e3065 guard against missing tag 2018-01-31 10:52:42 +11:00
Brendan Forster
a3f854a2af lint 2018-01-31 10:52:20 +11:00
Brendan Forster
7c3bd7ce78 import source from what-the-changelog 2018-01-31 10:43:12 +11:00
Brendan Forster
892244c763 this is a new Node API, I'm not going to upgrade @types/node globally just for it 2018-01-31 10:41:29 +11:00
Jed Fox
be47bfe952
'use (modules are already) strict' 2018-01-17 09:55:44 -05:00
Jed Fox
07ed34c4fc TSify dist-info 2018-01-17 09:15:44 -05:00
Jed Fox
3d874ab430 Use the legal-eagle TYPES 2018-01-17 07:26:55 -05:00
Brendan Forster
b562b63122 propagate prettier error 2018-01-12 11:10:23 -04:00
Brendan Forster
838ee2d865 address review feedback 2018-01-08 15:19:14 -04:00
Brendan Forster
8eaaaa2d39 exit code from prettier is already set 2018-01-08 10:36:33 -04:00
Brendan Forster
40c519e401 the script can fix itself 2018-01-08 09:01:14 -04:00
Brendan Forster
d83bda93ef fix for Windows usage 2018-01-08 08:44:22 -04:00
Brendan Forster
7e4443baff extract prettier invocation to script for better control 2018-01-08 08:35:44 -04:00
Jed Fox
53d8d52ac6 Enforce 'use strict' (non-)use 2018-01-06 06:34:12 -05:00
Brendan Forster
1929e7de23 liiint 2018-01-01 12:58:16 -04:00
Jed Fox
d3dcbb63e2 Happy, TS? 2017-12-31 17:53:55 -05:00
Jed Fox
2a7a790296 TSify some more scripts 2017-12-24 11:27:05 -05:00
Jed Fox
7bf71974ff Convert the webpack configs to TS 2017-12-24 11:27:04 -05:00
Jed Fox
a23a482982 Integrate the T Y P E S directly into *-info.js
JSDoc FTW!
2017-12-24 11:27:04 -05:00
Josh Abernathy
2d2feff2aa
Merge pull request #3576 from desktop/prettier-what-are-you-doin
bump to latest stable prettier to address IDE change
2017-12-12 10:40:18 -08:00
Brendan Forster
e9088a0399 lint fiiiix 2017-12-12 16:21:47 +11:00
Brendan Forster
60b06c43b5 else if up in the joint 2017-12-12 10:24:16 +11:00
Brendan Forster
9447b60a0d move this back into indicate it's linux-specific 2017-12-11 11:07:19 +11:00
Brendan Forster
6eed197fd0 fix an issue with the name of our AppImage distro 2017-12-11 10:38:52 +11:00
Brendan Forster
5572b01e1a port to calling electron-builder directly 2017-12-10 22:16:47 +11:00
joshaber
f6a4427387 Use eslint's CLI engine
Mostly written by @j-f1 😄
2017-11-28 11:45:29 -05:00
joshaber
d8fbe81be2 Just use ESLint 2017-11-28 10:33:37 -05:00
Brendan Forster
95257fb988 fix all the new lint errors 2017-11-22 10:49:23 +11:00
joshaber
cc0f805845 Fix the getVersion call 2017-11-21 07:53:00 -05:00
Brendan Forster
1f78ef63d1 ensure we lint these new JS files 2017-11-20 12:30:54 +11:00
Brendan Forster
1f0bab8c7d remove old code from dist-info 2017-11-20 12:30:35 +11:00
Brendan Forster
83f2aa6474 update usages to point to new modules 2017-11-20 12:30:16 +11:00
Markus Olsson
60d52f54c9 Default to TLS1.2 on AppVeyor 2017-11-16 22:07:53 +01:00
Chris Streeter
c444eaafc7
Lint webpack files as well 2017-11-08 12:52:12 -08:00
Brendan Forster
847b312335 port build script to use yarn for generating the node_modules required at runtime 2017-11-07 12:12:28 +11:00
Brendan Forster
a58095938e
Merge branch 'master' into update-generate-octicons 2017-11-07 10:56:33 +11:00
Jed Fox
eaf5c478c9 Run all of the lint:fix commands; echo any lint errors to stdout/stderr 2017-11-04 07:13:05 -04:00
Brendan Forster
2ce115d392 include details with error 2017-11-04 13:47:59 +11:00
Brendan Forster
dc093b0fbe using the right method to launch the cleanup task 2017-11-04 12:28:26 +11:00
Brendan Forster
4bf18cf760 tidy up things 2017-11-04 12:28:26 +11:00
Brendan Forster
e85b5fab1e a simpler script for generating octicons using the NPM package 2017-11-04 12:28:26 +11:00
Brendan Forster
a5c0e321d2 Revert "only run eslint against the TS files under script/"
This reverts commit ab2823ac80.
2017-11-04 10:30:03 +11:00
Brendan Forster
ab2823ac80 only run eslint against the TS files under script/ 2017-11-04 10:26:02 +11:00
Brendan Forster
b2dc1e6ab5 add a tsconfig so we can compile the script folder automatically 2017-11-04 10:25:57 +11:00
Markus Olsson
0830f6915c Merge branch 'master' into shd 2017-10-26 12:16:08 +02:00
Jed Fox
b5876f3fb2 📖 2017-10-22 06:31:35 -04:00
Jed Fox
00db0d956d Tell people to yarn eslint:fix instead of npm run eslint:fix 2017-10-21 16:57:17 -04:00
Jed Fox
760a0047c9 Use chalk to clean up the escape codes in eslint.ts 2017-10-21 16:38:13 -04:00
Jed Fox
d8ceeffe53 Fix lint-disabling comments 2017-10-19 19:04:47 -04:00
Jed Fox
254c5661a3 Revert "Revert "ESLint for great justice: Episode I""
This reverts commit 45e7b216ea.
2017-10-19 19:01:08 -04:00
Markus Olsson
5a3e706f42 Merge branch 'master' into shd 2017-10-19 16:26:18 +02:00
Brendan Forster
02ef7ec451 tidy up declarations 2017-10-17 09:35:39 +11:00
Brendan Forster
9c3d715477 Merge branch 'master' into some-more-types 2017-10-17 09:18:08 +11:00
Markus Olsson
2bb0a0ca07 Merge branch 'master' into shd 2017-10-16 15:12:34 +02:00
Brendan Forster
b096011efa Merge branch 'master' into bump-to-npm-5-finally 2017-10-16 11:21:01 +11:00
Brendan Forster
309453d4fa add declarations for linux libraries 2017-10-15 17:26:35 +11:00
Brendan Forster
83666ceec4 tidy up imports 2017-10-15 17:05:28 +11:00
Brendan Forster
07abf318c0 port script to TS, cleanup errors 2017-10-15 17:02:33 +11:00
Markus Olsson
233b6b3332 Don't typecheck all files, just the referenced ones
See https://stackoverflow.com/questions/43234525/awesome-typescript-loader-load-compile-only-refrenced-files
2017-10-14 15:45:21 +02:00
Josh Abernathy
ffec2323d6 Merge pull request #2372 from j-f1/better-cli
Better CLI
2017-10-13 09:49:23 -04:00
Brendan Forster
adeffa55ba Merge branch 'master' into bump-to-npm-5-finally 2017-10-11 10:26:30 +11:00
Brendan Forster
e9c75d3a25 use yarn to run custom scripts 2017-10-10 11:21:21 +11:00
Brendan Forster
c503ff9a48 what if we do it serially? 2017-10-10 09:20:33 +11:00
Brendan Forster
ff1b0e2dc8 tidy up things now we know a bit more about what's happening 2017-10-10 09:20:33 +11:00
Brendan Forster
edda6e52fa add support for generating AppImage package 2017-10-10 09:20:33 +11:00
Brendan Forster
5be892dd46 add support for generating rpm package 2017-10-10 09:20:33 +11:00
Brendan Forster
e380e4e2c7 add support for generating deb package 2017-10-10 09:20:33 +11:00
Jed Fox
fae04a3ac4 Merge branch 'master' into better-cli 2017-09-29 07:51:49 -04:00
Jed Fox
909d521a2f Address review comments 2017-09-27 07:50:53 -04:00
Brendan Forster
e67167d597 Merge branch 'master' into better-cli 2017-09-27 12:29:09 +10:00
Jed Fox
9d0735b7fc Don’t exit immediately after a bad viewBox match 2017-09-25 16:50:17 -04:00
Jed Fox
89f293f251 npm run prettify 2017-09-25 16:49:22 +00:00
Jed Fox
546869b4c9 Use UTF-8 encodings when reading and writing files 2017-09-25 15:43:55 +00:00
Jed Fox
d7b3ec0b5c Convert generate-octicons to TypeScript 2017-09-25 15:43:55 +00:00
Josh Abernathy
8c7d869d82 Merge pull request #2852 from desktop/cleanup-some-git-files
cleanup some git files
2017-09-25 09:41:18 -04:00
Brendan Forster
2ccea3e634 no need to stat if we're just unlinking the file 2017-09-25 22:21:57 +10:00
Brendan Forster
7a98da3761 remove the global 2017-09-24 10:01:59 +10:00
Brendan Forster
07cfae2d91 update usages to imports 2017-09-24 10:01:43 +10:00
Brendan Forster
e71df87cdf introduce standalone declaration 2017-09-24 09:59:59 +10:00
Brendan Forster
1980b2d63c tidy up some unneeded components from the Git installation 2017-09-23 19:54:08 +10:00
Brendan Forster
668e033781 use the triple dot character 2017-09-23 19:52:37 +10:00
Brendan Forster
194f2553cf update usage 2017-09-23 13:30:46 +10:00
Brendan Forster
b2e2570108 add getDistRoot to tidy up duplicated code 2017-09-23 13:30:36 +10:00
Brendan Forster
12ae43f448 update existing usages and remove duplicate declarations 2017-09-23 13:24:30 +10:00
Brendan Forster
cda26123e1 add a global declaration for the distInfo module 2017-09-23 13:21:15 +10:00
Brendan Forster
6ac627333e throw an error up to be consistent with other functions in dist-info 2017-09-23 13:19:43 +10:00
Brendan Forster
ec16a09240 bad merge yo 2017-09-22 10:37:35 +10:00
Brendan Forster
9d0950ebea Merge branch 'master' into better-cli 2017-09-22 10:12:22 +10:00
Brendan Forster
8727ad220a string comparisons are hard 2017-09-21 16:57:02 +10:00
Brendan Forster
b1508fd944 make error messages more explicit 2017-09-21 16:56:55 +10:00
Brendan Forster
4d9834e3bc validate tip matches tagged build before publishing 2017-09-21 16:56:49 +10:00
Brendan Forster
6ebb9ad18f extract getSHA function so it can be used elsewhere 2017-09-21 16:56:41 +10:00
Josh Abernathy
45e7b216ea Revert "ESLint for great justice: Episode I" 2017-09-20 14:10:29 -04:00
Jed Fox
28734d7971 Merge branch 'master' into eslint 2017-09-14 18:01:16 -04:00
Brendan Forster
7e5216b388 Merge branch 'master' into better-cli 2017-09-13 11:24:49 +09:30
joshaber
25c28fe40f Maybe this? 2017-09-12 12:18:38 -04:00
joshaber
7dbc16e6f0 And try this again 2017-09-12 12:00:08 -04:00
joshaber
443b14a4bb Baby come back 2017-09-12 11:44:42 -04:00
joshaber
9227d32b89 Move stuff around? 2017-09-12 11:00:10 -04:00
joshaber
9cfe96738f Maybe just use Circle's keychain? 2017-09-12 10:40:19 -04:00
joshaber
35d7b8bd21 Revert "Specify the keychain"
This reverts commit c19ef349a6.
2017-09-12 10:39:54 -04:00
joshaber
c19ef349a6 Specify the keychain 2017-09-12 09:51:38 -04:00
joshaber
502bab266a Back to CI 2017-09-12 09:01:02 -04:00
joshaber
950e4961ec Revert "Just name it CI"
This reverts commit e9720d7f35.
2017-09-12 08:48:11 -04:00
joshaber
9b3f323db2 Always throw the logs up 2017-09-12 08:30:03 -04:00
joshaber
8e57a8cbbf Circle is the future 2017-09-12 08:29:55 -04:00
joshaber
e9720d7f35 Just name it CI 2017-09-12 07:59:55 -04:00
Jed Fox
43ef4d7ac7 *sigh* compatibility 2017-08-21 18:37:40 -04:00
Jed Fox
807d6a13fb Let the user know they can run eslint:fix to fix some errors 2017-08-21 18:25:01 -04:00
Jed Fox
4d53823954 Fix lint (again) 2017-08-21 15:44:41 -04:00
Jed Fox
b8b6589c22 Always use eslint_d 2017-08-21 15:37:05 -04:00
Jed Fox
f34a0dfed0 Paths matter II 2017-08-21 12:14:16 -04:00
Jed Fox
be91471d09 Paths matter 2017-08-21 08:21:20 -04:00
Jed Fox
b0a9c92dbf npm run prettify 2017-08-21 07:14:31 -04:00
Jed Fox
a0df7dbfff Merge branch 'master' into better-cli 2017-08-21 07:09:09 -04:00
Jed Fox
053fbab16c Load the CLI commands from script/dist-info 2017-08-21 06:55:04 -04:00
Brendan Forster
216b1eaca8 Merge branch 'master' into eslint 2017-08-21 12:52:12 +10:00
Jed Fox
0e32a68686 Take args in script/eslint; 2017-08-18 11:30:45 -04:00
Jed Fox
73071b1f18 Lint script/ 2017-08-18 11:30:43 -04:00
Jed Fox
21e74cee14 Cache for more speed 2017-08-18 11:30:43 -04:00
Jed Fox
c0b15df652 Use eslint_d to speed up linting 2017-08-18 11:30:43 -04:00
Jed Fox
8f48ce41c5 eslint-plugin-prettier
Also, get rid of the Prettier-related scripts in package.json
2017-08-18 11:30:37 -04:00
Brendan Forster
176600b71d bump dependencies and use filesystem for package 2017-08-18 14:40:31 +10:00
Brendan Forster
e998e7a7f1 workaround for packaging issue with app-path 2017-08-10 10:46:04 +10:00
joshaber
22b7f7840f Sure that's readonly too 2017-08-09 16:47:13 -04:00
joshaber
af4bce1d73 Use protocols instead of protocolName and protocol 2017-08-09 16:44:41 -04:00
Brendan Forster
31816ee076 what even is JS? 2017-08-07 15:01:19 +10:00
Brendan Forster
1e04143f68 tidy up emoji copy code 2017-08-07 06:43:02 +10:00
Brendan Forster
8f162d8f14 use the arguments 2017-08-07 06:35:59 +10:00
Brendan Forster
178db9147b remove optional parameters 2017-07-31 10:31:31 -03:00
Brendan Forster
6ad25c00b7 merge protocols back into config 2017-07-31 10:31:22 -03:00
Brendan Forster
8e2c0f05ab simpler syntax here 2017-07-28 17:30:58 -03:00
Brendan Forster
3e5eb00f63 a couple of tweaks 2017-07-28 17:28:38 -03:00
Brendan Forster
be82581a80 port build script to TS 2017-07-28 17:07:31 -03:00