Skip to content

Commit 8467b97

Browse files
committed
Prepare 0.15.0
### Added - Added config option `personalAccessToken` and environment variable `CONFLUENCE_PERSONAL_ACCESS_TOKEN` in order to support authentication using [personal access tokens](https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html). (solves [#26](#26)) - Added `--insecure` flag in order to not have to use `NODE_TLS_REJECT_UNAUTHORIZED=0` in cases where it's needed. ### Changed - Pictures are now only uploaded if they differ in filename or size. Only pictures that do not match will be deleted remotely (previously all pictures were deleted, then all were uploaded). ### Fixed - Fixed cache check so that only real changes in files require an update.
1 parent ad6b3a4 commit 8467b97

File tree

3 files changed

+82
-88
lines changed

3 files changed

+82
-88
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.15.0] - 2022-06-06
11+
1012
### Added
1113

1214
- Added config option `personalAccessToken` and environment variable `CONFLUENCE_PERSONAL_ACCESS_TOKEN` in order to support authentication using [personal access tokens](https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html). (solves [#26](https://github.com/mihaeu/cosmere/issues/26))

README.md

-8
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@ Sync your markdown files to confluence.
66

77
- upload new versions only when necessary
88
- upload/delete local images as attachments
9-
- convert PlantUML code fence to Confluence PlantUML macro
10-
````
11-
\```plantuml
12-
@startuml
13-
a --> b
14-
@enduml
15-
\```
16-
````
179

1810
## Usage
1911

package.json

+80-80
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,83 @@
11
{
2-
"name": "cosmere",
3-
"version": "0.14.1",
4-
"description": "Sync your markdown files to confluence.",
5-
"main": "dist/index.js",
6-
"bin": {
7-
"cosmere": "bin/cosmere"
8-
},
9-
"engines": {
10-
"node": ">=8"
11-
},
12-
"engineStrict": true,
13-
"files": [
14-
"dist",
15-
"bin"
16-
],
17-
"repository": {
18-
"type": "git",
19-
"url": "git+https://github.com/mihaeu/cosmere.git"
20-
},
21-
"scripts": {
22-
"start": "npm run watch",
23-
"build": "tsc",
24-
"watch": "tsc --watch",
25-
"fix": "prettier --write src/*.ts",
26-
"release": "tsc && np --help",
27-
"test": "jest"
28-
},
29-
"keywords": [
30-
"confluence",
31-
"sync confluence",
32-
"update page confluence",
33-
"update confluence",
34-
"readme to confluence",
35-
"page confluence",
36-
"convert markdown",
37-
"markdown",
38-
"markdown wiki"
39-
],
40-
"jest": {
41-
"preset": "ts-jest",
42-
"collectCoverage": true,
43-
"testMatch": [
44-
"**/tests/**/*.test.ts"
2+
"name": "cosmere",
3+
"version": "0.15.0",
4+
"description": "Sync your markdown files to confluence.",
5+
"main": "dist/index.js",
6+
"bin": {
7+
"cosmere": "bin/cosmere"
8+
},
9+
"engines": {
10+
"node": ">=8"
11+
},
12+
"engineStrict": true,
13+
"files": [
14+
"dist",
15+
"bin"
4516
],
46-
"collectCoverageFrom": [
47-
"**/*.ts"
48-
]
49-
},
50-
"authors": [
51-
"Michael Haeuslmann <michael.haeuslmann@gmail.com> (https://github.com/mihaeu)"
52-
],
53-
"license": "MIT",
54-
"bugs": {
55-
"url": "https://github.com/mihaeu/cosmere/issues"
56-
},
57-
"homepage": "https://mihaeu.github.io/cosmere/",
58-
"devDependencies": {
59-
"@types/inquirer": "^6.5.0",
60-
"@types/jest": "^27.4.0",
61-
"@types/marked": "^0.7.1",
62-
"@types/node": "^12.12.7",
63-
"@types/signale": "^1.2.1",
64-
"jest": "^26.6.3",
65-
"np": "^7.4.0",
66-
"prettier": "^1.19.1",
67-
"ts-jest": "^26.4.4",
68-
"typescript": "^3.7.2"
69-
},
70-
"dependencies": {
71-
"axios": "^0.21.1",
72-
"axios-file": "^1.0.16",
73-
"docopt": "^0.6.2",
74-
"inquirer": "6.2.1",
75-
"marked": "^0.3.2",
76-
"signale": "^1.4.0"
77-
},
78-
"prettier": {
79-
"trailingComma": "all",
80-
"tabWidth": 4,
81-
"printWidth": 120
82-
}
17+
"repository": {
18+
"type": "git",
19+
"url": "git+https://github.com/mihaeu/cosmere.git"
20+
},
21+
"scripts": {
22+
"start": "npm run watch",
23+
"build": "tsc",
24+
"watch": "tsc --watch",
25+
"fix": "prettier --write src/*.ts",
26+
"release": "tsc && np --help",
27+
"test": "jest"
28+
},
29+
"keywords": [
30+
"confluence",
31+
"sync confluence",
32+
"update page confluence",
33+
"update confluence",
34+
"readme to confluence",
35+
"page confluence",
36+
"convert markdown",
37+
"markdown",
38+
"markdown wiki"
39+
],
40+
"jest": {
41+
"preset": "ts-jest",
42+
"collectCoverage": true,
43+
"testMatch": [
44+
"**/tests/**/*.test.ts"
45+
],
46+
"collectCoverageFrom": [
47+
"**/*.ts"
48+
]
49+
},
50+
"authors": [
51+
"Michael Haeuslmann <michael.haeuslmann@gmail.com> (https://github.com/mihaeu)"
52+
],
53+
"license": "MIT",
54+
"bugs": {
55+
"url": "https://github.com/mihaeu/cosmere/issues"
56+
},
57+
"homepage": "https://mihaeu.github.io/cosmere/",
58+
"devDependencies": {
59+
"@types/inquirer": "^6.5.0",
60+
"@types/jest": "^27.4.0",
61+
"@types/marked": "^0.7.1",
62+
"@types/node": "^12.12.7",
63+
"@types/signale": "^1.2.1",
64+
"jest": "^26.6.3",
65+
"np": "^7.4.0",
66+
"prettier": "^1.19.1",
67+
"ts-jest": "^26.4.4",
68+
"typescript": "^3.7.2"
69+
},
70+
"dependencies": {
71+
"axios": "^0.21.1",
72+
"axios-file": "^1.0.16",
73+
"docopt": "^0.6.2",
74+
"inquirer": "6.2.1",
75+
"marked": "^0.3.2",
76+
"signale": "^1.4.0"
77+
},
78+
"prettier": {
79+
"trailingComma": "all",
80+
"tabWidth": 4,
81+
"printWidth": 120
82+
}
8383
}

0 commit comments

Comments
 (0)