diff --git a/.changeset/giant-boxes-brush.md b/.changeset/giant-boxes-brush.md deleted file mode 100644 index 0a6be9a..0000000 --- a/.changeset/giant-boxes-brush.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@studiocms/markdown-remark": minor ---- - -Initial Release - -This package is heavily inspired by and based on `@astrojs/markdown-remark`. It provides seamless integration with Astro, allowing you to easily parse and transform Markdown content within your Astro projects. The package leverages the power of remark to offer a highly configurable and extensible Markdown parser and transformer. \ No newline at end of file diff --git a/packages/markdown-remark/CHANGELOG.md b/packages/markdown-remark/CHANGELOG.md new file mode 100644 index 0000000..7ca5af0 --- /dev/null +++ b/packages/markdown-remark/CHANGELOG.md @@ -0,0 +1,9 @@ +# @studiocms/markdown-remark + +## 0.1.0 + +### Minor Changes + +- [`e5c6ea2`](https://github.com/withstudiocms/markdown-remark/commit/e5c6ea207285dc623f6879b0160c5b4b05542e52) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Initial Release + + This package is heavily inspired by and based on `@astrojs/markdown-remark`. It provides seamless integration with Astro, allowing you to easily parse and transform Markdown content within your Astro projects. The package leverages the power of remark to offer a highly configurable and extensible Markdown parser and transformer. diff --git a/packages/markdown-remark/package.json b/packages/markdown-remark/package.json index 4f74999..9e78dc9 100644 --- a/packages/markdown-remark/package.json +++ b/packages/markdown-remark/package.json @@ -1,88 +1,88 @@ { - "name": "@studiocms/markdown-remark", - "version": "0.0.1", - "type": "module", - "author": "studiocms", - "license": "MIT", - "repository": { - "type": "git", - "url": "git+https://github.com/withstudiocms/markdown-remark.git", - "directory": "packages/markdown-remark" + "name": "@studiocms/markdown-remark", + "version": "0.1.0", + "type": "module", + "author": "studiocms", + "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/withstudiocms/markdown-remark.git", + "directory": "packages/markdown-remark" + }, + "bugs": "https://github.com/withstudiocms/markdown-remark/issues", + "homepage": "https://studiocms.dev", + "main": "./dist/index.js", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" }, - "bugs": "https://github.com/withstudiocms/markdown-remark/issues", - "homepage": "https://studiocms.dev", - "main": "./dist/index.js", - "exports": { - ".": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - }, - "./processor": { - "types": "./dist/processor/index.d.ts", - "default": "./dist/processor/index.js" - } - }, - "imports": { - "#import-plugin": { - "browser": "./dist/processor/import-plugin-browser.js", - "default": "./dist/processor/import-plugin-default.js" - } - }, - "files": [ - "dist", - "assets" - ], - "scripts": { - "prepublish": "pnpm build", - "build": "run-scripts build \"src/**/*.ts\" && tsc -p tsconfig.json", - "build:ci": "run-scripts build \"src/**/*.ts\"", - "dev": "run-scripts dev \"src/**/*.ts\"", - "test": "pnpm build && vitest run" - }, - "peerDependencies": { - "astro": "^5.0.0" - }, - "dependencies": { - "@astrojs/prism": "^3.2.0", - "astro-integration-kit": "^0.18.0", - "github-slugger": "^2.0.0", - "hastscript": "^9.0.0", - "hast-util-from-html": "^2.0.3", - "hast-util-to-string": "^3.0.1", - "hast-util-to-text": "^4.0.2", - "html-escaper": "^3.0.3", - "import-meta-resolve": "^4.1.0", - "js-yaml": "^4.1.0", - "mdast-util-definitions": "^6.0.0", - "rehype-raw": "^7.0.0", - "rehype-stringify": "^10.0.1", - "rehype-autolink-headings": "^7.1.0", - "remark-gfm": "^4.0.0", - "remark-parse": "^11.0.0", - "remark-rehype": "^11.1.1", - "remark-smartypants": "^3.0.2", - "shiki": "^1.23.1", - "unified": "^11.0.5", - "unist-util-remove-position": "^5.0.0", - "unist-util-visit": "^5.0.0", - "unist-util-visit-parents": "^6.0.1", - "vfile": "^6.0.3" - }, - "devDependencies": { - "@inox-tools/astro-tests": "^0.2.2", - "@types/estree": "^1.0.6", - "@types/html-escaper": "^3.0.2", - "@types/hast": "^3.0.4", - "@types/js-yaml": "^4.0.9", - "@types/mdast": "^4.0.4", - "@types/unist": "^3.0.3", - "esbuild": "^0.21.5", - "fast-glob": "^3.3.2", - "mdast-util-mdx-expression": "^2.0.1", - "jest-extended": "^4.0.2", - "vitest": "^2.1.8" - }, - "publishConfig": { - "provenance": true + "./processor": { + "types": "./dist/processor/index.d.ts", + "default": "./dist/processor/index.js" + } + }, + "imports": { + "#import-plugin": { + "browser": "./dist/processor/import-plugin-browser.js", + "default": "./dist/processor/import-plugin-default.js" } - } \ No newline at end of file + }, + "files": [ + "dist", + "assets" + ], + "scripts": { + "prepublish": "pnpm build", + "build": "run-scripts build \"src/**/*.ts\" && tsc -p tsconfig.json", + "build:ci": "run-scripts build \"src/**/*.ts\"", + "dev": "run-scripts dev \"src/**/*.ts\"", + "test": "pnpm build && vitest run" + }, + "peerDependencies": { + "astro": "^5.0.0" + }, + "dependencies": { + "@astrojs/prism": "^3.2.0", + "astro-integration-kit": "^0.18.0", + "github-slugger": "^2.0.0", + "hastscript": "^9.0.0", + "hast-util-from-html": "^2.0.3", + "hast-util-to-string": "^3.0.1", + "hast-util-to-text": "^4.0.2", + "html-escaper": "^3.0.3", + "import-meta-resolve": "^4.1.0", + "js-yaml": "^4.1.0", + "mdast-util-definitions": "^6.0.0", + "rehype-raw": "^7.0.0", + "rehype-stringify": "^10.0.1", + "rehype-autolink-headings": "^7.1.0", + "remark-gfm": "^4.0.0", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.1.1", + "remark-smartypants": "^3.0.2", + "shiki": "^1.23.1", + "unified": "^11.0.5", + "unist-util-remove-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "unist-util-visit-parents": "^6.0.1", + "vfile": "^6.0.3" + }, + "devDependencies": { + "@inox-tools/astro-tests": "^0.2.2", + "@types/estree": "^1.0.6", + "@types/html-escaper": "^3.0.2", + "@types/hast": "^3.0.4", + "@types/js-yaml": "^4.0.9", + "@types/mdast": "^4.0.4", + "@types/unist": "^3.0.3", + "esbuild": "^0.21.5", + "fast-glob": "^3.3.2", + "mdast-util-mdx-expression": "^2.0.1", + "jest-extended": "^4.0.2", + "vitest": "^2.1.8" + }, + "publishConfig": { + "provenance": true + } +} \ No newline at end of file diff --git a/packages/markdown-remark/tests/fixture/astro/package.json b/packages/markdown-remark/tests/fixture/astro/package.json index 5816bd1..8137915 100644 --- a/packages/markdown-remark/tests/fixture/astro/package.json +++ b/packages/markdown-remark/tests/fixture/astro/package.json @@ -1,17 +1,17 @@ { - "name": "@markdown-remark/tests", - "version": "0.0.0", - "private": true, - "type": "module", - "scripts": { - "astro": "astro", - "build": "astro build", - "preview": "astro preview", - "test:dev": "astro dev", - "test:build": "pnpm build && pnpm preview" - }, - "dependencies": { - "@studiocms/markdown-remark": "workspace:*", - "astro": "^5.1.2" - } - } \ No newline at end of file + "name": "@markdown-remark/tests", + "version": "0.0.0", + "private": true, + "type": "module", + "scripts": { + "astro": "astro", + "build": "astro build", + "preview": "astro preview", + "test:dev": "astro dev", + "test:build": "pnpm build && pnpm preview" + }, + "dependencies": { + "@studiocms/markdown-remark": "workspace:*", + "astro": "^5.1.2" + } +} \ No newline at end of file