Skip to content

Commit eeba09f

Browse files
committed
fix: mjs extension in package.json
1 parent 1375b8f commit eeba09f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"README.md"
99
],
1010
"main": "lib/index.js",
11-
"module": "mjs/index.js",
11+
"module": "mjs/index.mjs",
1212
"repository": {
1313
"type": "git",
1414
"url": "https://github.com/graphql-compose/graphql-compose-connection.git"
@@ -45,7 +45,7 @@
4545
"eslint-plugin-prettier": "^2.6.1",
4646
"flow-bin": "^0.75.0",
4747
"graphql": "0.13.2",
48-
"graphql-compose": "^4.4.0",
48+
"graphql-compose": "^4.4.1",
4949
"jest": "^23.2.0",
5050
"prettier": "^1.13.6",
5151
"rimraf": "^2.6.2",
@@ -65,7 +65,7 @@
6565
]
6666
},
6767
"scripts": {
68-
"build": "npm run build-cjs && npm run build-mjs && npm run build-flow",
68+
"build": "npm run build-cjs && npm run build-mjs",
6969
"build-cjs": "rimraf lib && BABEL_ENV=cjs babel src --ignore __tests__,__mocks__ -d lib && COPY_TO_FOLDER=lib npm run build-flow",
7070
"build-mjs": "rimraf mjs && BABEL_ENV=mjs babel src --ignore __tests__,__mocks__ -d mjs && yarn build-mjs-rename && COPY_TO_FOLDER=mjs npm run build-flow",
7171
"build-mjs-rename": "find ./mjs -name \"*.js\" -exec bash -c 'mv \"$1\" \"${1%.js}\".mjs' - '{}' \\;",

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2378,9 +2378,9 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.4, graceful-fs@^4.1.6:
23782378
version "4.1.11"
23792379
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
23802380

2381-
graphql-compose@^4.4.0:
2382-
version "4.4.0"
2383-
resolved "https://registry.yarnpkg.com/graphql-compose/-/graphql-compose-4.4.0.tgz#459045017496d63c00051e23d850907bfbf5cede"
2381+
graphql-compose@^4.4.1:
2382+
version "4.4.1"
2383+
resolved "https://registry.yarnpkg.com/graphql-compose/-/graphql-compose-4.4.1.tgz#2f801bb8e70e8601c21a2e52b629a21c6aba35db"
23842384
dependencies:
23852385
babel-runtime "^6.26.0"
23862386
graphql-type-json "^0.2.1"

0 commit comments

Comments
 (0)