This repository has been archived by the owner on Aug 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from YR/feature/switch-to-react
Rewrite to use react instead of @yr/component
- Loading branch information
Showing
18 changed files
with
1,153 additions
and
3,331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
.DS_Store | ||
dist/ | ||
index.js | ||
lib/ | ||
node_modules | ||
npm-debug.log | ||
yarn-error.log | ||
/index.js | ||
/lib/* | ||
/test/test-browser.js | ||
test/ | ||
yarn-error.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
/test | ||
karma.conf.js | ||
.travis.yml | ||
lib/ | ||
npm-debug.log | ||
src/ | ||
test/ | ||
yarn-error.log | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ install: | |
- yarn | ||
script: | ||
- yarn test | ||
- yarn test:browser | ||
cache: | ||
directories: | ||
- ~/.yarn | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,68 +2,40 @@ | |
"name": "@yr/connect-component", | ||
"description": "Helper components for generating @yr/component containers that can efficiently respond to data updates", | ||
"version": "1.1.2", | ||
"author": "Alexander Pope <[email protected]>", | ||
"author": "Alexander Pope <[email protected]>, Simen Sægrov <[email protected]>", | ||
"dependencies": { | ||
"@yr/component": "6.1.x", | ||
"@yr/is-equal": "1.0.x", | ||
"@yr/runtime": "2.0.x" | ||
"@yr/is-equal": "2.0.2", | ||
"@yr/runtime": "^3.0.0", | ||
"prop-types": "^15.6.1", | ||
"react": "^16.3.2" | ||
}, | ||
"devDependencies": { | ||
"@types/prop-types": "^15.5.2", | ||
"@types/react": "^16.3.12", | ||
"@types/react-dom": "^16.0.5", | ||
"@yr/data-store": "*", | ||
"babel-plugin-syntax-trailing-function-commas": "6.22.0", | ||
"babel-plugin-transform-async-generator-functions": "6.24.1", | ||
"babel-plugin-transform-async-to-generator": "6.24.1", | ||
"babel-plugin-transform-es2015-arrow-functions": "6.22.0", | ||
"babel-plugin-transform-es2015-block-scoped-functions": "6.22.0", | ||
"babel-plugin-transform-es2015-block-scoping": "6.26.0", | ||
"babel-plugin-transform-es2015-classes": "6.24.1", | ||
"babel-plugin-transform-es2015-computed-properties": "6.24.1", | ||
"babel-plugin-transform-es2015-destructuring": "6.23.0", | ||
"babel-plugin-transform-es2015-duplicate-keys": "6.24.1", | ||
"babel-plugin-transform-es2015-for-of": "6.23.0", | ||
"babel-plugin-transform-es2015-function-name": "6.24.1", | ||
"babel-plugin-transform-es2015-literals": "6.22.0", | ||
"babel-plugin-transform-es2015-object-super": "6.24.1", | ||
"babel-plugin-transform-es2015-parameters": "6.24.1", | ||
"babel-plugin-transform-es2015-shorthand-properties": "6.24.1", | ||
"babel-plugin-transform-es2015-spread": "6.22.0", | ||
"babel-plugin-transform-es2015-sticky-regex": "6.24.1", | ||
"babel-plugin-transform-es2015-template-literals": "6.22.0", | ||
"babel-plugin-transform-es2015-unicode-regex": "6.24.1", | ||
"babel-plugin-transform-es5-property-mutators": "6.24.1", | ||
"babel-plugin-transform-exponentiation-operator": "6.24.1", | ||
"babel-plugin-transform-object-rest-spread": "6.26.0", | ||
"buddy": "6.x.x", | ||
"chai": "^4.1.1", | ||
"karma": "^1.7.0", | ||
"karma-chai": "^0.1.0", | ||
"karma-chrome-launcher": "^2.2.0", | ||
"karma-mocha": "^1.3.0", | ||
"karma-mocha-reporter": "^2.2.4", | ||
"mocha": "^4.0.1" | ||
"decache": "4.4.0", | ||
"mocha": "^4.0.1", | ||
"prettier": "1.12.1", | ||
"react-dom": "^16.3.2", | ||
"renamer": "^0.6.1", | ||
"rewiremock": "^3.7.2", | ||
"rimraf": "^2.6.2", | ||
"ts-node": "^6.0.3", | ||
"typescript": "^2.8.3" | ||
}, | ||
"main": "src/index.js", | ||
"main": "dist/index", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"repository": "https://github.com/YR/connect-component.git", | ||
"license": "MIT", | ||
"scripts": { | ||
"prepublish": "buddy build", | ||
"test": "NODE_ENV=test mocha test/test.js --reporter spec --bail", | ||
"test:browser": "buddy build && karma start --single-run --browsers ChromeHeadless karma.conf.js" | ||
}, | ||
"browser": "index.js", | ||
"buddy": { | ||
"build": [ | ||
{ | ||
"input": "src/", | ||
"output": ".", | ||
"bundle": false, | ||
"version": "es5" | ||
}, | ||
{ | ||
"input": "test/src/test-browser.js", | ||
"output": "test/test-browser.js", | ||
"label": "test" | ||
} | ||
] | ||
"build": "npm run clean && npm run build-mjs && npm run build-cjs", | ||
"build-cjs": "tsc --module commonjs --target ES5", | ||
"build-mjs": "tsc --module es2015 --target ES2017 && renamer --regex --find '\\.js$' --replace '.mjs' 'dist/**/*.js'", | ||
"clean": "rimraf dist/", | ||
"prepublish": "npm run build", | ||
"test": "NODE_ENV=test mocha src/**/*.spec.tsx -r ts-node/register --reporter spec --bail" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
printWidth: 120, | ||
singleQuote: true, | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.