Skip to content

Commit

Permalink
Release 0.0.6 alpha (#170) (#226)
Browse files Browse the repository at this point in the history
* Updated readme, contributing, Cards, misc

* React Props Correction and Formatting (#161)

* Formats

* Linter

* Link

* Lint fixes

* Lint

* Lint

* Lint

* UI design implementation (#169)

* Initial prototype commmit

* Added backdrop and poster images to item page

* Added happypack and webpack-dashboard

* Fixed all tests

* Temporarily skip subtitle tests

* Updated card styles

* Changed base font for headers, fixed spacing in Movie

* Initial base theming for item page

* Fixed sass lint error

* Updated package.json app version

* Fixed styles precedence in Item.scss causing plyr overlay bug

* Moved npm-check-engines to postinstall from preinstall

* Added optimize-js to package.json

* Removed optimize-js from build script

* Downgraded mocha to version 2

* Updated Player.js to have more idomatic playback

* Fixed contribution linter setup link

* Added 'editor configuration' to readme

* Updated deps

* Added flow types

* Fixed 'getting started' header size in readme

* Added missing react-transitions dep

* Fixed all tests, added more flowtype annotations

* Fixed readme merge conflict redidue

* Fixed idealTorrent for movies

* Swapped babel-preset-es2015 for babel-preset-env

* Fixed react function binding in Movie component

* Added initial non-working app update checking

* Renamed Movie and MoviePage to Item and ItemPage

* Initial commit (#193)

* Presentational layer refactoring (#187)

* Initial working commit

* Added scrolling to top on similar item card click

* Added native redux devtools support

* Added yarn file

* Added yarn to ci

* Fixed linter error with App.js HOC

* Reverted travis ci yarn integration

* Updated deps in yarn.lock

* Redux migration in HomePage

* Revert "Updated deps in yarn.lock"

This reverts commit 876e04b.

* Revert "Redux migration in HomePage"

This reverts commit 5e3ff39.

* Revert "Presentational layer refactoring (#187)"

This reverts commit 1b17f4b.

* Revert "Presentational layer refactoring (#187)"

This reverts commit 1b17f4b.

* migrate-to-redux-window.devToolsExtension

* Initial working commit (#195)

* Add inital item page e2e testing (#197)

* Initial working commit

* Initial working commit

* Fixed linter error causing test failure

* Updated deps

* flow-typed-cli-support (#200)

* Initial working commit

* Added more optimal flowconfig

* Flow typed cli support (#201)

* Initial working commit

* Added more optimal flowconfig

* Removed running flow-typed from installation step

* Added package.json support for node 7 (#206)

* Added appveyor node_modules caching (#205)

* Added appveyor node_modules caching

* Fixed code-style

* Update editorconfig (#204)

* Updated package.json engines (#208)

* Updated package.json engines

* Change 'engines' to 'devEngines'

* Updated deps and flow-typed deps (#209)

* Updated all deps (#214)

* Updated all deps

* Fixed linter errors from new ESLint rules

* Migrated trakt from git hash commit to npm package (#217)

* Revitalize Project, Merge changes from ERB (#221)

* Removed flow-typed from version control

* Added missing dependencies

* Initial jest migration

* Migrated testing API methods from chai to jest

* FIxed HMR, styling

* Fixed postinstall ffmpeg installation

* Converted dirnames in postinstall to absolute paths

* Fixed long production build times

* Fixed eslint errors, more infra changes to eslint

* Renamed all react modules to .jsx extension from .js

* Fix eslint errors

* Temporarily disabled babili minification for decent build times

* Disallowed weak-types, removed weak types, added stricter types

* Prettier Formatting (#224)

* Prettier Formatting

* Migrated all prop types to flow types

* Stricter type defs

* Merged mentos1386:themoviedb-migration

* Fixed search functionality by adding API key

* Fixed title formatting for shows

* Corrected poster path in TheMovieDBMetadataProvider

* Fixed react-router breaking changes

* Removed .env from version control [ci skip]

* Fixed styling, added getSimilar() api for themoviedbmetadataprovider

* Fixed production sass config

* Updated links in menu.js

* Updated ffmpeg version to corresponding electron version

* Updated jest tests, made tests concurrent

* Fixed e2e tests [ci skip]

* Fixed dropdown in Item.jsx

* Fixed webpack dll webtorrent issue, added resources to version control

* Migrated search api endpoint from omdb to tmdb

* Added initial scroll position restoration

* Added initial trailer support

* Styling fixes for Item.jsx

* Styling refactoring

* Misc overflow styling changes for list groups in Show.jsx
  • Loading branch information
amilajack authored Jul 8, 2017
1 parent c0fec17 commit 010a84c
Show file tree
Hide file tree
Showing 130 changed files with 18,074 additions and 4,178 deletions.
45 changes: 19 additions & 26 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,36 +1,29 @@
{
"presets": ["es2015", "stage-0", "react"],
"presets": [
["env", {
"targets": { "node": 7 },
"useBuiltIns": true
}],
"stage-0",
"react"
],
"plugins": [
"add-module-exports",
"transform-runtime"
"dynamic-import-webpack"
],
"env": {
"development": {
"presets": ["react-hmre"],
"plugins": [
"syntax-flow",
"tcomb",
"transform-flow-strip-types"
]
"production": {
"presets": ["react-optimize"],
"plugins": ["babel-plugin-dev-expression"]
},
"production": {
"presets": ["react-optimize"],
"plugins": [
"babel-plugin-transform-remove-console",
"babel-plugin-transform-remove-debugger",
"babel-plugin-dev-expression",
"syntax-flow",
"transform-flow-strip-types"
]
},
"test": {
"development": {
"plugins": [
["webpack-loaders", { "config": "webpack.config.node.js", "verbose": false }],
["babel-plugin-module-alias", [
{ "src": "node_modules/electron-prebuilt" , "expose": "electron" }
]],
"syntax-flow",
"transform-flow-strip-types"
"transform-class-properties",
"transform-es2015-classes"
// ["flow-runtime", {
// "assert": true,
// "annotate": true
// }]
]
}
}
Expand Down
12 changes: 0 additions & 12 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,5 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.yml]
indent_style = space
indent_size = 2

[*.{json,js,jsx,html,css}]
indent_style = space
indent_size = 2

[.eslintrc]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
50 changes: 47 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,48 @@
main.js
app/dist
app/main.js
# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
.eslintcache

# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules
app/node_modules

# OSX
.DS_Store

# flow-typed
flow-typed/npm/*
!flow-typed/npm/module_vx.x.x.js

# App packaged
app/main.prod.js
app/main.prod.js.map
dist
dll
release
resources

.idea
npm-debug.log.*
__snapshots__
117 changes: 39 additions & 78 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,91 +1,52 @@
{
"extends": [
"airbnb",
"bliss",
"prettier",
"prettier/flowtype",
"prettier/react"
],
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"node": true,
"es6": true
"node": true
},
"rules": {
"arrow-parens": 0,
"class-methods-use-this": 0, # HACK: Classes will be replaced by pure fn's
"comma-dangle": ["error", "never"],
"consistent-return": 2,
"func-names": 2,
# "fp/no-class": "error", # TODO: In progress
"fp/no-delete": "error",
"fp/no-events": "error",
"fp/no-let": "error",
"fp/no-loops": "error",
"fp/no-mutating-assign": "error",
"flowtype-errors/show-errors": 2,
# "fp/no-mutation": "error", # TODO: In progress
# "fp/no-nil": "error", # TODO: In progress
# "fp/no-proxy": "error", # TODO: In progress
# "fp/no-this": "error", # TODO: In progress
# "fp/no-throw": "error", # TODO: In progress
# "fp/no-unused-expression": "error", # TODO: In progress
"generator-star-spacing": [0], # HACK: https://github.com/airbnb/javascript/issues/948
"import/no-extraneous-dependencies": ["off"],
"import/no-unresolved": [2, { "ignore": ["electron"] }],
"jsx-filename-extension": 0,
"jsx-a11y/no-static-element-interactions": 0,
"new-cap": 0,
"no-implicit-coercion": "error",
"no-mixed-operators": 0,
"no-use-before-define": 0,
"no-nested-ternary": 0,
"no-underscore-dangle": 0,
"no-console": 0,
"no-var": "error",
"promise/param-names": 2,
"promise/always-return": 2,
"promise/catch-or-return": 2,
"promise/no-native": 0,
# "react/no-set-state": 2, # TODO: In progress
"react/no-unused-prop-types": 0,
"react/jsx-no-bind": 1, # TODO: In progress
"react/prefer-stateless-function": 2,
"react/jsx-filename-extension": 0,
"react/sort-comp": 0,
"flowtype/define-flow-type": 2,
# "flowtype/require-parameter-type": 2,
# "flowtype/require-return-type": [ # TODO: In progress
# 2,
# "always",
# {
# "annotateUndefined": "never"
# }
# ],
"flowtype/space-after-type-colon": [
2,
"always"
],
"flowtype/space-before-type-colon": [
2,
"never"
],
"flowtype/type-id-match": [
2,
"^([A-Z][a-z0-9]+)+Type$"
],
"flowtype/use-flow-type": 2,
"flowtype/valid-syntax": 2
"class-methods-use-this": "off",
"flowtype/boolean-style": ["error", "boolean"],
"flowtype/no-weak-types": "error",
"fp/no-arguments": "off",
"fp/no-class": "off",
"fp/no-delete": "off",
"fp/no-events": "off",
"fp/no-get-set": "off",
"fp/no-let": "off",
"fp/no-loops": "off",
"fp/no-mutating-assign": "off",
"fp/no-mutating-methods": "off",
"fp/no-mutation": "off",
"fp/no-nil": "off",
"fp/no-proxy": "off",
"fp/no-rest-parameters": "off",
"fp/no-this": "off",
"fp/no-throw": "off",
"fp/no-unused-expression": "off",
"fp/no-valueof-field": "off",
"import/no-extraneous-dependencies": "off",
"no-var": "off",
"no-let": "off",
"no-plusplus": "off",
"no-use-before-define": "off",
"no-console": "off",
"promise/avoid-new": "off",
"react/sort-comp": ["error", {
"order": ["type-annotations", "properties", "constructor", "static-methods", "everything-else", "lifecycle", "render"]
}]
},
"plugins": [
"import",
"fp",
"promise",
"flowtype",
"flowtype-errors",
"react"
],
"settings": {
"import/extensions": [".jsx", ".js"],
"webpack": {
"config": "webpack.config.eslint.js"
},
"flowtype": {
"onlyFilesWithFlowAnnotation": false
}
}
}
12 changes: 8 additions & 4 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
[ignore]
.*/node_modules/fbjs/.*
.*/node_modules/*
.*/app/node_modules/*
.*/app/main.js
.*/app/dist/.*
.*/release/.*
.*/git/.*

[include]
./app/*.js
./node_modules/
app

[libs]

[options]
esproposal.class_static_fields=enable
esproposal.class_instance_fields=enable
esproposal.export_star_as=enable
experimental.strict_type_args=true

suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe

munge_underscores=true
37 changes: 20 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
Expand All @@ -18,20 +16,12 @@ coverage
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# nyc test coverage
.nyc_output

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
.eslintcache

# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
Expand All @@ -41,12 +31,25 @@ app/node_modules
# OSX
.DS_Store

# Packaged and compiled files
dist
app/dist
app/main.js
app/main.js.map
# flow-typed
flow-typed/npm/*
!flow-typed/npm/module_vx.x.x.js

# App packaged
release
app/main.prod.js
app/main.prod.js.map
app/bundle.js
app/bundle.js.map
app/style.css
app/style.css.map
dist
dll
main.js
main.js.map

.idea
npm-debug.log.*

# Env configuration
# Project specific
.env
Loading

0 comments on commit 010a84c

Please sign in to comment.