create-expo-stack 2.14.1 → 2.14.2-next.8d06aaf

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,7 +43,7 @@
43
43
  <% } %>
44
44
  <% if (props.stylingPackage?.name === "nativewindui") { %>
45
45
  "@roninoss/icons": "^0.0.4",
46
- "@shopify/flash-list": "1.6.4",
46
+ "@legendapp/list": "^1.0.0-beta.24",
47
47
  "class-variance-authority": "^0.7.0",
48
48
  "clsx": "^2.1.0",
49
49
  "expo-navigation-bar": "~3.0.4",
@@ -1,6 +1,6 @@
1
1
  import { Stack } from 'expo-router';
2
2
  import { useHeaderHeight } from '@react-navigation/elements';
3
- import { FlashList } from '@shopify/flash-list';
3
+ import { LegendList } from '@legendapp/list';
4
4
  import { cssInterop } from 'nativewind';
5
5
  import * as React from 'react';
6
6
  import {
@@ -72,7 +72,7 @@ export default function Home() {
72
72
  <>
73
73
  <Stack.Screen options={{ title: 'Home' }} />
74
74
  <Container>
75
- <FlashList
75
+ <LegendList
76
76
  contentInsetAdjustmentBehavior="automatic"
77
77
  keyboardShouldPersistTaps="handled"
78
78
  data={data}
@@ -84,13 +84,14 @@ export default function Home() {
84
84
  ItemSeparatorComponent={renderItemSeparator}
85
85
  renderItem={renderItem}
86
86
  ListEmptyComponent={COMPONENTS.length === 0 ? ListEmptyComponent : undefined}
87
+ recycleItems
87
88
  />
88
89
  </Container>
89
90
  </>
90
91
  );
91
92
  }
92
93
 
93
- cssInterop(FlashList, {
94
+ cssInterop(LegendList, {
94
95
  className: 'style',
95
96
  contentContainerClassName: 'contentContainerStyle',
96
97
  });
@@ -1,5 +1,5 @@
1
1
  import { useHeaderHeight } from '@react-navigation/elements';
2
- import { FlashList } from '@shopify/flash-list';
2
+ import { LegendList } from '@legendapp/list';
3
3
  import { cssInterop } from 'nativewind';
4
4
  import * as React from 'react';
5
5
  import {
@@ -60,7 +60,7 @@ import { useColorScheme } from '~/lib/useColorScheme';
60
60
  import { useHeaderSearchBar } from '~/lib/useHeaderSearchBar';
61
61
 
62
62
 
63
- cssInterop(FlashList, {
63
+ cssInterop(LegendList, {
64
64
  className: 'style',
65
65
  contentContainerClassName: 'contentContainerStyle',
66
66
  });
@@ -82,7 +82,7 @@ export default function Screen() {
82
82
  : COMPONENTS;
83
83
 
84
84
  return (
85
- <FlashList
85
+ <LegendList
86
86
  contentInsetAdjustmentBehavior="automatic"
87
87
  keyboardShouldPersistTaps="handled"
88
88
  data={data}
@@ -94,6 +94,7 @@ export default function Screen() {
94
94
  ItemSeparatorComponent={renderItemSeparator}
95
95
  renderItem={renderItem}
96
96
  ListEmptyComponent={COMPONENTS.length === 0 ? ListEmptyComponent : undefined}
97
+ recycleItems
97
98
  />
98
99
  );
99
100
  }
@@ -1,6 +1,6 @@
1
1
  import { Stack } from 'expo-router';
2
2
  import { useHeaderHeight } from '@react-navigation/elements';
3
- import { FlashList } from '@shopify/flash-list';
3
+ import { LegendList } from '@legendapp/list';
4
4
  import { cssInterop } from 'nativewind';
5
5
  import * as React from 'react';
6
6
  import {
@@ -72,7 +72,7 @@ export default function Home() {
72
72
  <>
73
73
  <Stack.Screen options={{ title: 'Tab One' }} />
74
74
  <Container>
75
- <FlashList
75
+ <LegendList
76
76
  contentInsetAdjustmentBehavior="automatic"
77
77
  keyboardShouldPersistTaps="handled"
78
78
  data={data}
@@ -84,13 +84,14 @@ export default function Home() {
84
84
  ItemSeparatorComponent={renderItemSeparator}
85
85
  renderItem={renderItem}
86
86
  ListEmptyComponent={COMPONENTS.length === 0 ? ListEmptyComponent : undefined}
87
+ recycleItems
87
88
  />
88
89
  </Container>
89
90
  </>
90
91
  );
91
92
  }
92
93
 
93
- cssInterop(FlashList, {
94
+ cssInterop(LegendList, {
94
95
  className: 'style',
95
96
  contentContainerClassName: 'contentContainerStyle',
96
97
  });
package/package.json CHANGED
@@ -1,74 +1,74 @@
1
1
  {
2
- "name": "create-expo-stack",
3
- "version": "2.14.1",
4
- "description": "CLI tool to initialize a React Native application with Expo",
5
- "repository": {
6
- "type": "git",
7
- "url": "https://github.com/roninoss/create-expo-stack.git",
8
- "directory": "cli"
9
- },
10
- "homepage": "https://rn.new",
11
- "license": "MIT",
12
- "types": "build/types/types.d.ts",
13
- "bin": {
14
- "create-expo-stack": "bin/create-expo-stack.js"
15
- },
16
- "files": [
17
- "build",
18
- "LICENSE",
19
- "readme.md",
20
- "docs",
21
- "bin"
22
- ],
23
- "scripts": {
24
- "build": "bun run clean-build && bun run compile && bun run copy-templates && bun run lint-templates",
25
- "bump": "bun run ./src/utilities/bumpVersion.ts",
26
- "clean-build": "rm -rf ./build",
27
- "compile": "tsc -p .",
28
- "copy-templates": "bun run copyfiles -u 2 -a \"./src/templates/**/*\" ./build/templates",
29
- "dev": "bun run build && NODE_ENV=development bun run bin/create-expo-stack.js",
30
- "format": "eslint \"**/*.{js,jsx,ts,tsx}\" --fix --resolve-plugins-relative-to . && prettier \"**/*.{js,jsx,ts,tsx,json}\" --write",
31
- "lint-templates": "bun run ejslint ./src/templates",
32
- "prepublishOnly": "bun run build",
33
- "publishPublic": "bun run build && npm publish --access public",
34
- "snapshot-update": "bun test --bail=1 --timeout 160000 --update-snapshots",
35
- "test:watch": "bun test --watch",
36
- "test": "bun test --bail=1 --timeout 160000",
37
- "test:all": "ALL_PACKAGE_MANAGERS=true bun test --bail=1 --timeout 160000"
38
- },
39
- "prettier": {
40
- "arrowParens": "always",
41
- "bracketSameLine": false,
42
- "bracketSpacing": true,
43
- "printWidth": 120,
44
- "semi": true,
45
- "singleQuote": true,
46
- "tabWidth": 2,
47
- "trailingComma": "none",
48
- "useTabs": false
49
- },
50
- "dependencies": {
51
- "@clack/prompts": "^0.7.0",
52
- "ejs-lint": "^2.0.0",
53
- "expo": "^51.0.11",
54
- "figlet": "^1.6.0",
55
- "gluegun": "latest",
56
- "google-auth-library": "^9.11.0",
57
- "googleapis": "^140.0.0",
58
- "gradient-string": "^2.0.2"
59
- },
60
- "devDependencies": {
61
- "@types/gradient-string": "^1.1.2",
62
- "@typescript-eslint/eslint-plugin": "^6.9.1",
63
- "@typescript-eslint/parser": "^6.9.1",
64
- "copyfiles": "^2.4.1",
65
- "eslint": "^8.53.0",
66
- "eslint-config-prettier": "^9.0.0",
67
- "eslint-plugin-prettier": "^5.0.1",
68
- "husky": "^5.1.3",
69
- "prettier": "^3.1.0"
70
- },
71
- "publishConfig": {
72
- "provenance": false
73
- }
2
+ "name": "create-expo-stack",
3
+ "version": "2.14.2-next.8d06aaf",
4
+ "description": "CLI tool to initialize a React Native application with Expo",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/roninoss/create-expo-stack.git",
8
+ "directory": "cli"
9
+ },
10
+ "homepage": "https://rn.new",
11
+ "license": "MIT",
12
+ "types": "build/types/types.d.ts",
13
+ "bin": {
14
+ "create-expo-stack": "bin/create-expo-stack.js"
15
+ },
16
+ "files": [
17
+ "build",
18
+ "LICENSE",
19
+ "readme.md",
20
+ "docs",
21
+ "bin"
22
+ ],
23
+ "scripts": {
24
+ "build": "bun run clean-build && bun run compile && bun run copy-templates && bun run lint-templates",
25
+ "bump": "bun run ./src/utilities/bumpVersion.ts",
26
+ "clean-build": "rm -rf ./build",
27
+ "compile": "tsc -p .",
28
+ "copy-templates": "bun run copyfiles -u 2 -a \"./src/templates/**/*\" ./build/templates",
29
+ "dev": "bun run build && NODE_ENV=development bun run bin/create-expo-stack.js",
30
+ "format": "eslint \"**/*.{js,jsx,ts,tsx}\" --fix --resolve-plugins-relative-to . && prettier \"**/*.{js,jsx,ts,tsx,json}\" --write",
31
+ "lint-templates": "bun run ejslint ./src/templates",
32
+ "prepublishOnly": "bun run build",
33
+ "publishPublic": "bun run build && npm publish --access public",
34
+ "snapshot-update": "bun test --bail=1 --timeout 160000 --update-snapshots",
35
+ "test:watch": "bun test --watch",
36
+ "test": "bun test --bail=1 --timeout 160000",
37
+ "test:all": "ALL_PACKAGE_MANAGERS=true bun test --bail=1 --timeout 160000"
38
+ },
39
+ "prettier": {
40
+ "arrowParens": "always",
41
+ "bracketSameLine": false,
42
+ "bracketSpacing": true,
43
+ "printWidth": 120,
44
+ "semi": true,
45
+ "singleQuote": true,
46
+ "tabWidth": 2,
47
+ "trailingComma": "none",
48
+ "useTabs": false
49
+ },
50
+ "dependencies": {
51
+ "@clack/prompts": "^0.7.0",
52
+ "ejs-lint": "^2.0.0",
53
+ "expo": "^51.0.11",
54
+ "figlet": "^1.6.0",
55
+ "gluegun": "latest",
56
+ "google-auth-library": "^9.11.0",
57
+ "googleapis": "^140.0.0",
58
+ "gradient-string": "^2.0.2"
59
+ },
60
+ "devDependencies": {
61
+ "@types/gradient-string": "^1.1.2",
62
+ "@typescript-eslint/eslint-plugin": "^6.9.1",
63
+ "@typescript-eslint/parser": "^6.9.1",
64
+ "copyfiles": "^2.4.1",
65
+ "eslint": "^8.53.0",
66
+ "eslint-config-prettier": "^9.0.0",
67
+ "eslint-plugin-prettier": "^5.0.1",
68
+ "husky": "^5.1.3",
69
+ "prettier": "^3.1.0"
70
+ },
71
+ "publishConfig": {
72
+ "provenance": false
73
+ }
74
74
  }