mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
Fix astro-prism
package (#170)
* fix: properly include astro-prism * chore: add changeset * Update `astro-prism` description
This commit is contained in:
parent
94038d3297
commit
d924fcbeb4
4 changed files with 11 additions and 5 deletions
6
.changeset/twelve-forks-pull.md
Normal file
6
.changeset/twelve-forks-pull.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
'astro': patch
|
||||||
|
'astro-prism': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix issue with Prism component missing dependency
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "astro-prism",
|
"name": "astro-prism",
|
||||||
"version": "1.0.0",
|
"version": "0.0.1",
|
||||||
"description": "This is not published at this time.",
|
"description": "IYKYK",
|
||||||
"main": "index.mjs",
|
"main": "index.mjs",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "echo 'build'",
|
"build": "echo 'build'",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
import Prism from 'prismjs';
|
import Prism from 'prismjs';
|
||||||
import { addAstro } from '../astro-prism/index.mjs';
|
import { addAstro } from 'astro-prism';
|
||||||
import * as loadLanguages from 'prismjs/components/index.js';
|
import * as loadLanguages from 'prismjs/components/index.js';
|
||||||
|
|
||||||
export let lang;
|
export let lang;
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
"components",
|
"components",
|
||||||
"lib",
|
"lib",
|
||||||
"runtime",
|
"runtime",
|
||||||
"astro-prism",
|
|
||||||
"snowpack-plugin.cjs",
|
"snowpack-plugin.cjs",
|
||||||
"astro.mjs"
|
"astro.mjs"
|
||||||
],
|
],
|
||||||
|
@ -43,6 +42,7 @@
|
||||||
"@vue/server-renderer": "^3.0.10",
|
"@vue/server-renderer": "^3.0.10",
|
||||||
"acorn": "^7.4.0",
|
"acorn": "^7.4.0",
|
||||||
"astro-parser": "0.0.9",
|
"astro-parser": "0.0.9",
|
||||||
|
"astro-prism": "0.0.1",
|
||||||
"autoprefixer": "^10.2.5",
|
"autoprefixer": "^10.2.5",
|
||||||
"cheerio": "^1.0.0-rc.5",
|
"cheerio": "^1.0.0-rc.5",
|
||||||
"domhandler": "^4.1.0",
|
"domhandler": "^4.1.0",
|
||||||
|
|
Loading…
Reference in a new issue