Skip to content

Commit

Permalink
fix(zhead): inline packrup dep
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Nov 9, 2022
1 parent 638858a commit 96adb44
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 3 additions & 1 deletion packages/zhead/package.json
Expand Up @@ -31,7 +31,9 @@
"stub": "unbuild . --stub"
},
"dependencies": {
"@zhead/schema": "workspace:*",
"@zhead/schema": "workspace:*"
},
"devDependencies": {
"packrup": "^0.1.0"
}
}
1 change: 0 additions & 1 deletion packages/zhead/src/meta/index.ts
@@ -1,3 +1,2 @@
export * from './pack'
export * from './unpack'
export * from './utils'
2 changes: 1 addition & 1 deletion packages/zhead/src/meta/unpack.ts
@@ -1,6 +1,6 @@
import type { Head, MetaFlatInput } from '@zhead/schema'
import { unpackToArray, unpackToString } from 'packrup'
import { changeKeyCasingDeep, fixKeyCase } from '../transforms'
import { changeKeyCasingDeep, fixKeyCase } from '..'
import { MetaPackingSchema, resolveMetaKeyType } from './utils'

/**
Expand Down
4 changes: 2 additions & 2 deletions packages/zhead/src/meta/utils.ts
@@ -1,9 +1,9 @@
import type { TransformValueOptions } from 'packrup'
import { PropertyPrefixKeys } from '../transforms'
import { PropertyPrefixKeys } from '..'

export type ValidMetaType = 'name' | 'http-equiv' | 'property' | 'charset'

export interface PackingDefinition {
interface PackingDefinition {
metaKey?: ValidMetaType
keyValue?: string
unpack?: TransformValueOptions
Expand Down

0 comments on commit 96adb44

Please sign in to comment.