Skip to content

Commit

Permalink
fix: build failure because of css
Browse files Browse the repository at this point in the history
  • Loading branch information
bonjourmauko committed Aug 20, 2024
1 parent 0448a3f commit 74d45bb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"check:eslint": "eslint .",
"check:prettier": "prettylint .",
"check:stylelint": "stylelint '**/*.{css,astro,svelte}'",
"check:todo": "leasot src/**/*.ts",
"dev": "astro dev",
"format": "run-s format:eslint format:prettier format:stylelint",
"format:eslint": "yarn check:eslint --fix",
Expand All @@ -27,7 +26,8 @@
"prepare:husky": "husky",
"prepare:pip": "pip install -r requirements.txt",
"preview": "astro preview",
"test": "vitest --run"
"test": "vitest --run",
"todo": "leasot src/**/*.{js,ts,cjs,mjs}"
},
"devDependencies": {
"@archoleat/stylelint-config-extended-scss": "^1.6.12",
Expand Down
8 changes: 1 addition & 7 deletions src/adapters/ui/prouns/Head.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
/* eslint-disable astro/no-conflict-set-directives,astro/valid-compile */
import { getImage } from 'astro:assets'
import resolveConfig from 'tailwindcss/resolveConfig'
Expand All @@ -9,7 +7,7 @@ import tailwindConfig from '=/tailwind.config'
import MetaGeo from ';/blocks/Meta/MetaGeo.svelte'
import css from ';/assets/styles/global.css'
import ';/assets/styles/global.css'
const {
url,
Expand Down Expand Up @@ -104,7 +102,3 @@ const schema = {
type='application/ld+json'
/>
</head>

<style set:html={css}>
/* stylelint-disable no-empty-source */
</style>
2 changes: 1 addition & 1 deletion src/common/utils/type/number.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

/** To narrow down value types. */
import type { Refinable } from '$/types'
import type { Refinable } from '$/types.ts'

export type IsNumber = Refinable<unknown, number>

Expand Down
1 change: 1 addition & 0 deletions src/config/imports-policy.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ export default [
]

// @todo Finish this. Forbid outward dependencies.
// @todo Fix this, regex not working. Author: Mauko. Date: 2024-08-19

0 comments on commit 74d45bb

Please sign in to comment.