Skip to content

Commit

Permalink
Prepare 0.15.0
Browse files Browse the repository at this point in the history
### 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.
  • Loading branch information
mihaeu committed Jun 6, 2022
1 parent ad6b3a4 commit 8467b97
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 88 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.15.0] - 2022-06-06

### 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](https://github.com/mihaeu/cosmere/issues/26))
Expand Down
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ Sync your markdown files to confluence.

- upload new versions only when necessary
- upload/delete local images as attachments
- convert PlantUML code fence to Confluence PlantUML macro
````
\```plantuml
@startuml
a --> b
@enduml
\```
````

## Usage

Expand Down
160 changes: 80 additions & 80 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,83 +1,83 @@
{
"name": "cosmere",
"version": "0.14.1",
"description": "Sync your markdown files to confluence.",
"main": "dist/index.js",
"bin": {
"cosmere": "bin/cosmere"
},
"engines": {
"node": ">=8"
},
"engineStrict": true,
"files": [
"dist",
"bin"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mihaeu/cosmere.git"
},
"scripts": {
"start": "npm run watch",
"build": "tsc",
"watch": "tsc --watch",
"fix": "prettier --write src/*.ts",
"release": "tsc && np --help",
"test": "jest"
},
"keywords": [
"confluence",
"sync confluence",
"update page confluence",
"update confluence",
"readme to confluence",
"page confluence",
"convert markdown",
"markdown",
"markdown wiki"
],
"jest": {
"preset": "ts-jest",
"collectCoverage": true,
"testMatch": [
"**/tests/**/*.test.ts"
"name": "cosmere",
"version": "0.15.0",
"description": "Sync your markdown files to confluence.",
"main": "dist/index.js",
"bin": {
"cosmere": "bin/cosmere"
},
"engines": {
"node": ">=8"
},
"engineStrict": true,
"files": [
"dist",
"bin"
],
"collectCoverageFrom": [
"**/*.ts"
]
},
"authors": [
"Michael Haeuslmann <[email protected]> (https://github.com/mihaeu)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/mihaeu/cosmere/issues"
},
"homepage": "https://mihaeu.github.io/cosmere/",
"devDependencies": {
"@types/inquirer": "^6.5.0",
"@types/jest": "^27.4.0",
"@types/marked": "^0.7.1",
"@types/node": "^12.12.7",
"@types/signale": "^1.2.1",
"jest": "^26.6.3",
"np": "^7.4.0",
"prettier": "^1.19.1",
"ts-jest": "^26.4.4",
"typescript": "^3.7.2"
},
"dependencies": {
"axios": "^0.21.1",
"axios-file": "^1.0.16",
"docopt": "^0.6.2",
"inquirer": "6.2.1",
"marked": "^0.3.2",
"signale": "^1.4.0"
},
"prettier": {
"trailingComma": "all",
"tabWidth": 4,
"printWidth": 120
}
"repository": {
"type": "git",
"url": "git+https://github.com/mihaeu/cosmere.git"
},
"scripts": {
"start": "npm run watch",
"build": "tsc",
"watch": "tsc --watch",
"fix": "prettier --write src/*.ts",
"release": "tsc && np --help",
"test": "jest"
},
"keywords": [
"confluence",
"sync confluence",
"update page confluence",
"update confluence",
"readme to confluence",
"page confluence",
"convert markdown",
"markdown",
"markdown wiki"
],
"jest": {
"preset": "ts-jest",
"collectCoverage": true,
"testMatch": [
"**/tests/**/*.test.ts"
],
"collectCoverageFrom": [
"**/*.ts"
]
},
"authors": [
"Michael Haeuslmann <[email protected]> (https://github.com/mihaeu)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/mihaeu/cosmere/issues"
},
"homepage": "https://mihaeu.github.io/cosmere/",
"devDependencies": {
"@types/inquirer": "^6.5.0",
"@types/jest": "^27.4.0",
"@types/marked": "^0.7.1",
"@types/node": "^12.12.7",
"@types/signale": "^1.2.1",
"jest": "^26.6.3",
"np": "^7.4.0",
"prettier": "^1.19.1",
"ts-jest": "^26.4.4",
"typescript": "^3.7.2"
},
"dependencies": {
"axios": "^0.21.1",
"axios-file": "^1.0.16",
"docopt": "^0.6.2",
"inquirer": "6.2.1",
"marked": "^0.3.2",
"signale": "^1.4.0"
},
"prettier": {
"trailingComma": "all",
"tabWidth": 4,
"printWidth": 120
}
}

0 comments on commit 8467b97

Please sign in to comment.