newcandies 0.1.14 → 0.1.15

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/index.js CHANGED
@@ -181,7 +181,7 @@ async function main() {
181
181
  const sp = p.spinner();
182
182
  sp.start("Generating ios/android (expo prebuild)");
183
183
  try {
184
- await execa("npx", ["expo", "prebuild"], { cwd: dest, stdio: "inherit", env: { ...process.env, CI: "1", EXPO_ROUTER_APP_ROOT: "src/app" } });
184
+ await execa("npx", ["expo", "prebuild"], { cwd: dest, stdio: "inherit", env: { ...process.env, CI: "1" } });
185
185
  sp.stop("Native projects generated");
186
186
  } catch (e) {
187
187
  sp.stop("Prebuild failed (check logs)");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newcandies",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Scaffold Expo Router + Uniwind React Native apps with layered templates.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -2,10 +2,7 @@ module.exports = function (api) {
2
2
  api.cache(true);
3
3
  return {
4
4
  presets: ['babel-preset-expo'],
5
- plugins: [
6
- ['module-resolver', { alias: { '~': './' } }],
7
- 'react-native-reanimated/plugin'
8
- ]
5
+ plugins: ['react-native-reanimated/plugin']
9
6
  };
10
7
  };
11
8
 
@@ -4,10 +4,10 @@
4
4
  "private": true,
5
5
  "main": "expo-router/entry",
6
6
  "scripts": {
7
- "start": "EXPO_ROUTER_APP_ROOT=src/app expo start",
8
- "android": "EXPO_ROUTER_APP_ROOT=src/app expo run:android",
9
- "ios": "EXPO_ROUTER_APP_ROOT=src/app expo run:ios",
10
- "prebuild": "EXPO_ROUTER_APP_ROOT=src/app expo prebuild"
7
+ "start": "expo start",
8
+ "android": "expo run:android",
9
+ "ios": "expo run:ios",
10
+ "prebuild": "expo prebuild"
11
11
  },
12
12
  "dependencies": {
13
13
  "expo": "54.0.23",
@@ -37,8 +37,7 @@
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/react": "~19.1.0",
40
- "typescript": "~5.9.2",
41
- "babel-plugin-module-resolver": "latest"
40
+ "typescript": "~5.9.2"
42
41
  }
43
42
  }
44
43
 
@@ -3,7 +3,7 @@
3
3
  "compilerOptions": {
4
4
  "strict": true,
5
5
  "paths": {
6
- "~/*": ["./*"]
6
+ "~/*": ["./src/*"]
7
7
  }
8
8
  },
9
9
  "include": [
@@ -0,0 +1,39 @@
1
+ {
2
+ "expo": {
3
+ "name": "sproutsycanary",
4
+ "slug": "sproutsycanary",
5
+ "version": "1.0.0",
6
+ "orientation": "portrait",
7
+ "icon": "./assets/images/icon.png",
8
+ "scheme": "sproutsycanary",
9
+ "userInterfaceStyle": "automatic",
10
+ "newArchEnabled": true,
11
+ "splash": {
12
+ "image": "./assets/images/splash-icon.png",
13
+ "resizeMode": "contain",
14
+ "backgroundColor": "#ffffff"
15
+ },
16
+ "ios": {
17
+ "supportsTablet": true,
18
+ "bundleIdentifier": "com.example.sproutsycanary"
19
+ },
20
+ "android": {
21
+ "adaptiveIcon": {
22
+ "foregroundImage": "./assets/images/adaptive-icon.png",
23
+ "backgroundColor": "#ffffff"
24
+ },
25
+ "edgeToEdgeEnabled": true,
26
+ "predictiveBackGestureEnabled": false,
27
+ "package": "com.example.sproutsycanary"
28
+ },
29
+ "web": {
30
+ "bundler": "metro",
31
+ "output": "static",
32
+ "favicon": "./assets/images/favicon.png"
33
+ },
34
+ "plugins": ["expo-router"],
35
+ "experiments": {
36
+ "typedRoutes": true
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "cli": {
3
+ "version": ">= 7.0.0"
4
+ },
5
+ "build": {
6
+ "development": {
7
+ "android": {
8
+ "buildType": "apk"
9
+ },
10
+ "developmentClient": true,
11
+ "distribution": "internal"
12
+ },
13
+ "preview": {
14
+ "distribution": "internal"
15
+ },
16
+ "production": {}
17
+ },
18
+ "submit": {
19
+ "production": {}
20
+ }
21
+ }
@@ -2,7 +2,6 @@
2
2
  "extends": "expo/tsconfig.base",
3
3
  "compilerOptions": {
4
4
  "strict": true,
5
- "baseUrl": ".",
6
5
  "paths": {
7
6
  "~/*": ["./src/*"]
8
7
  }