-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing publishing step for /ui (#1)
* removed previous /ui * initial replacement of desired /ui contents * ui building * fixed web build and and tsconfig trees * creacted clean script for all and clean:all * previous * previous
- Loading branch information
1 parent
8828474
commit e5a09da
Showing
39 changed files
with
3,130 additions
and
3,883 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,8 @@ yarn-error.log* | |
.turbo | ||
|
||
.contentlayer | ||
tsconfig.tsbuildinfo | ||
tsconfig.tsbuildinfo | ||
|
||
**/dist | ||
|
||
**/.npmrc |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
"_dependencies": { | ||
"@babel/core": "^7.22.1", | ||
"@changesets/changelog-github": "^0.4.8", | ||
"@changesets/cli": "^2.26.1", | ||
"@commitlint/cli": "^17.6.3", | ||
"@commitlint/config-conventional": "^17.6.3", | ||
"@ianvs/prettier-plugin-sort-imports": "^3.7.2", | ||
"@manypkg/cli": "^0.20.0", | ||
"@types/node": "^17.0.45", | ||
"@types/react": "^18.2.7", | ||
"@types/react-dom": "^18.2.4", | ||
"@typescript-eslint/parser": "^5.59.7", | ||
"autoprefixer": "^10.4.14", | ||
"concurrently": "^8.0.1", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^8.41.0", | ||
"eslint-config-next": "13.3.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-config-turbo": "^1.9.9", | ||
"eslint-plugin-react": "^7.32.2", | ||
"eslint-plugin-tailwindcss": "^3.12.0", | ||
"postcss": "^8.4.24", | ||
"prettier": "^2.8.8", | ||
"pretty-quick": "^3.1.3", | ||
"tailwindcss": "^3.4.0", | ||
"tailwindcss-animate": "^1.0.5", | ||
"ts-node": "^10.9.1", | ||
"turbo": "^1.9.9", | ||
"typescript": "^4.9.5", | ||
"vite-tsconfig-paths": "^4.2.0", | ||
"vitest": "^0.31.1" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
158 changes: 158 additions & 0 deletions
158
packages/ui/common/head-metadata/from-next/metadata-types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,158 @@ | ||
/** | ||
* | ||
* Metadata types | ||
* | ||
*/ | ||
|
||
export interface DeprecatedMetadataFields { | ||
/** | ||
* Deprecated options that have a preferred method | ||
* @deprecated Use appWebApp to configure apple-mobile-web-app-capable which provides | ||
* @see https://www.appsloveworld.com/coding/iphone/11/difference-between-apple-mobile-web-app-capable-and-apple-touch-fullscreen-ipho | ||
*/ | ||
'apple-touch-fullscreen'?: never | ||
|
||
/** | ||
* Obsolete since iOS 7. | ||
* @see https://web.dev/apple-touch-icon/ | ||
* @deprecated use icons.apple or instead | ||
*/ | ||
'apple-touch-icon-precomposed'?: never | ||
} | ||
|
||
export type TemplateString = | ||
| DefaultTemplateString | ||
| AbsoluteTemplateString | ||
| AbsoluteString | ||
export type DefaultTemplateString = { | ||
default: string | ||
template: string | ||
} | ||
export type AbsoluteTemplateString = { | ||
absolute: string | ||
template: string | null | ||
} | ||
export type AbsoluteString = { | ||
absolute: string | ||
} | ||
|
||
export type Author = { | ||
// renders as <link rel="author"... | ||
url?: string | URL | ||
// renders as <meta name="author"... | ||
name?: string | ||
} | ||
|
||
// does not include "unsafe-URL". to use this users should | ||
// use '"unsafe-URL" as ReferrerEnum' | ||
export type ReferrerEnum = | ||
| 'no-referrer' | ||
| 'origin' | ||
| 'no-referrer-when-downgrade' | ||
| 'origin-when-cross-origin' | ||
| 'same-origin' | ||
| 'strict-origin' | ||
| 'strict-origin-when-cross-origin' | ||
|
||
export type ColorSchemeEnum = | ||
| 'normal' | ||
| 'light' | ||
| 'dark' | ||
| 'light dark' | ||
| 'dark light' | ||
| 'only light' | ||
|
||
type RobotsInfo = { | ||
// all and none will be inferred from index/follow boolean options | ||
index?: boolean | ||
follow?: boolean | ||
|
||
/** @deprecated set index to false instead */ | ||
noindex?: never | ||
/** @deprecated set follow to false instead */ | ||
nofollow?: never | ||
|
||
noarchive?: boolean | ||
nosnippet?: boolean | ||
noimageindex?: boolean | ||
nocache?: boolean | ||
notranslate?: boolean | ||
indexifembedded?: boolean | ||
nositelinkssearchbox?: boolean | ||
unavailable_after?: string | ||
'max-video-preview'?: number | string | ||
'max-image-preview'?: 'none' | 'standard' | 'large' | ||
'max-snippet'?: number | ||
} | ||
export type Robots = RobotsInfo & { | ||
// if you want to specify an alternate robots just for google | ||
googleBot?: string | RobotsInfo | ||
} | ||
|
||
export type ResolvedRobots = { | ||
basic: string | null | ||
googleBot: string | null | ||
} | ||
|
||
export type IconURL = string | URL | ||
export type Icon = IconURL | IconDescriptor | ||
export type IconDescriptor = { | ||
url: string | URL | ||
type?: string | ||
sizes?: string | ||
color?: string | ||
/** defaults to rel="icon" unless superseded by Icons map */ | ||
rel?: string | ||
media?: string | ||
/** | ||
* @see https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority | ||
*/ | ||
fetchPriority?: 'high' | 'low' | 'auto' | ||
} | ||
|
||
export type Icons = { | ||
/** rel="icon" */ | ||
icon?: Icon | Icon[] | ||
/** rel="shortcut icon" */ | ||
shortcut?: Icon | Icon[] | ||
/** | ||
* @see https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html | ||
* rel="apple-touch-icon" | ||
*/ | ||
apple?: Icon | Icon[] | ||
/** rel inferred from descriptor, defaults to "icon" */ | ||
other?: IconDescriptor | IconDescriptor[] | ||
} | ||
|
||
export type Verification = { | ||
google?: null | string | number | (string | number)[] | ||
yahoo?: null | string | number | (string | number)[] | ||
yandex?: null | string | number | (string | number)[] | ||
me?: null | string | number | (string | number)[] | ||
// if you ad-hoc additional verification | ||
other?: { | ||
[name: string]: string | number | (string | number)[] | ||
} | ||
} | ||
|
||
export type ResolvedVerification = { | ||
google?: null | (string | number)[] | ||
yahoo?: null | (string | number)[] | ||
yandex?: null | (string | number)[] | ||
me?: null | (string | number)[] | ||
other?: { | ||
[name: string]: (string | number)[] | ||
} | ||
} | ||
|
||
export type ResolvedIcons = { | ||
icon: IconDescriptor[] | ||
apple: IconDescriptor[] | ||
shortcut?: IconDescriptor[] | ||
other?: IconDescriptor[] | ||
} | ||
|
||
export type ThemeColorDescriptor = { | ||
color: string | ||
media?: string | ||
} |
Oops, something went wrong.