Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
542ad4ab9c | ||
|
|
9bf8599116 | ||
|
|
170c9a53f1 | ||
|
|
e0d5095099 | ||
|
|
08a8a10478 | ||
|
|
7bbaf14d14 | ||
|
|
b7d0b01122 | ||
|
|
4627266577 |
Vendored
+9
-4
@@ -18,7 +18,7 @@
|
||||
--badge-bg: #f3f4f6;
|
||||
--badge-border: #e5e7eb;
|
||||
--badge-text: #4b5563;
|
||||
--accent: #f97316;
|
||||
--accent: #027bd0;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
@@ -34,12 +34,13 @@
|
||||
--badge-bg: #1a1c26;
|
||||
--badge-border: #282b3d;
|
||||
--badge-text: #9ca3af;
|
||||
--accent: #fb923c;
|
||||
--accent: #027bd0;
|
||||
}
|
||||
}
|
||||
|
||||
urlset {
|
||||
display: block;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
|
||||
background-color: var(--bg);
|
||||
color: var(--text-main);
|
||||
@@ -55,6 +56,7 @@ urlset {
|
||||
urlset::before {
|
||||
content: "XML Sitemap";
|
||||
display: block;
|
||||
order: -2;
|
||||
font-size: 1.35rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.02em;
|
||||
@@ -66,6 +68,7 @@ urlset::before {
|
||||
urlset::after {
|
||||
content: "Intecion.com, Technology — engineered for modern digital experiences.";
|
||||
display: block;
|
||||
order: -1;
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-muted);
|
||||
padding-bottom: 1.25rem;
|
||||
@@ -76,6 +79,8 @@ urlset::after {
|
||||
/* URL card */
|
||||
url {
|
||||
display: block;
|
||||
width: 100%;
|
||||
order: 0;
|
||||
background-color: var(--card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
@@ -140,4 +145,4 @@ link {
|
||||
border-radius: 4px;
|
||||
margin-right: 0.3rem;
|
||||
margin-top: 0.35rem;
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+9
-3
@@ -67,9 +67,15 @@ import { buildSeoPlugin, injectAutoFillMeta, injectSeoTabs } from './modules/seo
|
||||
// optional peer dependency at build time (it isn't in the plugin's own
|
||||
// node_modules). Avoids TS2307 without @ts-expect-error; the module
|
||||
// exists at runtime in projects that installed it.
|
||||
const pkg = '@clocklimited/payload-2fa';
|
||||
const { totpPlugin } = await import(pkg);
|
||||
config = await totpPlugin({
|
||||
// @ts-ignore
|
||||
const mod = await import('@clocklimited/payload-2fa');
|
||||
// The package exports `payloadTotp`; older/other builds may use
|
||||
// `totpPlugin`. Accept either so a rename doesn't break us.
|
||||
const totp = mod.payloadTotp ?? mod.totpPlugin;
|
||||
if (typeof totp !== 'function') {
|
||||
throw new Error('expected export payloadTotp (or totpPlugin) to be a function — ' + 'check the installed @clocklimited/payload-2fa version');
|
||||
}
|
||||
config = await totp({
|
||||
collection: tf.collectionSlug ?? 'users',
|
||||
forceSetup: true,
|
||||
totp: {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+4
-1
@@ -253,8 +253,11 @@ sprawdzane przed dostępem do DANYCH, nie tylko UI panelu).
|
||||
### Zależność
|
||||
|
||||
```bash
|
||||
pnpm add @clocklimited/payload-2fa
|
||||
pnpm add @clocklimited/payload-2fa@3.0.0-beta.7
|
||||
```
|
||||
Uwaga: pakiet nie ma jeszcze stabilnego 3.0.0 — użyj konkretnej wersji beta
|
||||
(albo `^3.0.0-0`, żeby dopuścić prereleasy). Sam `^3.0.0` da błąd
|
||||
ERR_PNPM_NO_MATCHING_VERSION.
|
||||
To PEER dependency — ipal-kit importuje ją dynamicznie tylko gdy 2FA włączone
|
||||
(domyślnie). Bez niej i z włączonym 2FA plugin rzuci jasny błąd.
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@intecion/ipal-kit",
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.4",
|
||||
"description": "Intecion Payload Advanced Library — a Payload CMS 3 plugin: i18n, SEO, forms, consent, analytics, blog/archives.",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
--badge-bg: #f3f4f6;
|
||||
--badge-border: #e5e7eb;
|
||||
--badge-text: #4b5563;
|
||||
--accent: #f97316;
|
||||
--accent: #027bd0;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
@@ -34,12 +34,13 @@
|
||||
--badge-bg: #1a1c26;
|
||||
--badge-border: #282b3d;
|
||||
--badge-text: #9ca3af;
|
||||
--accent: #fb923c;
|
||||
--accent: #027bd0;
|
||||
}
|
||||
}
|
||||
|
||||
urlset {
|
||||
display: block;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
|
||||
background-color: var(--bg);
|
||||
color: var(--text-main);
|
||||
@@ -55,6 +56,7 @@ urlset {
|
||||
urlset::before {
|
||||
content: "XML Sitemap";
|
||||
display: block;
|
||||
order: -2;
|
||||
font-size: 1.35rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.02em;
|
||||
@@ -66,6 +68,7 @@ urlset::before {
|
||||
urlset::after {
|
||||
content: "Intecion.com, Technology — engineered for modern digital experiences.";
|
||||
display: block;
|
||||
order: -1;
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-muted);
|
||||
padding-bottom: 1.25rem;
|
||||
@@ -76,6 +79,8 @@ urlset::after {
|
||||
/* URL card */
|
||||
url {
|
||||
display: block;
|
||||
width: 100%;
|
||||
order: 0;
|
||||
background-color: var(--card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
@@ -140,4 +145,4 @@ link {
|
||||
border-radius: 4px;
|
||||
margin-right: 0.3rem;
|
||||
margin-top: 0.35rem;
|
||||
}
|
||||
}
|
||||
|
||||
+14
-4
@@ -76,11 +76,21 @@ export const ipalKit = (options: IpalOptions): Plugin => {
|
||||
// optional peer dependency at build time (it isn't in the plugin's own
|
||||
// node_modules). Avoids TS2307 without @ts-expect-error; the module
|
||||
// exists at runtime in projects that installed it.
|
||||
const pkg = '@clocklimited/payload-2fa'
|
||||
const { totpPlugin } = (await import(pkg)) as {
|
||||
totpPlugin: (opts: Record<string, unknown>) => Plugin
|
||||
// @ts-ignore
|
||||
const mod = (await import('@clocklimited/payload-2fa')) as {
|
||||
payloadTotp?: (opts: Record<string, unknown>) => Plugin
|
||||
totpPlugin?: (opts: Record<string, unknown>) => Plugin
|
||||
}
|
||||
config = await totpPlugin({
|
||||
// The package exports `payloadTotp`; older/other builds may use
|
||||
// `totpPlugin`. Accept either so a rename doesn't break us.
|
||||
const totp = mod.payloadTotp ?? mod.totpPlugin
|
||||
if (typeof totp !== 'function') {
|
||||
throw new Error(
|
||||
'expected export payloadTotp (or totpPlugin) to be a function — ' +
|
||||
'check the installed @clocklimited/payload-2fa version',
|
||||
)
|
||||
}
|
||||
config = await totp({
|
||||
collection: tf.collectionSlug ?? 'users',
|
||||
forceSetup: true, // ENFORCED — every user must set up TOTP; no opt-out
|
||||
totp: { issuer: tf.issuer },
|
||||
|
||||
Reference in New Issue
Block a user