Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually update 'version.js' #1917

Merged
merged 1 commit into from May 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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,
});