|
| 1 | +0 info it worked if it ends with ok |
| 2 | +1 verbose cli [ '/Users/alan/.nvm/versions/node/v5.1.1/bin/node', |
| 3 | +1 verbose cli '/Users/alan/.nvm/versions/node/v5.1.1/bin/npm', |
| 4 | +1 verbose cli 'publish' ] |
| 5 | + |
| 6 | + |
| 7 | +4 verbose publish [ '.' ] |
| 8 | +5 silly cache add args [ '.', null ] |
| 9 | +6 verbose cache add spec . |
| 10 | +7 silly cache add parsed spec Result { |
| 11 | +7 silly cache add raw: '.', |
| 12 | +7 silly cache add scope: null, |
| 13 | +7 silly cache add name: null, |
| 14 | +7 silly cache add rawSpec: '.', |
| 15 | +7 silly cache add spec: '/Users/alan/projects/react-redux-controller', |
| 16 | +7 silly cache add type: 'directory' } |
| 17 | +8 verbose addLocalDirectory /Users/alan/.npm/react-redux-controller/0.1.0/package.tgz not in flight; packing |
| 18 | + |
| 19 | +10 verbose lifecycle [email protected]~prepublish: unsafe-perm in lifecycle true |
| 20 | +11 verbose lifecycle [email protected]~prepublish: PATH: /Users/alan/.nvm/versions/node/v5.1.1/lib/node_modules/npm/bin/node-gyp-bin:/Users/alan/projects/react-redux-controller/node_modules/.bin:/Users/alan/.nvm/versions/node/v5.1.1/bin:/usr/local/var/rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin |
| 21 | +12 verbose lifecycle [email protected]~prepublish: CWD: /Users/alan/projects/react-redux-controller |
| 22 | +13 silly lifecycle [email protected]~prepublish: Args: [ '-c', 'npm run build' ] |
| 23 | +14 silly lifecycle [email protected]~prepublish: Returned: code: 0 signal: null |
| 24 | +15 verbose tar pack [ '/Users/alan/.npm/react-redux-controller/0.1.0/package.tgz', |
| 25 | +15 verbose tar pack '/Users/alan/projects/react-redux-controller' ] |
| 26 | +16 verbose tarball /Users/alan/.npm/react-redux-controller/0.1.0/package.tgz |
| 27 | +17 verbose folder /Users/alan/projects/react-redux-controller |
| 28 | +18 verbose addLocalTarball adding from inside cache /Users/alan/.npm/react-redux-controller/0.1.0/package.tgz |
| 29 | +19 silly cache afterAdd [email protected] |
| 30 | +20 verbose afterAdd /Users/alan/.npm/react-redux-controller/0.1.0/package/package.json not in flight; writing |
| 31 | +21 verbose afterAdd /Users/alan/.npm/react-redux-controller/0.1.0/package/package.json written |
| 32 | +22 silly publish { name: 'react-redux-controller', |
| 33 | +22 silly publish version: '0.1.0', |
| 34 | +22 silly publish description: 'Library for creating a controller layer to link React and Redux.', |
| 35 | +22 silly publish license: 'MIT', |
| 36 | +22 silly publish keywords: [ 'controller', 'react', 'redux' ], |
| 37 | +22 silly publish repository: |
| 38 | +22 silly publish { type: 'git', |
| 39 | +22 silly publish url: 'git://github.com/artsy/react-redux-controller.git' }, |
| 40 | +22 silly publish author: { name: 'Alan Johnson', email: ' [email protected]' }, |
| 41 | +22 silly publish engines: { node: '>= 5.1.x' }, |
| 42 | +22 silly publish main: 'lib/index.js', |
| 43 | +22 silly publish scripts: |
| 44 | +22 silly publish { build: 'mkdir -p lib && babel ./src --out-dir ./lib', |
| 45 | +22 silly publish prepublish: 'npm run build' }, |
| 46 | +22 silly publish dependencies: { co: '^4.6.0', ramda: '^0.18.0' }, |
| 47 | +22 silly publish devDependencies: |
| 48 | +22 silly publish { 'babel-cli': '^6.3.17', |
| 49 | +22 silly publish 'babel-core': '^6.3.21', |
| 50 | +22 silly publish 'babel-loader': '^6.2.0', |
| 51 | +22 silly publish 'babel-polyfill': '^6.3.14', |
| 52 | +22 silly publish 'babel-preset-es2015': '^6.3.13', |
| 53 | +22 silly publish 'babel-preset-es2015-loose': '^6.1.3', |
| 54 | +22 silly publish 'babel-preset-react': '^6.3.13', |
| 55 | +22 silly publish co: '^4.6.0', |
| 56 | +22 silly publish mocha: '*', |
| 57 | +22 silly publish ramda: '^0.18.0', |
| 58 | +22 silly publish react: '0.14.0', |
| 59 | +22 silly publish 'react-redux': '^4.0.0', |
| 60 | +22 silly publish redux: '^3.0.0', |
| 61 | +22 silly publish should: '*', |
| 62 | +22 silly publish webpack: '^1.12.9' }, |
| 63 | +22 silly publish files: [ 'dist', 'lib', 'src' ], |
| 64 | +22 silly publish readme: '# react-redux-controller\n\n**react-redux-controller** is a library that adds some opinion to the [react-redux](https://github.com/rackt/react-redux) binding of [React](https://facebook.github.io/react/index.html) components to the [Redux](http://redux.js.org/) store. It creates the entity of a `Controller`, which is intended to be the single point of integration between React and Redux. The controller passes data and callbacks to the UI components via the [React `context`](https://facebook.github.io/react/docs/context.html). It\'s one solution to [the question](http://stackoverflow.com/a/34320909/807674) of how to get data and controller-like methods (e.g. event handlers) to the React UI components.\n\n## Philosophy\n\nThis library takes the opinion that React components should solely be focused on the job of rendering and capturing user input, and that Redux actions and reducers should be soley focused on the job of managing the store and providing a view of the state of the store in the form of [selectors](http://rackt.org/redux/docs/basics/UsageWithReact.html). The plumbing of distributing data to components, as well as deciding what to fetch, when to fetch, how to manage latency, and what to do with error handling, should be vested in an explicit controller layer.\n\nThis differs from alternative methods in a number of ways:\n\n- The ancestors of a component are not responsible for conveying dependencies to via `props` -- particularly when it comes to dependencies the ancestors don\'t use themselves.\n- The components are not coupled to Redux in any way -- no `connect` distributed throughout the component tree.\n- There are no [smart components](https://medium.com/@dan_abramov/smart-and-dumb-components-7ca2f9a7c7d0#.m5y0saa0k). Well there\'s one, but it\'s hidden inside the Controller.\n- Action creators do not peforming any fetching. They are only responsible for constructing action objects, as is the case in vanilla Redux, with no middleware needed.\n\n## Usage\n\nThe **controller** factory requires 3 parameters:\n\n- The root component of the UI component tree.\n- An object that holds controller generator functions.\n- Any number of selector bundles, which are likely simply imported selector modules, each selector annotated a [`propType`](https://facebook.github.io/react/docs/reusable-components.html) that indicates what kind of data it provides.\n\nThe functionality of the controller layer is implemented using [generator functions](http://www.2ality.com/2015/03/es6-generators.html). Within these functions, `yield` may be used await the results of [Promises](http://www.2ality.com/2014/09/es6-promises-foundations.html) and to request selector values and root component properties. As a very rough sketch of how you might use this library:\n\n```\n// controllers/app_controller.js\n\nimport AppLayout from \'../components/app_layout\';\nimport * as mySelectors from \'../selectors/my_selectors\';\n\nconst controllerGenerators = {\n *onUserActivity(meaningfulParam) {\n const { dispatch, otherData } = yield getProps;\n dispatch(actions.fetchingData());\n try {\n const apiData = yield httpRequest(`http://myapi.com/${otherData}`);\n return dispatch(actions.fetchingSuccessful(apiData)); \n } catch (err) {\n return dispatch(actions.errorFetching(err));\n }\n },\n // ... other controller generators follow\n};\n\nconst selectorBundles = [\n mySelectors,\n];\n\nexport default controller(AppLayout, controllerMethodFactories, selectorBundles);\n\n```\n\nBetter examples to come.', |
| 65 | +22 silly publish readmeFilename: 'README.md', |
| 66 | +22 silly publish gitHead: '7aea51200a901124d518d5b093207e30d321f75b', |
| 67 | +22 silly publish bugs: { url: 'https://github.com/artsy/react-redux-controller/issues' }, |
| 68 | +22 silly publish homepage: 'https://github.com/artsy/react-redux-controller#readme', |
| 69 | +22 silly publish _id: ' [email protected]', |
| 70 | +22 silly publish _shasum: 'd49329b80dfa40dea7a237863beab688cca5c10c', |
| 71 | +22 silly publish _from: '.' } |
| 72 | +23 verbose getPublishConfig undefined |
| 73 | +24 silly mapToRegistry name react-redux-controller |
| 74 | +25 silly mapToRegistry using default registry |
| 75 | +26 silly mapToRegistry registry https://registry.npmjs.org/ |
| 76 | +27 silly mapToRegistry uri https://registry.npmjs.org/react-redux-controller |
| 77 | +28 verbose publish registryBase https://registry.npmjs.org/ |
| 78 | +29 silly publish uploading /Users/alan/.npm/react-redux-controller/0.1.0/package.tgz |
| 79 | +30 verbose request uri https://registry.npmjs.org/react-redux-controller |
| 80 | +31 verbose request sending authorization for write operation |
| 81 | +32 info attempt registry request try #1 at 3:22:44 AM |
| 82 | +33 verbose request using bearer token for auth |
| 83 | +34 verbose request id 8d9387cffbf4d56f |
| 84 | +35 http request PUT https://registry.npmjs.org/react-redux-controller |
| 85 | +36 http 403 https://registry.npmjs.org/react-redux-controller |
| 86 | +37 verbose headers { 'content-type': 'application/json', |
| 87 | +37 verbose headers 'cache-control': 'max-age=300', |
| 88 | +37 verbose headers 'content-length': '95', |
| 89 | +37 verbose headers 'accept-ranges': 'bytes', |
| 90 | +37 verbose headers date: 'Tue, 29 Dec 2015 08:22:45 GMT', |
| 91 | +37 verbose headers via: '1.1 varnish', |
| 92 | +37 verbose headers connection: 'keep-alive', |
| 93 | +37 verbose headers 'x-served-by': 'cache-jfk1023-JFK', |
| 94 | +37 verbose headers 'x-cache': 'MISS', |
| 95 | +37 verbose headers 'x-cache-hits': '0', |
| 96 | +37 verbose headers 'x-timer': 'S1451377364.571343,VS0,VE1361' } |
| 97 | +38 verbose request invalidating /Users/alan/.npm/registry.npmjs.org/react-redux-controller on PUT |
| 98 | +39 error publish Failed PUT 403 |
| 99 | +40 verbose stack Error: "You cannot publish over the previously published version 0.1.0." : react-redux-controller |
| 100 | +40 verbose stack at makeError (/Users/alan/.nvm/versions/node/v5.1.1/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:264:12) |
| 101 | +40 verbose stack at CachingRegistryClient.<anonymous> (/Users/alan/.nvm/versions/node/v5.1.1/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:252:14) |
| 102 | +40 verbose stack at Request._callback (/Users/alan/.nvm/versions/node/v5.1.1/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:172:14) |
| 103 | +40 verbose stack at Request.self.callback (/Users/alan/.nvm/versions/node/v5.1.1/lib/node_modules/npm/node_modules/request/request.js:198:22) |
| 104 | +40 verbose stack at emitTwo (events.js:87:13) |
| 105 | +40 verbose stack at Request.emit (events.js:172:7) |
| 106 | +40 verbose stack at Request.<anonymous> (/Users/alan/.nvm/versions/node/v5.1.1/lib/node_modules/npm/node_modules/request/request.js:1082:10) |
| 107 | +40 verbose stack at emitOne (events.js:82:20) |
| 108 | +40 verbose stack at Request.emit (events.js:169:7) |
| 109 | +40 verbose stack at IncomingMessage.<anonymous> (/Users/alan/.nvm/versions/node/v5.1.1/lib/node_modules/npm/node_modules/request/request.js:1009:12) |
| 110 | +41 verbose statusCode 403 |
| 111 | +42 verbose pkgid react-redux-controller |
| 112 | +43 verbose cwd /Users/alan/projects/react-redux-controller |
| 113 | +44 error Darwin 14.5.0 |
| 114 | +45 error argv "/Users/alan/.nvm/versions/node/v5.1.1/bin/node" "/Users/alan/.nvm/versions/node/v5.1.1/bin/npm" "publish" |
| 115 | +46 error node v5.1.1 |
| 116 | +47 error npm v3.3.12 |
| 117 | +48 error code E403 |
| 118 | +49 error "You cannot publish over the previously published version 0.1.0." : react-redux-controller |
| 119 | +50 error If you need help, you may report this error at: |
| 120 | +50 error <https://github.com/npm/npm/issues> |
| 121 | +51 verbose exit [ 1, true ] |
0 commit comments