generated from withstudiocms/project-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Adam Matthiesen <amatthiesen@outlook.com>
- Loading branch information
1 parent
0b47841
commit d00decf
Showing
4 changed files
with
110 additions
and
108 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} | ||
}, | ||
"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 | ||
} | ||
} |
32 changes: 16 additions & 16 deletions
32
packages/markdown-remark/tests/fixture/astro/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} | ||
"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" | ||
} | ||
} |