UNPKG

@telefonica/markdown-confluence-sync

Version:

Creates/updates/deletes Confluence pages based on markdown files in a directory. Supports Mermaid diagrams and per-page configuration using frontmatter metadata. Works great with Docusaurus

151 lines 4.46 kB
{ "name": "@telefonica/markdown-confluence-sync", "description": "Creates/updates/deletes Confluence pages based on markdown files in a directory. Supports Mermaid diagrams and per-page configuration using frontmatter metadata. Works great with Docusaurus", "version": "2.1.1", "license": "Apache-2.0", "author": "Telefónica Innovación Digital", "repository": { "type": "git", "url": "https://github.com/Telefonica/confluence-tools", "directory": "components/markdown-confluence-sync" }, "homepage": "https://github.com/Telefonica/confluence-tools/tree/main/components/markdown-confluence-sync", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "keywords": [ "Confluence", "markdown", "Docusaurus", "sync", "page", "pages", "md", "mdx", "frontmatter", "metadata", "files", "folder", "directory", "tree", "sync", "update", "create", "delete", "cli", "node", "json", "attachments", "images" ], "nx": { "includedScripts": [ "build", "check:all", "check:spell", "check:types", "lint", "sync:docs", "test:unit", "test:component", "test:e2e" ] }, "dependencies": { "@mermaid-js/mermaid-cli": "11.4.0", "@mocks-server/config": "2.0.0-beta.3", "@mocks-server/logger": "2.0.0-beta.2", "fs-extra": "11.2.0", "glob": "10.3.10", "globule": "1.3.4", "handlebars": "4.7.8", "hast": "1.0.0", "hast-util-to-string": "2.0.0", "mdast-util-mdx": "3.0.0", "mdast-util-mdx-jsx": "3.1.3", "mdast-util-to-markdown": "2.1.1", "rehype": "12.0.1", "rehype-parse": "8.0.5", "rehype-raw": "5.1.0", "rehype-stringify": "9.0.4", "remark": "14.0.3", "remark-directive": "2.0.1", "remark-frontmatter": "4.0.1", "remark-gfm": "3.0.1", "remark-mdx": "2.3.0", "remark-parse": "10.0.2", "remark-parse-frontmatter": "1.0.3", "remark-rehype": "10.1.0", "remark-stringify": "10.0.3", "remark-unlink": "4.0.1", "to-vfile": "7.2.4", "unified": "10.1.2", "unist-util-find": "1.0.4", "unist-util-find-after": "4.0.1", "unist-util-is": "5.2.1", "unist-util-remove": "3.1.1", "unist-util-visit": "4.1.2", "unist-util-visit-parents": "5.1.3", "vfile": "5.3.7", "which": "3.0.1", "yaml": "2.3.4", "zod": "3.22.4", "@telefonica/confluence-sync": "2.0.2" }, "devDependencies": { "@mocks-server/admin-api-client": "8.0.0-beta.2", "@mocks-server/core": "5.0.0-beta.3", "@mocks-server/main": "5.0.0-beta.4", "@types/fs-extra": "11.0.4", "@types/glob": "8.1.0", "@types/globule": "1.1.9", "@types/hast": "2.3.10", "@types/mdast": "3.0.15", "@types/tmp": "0.2.6", "@types/unist": "2.0.11", "@types/which": "3.0.4", "babel-plugin-transform-import-meta": "2.2.1", "confluence.js": "1.7.4", "cross-fetch": "4.0.0", "dotenv": "16.4.6", "start-server-and-test": "2.0.8", "tmp": "0.2.3", "ts-dedent": "2.2.0", "unist-builder": "4.0.0", "@telefonica/child-process-manager": "2.0.1" }, "files": [ "dist", "bin", "config" ], "bin": { "markdown-confluence-sync": "./bin/markdown-confluence-sync.mjs" }, "main": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "engines": { "node": ">=18", "pnpm": ">=8" }, "scripts": { "build": "tsc", "check:all": "echo 'All checks passed'", "check:spell": "cspell .", "check:types": "npm run check:types:test:unit && npm run check:types:test:component && npm run check:types:lib", "check:types:lib": "tsc --noEmit", "check:types:test:component": "tsc --noEmit --project ./test/component/tsconfig.json", "check:types:test:unit": "tsc --noEmit --project ./test/unit/tsconfig.json", "confluence:mock": "mocks-server", "confluence:mock:ci": "mocks-server --no-plugins.inquirerCli.enabled", "lint": "eslint .", "lint:fix": "eslint . --fix", "sync:docs": "./bin/markdown-confluence-sync.mjs", "test:component": "start-server-and-test confluence:mock:ci http-get://127.0.0.1:3110/api/about test:component:run", "test:component:run": "jest --config jest.component.config.cjs --runInBand", "test:e2e": "jest --config jest.e2e.config.cjs", "test:unit": "jest --config jest.unit.config.cjs" } }