@batijs/cli 0.0.236 → 0.0.237

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.
@@ -43,14 +43,14 @@ var require_package = __commonJS({
43
43
  devDependencies: {
44
44
  "@batijs/compile": "workspace:^",
45
45
  "@eslint/js": "^9.7.0",
46
+ eslint: "^9.7.0",
46
47
  "eslint-config-prettier": "^9.1.0",
47
48
  "eslint-plugin-prettier": "^5.2.1",
48
- "typescript-eslint": "^7.16.1",
49
49
  "eslint-plugin-react": "^7.35.0",
50
- "eslint-plugin-vue": "^9.27.0",
51
- eslint: "^9.7.0",
52
50
  "eslint-plugin-solid": "^0.14.1",
51
+ "eslint-plugin-vue": "^9.27.0",
53
52
  globals: "^15.8.0",
53
+ "typescript-eslint": "^7.17.0",
54
54
  "vue-eslint-parser": "^9.4.3"
55
55
  },
56
56
  dependencies: {
@@ -13,12 +13,14 @@ export default tseslint.config(
13
13
  {
14
14
  ignores: [
15
15
  "dist/*",
16
+ // Temporary compiled files
17
+ "**/*.ts.build-*.mjs",
18
+ //# BATI.has("vercel")
19
+ ".vercel/*",
16
20
  // JS files at the root of the project
17
21
  "*.js",
18
22
  "*.cjs",
19
23
  "*.mjs",
20
- //# BATI.has("vercel")
21
- ".vercel/*",
22
24
  ],
23
25
  },
24
26
  eslint.configs.recommended,
@@ -58,7 +58,7 @@ var require_package = __commonJS({
58
58
  react: "^18.3.1",
59
59
  "react-dom": "^18.3.1",
60
60
  tailwindcss: "^3.4.6",
61
- typescript: "^5.5.3",
61
+ typescript: "^5.5.4",
62
62
  vike: "^0.4.181",
63
63
  "vike-react": "^0.4.18",
64
64
  vite: "^5.3.4",
@@ -51,7 +51,7 @@ var require_package = __commonJS({
51
51
  "cross-fetch": "^4.0.0",
52
52
  "solid-js": "^1.8.18",
53
53
  tailwindcss: "^3.4.6",
54
- typescript: "^5.5.3",
54
+ typescript: "^5.5.4",
55
55
  vike: "^0.4.181",
56
56
  "vike-solid": "^0.6.2",
57
57
  vite: "^5.3.4",
@@ -3,10 +3,10 @@
3
3
  * that can be used throughout the router
4
4
  */
5
5
  export declare const router: <TProcRouterRecord extends import("@trpc/server").ProcedureRouterRecord>(procedures: TProcRouterRecord) => import("@trpc/server").CreateRouterInner<import("@trpc/server").RootConfig<{
6
- ctx: unknown extends object ? object : object;
7
- meta: unknown extends object ? object : object;
6
+ ctx: object;
7
+ meta: object;
8
8
  errorShape: import("@trpc/server").DefaultErrorShape;
9
- transformer: import("@trpc/server").DataTransformerOptions | undefined extends import("@trpc/server").DataTransformerOptions ? import("@trpc/server").DataTransformerOptions & (import("@trpc/server").DataTransformerOptions | undefined) : import("@trpc/server").DefaultDataTransformer;
9
+ transformer: import("@trpc/server").DefaultDataTransformer;
10
10
  }>, TProcRouterRecord>;
11
11
  export declare const publicProcedure: import("@trpc/server").ProcedureBuilder<{
12
12
  _config: import("@trpc/server").RootConfig<{
@@ -44,8 +44,8 @@ var require_package = __commonJS({
44
44
  "@batijs/compile": "workspace:*",
45
45
  "@batijs/drizzle": "workspace:*",
46
46
  "@batijs/shared-no-db": "workspace:*",
47
- "@ts-rest/core": "^3.46.0",
48
- "@ts-rest/serverless": "^3.46.0",
47
+ "@ts-rest/core": "^3.47.0",
48
+ "@ts-rest/serverless": "^3.47.0",
49
49
  "@types/node": "^18.19.14"
50
50
  },
51
51
  dependencies: {
@@ -10,15 +10,17 @@ export declare const client: {
10
10
  fetchOptions?: import("@ts-rest/core").FetchOptions;
11
11
  extraHeaders?: Record<string, string>;
12
12
  overrideClientOptions?: Partial<import("@ts-rest/core").OverrideableClientArgs>;
13
- }) => Promise<import("@ts-rest/core").Prettify<import("@ts-rest/core").ClientInferResponses<{
14
- method: "GET";
15
- path: "/api/demo";
16
- responses: {
17
- 200: import("@ts-rest/core").ContractPlainType<{
18
- demo: boolean;
19
- }>;
13
+ }) => Promise<{
14
+ status: 200;
15
+ body: {
16
+ demo: boolean;
20
17
  };
21
- }>>>;
18
+ headers: Headers;
19
+ } | {
20
+ status: 100 | 101 | 102 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511;
21
+ body: unknown;
22
+ headers: Headers;
23
+ }>;
22
24
  createTodo: (args?: {
23
25
  cache?: RequestCache;
24
26
  body?: {
@@ -27,17 +29,15 @@ export declare const client: {
27
29
  fetchOptions?: import("@ts-rest/core").FetchOptions;
28
30
  extraHeaders?: Record<string, string>;
29
31
  overrideClientOptions?: Partial<import("@ts-rest/core").OverrideableClientArgs>;
30
- }) => Promise<import("@ts-rest/core").Prettify<import("@ts-rest/core").ClientInferResponses<{
31
- summary: "Create a Todo";
32
- method: "POST";
33
- body: import("@ts-rest/core").ContractPlainType<{
34
- text: string;
35
- }>;
36
- path: "/api/todo/create";
37
- responses: {
38
- 200: import("@ts-rest/core").ContractPlainType<{
39
- status: string;
40
- }>;
32
+ }) => Promise<{
33
+ status: 200;
34
+ body: {
35
+ status: string;
41
36
  };
42
- }>>>;
37
+ headers: Headers;
38
+ } | {
39
+ status: 100 | 101 | 102 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 300 | 301 | 302 | 303 | 304 | 305 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 507 | 511;
40
+ body: unknown;
41
+ headers: Headers;
42
+ }>;
43
43
  };
@@ -53,7 +53,7 @@ var require_package = __commonJS({
53
53
  "@vue/server-renderer": "^3.4.33",
54
54
  "cross-fetch": "^4.0.0",
55
55
  tailwindcss: "^3.4.6",
56
- typescript: "^5.5.3",
56
+ typescript: "^5.5.4",
57
57
  "unplugin-vue-markdown": "^0.26.2",
58
58
  vike: "^0.4.181",
59
59
  "vike-vue": "^0.7.6",
package/dist/index.js CHANGED
@@ -1591,7 +1591,7 @@ var createDefaultQueryTester = function(query, options) {
1591
1591
  // package.json
1592
1592
  var package_default = {
1593
1593
  name: "@batijs/cli",
1594
- version: "0.0.236",
1594
+ version: "0.0.237",
1595
1595
  type: "module",
1596
1596
  scripts: {
1597
1597
  "check-types": "tsc --noEmit",
@@ -1616,7 +1616,7 @@ var package_default = {
1616
1616
  rimraf: "^6.0.1",
1617
1617
  sift: "^17.1.3",
1618
1618
  tsup: "^8.2.2",
1619
- typescript: "^5.5.3",
1619
+ typescript: "^5.5.4",
1620
1620
  "unplugin-purge-polyfills": "^0.0.4",
1621
1621
  vite: "^5.3.4"
1622
1622
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@batijs/cli",
3
- "version": "0.0.236",
3
+ "version": "0.0.237",
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",
@@ -17,15 +17,15 @@
17
17
  "rimraf": "^6.0.1",
18
18
  "sift": "^17.1.3",
19
19
  "tsup": "^8.2.2",
20
- "typescript": "^5.5.3",
20
+ "typescript": "^5.5.4",
21
21
  "unplugin-purge-polyfills": "^0.0.4",
22
22
  "vite": "^5.3.4",
23
- "@batijs/build": "0.0.236",
24
- "@batijs/compile": "0.0.236"
23
+ "@batijs/build": "0.0.237",
24
+ "@batijs/compile": "0.0.237"
25
25
  },
26
26
  "dependencies": {
27
- "@batijs/core": "0.0.236",
28
- "@batijs/features": "0.0.236"
27
+ "@batijs/core": "0.0.237",
28
+ "@batijs/features": "0.0.237"
29
29
  },
30
30
  "bin": "./dist/index.js",
31
31
  "exports": {