create-better-t-stack 3.1.4 → 3.1.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-better-t-stack",
3
- "version": "3.1.4",
3
+ "version": "3.1.5",
4
4
  "description": "A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,31 +1,12 @@
1
1
  // Learn more https://docs.expo.io/guides/customizing-metro
2
2
  const { getDefaultConfig } = require("expo/metro-config");
3
- const { FileStore } = require("metro-cache");
4
3
  const { withNativeWind } = require("nativewind/metro");
5
- const path = require("node:path");
6
4
 
7
- const config = withTurborepoManagedCache(
8
- withNativeWind(getDefaultConfig(__dirname), {
9
- input: "./global.css",
10
- configPath: "./tailwind.config.js",
11
- }),
12
- );
5
+ const config = withNativeWind(getDefaultConfig(__dirname), {
6
+ input: "./global.css",
7
+ configPath: "./tailwind.config.js",
8
+ });
13
9
 
14
10
  config.resolver.unstable_enablePackageExports = true;
15
11
 
16
- module.exports = config;
17
-
18
- /**
19
- * Move the Metro cache to the `.cache/metro` folder.
20
- * If you have any environment variables, you can configure Turborepo to invalidate it when needed.
21
- *
22
- * @see https://turbo.build/repo/docs/reference/configuration#env
23
- * @param {import('expo/metro-config').MetroConfig} config
24
- * @returns {import('expo/metro-config').MetroConfig}
25
- */
26
- function withTurborepoManagedCache(config) {
27
- config.cacheStores = [
28
- new FileStore({ root: path.join(__dirname, ".cache/metro") }),
29
- ];
30
- return config;
31
- }
12
+ module.exports = config;