diff --git a/.gitignore b/.gitignore index e8d1c4db622ecf95de46acfe3a27b83b93cee3d0..f527a9d7cb7454257b828edf0ee49ae653344ff7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /target /lib/bindgen /lib/node_modules +/lib/README.md .tmp diff --git a/Cargo.lock b/Cargo.lock index e4ca65742ee1d9fd8c8bc0d632cc8e648f056928..ef94b89219890540ff2b8952482c7fc3a6119547 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -401,7 +401,7 @@ dependencies = [ [[package]] name = "markodown" -version = "1.0.0" +version = "0.0.0" dependencies = [ "clap", "markdown-it", diff --git a/Cargo.toml b/Cargo.toml index 6a203d9cfecbc935f083b67426f99817c0ac4e71..d26ec9f4c5d407f6875d7aae41ef3e1cc1ac9ddf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,5 @@ [package] name = "markodown" -version = "1.0.0" edition = "2024" [lib] diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..dcaebf87de1d16f88d552a5ccff38b4f6e0b1260 --- /dev/null +++ b/LICENSE @@ -0,0 +1,15 @@ +ISC License + +Copyright 2026 clover caruso + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. diff --git a/lib/LICENSE b/lib/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..dcaebf87de1d16f88d552a5ccff38b4f6e0b1260 --- /dev/null +++ b/lib/LICENSE @@ -0,0 +1,15 @@ +ISC License + +Copyright 2026 clover caruso + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. diff --git a/lib/jsr.json b/lib/jsr.json index ecc81a8e31589d4dfda41e468bbdf9e7c0a97548..5ce7f3d6b50aa192f3c524a75b8b749943a3c13d 100644 --- a/lib/jsr.json +++ b/lib/jsr.json @@ -1,13 +1,23 @@ { "name": "@clo/markodown", - "version": "1.0.0-rc.1", - "license": "MIT", + "version": "1.0.0-rc.3", + "license": "ISC", "exports": { ".": "./mod.ts", "./esbuild.ts": "./esbuild.ts", "./rollup.ts": "./rollup.ts" }, "imports": { - "@marko/compiler": "@marko/compiler@^5.39.55" + "@marko/compiler": "npm:@marko/compiler@^5", + "esbuild": "npm:esbuild@0.x", + "rollup": "npm:rollup@^4" + }, + "publish": { + "exclude": [ + "!bindgen", + "!README.md", + "package-lock.json", + "package.json" + ] } } diff --git a/lib/package-lock.json b/lib/package-lock.json index 69387d14068d5505649368d2dc1e7fefd0ebecd7..8a7452a8e712b5f0ebec71e2bc8d239adca9776b 100644 --- a/lib/package-lock.json +++ b/lib/package-lock.json @@ -10,6 +10,7 @@ "browserslist": "^4.28.1", "esbuild": "^0.27.3", "marko": "^5.38.24", + "rollup": "^4.57.1", "vite": "^7.3.1", "vitest": "^4.0.18" } diff --git a/lib/package.json b/lib/package.json index e2af09b0390045b75b66c433d2983566e83504e7..806bfeb489ba770fb99262681de77c70e71df705 100644 --- a/lib/package.json +++ b/lib/package.json @@ -5,6 +5,7 @@ "browserslist": "^4.28.1", "esbuild": "^0.27.3", "marko": "^5.38.24", + "rollup": "^4.57.1", "vite": "^7.3.1", "vitest": "^4.0.18" } diff --git a/lib/package.npm.json b/lib/package.npm.json new file mode 100644 index 0000000000000000000000000000000000000000..5a2315d29d4e13e9f18170fef64b347bf791a698 --- /dev/null +++ b/lib/package.npm.json @@ -0,0 +1,39 @@ +{ + "name": "@paperclover/markodown", + "version": "1.0.0-rc.3", + "homepage": "https://git.paperclover.net/clo/markodown", + "type": "module", + "peerDependencies": { + "@marko/compiler": "^5", + "esbuild": "0.x", + "rollup": "^4" + }, + "publishConfig": { + "access": "public" + }, + "peerDependenciesMeta": { + "@marko/compiler": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "rollup": { + "optional": true + } + }, + "exports": { + ".": { + "types": "./_dist/mod.d.ts", + "default": "./mod.js" + }, + "./esbuild.ts": { + "types": "./_dist/esbuild.d.ts", + "default": "./esbuild.js" + }, + "./rollup.ts": { + "types": "./_dist/rollup.d.ts", + "default": "./rollup.js" + } + } +}