@batijs/cli 0.0.167 → 0.0.169

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/README.md CHANGED
@@ -9,7 +9,7 @@ Bâti
9
9
  Next-gen scaffolder. Get started with fully-functional apps, and choose any tool you want.
10
10
  <p>
11
11
 
12
- <h3 align="center"><a href="https://batijs.github.io">Try the CLI generator</a></h3>
12
+ <h3 align="center"><a href="https://batijs.dev">Try the CLI generator</a></h3>
13
13
 
14
14
  ![Demo](doc/demo.gif)
15
15
 
@@ -43,7 +43,7 @@ var require_package = __commonJS({
43
43
  devDependencies: {
44
44
  "@batijs/compile": "workspace:*",
45
45
  "@types/node": "^18.19.14",
46
- vite: "^5.1.6",
46
+ vite: "^5.2.6",
47
47
  "vite-plugin-compiled-react": "^1.1.3"
48
48
  },
49
49
  dependencies: {
@@ -42,8 +42,8 @@ var require_package = __commonJS({
42
42
  },
43
43
  devDependencies: {
44
44
  "@batijs/compile": "workspace:^",
45
- "@typescript-eslint/eslint-plugin": "^7.2.0",
46
- "@typescript-eslint/parser": "^7.2.0",
45
+ "@typescript-eslint/eslint-plugin": "^7.3.1",
46
+ "@typescript-eslint/parser": "^7.3.1",
47
47
  eslint: "^8.57.0"
48
48
  },
49
49
  dependencies: {
@@ -51,13 +51,13 @@ var require_package = __commonJS({
51
51
  "@types/express": "^4.17.21",
52
52
  "@types/node": "^18.19.14",
53
53
  "cookie-parser": "^1.4.6",
54
- express: "^4.18.3",
54
+ express: "^4.19.1",
55
55
  "firebase-admin": "^12.0.0",
56
56
  telefunc: "^0.1.71",
57
57
  tsx: "^4.7.1",
58
- vike: "^0.4.165",
58
+ vike: "^0.4.167",
59
59
  "vike-authjs": "^0.1.5",
60
- vite: "^5.1.6"
60
+ vite: "^5.2.6"
61
61
  },
62
62
  dependencies: {
63
63
  "@batijs/core": "workspace:*"
@@ -47,8 +47,8 @@ var require_package = __commonJS({
47
47
  firebase: "^10.9.0",
48
48
  "firebase-admin": "^12.0.0",
49
49
  firebaseui: "^6.1.0",
50
- vike: "^0.4.165",
51
- vite: "^5.1.6"
50
+ vike: "^0.4.167",
51
+ vite: "^5.2.6"
52
52
  },
53
53
  dependencies: {
54
54
  "@batijs/core": "workspace:*"
@@ -54,9 +54,9 @@ var require_package = __commonJS({
54
54
  "serve-static": "^1.15.0",
55
55
  telefunc: "^0.1.71",
56
56
  tsx: "^4.7.1",
57
- vike: "^0.4.165",
57
+ vike: "^0.4.167",
58
58
  "vike-authjs": "^0.1.5",
59
- vite: "^5.1.6"
59
+ vite: "^5.2.6"
60
60
  },
61
61
  dependencies: {
62
62
  "@batijs/core": "workspace:*"
@@ -52,9 +52,9 @@ var require_package = __commonJS({
52
52
  "@types/node": "^18.19.14",
53
53
  hattip: "^0.0.33",
54
54
  telefunc: "^0.1.71",
55
- vike: "^0.4.165",
55
+ vike: "^0.4.167",
56
56
  "vike-authjs": "^0.1.5",
57
- vite: "^5.1.6"
57
+ vite: "^5.2.6"
58
58
  },
59
59
  dependencies: {
60
60
  "@batijs/core": "workspace:*"
@@ -41,12 +41,12 @@ var require_package = __commonJS({
41
41
  author: "",
42
42
  license: "MIT",
43
43
  devDependencies: {
44
- "@babel/core": "^7.24.0",
45
- "@babel/plugin-syntax-flow": "^7.23.3",
44
+ "@babel/core": "^7.24.3",
45
+ "@babel/plugin-syntax-flow": "^7.24.1",
46
46
  "@babel/plugin-transform-react-jsx": "^7.23.4",
47
47
  "@batijs/compile": "workspace:*",
48
48
  "@types/node": "^18.19.14",
49
- "@types/react": "^18.2.66",
49
+ "@types/react": "^18.2.69",
50
50
  "@types/react-dom": "^18.2.22",
51
51
  "@vitejs/plugin-react": "^4.2.1",
52
52
  "cross-fetch": "^4.0.0",
@@ -54,10 +54,10 @@ var require_package = __commonJS({
54
54
  react: "^18.2.0",
55
55
  "react-dom": "^18.2.0",
56
56
  tailwindcss: "^3.4.1",
57
- typescript: "^5.4.2",
58
- vike: "^0.4.165",
57
+ typescript: "^5.4.3",
58
+ vike: "^0.4.167",
59
59
  "vike-react": "^0.4.6",
60
- vite: "^5.1.6"
60
+ vite: "^5.2.6"
61
61
  },
62
62
  dependencies: {
63
63
  "@batijs/core": "workspace:*"
@@ -3,7 +3,7 @@ import { loadReadme } from "@batijs/core";
3
3
  async function getReadme(props) {
4
4
  const content = await loadReadme(props);
5
5
  const flags = Array.from(props.meta.BATI).map((f) => `--${f}`).join(" ");
6
- const intro = `This app has been created with [Bati](https://batijs.github.io) using the following flags: \`${flags}\``;
6
+ const intro = `This app has been created with [Bati](https://batijs.dev) using the following flags: \`${flags}\``;
7
7
  content.addIntro(intro);
8
8
  return content.finalize();
9
9
  }
@@ -11,9 +11,9 @@
11
11
  "keywords": [],
12
12
  "author": "",
13
13
  "devDependencies": {
14
- "typescript": "^5.4.2",
15
- "vike": "^0.4.165",
16
- "vite": "^5.1.6"
14
+ "typescript": "^5.4.3",
15
+ "vike": "^0.4.167",
16
+ "vite": "^5.2.6"
17
17
  },
18
18
  "dependencies": {}
19
19
  }
@@ -44,13 +44,13 @@ var require_package = __commonJS({
44
44
  "@batijs/compile": "workspace:*",
45
45
  "@types/node": "^18.19.14",
46
46
  "cross-fetch": "^4.0.0",
47
- "eslint-plugin-solid": "^0.13.1",
48
- "solid-js": "^1.8.15",
47
+ "eslint-plugin-solid": "^0.13.2",
48
+ "solid-js": "^1.8.16",
49
49
  tailwindcss: "^3.4.1",
50
- typescript: "^5.4.2",
51
- vike: "^0.4.165",
50
+ typescript: "^5.4.3",
51
+ vike: "^0.4.167",
52
52
  "vike-solid": "^0.4.2",
53
- vite: "^5.1.6",
53
+ vite: "^5.2.6",
54
54
  "vite-plugin-solid": "^2.10.2"
55
55
  },
56
56
  dependencies: {
@@ -43,12 +43,12 @@ var require_package = __commonJS({
43
43
  devDependencies: {
44
44
  "@batijs/compile": "workspace:*",
45
45
  "@types/node": "^18.19.14",
46
- autoprefixer: "^10.4.18",
47
- daisyui: "^4.7.3",
48
- postcss: "^8.4.36",
46
+ autoprefixer: "^10.4.19",
47
+ daisyui: "^4.8.0",
48
+ postcss: "^8.4.38",
49
49
  tailwindcss: "^3.4.1",
50
- vike: "^0.4.165",
51
- vite: "^5.1.6"
50
+ vike: "^0.4.167",
51
+ vite: "^5.2.6"
52
52
  },
53
53
  dependencies: {
54
54
  "@batijs/core": "workspace:*"
@@ -44,8 +44,8 @@ var require_package = __commonJS({
44
44
  "@batijs/compile": "workspace:*",
45
45
  "@types/node": "^18.19.14",
46
46
  telefunc: "^0.1.71",
47
- vike: "^0.4.165",
48
- vite: "^5.1.6"
47
+ vike: "^0.4.167",
48
+ vite: "^5.2.6"
49
49
  },
50
50
  dependencies: {
51
51
  "@batijs/core": "workspace:*"
@@ -46,7 +46,7 @@ var require_package = __commonJS({
46
46
  "@trpc/client": "^10.45.2",
47
47
  "@trpc/server": "^10.45.2",
48
48
  "@types/node": "^18.19.14",
49
- vite: "^5.1.6"
49
+ vite: "^5.2.6"
50
50
  },
51
51
  dependencies: {
52
52
  "@batijs/core": "workspace:*"
@@ -1,72 +1,38 @@
1
- export declare const trpc: import("@trpc/client").inferRouterProxyClient<import("@trpc/server/dist/core/router").CreateRouterInner<import("@trpc/server").RootConfig<{
2
- ctx: object;
3
- meta: object;
4
- errorShape: import("@trpc/server").DefaultErrorShape;
5
- transformer: import("@trpc/server").DefaultDataTransformer;
6
- }>, {
7
- demo: import("@trpc/server").BuildProcedure<"query", {
8
- _config: import("@trpc/server").RootConfig<{
9
- ctx: object;
10
- meta: object;
11
- errorShape: import("@trpc/server").DefaultErrorShape;
12
- transformer: import("@trpc/server").DefaultDataTransformer;
13
- }>;
14
- _ctx_out: object;
15
- _input_in: typeof import("@trpc/server").unsetMarker;
16
- _input_out: typeof import("@trpc/server").unsetMarker;
17
- _output_in: typeof import("@trpc/server").unsetMarker;
18
- _output_out: typeof import("@trpc/server").unsetMarker;
19
- _meta: object;
20
- }, {
21
- demo: boolean;
22
- }>;
23
- onNewTodo: import("@trpc/server").BuildProcedure<"mutation", {
24
- _config: import("@trpc/server").RootConfig<{
25
- ctx: object;
26
- meta: object;
27
- errorShape: import("@trpc/server").DefaultErrorShape;
28
- transformer: import("@trpc/server").DefaultDataTransformer;
29
- }>;
30
- _meta: object;
31
- _ctx_out: object;
32
- _input_in: string;
33
- _input_out: string;
34
- _output_in: typeof import("@trpc/server").unsetMarker;
35
- _output_out: typeof import("@trpc/server").unsetMarker;
36
- }, {
37
- todoItems: import("@batijs/shared-db/database/todoItems").TodoItem[];
38
- }>;
39
- }>, {
40
- demo: import("@trpc/server").BuildProcedure<"query", {
41
- _config: import("@trpc/server").RootConfig<{
42
- ctx: object;
43
- meta: object;
44
- errorShape: import("@trpc/server").DefaultErrorShape;
45
- transformer: import("@trpc/server").DefaultDataTransformer;
46
- }>;
47
- _ctx_out: object;
48
- _input_in: typeof import("@trpc/server").unsetMarker;
49
- _input_out: typeof import("@trpc/server").unsetMarker;
50
- _output_in: typeof import("@trpc/server").unsetMarker;
51
- _output_out: typeof import("@trpc/server").unsetMarker;
52
- _meta: object;
53
- }, {
54
- demo: boolean;
55
- }>;
56
- onNewTodo: import("@trpc/server").BuildProcedure<"mutation", {
57
- _config: import("@trpc/server").RootConfig<{
58
- ctx: object;
59
- meta: object;
60
- errorShape: import("@trpc/server").DefaultErrorShape;
61
- transformer: import("@trpc/server").DefaultDataTransformer;
62
- }>;
63
- _meta: object;
64
- _ctx_out: object;
65
- _input_in: string;
66
- _input_out: string;
67
- _output_in: typeof import("@trpc/server").unsetMarker;
68
- _output_out: typeof import("@trpc/server").unsetMarker;
69
- }, {
70
- todoItems: import("@batijs/shared-db/database/todoItems").TodoItem[];
71
- }>;
72
- }>;
1
+ export declare const trpc: {
2
+ demo: {
3
+ query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
4
+ _config: import("@trpc/server").RootConfig<{
5
+ ctx: object;
6
+ meta: object;
7
+ errorShape: import("@trpc/server").DefaultErrorShape;
8
+ transformer: import("@trpc/server").DefaultDataTransformer;
9
+ }>;
10
+ _ctx_out: object;
11
+ _input_in: typeof import("@trpc/server").unsetMarker;
12
+ _input_out: typeof import("@trpc/server").unsetMarker;
13
+ _output_in: typeof import("@trpc/server").unsetMarker;
14
+ _output_out: typeof import("@trpc/server").unsetMarker;
15
+ _meta: object;
16
+ }, {
17
+ demo: boolean;
18
+ }>>;
19
+ };
20
+ onNewTodo: {
21
+ mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
22
+ _config: import("@trpc/server").RootConfig<{
23
+ ctx: object;
24
+ meta: object;
25
+ errorShape: import("@trpc/server").DefaultErrorShape;
26
+ transformer: import("@trpc/server").DefaultDataTransformer;
27
+ }>;
28
+ _meta: object;
29
+ _ctx_out: object;
30
+ _input_in: string;
31
+ _input_out: string;
32
+ _output_in: typeof import("@trpc/server").unsetMarker;
33
+ _output_out: typeof import("@trpc/server").unsetMarker;
34
+ }, {
35
+ todoItems: import("@batijs/shared-db/database/todoItems").TodoItem[];
36
+ }>>;
37
+ };
38
+ };
@@ -44,8 +44,8 @@ var require_package = __commonJS({
44
44
  "@batijs/compile": "workspace:*",
45
45
  "@types/node": "^18.19.14",
46
46
  "@vite-plugin-vercel/vike": "^4.0.2",
47
- vike: "^0.4.165",
48
- vite: "^5.1.6",
47
+ vike: "^0.4.167",
48
+ vite: "^5.2.6",
49
49
  "vite-plugin-vercel": "^4.0.2"
50
50
  },
51
51
  dependencies: {
@@ -49,11 +49,11 @@ var require_package = __commonJS({
49
49
  "cross-fetch": "^4.0.0",
50
50
  "eslint-plugin-vue": "^9.23.0",
51
51
  tailwindcss: "^3.4.1",
52
- typescript: "^5.4.2",
52
+ typescript: "^5.4.3",
53
53
  "unplugin-vue-markdown": "^0.26.0",
54
- vike: "^0.4.165",
54
+ vike: "^0.4.167",
55
55
  "vike-vue": "^0.6.3",
56
- vite: "^5.1.6",
56
+ vite: "^5.2.6",
57
57
  vue: "^3.4.21",
58
58
  "vue-gtag": "^2.0.1"
59
59
  },
package/dist/index.js CHANGED
@@ -589,7 +589,7 @@ Please report this issue to https://github.com/magne4000/bati`
589
589
  // package.json
590
590
  var package_default = {
591
591
  name: "@batijs/cli",
592
- version: "0.0.167",
592
+ version: "0.0.169",
593
593
  type: "module",
594
594
  scripts: {
595
595
  "check-types": "tsc --noEmit",
@@ -614,8 +614,8 @@ var package_default = {
614
614
  rimraf: "^5.0.5",
615
615
  sift: "^17.0.1",
616
616
  tsup: "^8.0.2",
617
- typescript: "^5.4.2",
618
- vite: "^5.1.6"
617
+ typescript: "^5.4.3",
618
+ vite: "^5.2.6"
619
619
  },
620
620
  dependencies: {
621
621
  "@batijs/core": "workspace:*",
@@ -772,7 +772,7 @@ var rulesMessages = {
772
772
  [RulesMessage.ERROR_AUTH_R_SERVER]: error(
773
773
  `A ${inverse(bold("Server"))} is required when using ${inverse(
774
774
  bold("Auth")
775
- )}. Check https://vite-plugin-ssr.com/integration#server-side-tools for details and https://batijs.github.io for available servers`
775
+ )}. Check https://vite-plugin-ssr.com/integration#server-side-tools for details and https://batijs.dev for available servers`
776
776
  ),
777
777
  [RulesMessage.ERROR_COMPILED_R_REACT]: error(
778
778
  `${inverse(bold("React"))} is required when using ${inverse(bold("Compiled"))}.`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@batijs/cli",
3
- "version": "0.0.167",
3
+ "version": "0.0.169",
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,14 +17,14 @@
17
17
  "rimraf": "^5.0.5",
18
18
  "sift": "^17.0.1",
19
19
  "tsup": "^8.0.2",
20
- "typescript": "^5.4.2",
21
- "vite": "^5.1.6",
22
- "@batijs/build": "0.0.167",
23
- "@batijs/compile": "0.0.167"
20
+ "typescript": "^5.4.3",
21
+ "vite": "^5.2.6",
22
+ "@batijs/build": "0.0.169",
23
+ "@batijs/compile": "0.0.169"
24
24
  },
25
25
  "dependencies": {
26
- "@batijs/core": "0.0.167",
27
- "@batijs/features": "0.0.167"
26
+ "@batijs/core": "0.0.169",
27
+ "@batijs/features": "0.0.169"
28
28
  },
29
29
  "bin": "./dist/index.js",
30
30
  "exports": {