Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
Merge branch 'release/1.2.11'
Browse files Browse the repository at this point in the history
  • Loading branch information
thediveo committed Aug 20, 2019
2 parents a6a8fc8 + 5033386 commit e2420b3
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 8 deletions.
31 changes: 30 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,22 @@ developing your plugin. You'll now be greeted with the shiny new "Plugin
Kickstarter" tiddler. Fill in the fields and follow its instructions by clicking
through the few steps to create a new plugin.

> **NOTE:** you can change the default port on which the development server
> can be reached to a different port by either specifying a different port as
> an argument:
>
> ```bash
> $ npm run develop --tw5-thirdflow:port=9999
> ```
>
> ...or by constantly changing the configuration value:
>
> ```bash
> $ npm config set tw5-thirdflow:port 9999
> ```
>
> Use `npm config delete tw5-thirdflow:port` to restore the default setting.
Also make sure to visit the ThirdFlow tab in the Control Panel, and its Release
tab. Enable the creation of release file and set their filenames. And then,
simply run:
Expand All @@ -182,11 +198,24 @@ $ npm install
Then run the development server for ThirdFlow itself:

```bash
npm run develop
$ npm run develop
```

...and open [localhost:8080](http://localhost:8080).

As mentioned above, you can change the port on which your develop server can be reached, either temporarily:

```bash
$ npm run develop --tw5-thirdflow:port=9999
```

...or permanently.

```bash
$ npm config set tw5-thirdflow:port 9999
```

Use `npm config delete tw5-thirdflow:port` to restore the default setting.

# License

Expand Down
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tw5-thirdflow",
"version": "1.2.10",
"version": "1.2.11",
"author": "TheDiveO <thediveo@gmx.eu>",
"description": "Third Flow plugin development process support for TiddlyWiki5",
"homepage": "https://github.com/TheDiveO/ThirdFlow",
Expand All @@ -12,13 +12,16 @@
"plugin",
"thirdflow"
],
"config": {
"port": "8080"
},
"main": "thirdflow.js",
"scripts": {
"start": "tiddlywiki editions/develop --verbose --server 8080 $:/core/save/all text/plain text/html & echo $! > tw.pid",
"start": "tiddlywiki editions/develop --verbose --server $npm_package_config_port $:/core/save/all text/plain text/html & echo $! > tw.pid",
"stop": "kill `cat tw.pid` && rm tw.pid",
"winstart": "start \"ThirdFlow Develop\" cmd /c tiddlywiki editions/develop --verbose --server 8080 $:/core/save/all text/plain text/html",
"winstart": "start \"ThirdFlow Develop\" cmd /c tiddlywiki editions/develop --verbose --server %npm_package_config_port $:/core/save/all text/plain text/html",
"winstop": "taskkill /fi \"WINDOWTITLE eq ThirdFlow Develop\"",
"develop": "tiddlywiki editions/develop --verbose --server 8080 $:/core/save/all text/plain text/html",
"develop": "tiddlywiki editions/develop --verbose --server $npm_package_config_port $:/core/save/all text/plain text/html",
"release": "tiddlywiki editions/release --verbose --build release",
"test": "tiddlywiki editions/release --verbose"
},
Expand Down
4 changes: 2 additions & 2 deletions src/tiddlers/system/plugins/TheDiveO/ThirdFlow.tid
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ core-version: >=5.1.20
created: 20140902114846490
description: Third Flow in-TW plugin development process support
list: readme license history
modified: 20190817144649337
modified: 20190820150046288
plugin-type: plugin
source: http://thediveo.github.io/ThirdFlow
title: $:/plugins/TheDiveO/ThirdFlow
type: application/json
version: 1.2.10
version: 1.2.11

{"tiddlers": {}}
5 changes: 4 additions & 1 deletion src/tiddlers/system/plugins/TheDiveO/ThirdFlow/history.tid
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
created: 20140902083720188
modified: 20190817144641120
modified: 20190820150037842
title: $:/plugins/TheDiveO/ThirdFlow/history
type: text/vnd.tiddlywiki

* ''1.2.11''
** added config variable support to the npm scripts `start`, `winstart` and `develop`. See `README.md` for details.

* ''1.2.10''
** fixes/updates reference to `codemirror-fullscreen-editing` plugin.
** updates to ~TiddlyWiki 5.1.20: this is now the required core version by this plugin.
Expand Down

0 comments on commit e2420b3

Please sign in to comment.