upgrade astro v5

pull/5801/head
Daniel 2024-12-08 08:24:02 +05:30
parent b0ed8ed650
commit a2674414bb
11 changed files with 1080 additions and 933 deletions

View File

@ -44,6 +44,23 @@
<!--begin::Required Plugin(AdminLTE)-->
<link rel="stylesheet" href="../../../dist/css/adminlte.css" />
<!--end::Required Plugin(AdminLTE)-->
<style>
[data-astro-image] {
width: 100%;
height: auto;
object-fit: var(--fit);
object-position: var(--pos);
aspect-ratio: var(--w) / var(--h);
}
[data-astro-image='responsive'] {
max-width: calc(var(--w) * 1px);
max-height: calc(var(--h) * 1px);
}
[data-astro-image='fixed'] {
width: calc(var(--w) * 1px);
height: calc(var(--h) * 1px);
}
</style>
</head>
<!--end::Head-->
<!--begin::Body-->

View File

@ -44,6 +44,23 @@
<!--begin::Required Plugin(AdminLTE)-->
<link rel="stylesheet" href="../../../dist/css/adminlte.css" />
<!--end::Required Plugin(AdminLTE)-->
<style>
[data-astro-image] {
width: 100%;
height: auto;
object-fit: var(--fit);
object-position: var(--pos);
aspect-ratio: var(--w) / var(--h);
}
[data-astro-image='responsive'] {
max-width: calc(var(--w) * 1px);
max-height: calc(var(--h) * 1px);
}
[data-astro-image='fixed'] {
width: calc(var(--w) * 1px);
height: calc(var(--h) * 1px);
}
</style>
</head>
<!--end::Head-->
<!--begin::Body-->

View File

@ -44,6 +44,23 @@
<!--begin::Required Plugin(AdminLTE)-->
<link rel="stylesheet" href="../../../../dist/css/adminlte.css" />
<!--end::Required Plugin(AdminLTE)-->
<style>
[data-astro-image] {
width: 100%;
height: auto;
object-fit: var(--fit);
object-position: var(--pos);
aspect-ratio: var(--w) / var(--h);
}
[data-astro-image='responsive'] {
max-width: calc(var(--w) * 1px);
max-height: calc(var(--h) * 1px);
}
[data-astro-image='fixed'] {
width: calc(var(--w) * 1px);
height: calc(var(--h) * 1px);
}
</style>
</head>
<!--end::Head-->
<!--begin::Body-->

View File

@ -44,6 +44,23 @@
<!--begin::Required Plugin(AdminLTE)-->
<link rel="stylesheet" href="../../../../dist/css/adminlte.css" />
<!--end::Required Plugin(AdminLTE)-->
<style>
[data-astro-image] {
width: 100%;
height: auto;
object-fit: var(--fit);
object-position: var(--pos);
aspect-ratio: var(--w) / var(--h);
}
[data-astro-image='responsive'] {
max-width: calc(var(--w) * 1px);
max-height: calc(var(--h) * 1px);
}
[data-astro-image='fixed'] {
width: calc(var(--w) * 1px);
height: calc(var(--h) * 1px);
}
</style>
</head>
<!--end::Head-->
<!--begin::Body-->

View File

@ -44,6 +44,23 @@
<!--begin::Required Plugin(AdminLTE)-->
<link rel="stylesheet" href="../../../dist/css/adminlte.css" />
<!--end::Required Plugin(AdminLTE)-->
<style>
[data-astro-image] {
width: 100%;
height: auto;
object-fit: var(--fit);
object-position: var(--pos);
aspect-ratio: var(--w) / var(--h);
}
[data-astro-image='responsive'] {
max-width: calc(var(--w) * 1px);
max-height: calc(var(--h) * 1px);
}
[data-astro-image='fixed'] {
width: calc(var(--w) * 1px);
height: calc(var(--h) * 1px);
}
</style>
</head>
<!--end::Head-->
<!--begin::Body-->

View File

@ -44,6 +44,23 @@
<!--begin::Required Plugin(AdminLTE)-->
<link rel="stylesheet" href="../../../dist/css/adminlte.css" />
<!--end::Required Plugin(AdminLTE)-->
<style>
[data-astro-image] {
width: 100%;
height: auto;
object-fit: var(--fit);
object-position: var(--pos);
aspect-ratio: var(--w) / var(--h);
}
[data-astro-image='responsive'] {
max-width: calc(var(--w) * 1px);
max-height: calc(var(--h) * 1px);
}
[data-astro-image='fixed'] {
width: calc(var(--w) * 1px);
height: calc(var(--h) * 1px);
}
</style>
</head>
<!--end::Head-->
<!--begin::Body-->

View File

@ -44,6 +44,23 @@
<!--begin::Required Plugin(AdminLTE)-->
<link rel="stylesheet" href="../../../dist/css/adminlte.css" />
<!--end::Required Plugin(AdminLTE)-->
<style>
[data-astro-image] {
width: 100%;
height: auto;
object-fit: var(--fit);
object-position: var(--pos);
aspect-ratio: var(--w) / var(--h);
}
[data-astro-image='responsive'] {
max-width: calc(var(--w) * 1px);
max-height: calc(var(--h) * 1px);
}
[data-astro-image='fixed'] {
width: calc(var(--w) * 1px);
height: calc(var(--h) * 1px);
}
</style>
</head>
<!--end::Head-->
<!--begin::Body-->

View File

@ -44,6 +44,23 @@
<!--begin::Required Plugin(AdminLTE)-->
<link rel="stylesheet" href="../../../../dist/css/adminlte.css" />
<!--end::Required Plugin(AdminLTE)-->
<style>
[data-astro-image] {
width: 100%;
height: auto;
object-fit: var(--fit);
object-position: var(--pos);
aspect-ratio: var(--w) / var(--h);
}
[data-astro-image='responsive'] {
max-width: calc(var(--w) * 1px);
max-height: calc(var(--h) * 1px);
}
[data-astro-image='fixed'] {
width: calc(var(--w) * 1px);
height: calc(var(--h) * 1px);
}
</style>
</head>
<!--end::Head-->
<!--begin::Body-->

View File

@ -44,6 +44,23 @@
<!--begin::Required Plugin(AdminLTE)-->
<link rel="stylesheet" href="../../../dist/css/adminlte.css" />
<!--end::Required Plugin(AdminLTE)-->
<style>
[data-astro-image] {
width: 100%;
height: auto;
object-fit: var(--fit);
object-position: var(--pos);
aspect-ratio: var(--w) / var(--h);
}
[data-astro-image='responsive'] {
max-width: calc(var(--w) * 1px);
max-height: calc(var(--h) * 1px);
}
[data-astro-image='fixed'] {
width: calc(var(--w) * 1px);
height: calc(var(--h) * 1px);
}
</style>
</head>
<!--end::Head-->
<!--begin::Body-->

1856
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -59,11 +59,11 @@
},
"devDependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^3.1.9",
"@astrojs/mdx": "^4.0.1",
"@rollup/plugin-typescript": "^12.1.1",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"astro": "^4.16.16",
"astro": "^5.0.3",
"autoprefixer": "^10.4.20",
"bootstrap": "^5.3.2",
"bundlewatch": "^0.4.0",