Skip to content

Commit

Permalink
Reorganize repository structure
Browse files Browse the repository at this point in the history
  • Loading branch information
apendua committed Dec 14, 2017
1 parent 7fe31a7 commit f6a2b08
Show file tree
Hide file tree
Showing 119 changed files with 100 additions and 4,773 deletions.
11 changes: 0 additions & 11 deletions .flowconfig

This file was deleted.

2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
/lib
/node_modules
/.idea
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# ddp-client
# ddp
2 changes: 2 additions & 0 deletions ddp-connector/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/lib
/node_modules
File renamed without changes.
17 changes: 17 additions & 0 deletions ddp-connector/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "ddp-connector",
"version": "0.0.4",
"description": "Connect ddp-redux client to react components",
"main": "lib/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"meteor",
"redux",
"react",
"ddp"
],
"author": "apendua",
"license": "MIT"
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions ddp-redux/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/lib
/node_modules
1 change: 1 addition & 0 deletions ddp-redux/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ddp-redux
File renamed without changes.
67 changes: 67 additions & 0 deletions ddp-redux/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"name": "ddp-redux",
"version": "0.0.1",
"description": "A redux based DDP client",
"main": "lib/index.js",
"scripts": {
"test": "mocha --compilers js:babel-core/register 'src/**/*.test.*'",
"test-watch": "mocha --watch --compilers js:babel-core/register 'src/**/*.test.*' 'examples/**/*.test.js'",
"flow": "flow",
"build": "babel src/ -d lib/",
"build-watch": "watch 'npm run build' ./src",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/apendua/ddp.git"
},
"keywords": [
"meteor",
"ddp",
"redux",
"websocket"
],
"author": "apendua",
"license": "MIT",
"bugs": {
"url": "https://github.com/apendua/ddp/issues"
},
"homepage": "https://github.com/apendua/ddp#readme",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.25.0",
"babel-eslint": "^7.2.3",
"babel-plugin-syntax-trailing-function-commas": "^6.22.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-stage-0": "^6.24.1",
"babel-preset-stage-3": "^6.24.1",
"chai": "^4.1.0",
"chai-as-promised": "^7.1.1",
"eslint": "^4.3.0",
"eslint-config-airbnb": "^15.1.0",
"eslint-import-resolver-meteor": "^0.4.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.1.0",
"flow-bin": "^0.52.0",
"isparta": "^4.0.0",
"mocha": "^3.5.0",
"redux-mock-store": "^1.2.3",
"sinon": "^2.4.1",
"sinon-chai": "^2.12.0",
"watch": "^1.0.2"
},
"dependencies": {
"base64-js": "^1.2.1",
"lodash": "^4.17.4",
"prop-types": "^15.5.10",
"react": "^15.6.1",
"react-redux": "^5.0.6",
"recompose": "^0.24.0",
"redux": "^3.7.2",
"reselect": "^3.0.1",
"shallowequal": "^1.0.2"
}
}

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion example/backend/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/node_modules/*
!/node_modules/ddp-client
!/node_modules/ddp-redux
!/node_modules/ddp-connector
1 change: 0 additions & 1 deletion example/backend/node_modules/ddp-client

This file was deleted.

1 change: 1 addition & 0 deletions example/backend/node_modules/ddp-connector

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions example/backend/node_modules/ddp-redux

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion example/todo-web/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# dependencies
/node_modules/*
!/node_modules/ddp-client

# testing
/coverage
Expand Down
1 change: 0 additions & 1 deletion example/todo-web/node_modules/ddp-client

This file was deleted.

3 changes: 2 additions & 1 deletion example/todo-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"ddp-client": "file:../..",
"ddp-redux": "file:../../ddp-redux",
"ddp-connector": "file:../../ddp-connector",
"flat": "^4.0.0",
"lodash.some": "^4.6.0",
"react": "^15.6.1",
Expand Down
2 changes: 1 addition & 1 deletion example/todo-web/src/containers/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from 'recompose';
import {
callMethod,
} from 'ddp-client/lib/actions';
} from 'ddp-redux/lib/actions';
import ddp from '../common/ddp-connector';
import {
insert,
Expand Down
2 changes: 1 addition & 1 deletion example/todo-web/src/containers/Lists.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from 'recompose';
import {
callMethod,
} from 'ddp-client/lib/actions';
} from 'ddp-redux/lib/actions';
import ddp from '../common/ddp-connector';
import {
insert,
Expand Down
2 changes: 1 addition & 1 deletion example/todo-web/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
createStore,
applyMiddleware,
} from 'redux';
import DDPClient from 'ddp-client';
import DDPClient from 'ddp-redux';
import React from 'react';
import ReactDOM from 'react-dom';
// NOTE: It's important that it goes before we load actuall components
Expand Down
2 changes: 1 addition & 1 deletion example/todo-web/src/store/rootReducer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { combineReducers } from 'redux';
import DDPClient from 'ddp-client';
import DDPClient from 'ddp-redux';

const rootReducer = combineReducers({
ddp: DDPClient.reducer(),
Expand Down
Loading

0 comments on commit f6a2b08

Please sign in to comment.