Skip to content

Commit

Permalink
Inferno Mega Refactor (#1125)
Browse files Browse the repository at this point in the history
* Mega refactor test

* Other files copied

* Update README.md

* Examples

* Update package.jsons

* Test different build process

* Fixed build

* Correct .travis.yml file

* Test against node 4,6,8

* Fix up karma

* Revert updates test

* Karma stuff

* Fix failing tests

* Change Travis and Coverage

* stuff

* Port 3.4.3

* Apply jestcodemods

* Jest fix

* Fix all tests

* fix merge

* Docs working

* Fix travis script

* Fix travis

* Fix travis script

* Remove custom travis script

* Fix package.json

* Set coverage minimums

* Remove inferno/test/utils

* Stupidly didn't test

* Remove lerna changelog

* prepublishOnly hook

* Testing github pages deploy

* Make fixture for packaging nicer

* Remove deploy

* Use npm@5
  • Loading branch information
LukeSheard authored Jun 11, 2017
1 parent 10cc208 commit 38b09f0
Show file tree
Hide file tree
Showing 162 changed files with 5,993 additions and 7,025 deletions.
33 changes: 15 additions & 18 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,19 @@
"transform-class-properties",
"transform-object-rest-spread",
"babel-plugin-syntax-jsx",
["babel-plugin-inferno", {"imports": true}],
["module-resolver", {
"extensions": [".js", ".jsx"],
"alias": {
"inferno-compat": "./packages/inferno-compat/dist-es",
"inferno-component": "./packages/inferno-component/dist-es",
"inferno-create-class": "./packages/inferno-create-class/dist-es",
"inferno-create-element": "./packages/inferno-create-element/dist-es",
"inferno-shared": "./packages/inferno-shared/dist-es",
"inferno-hyperscript": "./packages/inferno-hyperscript/dist-es",
"inferno-mobx": "./packages/inferno-mobx/dist-es",
"inferno-redux": "./packages/inferno-redux/dist-es",
"inferno-router": "./packages/inferno-router/dist-es",
"inferno-server": "./packages/inferno-server/dist-es",
"inferno": "./packages/inferno/dist-es"
}
}]
]
["babel-plugin-inferno", {"imports": true}]
],
"env": {
"test": {
"presets": [
"es2015"
],
"plugins": [
"transform-class-properties",
"transform-object-rest-spread",
"babel-plugin-syntax-jsx",
["babel-plugin-inferno", {"imports": true}]
]
}
}
}
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

154 changes: 0 additions & 154 deletions .eslintrc.json

This file was deleted.

28 changes: 28 additions & 0 deletions .github/COMMIT_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# <type>: (If applied, this commit will...) <subject> (Max 50 char)
# |<---- Using a Maximum Of 50 Characters ---->|


# Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|

# Provide links or keys to any relevant tickets, articles or other resources
# Example: Github issue #23

# --- COMMIT END ---
# Type can be
# feat (new feature)
# fix (bug fix)
# refactor (refactoring production code)
# style (formatting, missing semi colons, etc; no code change)
# docs (changes to documentation)
# test (adding or refactoring tests; no production code change)
# chore (updating grunt tasks etc; no production code change)
# --------------------
# Remember to
# Capitalize the subject line
# Use the imperative mood in the subject line
# Do not end the subject line with a period
# Separate subject from body with a blank line
# Use the body to explain what and why vs. how
# Can use multiple lines with "-" for bullet points in body
# --------------------
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*Before* submitting an issue please:
- Check that you are using the latest version of Inferno. Either using unpkg [CDN @ Master](http://unpkg.com/inferno@latest/dist/inferno.js) or by checking the tags on [NPM](http://www.npmjs.com/package/inferno).
- Check that you are using the latest version of Inferno. Either using our [CDN @ Master](http://cdn.infernojs.org/latest/inferno.js) or by checking the tags on [NPM](http://www.npmjs.com/package/inferno).
- Check that the bug has not been fixed in the latest development version. Use our [CDN @ Edge](http://cdn.infernojs.org/edge/inferno.js).
- Check that the issue has not been brought up before on [Github issues](http://www.github.com/infernojs/inferno/issues).

**If you can, please distill your problem down and include a JSFiddle example for illustration. Also when requesting bug fix please include at least one test to avoid regression.**
Expand All @@ -13,9 +14,9 @@ Inferno is...

**Expected Current Behaviour**

Inferno should...
Inferno should...

**Inferno Metadata**

macOS / Windowx / Linux
Safari / Chrome / Firefox / ...
Safari / Chrome / Firefox / ...
39 changes: 9 additions & 30 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,39 +1,18 @@
_site
.history
.git
build
.build
.git
.history
.idea
.jshintrc
.nyc_output
.sass-cache
.vscode
build
coverage
jsconfig.json
Gemfile.lock
node_modules

.DS_Store
*.map
.rpt2_cache*
.changelog

*.log
*.log*
*.swp
*~
test/data/result.json

*.orig
build
coverage
docs
node_modules

packages/*/tsconfig.*
packages/*/.npmignore
packages/*/dist-es
packages/*/dist
test/data/baseline.json
test/data/result.json

.fliphub
.fusebox
.changelog
.npm-debug.log*
package-lock.json

14 changes: 0 additions & 14 deletions .npmignore

This file was deleted.

26 changes: 19 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ language: node_js
node_js:
- '6'

cache:
directories:
- node_modules
- fixtures/browser/node_modules
- fixtures/packaging/node_modules

notifications:
email:
on_success: change
Expand All @@ -16,15 +22,21 @@ addons:
chrome: stable
firefox: latest

script:
- npm run lint
- npm run test:browser
- npm run test:server
- npm run test:package
before_install:
- npm install -g npm@5

before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"

after_script:
- npm run test:publish
jobs:
include:
- script: npm run lint
- script:
- npm run test:coverage
- npm run coveralls
- script: npm run test:browser
- stage: Build
script:
- npm run build
- npm run test:package
12 changes: 0 additions & 12 deletions bin/link

This file was deleted.

Loading

0 comments on commit 38b09f0

Please sign in to comment.