@batijs/features 0.0.444 → 0.0.445
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -245,25 +245,6 @@ var features = [
|
|
|
245
245
|
}
|
|
246
246
|
]
|
|
247
247
|
},
|
|
248
|
-
{
|
|
249
|
-
category: "Auth",
|
|
250
|
-
label: "Lucia",
|
|
251
|
-
flag: "lucia-auth",
|
|
252
|
-
image: "data:image/svg+xml;base64,PHN2ZyBpZD0nV2Fyc3R3YV8xJyBkYXRhLW5hbWU9J1dhcnN0d2EgMScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB4bWxuczp4bGluaz0naHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluaycgdmlld0JveD0nMCAwIDIwMDAgMjAwMCc+PHBhdGggZmlsbD0nIzVmNTdmZicgZD0nbTE2NDcuNjYsMTY3My4zNkwxMDAwLDcyLjczLDM1Mi4zNCwxNjczLjM2bC0xMDIuNzQsMjUzLjkxaDE1MDAuOGwtMTAyLjc0LTI1My45MVptLTY0Ny42Ni01NDlsLTQ0Mi44Miw1NDUuMzksOTkuNTUtMjQ2LjA0LDM0My4yNy04NDguMzUsMzQzLjI2LDg0OC4zNSw5OS41NSwyNDYuMDQtNDQyLjgxLTU0NS4zOVonIC8+PC9zdmc+",
|
|
253
|
-
url: "https://lucia-auth.com",
|
|
254
|
-
spectrum: "bleeding_edge",
|
|
255
|
-
tagline: "Lucia is an auth library for your server that abstracts away the complexity of handling sessions",
|
|
256
|
-
links: [
|
|
257
|
-
{
|
|
258
|
-
label: "Getting started",
|
|
259
|
-
href: "https://lucia-auth.com/getting-started/"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
label: "API reference",
|
|
263
|
-
href: "https://lucia-auth.com/reference/main/"
|
|
264
|
-
}
|
|
265
|
-
]
|
|
266
|
-
},
|
|
267
248
|
// RPC
|
|
268
249
|
{
|
|
269
250
|
category: "Data fetching",
|
|
@@ -251,21 +251,6 @@ declare const features: readonly [{
|
|
|
251
251
|
readonly label: "API";
|
|
252
252
|
readonly href: "https://firebase.google.com/docs/reference";
|
|
253
253
|
}];
|
|
254
|
-
}, {
|
|
255
|
-
readonly category: "Auth";
|
|
256
|
-
readonly label: "Lucia";
|
|
257
|
-
readonly flag: "lucia-auth";
|
|
258
|
-
readonly image: "data:image/svg+xml;base64,PHN2ZyBpZD0nV2Fyc3R3YV8xJyBkYXRhLW5hbWU9J1dhcnN0d2EgMScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB4bWxuczp4bGluaz0naHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluaycgdmlld0JveD0nMCAwIDIwMDAgMjAwMCc+PHBhdGggZmlsbD0nIzVmNTdmZicgZD0nbTE2NDcuNjYsMTY3My4zNkwxMDAwLDcyLjczLDM1Mi4zNCwxNjczLjM2bC0xMDIuNzQsMjUzLjkxaDE1MDAuOGwtMTAyLjc0LTI1My45MVptLTY0Ny42Ni01NDlsLTQ0Mi44Miw1NDUuMzksOTkuNTUtMjQ2LjA0LDM0My4yNy04NDguMzUsMzQzLjI2LDg0OC4zNSw5OS41NSwyNDYuMDQtNDQyLjgxLTU0NS4zOVonIC8+PC9zdmc+";
|
|
259
|
-
readonly url: "https://lucia-auth.com";
|
|
260
|
-
readonly spectrum: "bleeding_edge";
|
|
261
|
-
readonly tagline: "Lucia is an auth library for your server that abstracts away the complexity of handling sessions";
|
|
262
|
-
readonly links: [{
|
|
263
|
-
readonly label: "Getting started";
|
|
264
|
-
readonly href: "https://lucia-auth.com/getting-started/";
|
|
265
|
-
}, {
|
|
266
|
-
readonly label: "API reference";
|
|
267
|
-
readonly href: "https://lucia-auth.com/reference/main/";
|
|
268
|
-
}];
|
|
269
254
|
}, {
|
|
270
255
|
readonly category: "Data fetching";
|
|
271
256
|
readonly label: "Telefunc";
|
|
@@ -528,8 +513,8 @@ declare const features: readonly [{
|
|
|
528
513
|
readonly url: "https://logrocket.com";
|
|
529
514
|
readonly disabled: true;
|
|
530
515
|
}];
|
|
531
|
-
declare const flags: ("vike" | "react" | "vue" | "solid" | "tailwindcss" | "compiled-css" | "panda-css" | "daisyui" | "shadcn-ui" | "mantine" | "authjs" | "auth0" | "firebase-auth" | "
|
|
532
|
-
declare const cliFlags: ("vike" | "react" | "vue" | "solid" | "tailwindcss" | "compiled-css" | "panda-css" | "daisyui" | "shadcn-ui" | "mantine" | "authjs" | "auth0" | "firebase-auth" | "
|
|
516
|
+
declare const flags: ("vike" | "react" | "vue" | "solid" | "tailwindcss" | "compiled-css" | "panda-css" | "daisyui" | "shadcn-ui" | "mantine" | "authjs" | "auth0" | "firebase-auth" | "telefunc" | "trpc" | "ts-rest" | "hono" | "h3" | "express" | "fastify" | "hattip" | "drizzle" | "sqlite" | "prisma" | "plausible.io" | "google-analytics" | "segment" | "cloudflare" | "vercel" | "netlify" | "aws" | "eslint" | "prettier" | "biome" | "sentry" | "logrocket")[];
|
|
517
|
+
declare const cliFlags: ("vike" | "react" | "vue" | "solid" | "tailwindcss" | "compiled-css" | "panda-css" | "daisyui" | "shadcn-ui" | "mantine" | "authjs" | "auth0" | "firebase-auth" | "telefunc" | "trpc" | "ts-rest" | "hono" | "h3" | "express" | "fastify" | "hattip" | "drizzle" | "sqlite" | "prisma" | "plausible.io" | "google-analytics" | "segment" | "cloudflare" | "vercel" | "netlify" | "aws" | "eslint" | "prettier" | "biome" | "sentry" | "logrocket")[];
|
|
533
518
|
type Flags = (typeof flags)[number];
|
|
534
519
|
|
|
535
520
|
export { type CategoryLabels as C, type Flags as F, categories as a, flags as b, categoriesGroups as c, cliFlags as d, features as f };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as categoriesGroups, F as Flags } from './features-
|
|
2
|
-
export { C as CategoryLabels, a as categories, d as cliFlags, f as features, b as flags } from './features-
|
|
1
|
+
import { c as categoriesGroups, F as Flags } from './features-Cne4BF3K.js';
|
|
2
|
+
export { C as CategoryLabels, a as categories, d as cliFlags, f as features, b as flags } from './features-Cne4BF3K.js';
|
|
3
3
|
|
|
4
4
|
interface Feature<C = string> {
|
|
5
5
|
label: string;
|
package/dist/index.js
CHANGED
package/dist/rules.d.ts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { F as Flags, C as CategoryLabels } from './features-
|
|
1
|
+
import { F as Flags, C as CategoryLabels } from './features-Cne4BF3K.js';
|
|
2
2
|
|
|
3
3
|
declare enum RulesMessage {
|
|
4
4
|
ERROR_AUTH_R_SERVER = 0,
|
|
5
5
|
ERROR_COMPILED_R_REACT = 1,
|
|
6
6
|
ERROR_DRIZZLE_R_SERVER = 2,
|
|
7
7
|
ERROR_DATA_R_SERVER = 3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
INFO_STACKBLITZ_COMPAT = 11
|
|
8
|
+
ERROR_CLOUDFLARE_R_COMPAT_SERVER = 4,
|
|
9
|
+
ERROR_AWS_R_COMPAT_SERVER = 5,
|
|
10
|
+
ERROR_MANTINE_R_REACT = 6,
|
|
11
|
+
ERROR_SHADCN_R_REACT = 7,
|
|
12
|
+
WARN_SHADCN_R_TAILWINDCSS = 8,
|
|
13
|
+
INFO_HATTIP = 9,
|
|
14
|
+
INFO_STACKBLITZ_COMPAT = 10
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
type FeatureOrCategory = Flags | CategoryLabels;
|
package/dist/rules.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
features,
|
|
3
3
|
flags
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-W7363Z3M.js";
|
|
5
5
|
|
|
6
6
|
// src/rules/enum.ts
|
|
7
7
|
var RulesMessage = /* @__PURE__ */ ((RulesMessage2) => {
|
|
@@ -9,14 +9,13 @@ var RulesMessage = /* @__PURE__ */ ((RulesMessage2) => {
|
|
|
9
9
|
RulesMessage2[RulesMessage2["ERROR_COMPILED_R_REACT"] = 1] = "ERROR_COMPILED_R_REACT";
|
|
10
10
|
RulesMessage2[RulesMessage2["ERROR_DRIZZLE_R_SERVER"] = 2] = "ERROR_DRIZZLE_R_SERVER";
|
|
11
11
|
RulesMessage2[RulesMessage2["ERROR_DATA_R_SERVER"] = 3] = "ERROR_DATA_R_SERVER";
|
|
12
|
-
RulesMessage2[RulesMessage2["
|
|
13
|
-
RulesMessage2[RulesMessage2["
|
|
14
|
-
RulesMessage2[RulesMessage2["
|
|
15
|
-
RulesMessage2[RulesMessage2["
|
|
16
|
-
RulesMessage2[RulesMessage2["
|
|
17
|
-
RulesMessage2[RulesMessage2["
|
|
18
|
-
RulesMessage2[RulesMessage2["
|
|
19
|
-
RulesMessage2[RulesMessage2["INFO_STACKBLITZ_COMPAT"] = 11] = "INFO_STACKBLITZ_COMPAT";
|
|
12
|
+
RulesMessage2[RulesMessage2["ERROR_CLOUDFLARE_R_COMPAT_SERVER"] = 4] = "ERROR_CLOUDFLARE_R_COMPAT_SERVER";
|
|
13
|
+
RulesMessage2[RulesMessage2["ERROR_AWS_R_COMPAT_SERVER"] = 5] = "ERROR_AWS_R_COMPAT_SERVER";
|
|
14
|
+
RulesMessage2[RulesMessage2["ERROR_MANTINE_R_REACT"] = 6] = "ERROR_MANTINE_R_REACT";
|
|
15
|
+
RulesMessage2[RulesMessage2["ERROR_SHADCN_R_REACT"] = 7] = "ERROR_SHADCN_R_REACT";
|
|
16
|
+
RulesMessage2[RulesMessage2["WARN_SHADCN_R_TAILWINDCSS"] = 8] = "WARN_SHADCN_R_TAILWINDCSS";
|
|
17
|
+
RulesMessage2[RulesMessage2["INFO_HATTIP"] = 9] = "INFO_HATTIP";
|
|
18
|
+
RulesMessage2[RulesMessage2["INFO_STACKBLITZ_COMPAT"] = 10] = "INFO_STACKBLITZ_COMPAT";
|
|
20
19
|
return RulesMessage2;
|
|
21
20
|
})(RulesMessage || {});
|
|
22
21
|
|
|
@@ -46,10 +45,10 @@ function prepare(fts) {
|
|
|
46
45
|
var rules_default = [
|
|
47
46
|
requires(0 /* ERROR_AUTH_R_SERVER */, "Auth", ["Server"]),
|
|
48
47
|
requires(1 /* ERROR_COMPILED_R_REACT */, "compiled-css", ["react"]),
|
|
49
|
-
includes(
|
|
48
|
+
includes(9 /* INFO_HATTIP */, "hattip"),
|
|
50
49
|
requires(2 /* ERROR_DRIZZLE_R_SERVER */, "drizzle", ["Server"]),
|
|
51
50
|
requires(3 /* ERROR_DATA_R_SERVER */, "Data fetching", ["Server"]),
|
|
52
|
-
filter(
|
|
51
|
+
filter(4 /* ERROR_CLOUDFLARE_R_COMPAT_SERVER */, (fts) => {
|
|
53
52
|
if (fts.has("cloudflare")) {
|
|
54
53
|
if (fts.has("hono") || fts.has("hattip")) {
|
|
55
54
|
return false;
|
|
@@ -58,7 +57,7 @@ var rules_default = [
|
|
|
58
57
|
}
|
|
59
58
|
return false;
|
|
60
59
|
}),
|
|
61
|
-
filter(
|
|
60
|
+
filter(5 /* ERROR_AWS_R_COMPAT_SERVER */, (fts) => {
|
|
62
61
|
if (fts.has("aws")) {
|
|
63
62
|
if (fts.has("hono") || fts.has("hattip")) {
|
|
64
63
|
return false;
|
|
@@ -67,31 +66,25 @@ var rules_default = [
|
|
|
67
66
|
}
|
|
68
67
|
return false;
|
|
69
68
|
}),
|
|
70
|
-
filter(
|
|
71
|
-
if (fts.has("lucia-auth")) {
|
|
72
|
-
return !(fts.has("sqlite") || fts.has("drizzle"));
|
|
73
|
-
}
|
|
74
|
-
return false;
|
|
75
|
-
}),
|
|
76
|
-
filter(7 /* ERROR_MANTINE_R_REACT */, (fts) => {
|
|
69
|
+
filter(6 /* ERROR_MANTINE_R_REACT */, (fts) => {
|
|
77
70
|
if (fts.has("mantine")) {
|
|
78
71
|
return fts.has("vue") || fts.has("solid");
|
|
79
72
|
}
|
|
80
73
|
return false;
|
|
81
74
|
}),
|
|
82
|
-
filter(
|
|
75
|
+
filter(7 /* ERROR_SHADCN_R_REACT */, (fts) => {
|
|
83
76
|
if (fts.has("shadcn-ui")) {
|
|
84
77
|
return fts.has("vue") || fts.has("solid");
|
|
85
78
|
}
|
|
86
79
|
return false;
|
|
87
80
|
}),
|
|
88
|
-
filter(
|
|
81
|
+
filter(8 /* WARN_SHADCN_R_TAILWINDCSS */, (fts) => {
|
|
89
82
|
if (fts.has("shadcn-ui")) {
|
|
90
83
|
return fts.has("daisyui") || fts.has("compiled-css");
|
|
91
84
|
}
|
|
92
85
|
return false;
|
|
93
86
|
}),
|
|
94
|
-
filter(
|
|
87
|
+
filter(10 /* INFO_STACKBLITZ_COMPAT */, (fts) => {
|
|
95
88
|
return fts.has("drizzle") || fts.has("sqlite") || fts.has("cloudflare");
|
|
96
89
|
})
|
|
97
90
|
];
|