Move the prism package to the scope name (#317)
* Move the prism package to the scope name `astro-prism` -> `@astrojs/prism` * move the version to 0.2.0
This commit is contained in:
parent
cb3ff36105
commit
6445c18117
5 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
# astro-prism
|
||||
# @astrojs/prism
|
||||
|
||||
## 0.0.2
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "astro-prism",
|
||||
"version": "0.0.2",
|
||||
"name": "@astrojs/prism",
|
||||
"version": "0.2.0",
|
||||
"description": "IYKYK",
|
||||
"main": "index.mjs",
|
||||
"scripts": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
import Prism from 'prismjs';
|
||||
import { addAstro } from 'astro-prism';
|
||||
import { addAstro } from '@astrojs/prism';
|
||||
import * as loadLanguages from 'prismjs/components/index.js';
|
||||
|
||||
export let lang;
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/markdown-support": "0.1.1",
|
||||
"@astrojs/prism": "0.2.0",
|
||||
"@astrojs/renderer-preact": "0.1.0",
|
||||
"@astrojs/renderer-react": "0.1.0",
|
||||
"@astrojs/renderer-svelte": "0.1.0",
|
||||
|
@ -51,7 +52,6 @@
|
|||
"acorn": "^7.4.0",
|
||||
"astring": "^1.7.4",
|
||||
"astro-parser": "0.12.1",
|
||||
"astro-prism": "0.0.2",
|
||||
"autoprefixer": "^10.2.5",
|
||||
"cheerio": "^1.0.0-rc.6",
|
||||
"del": "^6.0.0",
|
||||
|
|
|
@ -9,7 +9,7 @@ const pkg = require('../package.json');
|
|||
*/
|
||||
|
||||
// These packages SHOULD be built by `esinstall`
|
||||
const allowList = new Set(['astring', 'astro-prism', 'estree-util-value-to-estree', 'prismjs', 'shorthash']);
|
||||
const allowList = new Set(['astring', '@astrojs/prism', 'estree-util-value-to-estree', 'prismjs', 'shorthash']);
|
||||
|
||||
const isAstroRenderer = (name: string) => {
|
||||
return name.startsWith(`@astrojs/renderer-`);
|
||||
|
|
Loading…
Reference in a new issue