@batijs/cli 0.0.156 → 0.0.158

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.
@@ -50,7 +50,7 @@ var require_package = __commonJS({
50
50
  "@types/node": "^18.19.14",
51
51
  express: "^4.18.2",
52
52
  telefunc: "^0.1.71",
53
- tsx: "^4.7.0",
53
+ tsx: "^4.7.1",
54
54
  vike: "^0.4.161",
55
55
  "vike-authjs": "^0.1.4",
56
56
  vite: "^5.1.1"
@@ -51,7 +51,7 @@ var require_package = __commonJS({
51
51
  h3: "~1.10.1",
52
52
  "serve-static": "^1.15.0",
53
53
  telefunc: "^0.1.71",
54
- tsx: "^4.7.0",
54
+ tsx: "^4.7.1",
55
55
  vike: "^0.4.161",
56
56
  "vike-authjs": "^0.1.4",
57
57
  vite: "^5.1.1"
@@ -7,8 +7,14 @@ async function getEslintConfig(props) {
7
7
  eslintConfig.extends = eslintConfig.extends.filter(
8
8
  (p) => p !== "eslint:recommended" && p !== "plugin:@typescript-eslint/recommended"
9
9
  );
10
- eslintConfig.extends.push("react-app");
10
+ eslintConfig.extends.push("plugin:react/recommended");
11
11
  eslintConfig.plugins = eslintConfig.plugins.filter((p) => p !== "@typescript-eslint");
12
+ eslintConfig.plugins.push("react");
13
+ eslintConfig.settings ??= {};
14
+ eslintConfig.settings.react = { version: "detect" };
15
+ eslintConfig.parserOptions ??= {};
16
+ eslintConfig.parserOptions.ecmaFeatures ??= {};
17
+ eslintConfig.parserOptions.ecmaFeatures.jsx = true;
12
18
  return eslintConfig;
13
19
  }
14
20
  export {
@@ -50,7 +50,7 @@ var require_package = __commonJS({
50
50
  "@types/react-dom": "^18.2.19",
51
51
  "@vitejs/plugin-react": "^4.2.1",
52
52
  "cross-fetch": "^4.0.0",
53
- "eslint-config-react-app": "^7.0.1",
53
+ "eslint-plugin-react": "^7.33.2",
54
54
  react: "^18.2.0",
55
55
  "react-dom": "^18.2.0",
56
56
  tailwindcss: "^3.4.1",
@@ -182,7 +182,7 @@ async function getPackageJson(props) {
182
182
  const packageJson = await loadAsJson(props);
183
183
  if (props.meta.BATI.has("eslint")) {
184
184
  addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)), {
185
- devDependencies: ["eslint-config-react-app"]
185
+ devDependencies: ["eslint-plugin-react"]
186
186
  });
187
187
  }
188
188
  return addDependency(packageJson, await Promise.resolve().then(() => __toESM(require_package(), 1)), {
@@ -12,8 +12,8 @@
12
12
  "author": "",
13
13
  "devDependencies": {
14
14
  "typescript": "^5.3.3",
15
- "vike": "^0.4.160",
16
- "vite": "^5.0.12"
15
+ "vike": "^0.4.161",
16
+ "vite": "^5.1.1"
17
17
  },
18
18
  "dependencies": {}
19
19
  }
@@ -43,7 +43,7 @@ var require_package = __commonJS({
43
43
  devDependencies: {
44
44
  "@batijs/compile": "workspace:*",
45
45
  "@types/node": "^18.19.14",
46
- "@vitejs/plugin-vue": "^5.0.3",
46
+ "@vitejs/plugin-vue": "^5.0.4",
47
47
  "@vue/compiler-sfc": "^3.4.18",
48
48
  "@vue/server-renderer": "^3.4.18",
49
49
  "cross-fetch": "^4.0.0",
package/dist/index.js CHANGED
@@ -585,7 +585,7 @@ Please report this issue to https://github.com/magne4000/bati`
585
585
  // package.json
586
586
  var package_default = {
587
587
  name: "@batijs/cli",
588
- version: "0.0.156",
588
+ version: "0.0.158",
589
589
  type: "module",
590
590
  scripts: {
591
591
  "check-types": "tsc --noEmit",
@@ -609,7 +609,7 @@ var package_default = {
609
609
  execa: "^8.0.1",
610
610
  rimraf: "^5.0.5",
611
611
  sift: "^17.0.1",
612
- tsup: "^8.0.1",
612
+ tsup: "^8.0.2",
613
613
  typescript: "^5.3.3",
614
614
  vite: "^5.1.1"
615
615
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@batijs/cli",
3
- "version": "0.0.156",
3
+ "version": "0.0.158",
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",
@@ -16,15 +16,15 @@
16
16
  "execa": "^8.0.1",
17
17
  "rimraf": "^5.0.5",
18
18
  "sift": "^17.0.1",
19
- "tsup": "^8.0.1",
19
+ "tsup": "^8.0.2",
20
20
  "typescript": "^5.3.3",
21
21
  "vite": "^5.1.1",
22
- "@batijs/build": "0.0.156",
23
- "@batijs/compile": "0.0.156"
22
+ "@batijs/build": "0.0.158",
23
+ "@batijs/compile": "0.0.158"
24
24
  },
25
25
  "dependencies": {
26
- "@batijs/core": "0.0.156",
27
- "@batijs/features": "0.0.156"
26
+ "@batijs/core": "0.0.158",
27
+ "@batijs/features": "0.0.158"
28
28
  },
29
29
  "bin": "./dist/index.js",
30
30
  "exports": {