Commit graph

1549 commits

Author SHA1 Message Date
Saul Reynolds-Haertle
ac114562b6 Configure absolute path resolution in ts and webpack
This lets us write imports like "@src/stuff" instead of "../../stuff"
2018-09-29 18:03:36 -07:00
Oliver Blanthorn
a0ac1a2878
Update dependencies 2018-09-11 22:24:21 +01:00
Oliver Blanthorn
fd218e060b
Merge branch 'master' of github.com:cmcaine/tridactyl into configdocs 2018-08-29 10:58:34 +01:00
Oliver Blanthorn
1afa2d77f6
Use glacambre's typedoc theme fork 2018-08-29 10:54:24 +01:00
Anton Vilhelm Ásgeirsson
77f6008259 Update typescript to 3.0.1 and typedoc to 0.12.0. 2018-08-19 11:12:25 +00:00
glacambre
35466971b7
Implement basic excmd completion
This implements excmd completion. We're using the typescript compiler
API in order to get the documentation and the type of every function of
Tridactyl and generate a file named "src/metadata.ts" which contains
this information. Since this file is dependency-less it can be imported
from every source file.

We then write a regular completion source which just uses the data
contained in metadata.ts in order to generate its completions.
2018-08-05 17:12:49 +02:00
Babil Golam Sarwar
e1e85676dd Fix security audit warnings from NPM 2018-06-07 15:28:54 +10:00
Oliver Blanthorn
b8e9d4a088
Remove global dependency on nearley,typedoc,marked 2018-05-28 10:22:17 +01:00
Oliver Blanthorn
65279b4263
Reduce number of web-ext insta-crashes from 75% to about 30% 2018-05-19 14:52:20 +01:00
Colin Caine
8f67be2d17 Improve CSP clobbering (commit lost last time)
- Get csp setting asynchronously
 - Case insensitively match content-security-policy header value
 - Parse csp correctly
 - Simplify code

(When I rebased last time I lost the content of this commit somehow...)
2018-05-18 17:10:12 +01:00
Colin Caine
d28fc7f0f6 Add npm run {lint,pretty}
Lint is an alias to hooks/pre-commit. Code shared in scripts/common.
2018-05-18 16:03:11 +01:00
Babil Golam Sarwar
19e3363c92
Add MinGW build support and minor refactoring 2018-05-17 12:18:52 +01:00
Oliver Blanthorn
70bf80dffd
Add npm run run command and document it 2018-05-16 15:04:35 +01:00
Oliver Blanthorn
c5c9c061af
Update web-ext 2018-05-16 14:59:25 +01:00
Oliver Blanthorn
d13fa243e7
Warn users that watch is broken 2018-05-13 14:26:59 +01:00
Oliver Blanthorn
60ce31f44c
Move CSS editing to JS 2018-04-21 23:43:12 +01:00
Oliver Blanthorn
c858a7d4e8
Add native version checker and nativeopen
Adds semver-compare runtime dependency: might be worth statically
linking it since it's so simple.
2018-04-20 22:58:02 +01:00
Colin Caine
e107fa5eb1 build: add nearley 2018-04-15 22:32:34 +01:00
Colin Caine
5b444f76b7 Be less precise
Replace precise-commits with whole file prettification
2018-04-14 16:59:16 +01:00
Oliver Blanthorn
ebde6d63e4
Merge branch 'master' of github.com:cmcaine/tridactyl into glacambre-add_prettier 2018-04-13 18:54:34 +01:00
Oliver Blanthorn
f2244ee554
Sketch out find command using mark.js 2018-03-18 13:10:17 +00:00
glacambre
82c06fd920
Add the Prettier linter 2018-03-06 22:03:44 +01:00
glacambre
119758454f
Add cleanslate.css 2018-03-04 14:15:26 +01:00
Alexander Batischev
25baa7ac53 Drop dependency on typedoc-webpack-plugin
It's not required for anything. Closes #268.
2018-01-04 15:05:46 +00:00
Colin Caine
ec01dadf27 completions: add fuse.js and html-tagged-template 2017-11-22 21:30:36 +00:00
Oliver Blanthorn
85d6eba2b5
Revert "Merge branch 'Koushien-completions'"
This reverts commit 0aa14bb754, reversing
changes made to eae9cd0dab.
2017-11-21 20:28:48 +00:00
Colin Caine
e55d174747 completions: add fuse.js and html-tagged-template 2017-11-21 05:15:52 +00:00
Colin Caine
1777bc9478 build: update web-ext-types 2017-11-19 01:58:59 +00:00
Colin Caine
f8d8d76bcc build: fix npm watch 2017-11-15 00:57:10 +00:00
Colin Caine
2d3342af4b build: don't trust webpack shell plugin, exclude large images 2017-11-12 01:44:04 +00:00
Colin Caine
a0a29aec27 build: Fix build break when make_docs is slow 2017-11-09 05:54:10 +00:00
Colin Caine
e82218e156 build: watch scripts dir too 2017-11-09 05:44:48 +00:00
Colin Caine
7697072be1 build: Move scripts out. Make generated files obv.
To speed up builds, typedoc is now run in the background, which means
that the build won't fail if typedoc fails.
2017-11-08 18:13:40 +00:00
Colin Caine
28bd2fcae7 build: update web-ext-types 2017-11-07 12:03:08 +00:00
Oliver Blanthorn
a2f86c7133
Build documentation with npm run build (npm run watch currently unsupported) 2017-11-03 18:23:11 +00:00
Oliver Blanthorn
9e00ce20de
Vague attempt at docs. Run src/make_docs.sh first. 2017-11-03 18:23:10 +00:00
Colin Caine
cb4a116b2a build: make watch mode less noisy 2017-10-23 02:11:16 +01:00
Colin Caine
f90d9e708f build: fix watch mode 2017-10-23 02:03:26 +01:00
Colin Caine
b64a03163b build: npm update 2017-10-23 01:26:24 +01:00
Colin Caine
8897d8929b excmds: Macro-ify excmds_background and content
excmds_background/content are now generated by python. New dependency,
python3!
2017-10-19 04:40:36 +01:00
Oliver Blanthorn
88cc72af20
Add web-ext to dev-dependencies 2017-10-13 08:43:49 +01:00
Colin Caine
0eceb10bfb dev: fix ts-node REPL mode 2017-10-08 16:34:02 +01:00
Colin Caine
2efb614090 build: update dependencies 2017-10-06 03:30:51 +01:00
Colin Caine
e2ccd3da4a tests: Update package.json, shorten test runtime 2017-10-05 03:55:42 +01:00
Colin Caine
94eac6223d npm: install ts-node for debugging 2017-10-05 02:23:47 +01:00
Colin Caine
dd757fbef4 tests: add jest 2017-10-05 01:53:02 +01:00
Colin Caine
9c445a9c9d Remove old build system, document new 2017-10-02 10:02:15 +01:00
Colin Caine
496e33bd86 Share minimal git hooks 2017-10-02 01:58:09 +01:00
Colin Caine
5964430fe1 Convert to es6 modules
Motivation:

 - Most test frameworks expect modules
 - I'm told they're the future

Changes:

 - Every typescript source file is now an es6 module
 - Build system is now webpack (tho rollup makes nicer outputs)
 - Outputs of buildsystem are one js file per entry point (background,
   content, commandline_frame)
 - These bundled js files are generated by traversing the dependency
   graph of each entry point
2017-10-02 01:17:32 +01:00