Skip to content

Commit ed0af79

Browse files
committed
Reduce npm package size
1 parent 1f83fc2 commit ed0af79

File tree

5 files changed

+14
-275
lines changed

5 files changed

+14
-275
lines changed

.npmignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/src
2+
/tests
3+
/node_modules

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,17 @@ When submitting a pull request, please include tests for the code you are submit
138138

139139
4- Send the PR. When accepted, the maintainer will publish a new version to npm using the new `dist` folder.
140140

141+
#### Note to maintainer
142+
143+
Do not publish using yarn, as it doesn't publishes all dependencies. Use `npm publish`.
144+
141145
### Running the test suite
142146

143-
1- `cd tests/test-app`
147+
1- `yarn link`
148+
149+
2- `cd tests/test-app`
150+
151+
3- `yarn link apollo-cursor-pagination`
144152

145153
2- `yarn install`
146154

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "apollo-cursor-pagination",
3-
"version": "0.7.2",
3+
"version": "0.7.4",
44
"description": "Relay's Connection implementation for Apollo Server GraphQL library",
55
"main": "dist/index.js",
66
"repository": "https://github.com/Terminal-Systems/apollo-cursor-pagination",

tests/test-app/init.js

-272
This file was deleted.

tests/test-app/yarn.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ apollo-cache-control@^0.2.5:
921921
graphql-extensions "^0.2.1"
922922

923923
"apollo-cursor-pagination@file:../..":
924-
version "0.5.1"
924+
version "0.7.4"
925925
dependencies:
926926
base-64 "^0.1.0"
927927

0 commit comments

Comments
 (0)