Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.0] Added support for html img tags to the gatsby-remark-copy-link plugin #1284

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
814 commits
Select commit Hold shift + click to select a range
ae4c9d6
Actually remove underscored components from being pages
KyleAMathews May 16, 2017
906a56a
Add action for deleting pages
KyleAMathews May 17, 2017
e08dc6c
Add tests for page filtering
KyleAMathews May 17, 2017
38735b1
Add docs page on creating/modifying pages
KyleAMathews May 17, 2017
166296f
Add some code showing usage of Lost plugin
KyleAMathews May 17, 2017
d55460b
Add google analytics and offline plugins to site
KyleAMathews May 17, 2017
ef4ad2f
Add README
KyleAMathews May 17, 2017
f278d94
Fixes to static rendering without layout
KyleAMathews May 17, 2017
e345e39
Don't call the API that's the 'source' of the event triggering the AP…
KyleAMathews May 17, 2017
7211d78
Update docs page
KyleAMathews May 17, 2017
57837a1
Don't cache page objects
KyleAMathews May 17, 2017
93b9563
Fixes 0-index issue with link preloader as per #988
May 18, 2017
18f7835
Ensure navigator.serviceWorker exists
May 18, 2017
f46a97a
[1.0] no trailing slashes example (#997)
scottyeck May 19, 2017
a81a9e2
[1.0] Small updates to page modification docs (#999)
KyleAMathews May 19, 2017
badaaa8
Don't catch links where target="_blank" (#1000)
KyleAMathews May 19, 2017
4bafac4
Add google analytics and offline plugins to no-trailing-slashes examp…
KyleAMathews May 19, 2017
33c151e
[1.0] Add more core modules to commons bundle + strip prop-types (#1003)
KyleAMathews May 19, 2017
b51541c
fix path generation for windows operating systems (#1004)
johann-sonntagbauer May 19, 2017
1f9d017
Run format again with update to Prettier + eslint rules (#1006)
KyleAMathews May 19, 2017
62fcc2e
Always use matchPath to find correct page (#1008)
KyleAMathews May 20, 2017
2b738a5
Don't load service worker or google analytics in dev
KyleAMathews May 20, 2017
0accaeb
Reload site while developing if webpack gets stuck
KyleAMathews May 20, 2017
3d81baf
[1.0] Add support for 'internal' plugins (#1010)
KyleAMathews May 20, 2017
d3a1f74
[1.0] Fix test and add tests/code to ensure keys graphql compliant (#…
KyleAMathews May 22, 2017
7afafb8
Remove instruction to install Lerna from CONTRIBUTING.md (#1013)
KyleAMathews May 22, 2017
4e88313
1.0 bump gatsby-plugin-postcss-sass in using-postcss-sass example (#1…
May 22, 2017
007c8bb
[1.0] Add internal plugin to map internal data to data system to make…
KyleAMathews May 22, 2017
f5ac008
Add check that json/yaml data is an array
KyleAMathews May 22, 2017
8f81642
Set content
KyleAMathews May 22, 2017
1401233
Throw error if plugin doesn't export a loadNodeContent function
KyleAMathews May 22, 2017
0198302
[1.0] Prevents swallowing onClick in gatsby-link (#1019)
scottyeck May 23, 2017
8722995
Add browsers compile target to analytics plugin (#1020)
0x80 May 23, 2017
d663be2
Fix yaml transformer (#1022)
KyleAMathews May 23, 2017
e942e11
Remove all invalid graphql key values fixes #1021 (#1023)
KyleAMathews May 23, 2017
b5e095e
[1.0] Remove array.prototype.find as not supported in IE fixes #974 (…
KyleAMathews May 23, 2017
94fac7a
[1.0] Small fixes (#1025)
KyleAMathews May 23, 2017
bbfb68a
[1.0] Adds no-plugins example (#1028)
scottyeck May 23, 2017
330d917
[1.0] handle objects with a single empty field (#1030)
KyleAMathews May 23, 2017
0eb513e
Remove type from excluded keys in graphql (#1029)
0x80 May 23, 2017
f846ccc
[1.0] Add rough draft for v1 migration guide (#1032)
KyleAMathews May 23, 2017
3fc6d62
[1.0] Remove autolink from gatsby-config.js in migration guide
KyleAMathews May 25, 2017
a66989d
Update alpha13 to alpha15 (#1041)
hugmanrique May 25, 2017
4784b06
[1.0] Fix bug where plugins as object with resolve but no options key…
KyleAMathews May 25, 2017
55845c9
[1.0] Make nodes fully immutable by adding API for allowing plugins t…
KyleAMathews May 26, 2017
3e280f2
prefixLink is gone so add to migration doc (#1044)
KyleAMathews May 26, 2017
1894196
Updates for alpha16 (#1045)
KyleAMathews May 26, 2017
05e9776
v1.0.0-alpha16
KyleAMathews May 26, 2017
b9cf04c
Fix example code
KyleAMathews May 26, 2017
89b66ba
[1.0] Fix adding page for app shell (#1046)
KyleAMathews May 26, 2017
20f4ae4
Up alpha version on gatsbygram post
KyleAMathews May 26, 2017
c28a693
Add development 404 page + hot reload routes when page added/removed …
KyleAMathews May 27, 2017
7b1d752
Provide a default context for GraphQL fixes #1050 (#1052)
KyleAMathews May 27, 2017
5a18bc8
Fix sharp image quality and force file format (#1054)
0x80 May 28, 2017
7cad6be
Always send back scripts object (#1058)
KyleAMathews May 29, 2017
64c02c1
Expose crop focus parameter and make consistent with base64 (#1055)
0x80 May 29, 2017
b47e49c
[1.0] Add "duotone" option to gatsby-plugin-sharp (#1047)
fk May 30, 2017
a48b771
[1.0] Add plop to simplify creating a new package as well as stub out…
KyleAMathews May 30, 2017
c43c33a
Fix typography styles for "image-processing" example build (#1061)
fk May 30, 2017
4587338
Add styled-components support (#1060)
gutenye May 30, 2017
8e6ec57
Add src directories to stub packages (#1062)
KyleAMathews May 30, 2017
102adc5
[1.0] Refactor and document APIs (#1053)
KyleAMathews May 31, 2017
9405858
Remove comments
KyleAMathews May 31, 2017
c483e34
Copy edits
KyleAMathews May 31, 2017
891e638
Use headComponents Instead
gutenye May 31, 2017
4a52b0d
[1.0] Make links to draft doc pages gray (#1072)
KyleAMathews May 31, 2017
aa367c3
Add note about development 404 page
KyleAMathews May 31, 2017
7b3bcd5
[1.0] make determining when a given stage is finished much more relia…
KyleAMathews Jun 1, 2017
7400315
Fix adding element to headComponents
KyleAMathews Jun 1, 2017
5cf42f1
Merge branch 'gutenye-fix-styled-components-headcomponents' into 1.0
KyleAMathews Jun 1, 2017
e0f2b89
Add styled components to list of plugins
KyleAMathews Jun 1, 2017
a64ddc0
[1.0] Factor out node sourcing code into its own module (#1083)
KyleAMathews Jun 2, 2017
62846ae
Fix TravisCI by installing latest npm (#1066)
hawkrives Jun 2, 2017
52bc4fe
[1.0] SSR API changes (#1085)
KyleAMathews Jun 2, 2017
4b32a6a
Fix inference bug (#1087)
jquense Jun 2, 2017
fba2ee2
Drop the number of configurations we're testing on so tests come back…
KyleAMathews Jun 2, 2017
b8323a3
Tweak copy for browser API docs (#1089)
KyleAMathews Jun 2, 2017
2e72dcf
v1.0.0-alpha17
KyleAMathews Jun 2, 2017
f580fda
vundefined
KyleAMathews Jun 2, 2017
8d75be4
Fail on publishing if running build fails
KyleAMathews Jun 2, 2017
411ee7c
Making commit so can publish again
KyleAMathews Jun 2, 2017
8e56869
v1.0.0-alpha18
KyleAMathews Jun 2, 2017
e1ace21
Add missing dependency
KyleAMathews Jun 2, 2017
1ca6c19
Publish alpha18 with async dependency added
KyleAMathews Jun 2, 2017
9317da0
Fix rendering react-helmet components on server
KyleAMathews Jun 2, 2017
8896721
Bump react-helmet plugin to alpha18 with fix
KyleAMathews Jun 2, 2017
aa1a66f
Change name of ssr api function
KyleAMathews Jun 2, 2017
ca6572a
Fix plugins that were still using postBuild instead of onPostBuild
KyleAMathews Jun 2, 2017
a0293b3
Pick values off plugin's package.json to avoid weird metadata from NP…
KyleAMathews Jun 2, 2017
8e7d6bc
Update to latest prettier (#1091)
KyleAMathews Jun 3, 2017
a1a9896
[1.0] Validate APIs in gatsby-node.js (#1092)
KyleAMathews Jun 3, 2017
9f55450
Small fix to typography
KyleAMathews Jun 3, 2017
6da3ae6
Add CHANGELOG entry for alpha 19
KyleAMathews Jun 3, 2017
c499682
v1.0.0-alpha19
KyleAMathews Jun 3, 2017
fa8f8c9
Add another entry to CHANGELOG
KyleAMathews Jun 3, 2017
33a13a7
Add links to doc pages
KyleAMathews Jun 3, 2017
a40e3bb
Initial appveyor yml, run main and each example (#1049)
jbolda Jun 3, 2017
81f2510
[1.0] Add basic Contentful source support (#1084)
mericsson Jun 3, 2017
cd9721a
Update contentful for latest alpha (#1094)
KyleAMathews Jun 3, 2017
a2f3e88
Add page cache safeguard (#1096)
0x80 Jun 3, 2017
4b0c0f4
Update README.md (#1097)
kevinfoerster Jun 3, 2017
457f7bd
Fix onRouteUpdate API (#1102)
0x80 Jun 5, 2017
3f02153
[1.0] RSS Feed Plugin (#1073)
Jun 5, 2017
2f3c585
Update README.md
KyleAMathews Jun 5, 2017
1dae826
Update README.md
KyleAMathews Jun 5, 2017
dcf7650
[1.0] Add part 1 of the Gatsby v1 tutorial (#1107)
KyleAMathews Jun 5, 2017
0ae0ee2
[1.0] Add inline help when building HTML fails (#1109)
KyleAMathews Jun 5, 2017
a60eec1
Add CHANGELOG for alpha20
KyleAMathews Jun 6, 2017
4e154ef
Don't install canaries as things break too easily with them
KyleAMathews Jun 6, 2017
36e507a
v1.0.0-alpha20
KyleAMathews Jun 6, 2017
fc65bf2
Add documentation to gatsby-remark-prism
KyleAMathews Jun 6, 2017
ebf0639
[1.0] Move inline html build debugging help to docs (#1112)
KyleAMathews Jun 6, 2017
82a7196
Appveyor bug fixes (#1114)
jbolda Jun 6, 2017
850008d
Fix Appveyor bug regarding build all examples on release (#1118)
jbolda Jun 7, 2017
2380237
[1.0] Ensure component file paths are normalized fixes #1093 (#1113)
KyleAMathews Jun 7, 2017
6a3aea7
Didn't need to create jobs here
KyleAMathews Jun 7, 2017
8ea2a11
v1.0.0-alpha21
KyleAMathews Jun 7, 2017
8f1724d
[1.0] Sitemap Generator Plugin (#1115)
Jun 7, 2017
4645524
Fix feed plugin README (#1120)
Jun 7, 2017
8fdca0b
[1.0] Redux example (#1081)
scottyeck Jun 7, 2017
fe3e9a4
v1.0.0-alpha.22
KyleAMathews Jun 8, 2017
53bbdde
Appveyor artifacts (#1129)
jbolda Jun 8, 2017
adb27f8
examples/redux use latest APIs (#1128)
mericsson Jun 8, 2017
dafc17a
Fix typo (#1139)
fk Jun 10, 2017
2477956
Cleanup stray .nvmrc files, standardize (#1141)
Jun 10, 2017
711d16d
Add icons to gatsby-plugin-manifest example options (#1140)
fk Jun 10, 2017
acbc22e
[1.0] optimizations around prefetching page resources (#1133)
KyleAMathews Jun 10, 2017
d182f94
[1.0] Replace using levelup for caching with lowdb to avoid native de…
KyleAMathews Jun 11, 2017
b8e0ed4
Fix conversion (#1154)
KyleAMathews Jun 12, 2017
0069ba4
[1.0] Change linkPrefix to pathPrefix and add example site (#1155)
KyleAMathews Jun 13, 2017
51bdc9d
[1.0] Ignore SVGs in gatsby-remark-responsive-image (#1145) (#1157)
fk Jun 13, 2017
2d2aa0e
Add missing .npmignore
KyleAMathews Jun 13, 2017
b7aeb66
Add check that we can actually find a linked image file node
KyleAMathews Jun 13, 2017
6c09730
Add rough draft for create source plugin docs (#1159)
KyleAMathews Jun 13, 2017
abc93d6
Add ability to locally define plugins (#1126)
0x80 Jun 13, 2017
9e8964d
gatsby-remark-responsive-images: use span instead of div (#1150) (#1151)
rstacruz Jun 13, 2017
21920c9
Use pure function to setup RSS feed (#1162)
Jun 13, 2017
7f58110
Moar bugs (#1136)
jquense Jun 13, 2017
eab7d28
Use custom delimiter when flattening example values for enum fields s…
KyleAMathews Jun 13, 2017
8bbc7d7
gatsby-plugin-feed .gitignore (#1163)
mericsson Jun 13, 2017
d2840a8
Don't use prefetcher in development fixes #1161 (#1164)
KyleAMathews Jun 13, 2017
99d1e6d
[1.0] Fix windows build issue (#1158)
KyleAMathews Jun 13, 2017
d0349ea
[1.0] Only async load page resources in component-renderer if sync fa…
KyleAMathews Jun 14, 2017
9a5c4a4
v1.0.0-alpha.23
KyleAMathews Jun 14, 2017
dde536b
Make the plugin options for remark plugins the second argument (like …
KyleAMathews Jun 14, 2017
2b5d83f
Update dependencies and some minor changes (#1168)
KyleAMathews Jun 14, 2017
abf6fd9
replacing react.createClass with ES6 classes in exmaples html.js, add…
abachuk Jun 14, 2017
0f72739
[1.0] New design + new home page 🎉 (#1170)
KyleAMathews Jun 15, 2017
719a569
[1.0] Allow for gatsby-remark-smartypants options (#1166)
mitchejj Jun 15, 2017
7a5d693
Clarify location of page
KyleAMathews Jun 15, 2017
1639377
[1.0] Fix graphql compiler on typescript (#949)
fabien0102 Jun 15, 2017
7c30ffe
Improve sidebar UI (#1178)
fk Jun 15, 2017
54cbbee
[1.0] WIP GraphQL connection operator name tweaks fixes #1174 (#1177)
KyleAMathews Jun 15, 2017
19729fe
Beta release prep (#1180)
KyleAMathews Jun 15, 2017
bf2292c
v1.0.0-beta.1
KyleAMathews Jun 15, 2017
3a7ad1b
Fix a typo on gatby-link updating (#1181)
Jun 15, 2017
0daf8e3
Emphasize more switching to gatsby-link from react-router's Link
KyleAMathews Jun 15, 2017
1131479
fix css on frontpage on ios
KyleAMathews Jun 15, 2017
28f6d03
Merge branch '1.0' of github.com:gatsbyjs/gatsby into 1.0
KyleAMathews Jun 15, 2017
59dc538
Add event when all plugins are finished running so know when to start…
KyleAMathews Jun 16, 2017
ef6e7d9
[1.0] Add beta 1 blog post (#1183)
KyleAMathews Jun 16, 2017
231b53c
Copy tweaks
KyleAMathews Jun 16, 2017
221ddba
Prefer the frontmatter excerpt if available in blog index
KyleAMathews Jun 16, 2017
eea2b3a
Fix building thumbnails when an image is processed multiple times (#1…
KyleAMathews Jun 16, 2017
e8c65e9
Use jpg so smaller
KyleAMathews Jun 16, 2017
06b36fc
Add .npmignore to source-drupal plugin so it'll publish
KyleAMathews Jun 16, 2017
82c23a6
Log error loading bundle
KyleAMathews Jun 16, 2017
8a93bfa
Move package to canary until publish next beta
KyleAMathews Jun 16, 2017
6ff9bec
More blog fixes
KyleAMathews Jun 16, 2017
327c7a5
[1.0] Moar ui stuff (#1184)
fk Jun 16, 2017
ea6a06b
Fix prism line highlighting (#1187)
KyleAMathews Jun 16, 2017
2b9635d
Better title for blog post
KyleAMathews Jun 16, 2017
528e4b4
[1.0] Update CHANGELOG and elsewhere for beta.2 (quick bug fix releas…
KyleAMathews Jun 16, 2017
2a52b06
v1.0.0-beta.2
KyleAMathews Jun 16, 2017
8a3f636
[1.0] Fix 100% width code highlight background only being drawn for t…
fk Jun 17, 2017
a8a74cd
gatsby-remark-responsive-image: fix misaligned images (#1196)
rstacruz Jun 17, 2017
60015c3
Reduce font-size of the mobile menu labels (#1201)
fk Jun 18, 2017
4bef9d1
For Contentful, filter out unresolvable entries and create markdown t…
KyleAMathews Jun 18, 2017
74a79a3
[1.0] Update the default sitemap query (#1204)
Jun 19, 2017
0eebe40
absolute resolves for gatsby config files (#1195)
Jun 19, 2017
e359ca3
[1.0] Merge sidebar components (#1191)
fk Jun 19, 2017
0c01cbc
Fix broken links (#1205)
KyleAMathews Jun 19, 2017
907ecd9
Fix file name
KyleAMathews Jun 19, 2017
3b45684
Increase contentful fetch limit to max of 1000 (#1209)
KyleAMathews Jun 20, 2017
37cf17e
Make link to Github source code more prominant (#1210)
KyleAMathews Jun 20, 2017
3fed1c2
An array of linked nodes linking to heterogeneous node types is now c…
KyleAMathews Jun 20, 2017
ce300da
Final fixes to highlight code line whitespace, doc (#1207)
fk Jun 20, 2017
a119564
[1.0] [source-contentful] Use field type to determine if it's a 'Text…
KyleAMathews Jun 20, 2017
a0513a1
Improve GQL query error handling (#1214)
0x80 Jun 20, 2017
44901ad
Update on Gatsby Windows instructions (#1216)
sebastienfi Jun 20, 2017
27bfefa
[1.0] www: Make the header fixed for tablets and up (#1215)
fk Jun 20, 2017
ec136c2
[1.0] When a new service worker is loaded, force reload (#1217)
KyleAMathews Jun 20, 2017
ecd9d03
[1.0] Actually keep old service worker filename (#1219)
KyleAMathews Jun 20, 2017
bbe6a5c
Support path prefixes for service workers
KyleAMathews Jun 21, 2017
38d760b
Copy edits
KyleAMathews Jun 21, 2017
836fdd9
Copy tweak
KyleAMathews Jun 21, 2017
e13a41e
Group all commands in one code block
KyleAMathews Jun 21, 2017
8cd20d7
Add google tagmanager plugin (#1123)
0x80 Jun 21, 2017
9db21a0
Add gatsby-plugin-google-tagmanager to list of plugins
KyleAMathews Jun 21, 2017
0e0e3c9
[1.0] Show better errors when there's a graphql compilation problem (…
KyleAMathews Jun 21, 2017
f8bab8e
Update Prettier
KyleAMathews Jun 21, 2017
5c3f7a3
v1.0.0-beta.3
KyleAMathews Jun 21, 2017
83e7048
Fix link to tutorial (#1224)
fk Jun 21, 2017
07a2838
Add CHANGELOG for beta.3 (#1226)
KyleAMathews Jun 21, 2017
8e329f1
minor fix in gatsby-source-contentful and examples/using-contentful f…
mericsson Jun 21, 2017
6ba2efd
Fix copy/paste
KyleAMathews Jun 21, 2017
6cfa0e7
Open external image link with rel='noopener' (#1227)
casprwang Jun 21, 2017
404a27c
[1.0] [source-contentful] Add graphql fields for creating responsive …
KyleAMathews Jun 22, 2017
1cb4cf8
Prefer floats over integers (#1229)
KyleAMathews Jun 22, 2017
e8808a4
Ensure graphql versions are the same (#1234)
KyleAMathews Jun 22, 2017
15f49df
Update more graphql related packages
KyleAMathews Jun 22, 2017
65575d1
Downgrade graphql to 0.9
KyleAMathews Jun 22, 2017
a694e4a
Merge branch '1.0' of github.com:gatsbyjs/gatsby into 1.0
KyleAMathews Jun 22, 2017
4c8cba7
[1.0] Finish creating/modifying pages docs page (#1235)
KyleAMathews Jun 22, 2017
c4a2bd0
Update index.d.ts (#1232)
timsuchanek Jun 22, 2017
d7bae92
[1.0] Fix typo in gatsby-remark-responsive-image (#1237)
fk Jun 22, 2017
590c01b
[1.0] [source-contentful] Fix image api integration + add examples pa…
KyleAMathews Jun 23, 2017
9451bcd
Refactor data processing into own module + use more standard GraphQL …
KyleAMathews Jun 23, 2017
995dccd
adds documentation on how to use custom webpack-config (#1242)
Jun 23, 2017
8405e6f
add friendly webpack ouput (#1240)
Jun 23, 2017
a5cfffd
Fix babel compilation so targets uglify (#1244)
KyleAMathews Jun 23, 2017
45c3290
Fix typo (#1245)
fk Jun 23, 2017
3b50c0f
[1.0] Add using-remark example site (#1230)
fk Jun 23, 2017
3306017
[1.0] Small fixes for beta.4 (#1246)
KyleAMathews Jun 23, 2017
c58ae5b
v1.0.0-beta.4
KyleAMathews Jun 23, 2017
f15e55a
Add CHANGELOG for beta.4 (#1247)
KyleAMathews Jun 23, 2017
a7fb3c7
Fix link to webpack config docs
KyleAMathews Jun 23, 2017
0421972
[1.0] Fix graphql mis-match problem (#1248)
KyleAMathews Jun 24, 2017
102dcbd
v1.0.0-beta.5
KyleAMathews Jun 24, 2017
265f94f
[1.0] using-remark fixes (#1250)
fk Jun 24, 2017
c74ca8d
Broken example commands in DOCS / Getting Started page (#1252)
sebastienfi Jun 24, 2017
8f65d82
Don't catch links to files (#1260)
KyleAMathews Jun 26, 2017
318257c
Improve develop-html stage (#1254)
Jun 26, 2017
9a3bf22
Make various tweaks to the tutorial (#1262)
KyleAMathews Jun 26, 2017
4431751
[WIP] : Use the sync endpoint to pull data from Contentful (#1241)
Khaledgarbaya Jun 26, 2017
c64a932
[1.0] Contentful fixes (#1263)
KyleAMathews Jun 27, 2017
1a65ba7
[1.0] [source-contentful] Create new way to detect not-resolvable ent…
KyleAMathews Jun 27, 2017
14e1594
Fix order of creating pages docs page (#1265)
KyleAMathews Jun 27, 2017
a80ebd6
Update blog post for changes
KyleAMathews Jun 27, 2017
dc0163a
[1.0] Add tests for parsing regex args + fix bug (#1267)
KyleAMathews Jun 27, 2017
971db18
Use localized space (#1266)
Khaledgarbaya Jun 27, 2017
7228751
Add to docs on debugging pages (#1268)
KyleAMathews Jun 27, 2017
9512042
Upgrade Prettier to 1.5 (#1270)
KyleAMathews Jun 27, 2017
6c60a25
Fixes for feed plugin README (#1273)
KyleAMathews Jun 27, 2017
0ce9432
[1.0] using-remark: preload fonts used on the homepage (#1256)
fk Jun 27, 2017
26046a3
[1.0] [gatsby-source-contentful] Add testing for existing API process…
KyleAMathews Jun 28, 2017
0ab3ad6
Remove console.log (#1275)
fk Jun 28, 2017
9cfc873
[1.0] [gatsby-source-contentful] Left-pad IDs starting with a number …
KyleAMathews Jun 28, 2017
22cd440
gatsby-transformer-javascript-static-exports (#1253)
jbolda Jun 28, 2017
80ca8f5
Added support for HTML img tags
Jun 28, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 25 additions & 6 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,30 @@
{
"sourceMaps": true,
// "env": {
// "development": {
// "sourceMaps": "inline"
// },
// "production": {
// "sourceMaps": false
// }
// },
"presets": [
'react',
'es2015',
'stage-0',
[
"env",
{
"targets": {
"node": 4.0,
"uglify": true,
}
}
],
"react",
"flow"
],
"plugins": [
'transform-flow-strip-types',
'lodash',
],
"transform-runtime",
"transform-object-rest-spread",
"transform-async-to-generator",
"transform-flow-strip-types"
]
}
109 changes: 62 additions & 47 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,58 +1,73 @@
{
"parser": "babel-eslint",
"extends": [
"eslint-config-airbnb",
"plugin:ava/recommended"
"google",
"eslint:recommended",
"plugin:flowtype/recommended",
"plugin:react/recommended",
"prettier",
"prettier/flowtype",
"prettier/react"
],
"plugins": [
"ava",
"flowtype",
"flow-vars"
"react"
],
"rules": {
"indent": [2, 2, {"SwitchCase": 1}],
"no-console": [0],
"func-names": [0],
"semi": [2, "never"],
"no-extra-semi": [2],
"space-before-function-paren": [2, "always"],
"no-else-return": [0],
"space-infix-ops": [0],
"react/prefer-es6-class": [0],
"react/prefer-stateless-function": [0],
"no-underscore-dangle": ["error", { "allow": ["_config"] }],
"import/no-unresolved": [0],
"global-require": [0],
"no-duplicate-imports": [0],
/*"flowtype/require-parameter-type": 1,*/
/*"flowtype/require-return-type": [*/
/*1,*/
/*"always",*/
/*{*/
/*"annotateUndefined": "never"*/
/*}*/
/*],*/
/*"flowtype/space-after-type-colon": [*/
/*1,*/
/*"always"*/
/*],*/
/*"flowtype/space-before-type-colon": [*/
/*1,*/
/*"never"*/
/*],*/
/*"flowtype/type-id-match": [*/
/*0,*/
/*"^([A-Z][a-z0-9]+)+Type$"*/
/*],*/
/*"flow-vars/define-flow-type": 1,*/
/*"flow-vars/use-flow-type": 1,*/
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
"__PREFIX_LINKS__": true,
"env": {
"es6": true,
"node": true,
"jest": true
},
"settings": {
"flowtype": {
"onlyFilesWithFlowAnnotation": true
}
"rules": {
"no-console": "off",
"valid-jsdoc": "off",
"require-jsdoc": "off",
"quotes": [
"error",
"backtick"
],
"consistent-return": [
"error",
],
"arrow-body-style": [
"error",
"as-needed",
{ "requireReturnForObjectLiteral": true }
],
"jsx-quotes": [
"error",
"prefer-double"
],
"semi": [
"error",
"never"
],
"object-curly-spacing": [
"error",
"always"
],
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}
],
"react/prop-types": [
"error",
{
"ignore": ["children"]
}
]
}
}
26 changes: 6 additions & 20 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
[version]
0.27.0
0.42.0

[ignore]
.*/node_modules/.*
.*/test/.*

[include]
node_modules

[libs]
./interfaces/
node_modules/iflow-debug/index.js.flow
node_modules/iflow-lodash/index.js.flow
node_modules/iflow-react-router/index.js.flow

[options]
esproposal.class_instance_fields=enable
esproposal.class_static_fields=enable

strip_root=true

suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
suppress_comment= \\(.\\|\n\\)*\\$FlowIssue
.*/node_modules/typography/.*
.*/node_modules/fbjs/.*
.*/node_modules/react-side-effect/.*
.*/www/.*
.*/examples/.*
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,12 @@ bin/published.js
test/**/public
.gatsby-context.js
.DS_Store
public/
node_modules/
.cache/
.netlify

# IDE specific
.vscode/
yarn.lock
package-lock.json
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7
12 changes: 12 additions & 0 deletions .pre-commit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh
jsfiles=$(git diff --cached --name-only --diff-filter=ACM | grep '\.jsx\?$' | tr '\n' ' ')
[ -z "$jsfiles" ] && exit 0

diffs=$(node_modules/.bin/prettier -l $jsfiles)
[ -z "$diffs" ] && exit 0

echo "here"
echo >&2 "Javascript files must be formatted with prettier. Please run:"
echo >&2 "node_modules/.bin/prettier --write "$diffs""

exit 1
51 changes: 15 additions & 36 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,17 @@
# back to language cpp to try to bypass osx node failure
language: cpp
sudo: false
env:
- export NODE_VERSION="0.12"
- export NODE_VERSION="4"
- export NODE_VERSION="6"
os:
- linux
#- osx
# pre-install to bring in the correct version of node via nvm
language: node_js
node_js:
- "6"
- "8"

os: [linux]
dist: trusty
sudo: required

before_install:
- git submodule update --init --recursive
- git clone https://github.com/creationix/nvm.git ./.nvm
- source ./.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
- npm config set python `which python`
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CC="gcc-4.8";
export CXX="g++-4.8";
export LINK="gcc-4.8";
export LINKXX="g++-4.8";
fi
- gcc --version
- g++ --version
# node 4 depends on gcc 4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- gcc-4.8
# script needed to test, because defaults don't work on osx
script:
- npm i -g npm@latest

install:
- npm install
- npm run test

script:
- npm test
Loading