File tree Expand file tree Collapse file tree 8 files changed +73
-94
lines changed Expand file tree Collapse file tree 8 files changed +73
-94
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55 {
66 "alias" : {
77 "@react-native-community/async-storage" : " ../../packages/core/build" ,
8- "@react-native-community/async-storage-legacy" : " ../../packages/storage-legacy/build"
8+ "@react-native-community/async-storage-backend- legacy" : " ../../packages/storage-legacy/build"
99 },
1010 "cwd" : " babelrc"
1111 }
Original file line number Diff line number Diff line change 1- import LegacyStorage from '@react-native-community/async-storage-legacy' ;
1+ import LegacyStorage from '@react-native-community/async-storage-backend- legacy' ;
22import AsyncStorageFactory from '@react-native-community/async-storage' ;
33
44
Original file line number Diff line number Diff line change 11{
22 "packages" : [
33 " core" ,
4- " storages/ *"
4+ " storages- *"
55 ],
66 "version" : " independent" ,
77 "npmClient" : " yarn" ,
Original file line number Diff line number Diff line change 1+ # Core
2+ node_modules
3+ yarn.lock
4+ src /
5+ __tests__ /
6+ CONTRIBUTING.md
7+ CODE_OF_CONDUCT.md
8+
9+
10+ # ######### Trash ##########
11+ .DS_Store
12+ .DS_Store ?
13+ * .DS_Store
14+ coverage.android.json
15+ coverage.ios.json
16+ coverage
17+ npm-debug.log
18+ .github
19+ ._ *
20+ .Spotlight-V100
21+ .Trashes
22+ ehthumbs.db
23+ Thumbs.dbandroid /gradle
24+ .idea
25+ bin /test.js
26+ codorials
27+ .vscode
28+ .nyc_output
29+ yarn-error.log
30+
Original file line number Diff line number Diff line change 22 "name" : " @react-native-community/async-storage" ,
33 "version" : " 2.0.0" ,
44 "main" : " build/index.js" ,
5- "files" : [" build/**/*" ],
65 "types" : " types/index.d.ts" ,
76 "author" : " Krzysztof Borowy <dev@krizzu.dev>" ,
87 "license" : " MIT" ,
98 "scripts" : {
109 "build" : " babel src --root-mode upward --out-dir build/ --extensions .ts --ignore build/**/* --ignore types/* --source-maps inline" ,
1110 "clean" : " rm build -rf" ,
12- "start" : " yarn build:lib --watch"
11+ "start" : " yarn build:lib --watch" ,
12+ "prepublish" : " yarn clean && yarn build"
1313 }
1414}
Original file line number Diff line number Diff line change 1+ # Legacy storage backend
2+ node_modules
3+ yarn.lock
4+ # see https://github.com/yarnpkg/yarn/issues/7540
5+ . /src /
6+ CONTRIBUTING.md
7+ CODE_OF_CONDUCT.md
8+ android /build /
9+ ios /* .xcodeproj /xcuserdata
10+
11+ # ######### Trash ##########
12+ .DS_Store
13+ .DS_Store ?
14+ * .DS_Store
15+ coverage.android.json
16+ coverage.ios.json
17+ coverage
18+ npm-debug.log
19+ .github
20+ ._ *
21+ .Spotlight-V100
22+ .Trashes
23+ ehthumbs.db
24+ Thumbs.dbandroid /gradle
25+ .idea
26+ bin /test.js
27+ codorials
28+ .vscode
29+ .nyc_output
30+ yarn-error.log
Original file line number Diff line number Diff line change 11{
2- "name" : " @react-native-community/async-storage-legacy" ,
2+ "name" : " @react-native-community/async-storage-backend- legacy" ,
33 "version" : " 2.0.0" ,
4- "main" : " build/LegacyAsyncStorage .js" ,
4+ "main" : " build/index .js" ,
55 "types" : " types/index.d.ts" ,
66 "author" : " Krzysztof Borowy <dev@krizzu.dev>" ,
77 "license" : " MIT" ,
88 "scripts" : {
9- "build" : " babel src --root-mode upward --out-dir build/ --extensions .ts --ignore build/**/* --ignore types/* --source-maps inline" ,
9+ "build" : " babel src --root-mode upward --out-dir build/ --extensions .ts --ignore build/**/* --ignore types/**/* --source-maps inline" ,
1010 "clean" : " rm build -rf" ,
11- "generate:types" : " tsc src/index.ts --noEmit false --lib es2015 --declarationDir types/ -d true -emitDeclarationOnly true"
11+ "generate:types" : " tsc src/index.ts --noEmit false --lib es2015 --declarationDir types/ -d true -emitDeclarationOnly true" ,
12+ "prepublish" : " yarn clean && yarn build"
13+ },
14+ "dependencies" : {
15+ "@react-native-community/async-storage" : " ^2.0"
1216 },
1317 "peerDependencies" : {
1418 "react" : " ^16.0" ,
You can’t perform that action at this time.
0 commit comments