Skip to content

Commit

Permalink
Manually update 'version.js'
Browse files Browse the repository at this point in the history
Happened because graphql#1878 was authored before '14.3.1' release but merged
after it.
Also add 'npm run build' to CI to prevent simular problems in future
  • Loading branch information
IvanGoncharov committed May 27, 2019
1 parent fc0c06c commit 547a0b2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -24,7 +24,7 @@
"scripts": {
"watch": "node ./resources/watch.js",
"test": "npm run lint && npm run check && npm run testonly",
"test:ci": "yarn check --integrity && npm run lint -- --no-cache && npm run check && npm run testonly:cover",
"test:ci": "yarn check --integrity && npm run lint -- --no-cache && npm run check && npm run testonly:cover && npm run build",
"testonly": "mocha --full-trace src/**/__tests__/**/*-test.js",
"testonly:cover": "nyc npm run testonly",
"lint": "eslint --cache --report-unused-disable-directives src resources",
Expand Down
4 changes: 2 additions & 2 deletions resources/build.js
Expand Up @@ -41,7 +41,7 @@ if (require.main === module) {
'Version in package.json and version.js should match',
);

writeFile('./dist/package.json', packageJSON);
writeFile('./dist/package.json', JSON.stringify(packageJSON, null, 2));
}

function babelBuild(srcPath, envName) {
Expand Down Expand Up @@ -71,5 +71,5 @@ function buildPackageJSON() {
packageJSON.publishConfig = { tag: tag || 'latest' };
}

return JSON.stringify(packageJSON, null, 2);
return packageJSON;
}
4 changes: 2 additions & 2 deletions src/version.js
Expand Up @@ -15,14 +15,14 @@
/**
* A string containing the version of the GraphQL.js library
*/
export const version = '14.3.0';
export const version = '14.3.1';

/**
* An object containing the components of the GraphQL.js version string
*/
export const versionInfo = Object.freeze({
major: 14,
minor: 3,
patch: 0,
patch: 1,
preReleaseTag: null,
});

0 comments on commit 547a0b2

Please sign in to comment.