@batijs/cli 0.0.273 → 0.0.274
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.
- package/dist/boilerplates/@batijs/aws/files/cdk.json +2 -7
- package/dist/boilerplates/@batijs/mantine/files/postcss.config.cjs +11 -11
- package/dist/boilerplates/@batijs/mantine/types/postcss.config.d.cts +7 -7
- package/dist/boilerplates/@batijs/shadcn-ui/files/components.json +15 -16
- package/dist/boilerplates/@batijs/shadcn-ui/files/layouts/!tailwind.css +3 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/layouts/tailwind.css +1 -1
- package/dist/boilerplates/@batijs/telefunc/files/pages/todo/TodoList.telefunc.ts +4 -2
- package/dist/boilerplates/@batijs/trpc/types/server/trpc-handler.d.ts +1 -1
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +8 -8
- package/dist/index.js +1 -1
- package/package.json +5 -5
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"app": "pnpm tsx cdk/bin/infrastructure.ts",
|
|
3
3
|
"watch": {
|
|
4
|
-
"include": [
|
|
5
|
-
"**"
|
|
6
|
-
],
|
|
4
|
+
"include": ["**"],
|
|
7
5
|
"exclude": [
|
|
8
6
|
"README.md",
|
|
9
7
|
"cdk*.json",
|
|
@@ -20,10 +18,7 @@
|
|
|
20
18
|
"@aws-cdk/core:newStyleStackSynthesis": true,
|
|
21
19
|
"@aws-cdk/aws-lambda:recognizeLayerVersion": true,
|
|
22
20
|
"@aws-cdk/core:checkSecretUsage": true,
|
|
23
|
-
"@aws-cdk/core:target-partitions": [
|
|
24
|
-
"aws",
|
|
25
|
-
"aws-cn"
|
|
26
|
-
],
|
|
21
|
+
"@aws-cdk/core:target-partitions": ["aws", "aws-cn"],
|
|
27
22
|
"@aws-cdk-containers/ecs-service-extensions:enableDefaultLogDriver": true,
|
|
28
23
|
"@aws-cdk/aws-ec2:uniqueImdsv2TemplateName": true,
|
|
29
24
|
"@aws-cdk/aws-ecs:arnFormatIncludesClusterName": true,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
},
|
|
2
|
+
plugins: {
|
|
3
|
+
"postcss-preset-mantine": {},
|
|
4
|
+
"postcss-simple-vars": {
|
|
5
|
+
variables: {
|
|
6
|
+
"mantine-breakpoint-xs": "36em",
|
|
7
|
+
"mantine-breakpoint-sm": "48em",
|
|
8
|
+
"mantine-breakpoint-md": "62em",
|
|
9
|
+
"mantine-breakpoint-lg": "75em",
|
|
10
|
+
"mantine-breakpoint-xl": "88em",
|
|
12
11
|
},
|
|
13
12
|
},
|
|
14
|
-
}
|
|
13
|
+
},
|
|
14
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export let plugins: {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
"postcss-preset-mantine": {};
|
|
3
|
+
"postcss-simple-vars": {
|
|
4
4
|
variables: {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
"mantine-breakpoint-xs": string;
|
|
6
|
+
"mantine-breakpoint-sm": string;
|
|
7
|
+
"mantine-breakpoint-md": string;
|
|
8
|
+
"mantine-breakpoint-lg": string;
|
|
9
|
+
"mantine-breakpoint-xl": string;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
};
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema.json",
|
|
3
|
+
"style": "default",
|
|
4
|
+
"tailwind": {
|
|
5
|
+
"config": "tailwind.config.ts",
|
|
6
|
+
"css": "layouts/tailwind.css",
|
|
7
|
+
"baseColor": "gray",
|
|
8
|
+
"cssVariables": true
|
|
9
|
+
},
|
|
10
|
+
"rsc": true,
|
|
11
|
+
"tsx": true,
|
|
12
|
+
"aliases": {
|
|
13
|
+
"utils": "@/lib/utils",
|
|
14
|
+
"components": "@/components"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// https://telefunc.com
|
|
2
|
+
|
|
3
|
+
import { todos } from "@batijs/shared-no-db/database/todoItems";
|
|
1
4
|
import * as drizzleQueries from "@batijs/drizzle/database/drizzle/queries/todos";
|
|
2
5
|
import * as sqliteQueries from "@batijs/sqlite/database/sqlite/queries/todos";
|
|
3
6
|
import * as d1Queries from "@batijs/d1-sqlite/database/d1/queries/todos";
|
|
@@ -14,7 +17,6 @@ export async function onNewTodo({ text }: { text: string }) {
|
|
|
14
17
|
const context = getContext();
|
|
15
18
|
await d1Queries.insertTodo(context.db, text);
|
|
16
19
|
} else {
|
|
17
|
-
|
|
18
|
-
console.log("Received new todo", { text });
|
|
20
|
+
todos.todo.push({ text });
|
|
19
21
|
}
|
|
20
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const trpcHandler: (endpoint: string) => (request: Request
|
|
1
|
+
export declare const trpcHandler: (endpoint: string) => (request: Request, context: Universal.Context, runtime: import("@universal-middleware/core").RuntimeAdapter) => Promise<Response>;
|
|
@@ -5,9 +5,9 @@ export declare const trpc: {
|
|
|
5
5
|
ctx: object & {
|
|
6
6
|
db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
|
|
7
7
|
} & {
|
|
8
|
-
db: ReturnType<
|
|
8
|
+
db: ReturnType<any>;
|
|
9
9
|
} & {
|
|
10
|
-
db: ReturnType<
|
|
10
|
+
db: ReturnType<any>;
|
|
11
11
|
} & {
|
|
12
12
|
db: import("@cloudflare/workers-types").D1Database;
|
|
13
13
|
};
|
|
@@ -18,9 +18,9 @@ export declare const trpc: {
|
|
|
18
18
|
_ctx_out: object & {
|
|
19
19
|
db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
|
|
20
20
|
} & {
|
|
21
|
-
db: ReturnType<
|
|
21
|
+
db: ReturnType<any>;
|
|
22
22
|
} & {
|
|
23
|
-
db: ReturnType<
|
|
23
|
+
db: ReturnType<any>;
|
|
24
24
|
} & {
|
|
25
25
|
db: import("@cloudflare/workers-types").D1Database;
|
|
26
26
|
};
|
|
@@ -39,9 +39,9 @@ export declare const trpc: {
|
|
|
39
39
|
ctx: object & {
|
|
40
40
|
db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
|
|
41
41
|
} & {
|
|
42
|
-
db: ReturnType<
|
|
42
|
+
db: ReturnType<any>;
|
|
43
43
|
} & {
|
|
44
|
-
db: ReturnType<
|
|
44
|
+
db: ReturnType<any>;
|
|
45
45
|
} & {
|
|
46
46
|
db: import("@cloudflare/workers-types").D1Database;
|
|
47
47
|
};
|
|
@@ -53,9 +53,9 @@ export declare const trpc: {
|
|
|
53
53
|
_ctx_out: object & {
|
|
54
54
|
db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
|
|
55
55
|
} & {
|
|
56
|
-
db: ReturnType<
|
|
56
|
+
db: ReturnType<any>;
|
|
57
57
|
} & {
|
|
58
|
-
db: ReturnType<
|
|
58
|
+
db: ReturnType<any>;
|
|
59
59
|
} & {
|
|
60
60
|
db: import("@cloudflare/workers-types").D1Database;
|
|
61
61
|
};
|
package/dist/index.js
CHANGED
|
@@ -1677,7 +1677,7 @@ var createDefaultQueryTester = function(query, options) {
|
|
|
1677
1677
|
// package.json
|
|
1678
1678
|
var package_default = {
|
|
1679
1679
|
name: "@batijs/cli",
|
|
1680
|
-
version: "0.0.
|
|
1680
|
+
version: "0.0.274",
|
|
1681
1681
|
type: "module",
|
|
1682
1682
|
scripts: {
|
|
1683
1683
|
"check-types": "tsc --noEmit",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@batijs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.274",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"description": "Next-gen scaffolder. Get started with fully-functional apps, and choose any tool you want",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"typescript": "^5.6.2",
|
|
21
21
|
"unplugin-purge-polyfills": "^0.0.5",
|
|
22
22
|
"vite": "^5.4.5",
|
|
23
|
-
"@batijs/build": "0.0.
|
|
24
|
-
"@batijs/compile": "0.0.
|
|
23
|
+
"@batijs/build": "0.0.274",
|
|
24
|
+
"@batijs/compile": "0.0.274"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@batijs/core": "0.0.
|
|
28
|
-
"@batijs/features": "0.0.
|
|
27
|
+
"@batijs/core": "0.0.274",
|
|
28
|
+
"@batijs/features": "0.0.274"
|
|
29
29
|
},
|
|
30
30
|
"bin": "./dist/index.js",
|
|
31
31
|
"exports": {
|