{"_id":"@complear/lexical-numbered-nodes","_rev":"2-c7e743701a553ee969e5f00fdaaad4a6","name":"@complear/lexical-numbered-nodes","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@complear/lexical-numbered-nodes","version":"0.1.0","license":"MIT","_id":"@complear/lexical-numbered-nodes@0.1.0","maintainers":[{"name":"miguellaginha","email":"me@miguellaginha.com"}],"dist":{"shasum":"888efad0b9e53de7643d7e1053e8fdbed63c9da4","tarball":"https://registry.npmjs.org/@complear/lexical-numbered-nodes/-/lexical-numbered-nodes-0.1.0.tgz","fileCount":11,"integrity":"sha512-nGo1/u4oihJmfw59C2hjquc9XO+ND/R0Ax61oodbBGj8ti1RvrCcXs2zmf2FJx9PQp4/7Er70c5Q0LzBMbdFeA==","signatures":[{"sig":"MEYCIQCka1y3ZT74AA7nnp6mpKC/wg6vyqQbQGAYg7zS08xG0AIhAP0eFlyxb/H5y2TZ8DddSBZcHuLGDWLniIL9pX4MpH1K","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16111},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"npm run clean && tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc -p tsconfig.json --noEmit","publish:npm":"npm publish --access public","prepublishOnly":"npm run build"},"_npmUser":{"name":"miguellaginha","email":"me@miguellaginha.com"},"_npmVersion":"11.6.2","description":"Reusable Lexical custom nodes for numbered blocks and numbered headings","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"lexical":"^0.39.0","typescript":"^5.9.2","@lexical/rich-text":"^0.39.0"},"peerDependencies":{"lexical":"^0.39.0","@lexical/rich-text":"^0.39.0"},"_npmOperationalInternal":{"tmp":"tmp/lexical-numbered-nodes_0.1.0_1772555136758_0.3144683865781046","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@complear/lexical-numbered-nodes","version":"0.1.1","description":"Reusable Lexical custom nodes for numbered blocks and numbered headings","type":"module","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"sideEffects":false,"scripts":{"clean":"rm -rf dist","build":"npm run clean && tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","prepublishOnly":"npm run build","publish:npm":"npm publish --access public"},"peerDependencies":{"lexical":"^0.39.0","@lexical/rich-text":"^0.39.0"},"devDependencies":{"typescript":"^5.9.2","lexical":"^0.39.0","@lexical/rich-text":"^0.39.0"},"license":"MIT","_id":"@complear/lexical-numbered-nodes@0.1.1","_nodeVersion":"22.15.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-9bX2kosey8QaoYNW/MSa9ul8tX4fbV43cbrc+gBeFA+OikJ0DUm7TUW3SDuOTmjIm2yrGVQKbjmi3r8jeTD6yQ==","shasum":"1d2c4f23191cdf84cc2deb37f1e45ec6a3fbbbe9","tarball":"https://registry.npmjs.org/@complear/lexical-numbered-nodes/-/lexical-numbered-nodes-0.1.1.tgz","fileCount":11,"unpackedSize":16111,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCRpnj9hDJlID8S4n+QAhQ1poPOhatiAotNGUGYQp4QEgIgTd7Rnw5yjGNa+2mkdIAKXSKjyZiJoFxrNQHhslf5MKs="}]},"_npmUser":{"name":"miguellaginha","email":"me@miguellaginha.com"},"directories":{},"maintainers":[{"name":"miguellaginha","email":"me@miguellaginha.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lexical-numbered-nodes_0.1.1_1772555438391_0.42909935947676425"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-03T16:25:36.621Z","modified":"2026-03-03T16:30:38.660Z","0.1.0":"2026-03-03T16:25:36.910Z","0.1.1":"2026-03-03T16:30:38.533Z"},"license":"MIT","description":"Reusable Lexical custom nodes for numbered blocks and numbered headings","maintainers":[{"name":"miguellaginha","email":"me@miguellaginha.com"}],"readme":"# @complear/lexical-numbered-nodes\n\nReusable Lexical custom nodes for numbered blocks and numbered headings.\n\nThis package is intentionally limited to generic formatting and Lexical node behavior. It contains no Complear product/domain logic and no API, auth, persistence, or organization/project/item-specific code.\n\n## Contents\n\n- `NumberedBlockNode`\n- `NumberedHeadingNode`\n- helper factory/type-guard functions\n- small utility functions for heading-tag normalization and numeric-prefix detection\n\n## Installation\n\n```bash\nnpm install @complear/lexical-numbered-nodes\n```\n\n## Peer Dependencies\n\nHost apps must provide matching Lexical versions:\n\n- `lexical`\n- `@lexical/rich-text`\n\n## Usage\n\n```ts\nimport {\n  NumberedBlockNode,\n  NumberedHeadingNode,\n  $createNumberedBlockNode,\n  $createNumberedHeadingNode,\n} from \"@complear/lexical-numbered-nodes\";\n\nconst nodes = [NumberedHeadingNode, NumberedBlockNode];\n```\n\n## Release / Publish\n\n1. Ensure npm access to the `@complear` scope:\n\n```bash\nnpm whoami\n```\n\n2. Bump version in `package.json`.\n3. Publish:\n\n```bash\nnpm run publish:npm\n```\n\n`prepublishOnly` runs the package build before publish.\n","readmeFilename":"README.md"}