Skip to content

Commit

Permalink
Noviny/use new changesets package (#1093)
Browse files Browse the repository at this point in the history
* use new changesets package

* annoying but necessary changeset

* change release line

* update config again

* get releases line use strategy consistent with what was there

* don't remove all the integrity hashes
  • Loading branch information
Noviny committed May 7, 2019
1 parent 3aeabc5 commit 0ea974f
Show file tree
Hide file tree
Showing 5 changed files with 176 additions and 211 deletions.
4 changes: 4 additions & 0 deletions .changeset/24819fd9/changes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"releases": [{ "name": "@keystone-alpha/demo-project-meetup", "type": "patch" }],
"dependents": []
}
1 change: 1 addition & 0 deletions .changeset/24819fd9/changes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add to changeset set, so we don't end up in an error state
2 changes: 1 addition & 1 deletion .changeset/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const getReleaseLine = async (changeset, versionType) => {
.map(l => ` ${l}`.trimRight())
.join('\n');

return `- [${versionType}] [${changeset.commit}](https://github.com/keystonejs/keystone-5/commit/${changeset.commit}):\n\n${indentedSummary}`;
return `- [${changeset.commit}](https://github.com/keystonejs/keystone-5/commit/${changeset.commit}):\n\n${indentedSummary}\n\n`;
};

// This function takes information about what dependencies we are updating in the package.
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"test": "yarn lint && yarn test:unit && yarn cypress:run",
"test:unit": "DISABLE_LOGGING=true NODE_ENV=test jest --maxWorkers=1",
"test:unit:debug": "NODE_ENV=test node --inspect-brk `which jest` --runInBand",
"changeset": "build-releases changeset",
"version-packages": "build-releases version",
"publish-changed": "yarn build && build-releases publish --public",
"changeset": "changeset",
"version-packages": "changeset bump",
"publish-changed": "yarn build && changeset release --public",
"build:build-field-types": "rimraf packages/build-field-types/lib && babel packages/build-field-types/src --out-dir packages/build-field-types/dist --ignore '**/__tests__/**/*','**/__mocks__/**/*'",
"build": "preconstruct build && bolt w @keystone-alpha/build-field-types build && node ./packages/build-field-types/bin.js build",
"prepare": "yarn build:build-field-types && preconstruct dev && node ./packages/build-field-types/bin.js dev && yarn run --silent contributing-guide",
Expand All @@ -50,6 +50,7 @@
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.4.3",
"@changesets/cli": "^1.0.1",
"@emotion/core": "^10.0.10",
"@emotion/hash": "^0.7.1",
"@emotion/styled": "^10.0.10",
Expand Down Expand Up @@ -314,7 +315,6 @@
]
},
"devDependencies": {
"@atlaskit/build-releases": "^3.0.3",
"all-contributors-cli": "^6.2.0",
"babel-eslint": "^10.0.1",
"bolt": "^0.22.6",
Expand Down
Loading

0 comments on commit 0ea974f

Please sign in to comment.