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

Change the can-globals semver range to <2.0.0 #17

Merged
merged 2 commits into from
Dec 1, 2017
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,20 @@ npm run document
This will create a `docs/` folder that contains a browsable site with all of your documentation.

With the dev server running, you can view the docs at http://localhost:8080/docs/

### Making a release

Run any of following commands to make a release:

```shell
npm version prerelease
npm version patch
npm version minor
npm version major
```

This will run the tests, make a build, bump the version number, and push the git
tag for the release.

See the [Making releases](https://canjs.com/doc/guides/contributing/releases.html#Makingreleases)
docs to learn how to decide which type of version you should release.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"can-cid": "^1.1.0",
"can-dom-data-state": "^0.2.0",
"can-dom-events": "^1.0.2",
"can-globals": "^0.2.2"
"can-globals": "<2.0.0"
},
"devDependencies": {
"detect-cyclic-packages": "^1.1.0",
Expand Down Expand Up @@ -45,6 +45,7 @@
"install-locked": "npm install",
"jshint": "jshint ./*.js --config",
"lint": "fixpack && npm run jshint",
"postversion": "git push --follow-tags",
"preversion": "npm test && npm run build",
"test": "npm run detect-cycle && npm run lint && npm run testee",
"testee": "testee test.html --browsers firefox"
Expand Down