fix: update dependencies to bundle more deps
This commit is contained in:
parent
b89fffc2ed
commit
d3ab66356e
5 changed files with 36 additions and 23 deletions
8
.changeset/orange-swans-smoke.md
Normal file
8
.changeset/orange-swans-smoke.md
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
'astro': patch
|
||||||
|
'@astrojs/prism': patch
|
||||||
|
'create-astro': patch
|
||||||
|
'@astrojs/markdown-remark': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update dependency bundling to include more deps
|
|
@ -18,6 +18,8 @@
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "Skypack",
|
"author": "Skypack",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"//": "Default to 'devDependencies' (bundled with src/) rather than 'dependencies' (unbundled).",
|
||||||
|
"//": "See CONTRIBUTING.md for more info!",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"prismjs": "^1.23.0"
|
"prismjs": "^1.23.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -39,6 +39,8 @@
|
||||||
"benchmark": "node test/benchmark/dev.bench.js && node test/benchmark/build.bench.js",
|
"benchmark": "node test/benchmark/dev.bench.js && node test/benchmark/build.bench.js",
|
||||||
"test": "mocha --parallel --timeout 15000"
|
"test": "mocha --parallel --timeout 15000"
|
||||||
},
|
},
|
||||||
|
"//": "Default to 'devDependencies' (bundled with src/) rather than 'dependencies' (unbundled).",
|
||||||
|
"//": "See CONTRIBUTING.md for more info!",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/compiler": "^0.1.0-canary.47",
|
"@astrojs/compiler": "^0.1.0-canary.47",
|
||||||
"@astrojs/markdown-remark": "^0.3.1",
|
"@astrojs/markdown-remark": "^0.3.1",
|
||||||
|
@ -48,7 +50,19 @@
|
||||||
"@astrojs/renderer-vue": "^0.1.8",
|
"@astrojs/renderer-vue": "^0.1.8",
|
||||||
"@babel/core": "^7.15.5",
|
"@babel/core": "^7.15.5",
|
||||||
"@web/rollup-plugin-html": "^1.10.1",
|
"@web/rollup-plugin-html": "^1.10.1",
|
||||||
|
"vite": "^2.5.10"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/babel__core": "^7.1.15",
|
||||||
|
"@types/chai": "^4.2.22",
|
||||||
|
"@types/connect": "^3.4.35",
|
||||||
|
"@types/mime": "^2.0.3",
|
||||||
|
"@types/mocha": "^9.0.0",
|
||||||
|
"@types/node-fetch": "^2.5.12",
|
||||||
|
"@types/send": "^0.17.1",
|
||||||
|
"@types/yargs-parser": "^20.2.1",
|
||||||
"astring": "^1.7.5",
|
"astring": "^1.7.5",
|
||||||
|
"chai": "^4.3.4",
|
||||||
"cheerio": "^1.0.0-rc.10",
|
"cheerio": "^1.0.0-rc.10",
|
||||||
"ci-info": "^3.2.0",
|
"ci-info": "^3.2.0",
|
||||||
"connect": "^3.7.0",
|
"connect": "^3.7.0",
|
||||||
|
@ -60,6 +74,7 @@
|
||||||
"html-entities": "^2.3.2",
|
"html-entities": "^2.3.2",
|
||||||
"kleur": "^4.1.4",
|
"kleur": "^4.1.4",
|
||||||
"mime": "^2.5.2",
|
"mime": "^2.5.2",
|
||||||
|
"mocha": "^9.1.1",
|
||||||
"morphdom": "^2.6.1",
|
"morphdom": "^2.6.1",
|
||||||
"node-fetch": "^2.6.1",
|
"node-fetch": "^2.6.1",
|
||||||
"path-to-regexp": "^6.2.0",
|
"path-to-regexp": "^6.2.0",
|
||||||
|
@ -69,30 +84,16 @@
|
||||||
"shiki": "^0.9.10",
|
"shiki": "^0.9.10",
|
||||||
"shorthash": "^0.0.2",
|
"shorthash": "^0.0.2",
|
||||||
"slash": "^4.0.0",
|
"slash": "^4.0.0",
|
||||||
"srcset-parse": "^1.1.0",
|
|
||||||
"source-map": "^0.7.3",
|
"source-map": "^0.7.3",
|
||||||
"sourcemap-codec": "^1.4.8",
|
"sourcemap-codec": "^1.4.8",
|
||||||
|
"srcset-parse": "^1.1.0",
|
||||||
"string-width": "^5.0.0",
|
"string-width": "^5.0.0",
|
||||||
"strip-ansi": "^7.0.1",
|
"strip-ansi": "^7.0.1",
|
||||||
"supports-esm": "^1.0.0",
|
"supports-esm": "^1.0.0",
|
||||||
"tiny-glob": "^0.2.8",
|
"tiny-glob": "^0.2.8",
|
||||||
"vite": "^2.5.10",
|
|
||||||
"yargs-parser": "^20.2.9",
|
"yargs-parser": "^20.2.9",
|
||||||
"zod": "^3.8.1"
|
"zod": "^3.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
|
||||||
"@types/babel__core": "^7.1.15",
|
|
||||||
"@types/chai": "^4.2.22",
|
|
||||||
"@types/connect": "^3.4.35",
|
|
||||||
"@types/mime": "^2.0.3",
|
|
||||||
"@types/mocha": "^9.0.0",
|
|
||||||
"@types/node-fetch": "^2.5.12",
|
|
||||||
"@types/send": "^0.17.1",
|
|
||||||
"@types/yargs-parser": "^20.2.1",
|
|
||||||
"chai": "^4.3.4",
|
|
||||||
"cheerio": "^1.0.0-rc.10",
|
|
||||||
"mocha": "^9.1.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^12.20.0 || ^14.13.1 || >=16.0.0",
|
"node": "^12.20.0 || ^14.13.1 || >=16.0.0",
|
||||||
"npm": ">=6.14.0"
|
"npm": ">=6.14.0"
|
||||||
|
|
|
@ -23,18 +23,19 @@
|
||||||
"dist",
|
"dist",
|
||||||
"create-astro.js"
|
"create-astro.js"
|
||||||
],
|
],
|
||||||
|
"//": "Default to 'devDependencies' (bundled with src/) rather than 'dependencies' (unbundled).",
|
||||||
|
"//": "See CONTRIBUTING.md for more info!",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/degit": "^2.8.2",
|
"degit": "^2.8.4"
|
||||||
"@types/node-fetch": "^2.5.12",
|
},
|
||||||
"@types/prompts": "^2.0.12",
|
"devDependencies": {
|
||||||
"degit": "^2.8.4",
|
|
||||||
"kleur": "^4.1.1",
|
"kleur": "^4.1.1",
|
||||||
"node-fetch": "^2.6.1",
|
"node-fetch": "^2.6.1",
|
||||||
"prompts": "^2.4.1",
|
"prompts": "^2.4.1",
|
||||||
"yargs-parser": "^20.2.7"
|
"yargs-parser": "^20.2.7",
|
||||||
},
|
"@types/degit": "^2.8.2",
|
||||||
"devDependencies": {
|
|
||||||
"@types/node-fetch": "^2.5.12",
|
"@types/node-fetch": "^2.5.12",
|
||||||
|
"@types/prompts": "^2.0.12",
|
||||||
"uvu": "^0.5.1"
|
"uvu": "^0.5.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
"postbuild": "astro-scripts copy \"src/**/*.js\"",
|
"postbuild": "astro-scripts copy \"src/**/*.js\"",
|
||||||
"dev": "astro-scripts dev \"src/**/*.ts\""
|
"dev": "astro-scripts dev \"src/**/*.ts\""
|
||||||
},
|
},
|
||||||
|
"//": "Default to 'devDependencies' (bundled with src/) rather than 'dependencies' (unbundled).",
|
||||||
|
"//": "See CONTRIBUTING.md for more info!",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@silvenon/remark-smartypants": "^1.0.0",
|
"@silvenon/remark-smartypants": "^1.0.0",
|
||||||
"assert": "^2.0.0",
|
"assert": "^2.0.0",
|
||||||
|
@ -37,7 +39,6 @@
|
||||||
"unist-util-map": "^3.0.0",
|
"unist-util-map": "^3.0.0",
|
||||||
"unist-util-visit": "^4.0.0"
|
"unist-util-visit": "^4.0.0"
|
||||||
},
|
},
|
||||||
"//": "Important that gray-matter is in devDependencies so it gets bundled by esbuild!",
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/github-slugger": "^1.3.0",
|
"@types/github-slugger": "^1.3.0",
|
||||||
"gray-matter": "^4.0.3"
|
"gray-matter": "^4.0.3"
|
||||||
|
|
Loading…
Reference in a new issue