1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-16 05:00:28 +00:00
TiddlyWiki5/editions/dev/tiddlers/from tw5.com/TiddlyWiki5 Development Environment.tid

25 lines
1.0 KiB
Plaintext
Raw Normal View History

created: 201308251618
2013-08-26 20:49:32 +00:00
modified: 201308262048
tags: dev
title: TiddlyWiki5 Development Environment
//This information is for people who are working on the development of TiddlyWiki5 itself, and isn't relevant for end users//
! Setting up npm
[[Installing TiddlyWiki5|https://tiddlywiki.com/#Installing%20TiddlyWiki%20on%20Node.js]] with NPM downloads a snapshot release of TiddlyWiki5. To use a development copy of the TiddlyWiki5 repository instead of the copy installed by [[NPM]], use this command within the root of the TiddlyWiki5 repo:
2014-11-28 10:06:17 +00:00
```bash
npm link
```
! Bumping version numbers
2013-08-26 20:49:32 +00:00
As releases are made during development it is necessary to adjust the version number of the TiddlyWiki5 core. This is done with the [[npm version|https://npmjs.org/doc/version.html]] command. For example:
2014-11-28 10:06:17 +00:00
```bash
2013-08-26 20:49:32 +00:00
npm version 5.0.0-alpha.10
```
As described in #10 in [[this article by npm's author|http://blog.izs.me/post/1675072029/10-cool-things-you-probably-didnt-realize-npm-could-do]], when run from within a git repo this command will also commit the change and tag it