mirror of
https://github.com/d0zingcat/BroadcastChannel.git
synced 2026-05-13 23:16:46 +00:00
Merge branch 'edge-one'
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -26,3 +26,4 @@ pnpm-debug.log*
|
||||
.vercel
|
||||
.netlify
|
||||
.wrangler
|
||||
.edgeone
|
||||
@@ -3,6 +3,7 @@ import cloudflare from '@astrojs/cloudflare'
|
||||
import netlify from '@astrojs/netlify'
|
||||
import node from '@astrojs/node'
|
||||
import vercel from '@astrojs/vercel'
|
||||
import edgeone from '@edgeone/astro'
|
||||
import sentry from '@sentry/astro'
|
||||
import { defineConfig } from 'astro/config'
|
||||
import { provider } from 'std-env'
|
||||
@@ -20,9 +21,12 @@ const providers = {
|
||||
node: node({
|
||||
mode: 'standalone',
|
||||
}),
|
||||
edgeone: edgeone(),
|
||||
}
|
||||
|
||||
const adapterProvider = process.env.SERVER_ADAPTER || provider
|
||||
const adapterProvider = (process.env.HOME === '/dev/shm/home' && process.env.TMPDIR === '/dev/shm/tmp')
|
||||
? 'edgeone'
|
||||
: process.env.SERVER_ADAPTER || provider
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
|
||||
@@ -3,6 +3,7 @@ import antfu from '@antfu/eslint-config'
|
||||
export default antfu({
|
||||
formatters: true,
|
||||
astro: true,
|
||||
pnpm: false,
|
||||
rules: {
|
||||
'no-console': ['error', { allow: ['info', 'warn', 'error'] }],
|
||||
},
|
||||
|
||||
27
package.json
27
package.json
@@ -3,7 +3,7 @@
|
||||
"type": "module",
|
||||
"version": "0.1.8",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@10.22.0",
|
||||
"packageManager": "pnpm@10.26.2",
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
@@ -15,33 +15,34 @@
|
||||
"postinstall": "test -d .git && simple-git-hooks || true"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/rss": "^4.0.13",
|
||||
"@sentry/astro": "^10.25.0",
|
||||
"@astrojs/rss": "^4.0.14",
|
||||
"@sentry/astro": "^10.32.1",
|
||||
"cheerio": "1.0.0-rc.12",
|
||||
"dayjs": "^1.11.19",
|
||||
"flourite": "^1.3.0",
|
||||
"lru-cache": "^11.2.2",
|
||||
"lru-cache": "^11.2.4",
|
||||
"ofetch": "^1.5.1",
|
||||
"prismjs": "^1.30.0",
|
||||
"prismjs-components-importer": "^0.2.0",
|
||||
"sanitize-html": "^2.17.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^6.2.0",
|
||||
"@astrojs/cloudflare": "^12.6.10",
|
||||
"@astrojs/netlify": "^6.6.0",
|
||||
"@astrojs/node": "^9.5.0",
|
||||
"@astrojs/vercel": "^9.0.0",
|
||||
"@antfu/eslint-config": "^6.7.3",
|
||||
"@astrojs/cloudflare": "^12.6.12",
|
||||
"@astrojs/netlify": "^6.6.3",
|
||||
"@astrojs/node": "^9.5.1",
|
||||
"@astrojs/vercel": "^9.0.2",
|
||||
"@edgeone/astro": "^1.0.6",
|
||||
"@types/prismjs": "^1.26.5",
|
||||
"astro": "^5.15.7",
|
||||
"astro": "^5.16.6",
|
||||
"astro-eslint-parser": "^1.2.2",
|
||||
"astro-seo": "^0.8.4",
|
||||
"autoprefixer": "^10.4.22",
|
||||
"autoprefixer": "^10.4.23",
|
||||
"cssnano": "^7.1.2",
|
||||
"eslint": "9.5.0",
|
||||
"eslint-plugin-astro": "^1.5.0",
|
||||
"eslint-plugin-format": "^1.0.2",
|
||||
"lint-staged": "^16.2.6",
|
||||
"eslint-plugin-format": "^1.1.0",
|
||||
"lint-staged": "^16.2.7",
|
||||
"postcss-nesting": "^13.0.2",
|
||||
"prettier-plugin-astro": "^0.14.1",
|
||||
"simple-git-hooks": "^2.13.1",
|
||||
|
||||
2204
pnpm-lock.yaml
generated
2204
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user