Skip to content

Commit d05a59f

Browse files
author
Krzysztof Borowy
committed
move as to workspace
1 parent 53ee39d commit d05a59f

File tree

117 files changed

+7604
-11471
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+7604
-11471
lines changed

.github/workflows/website-deployment.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
branches:
55
- main
66
paths:
7-
- 'website/**'
7+
- 'packages/website/**'
88

99
jobs:
1010
deploy:
@@ -17,15 +17,15 @@ jobs:
1717
- name: Cache/restore dependencies
1818
uses: actions/cache@v3
1919
with:
20-
path: ./website/.yarn
21-
key: website-${{ hashFiles('website/yarn.lock') }}
20+
path: ./packages/website/.yarn
21+
key: website-${{ hashFiles('yarn.lock') }}
2222
- name: Install dependencies
2323
run: yarn
24-
working-directory: ./website
24+
working-directory: ./packages/website
2525
- name: Deploy
2626
run: |
2727
git config --global user.name ${{ secrets.GH_BOT_NAME }}
2828
git config --global user.email ${{ secrets.GH_BOT_EMAIL }}
2929
echo "machine github.com login ${{ secrets.GH_BOT_NAME }} password ${{ secrets.GH_RELEASE_TOKEN }}" > ~/.netrc
3030
GIT_USER=${{ secrets.GH_BOT_NAME }} yarn run deploy
31-
working-directory: ./website
31+
working-directory: ./packages/website

.gitignore

Lines changed: 1 addition & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,10 @@
1-
# OSX
2-
#
31
.DS_Store
4-
5-
# Xcode
6-
#
7-
.xcode.env
8-
build/
9-
*.pbxuser
10-
!default.pbxuser
11-
*.mode1v3
12-
!default.mode1v3
13-
*.mode2v3
14-
!default.mode2v3
15-
*.perspectivev3
16-
!default.perspectivev3
17-
xcuserdata
18-
*.xccheckout
19-
*.moved-aside
20-
DerivedData
21-
*.hmap
22-
*.ipa
23-
*.xcuserstate
24-
project.xcworkspace
25-
26-
# Android/IntelliJ
27-
#
282
.idea
29-
.gradle
30-
local.properties
31-
*.iml
32-
android/build
33-
android/gradle/
34-
android/gradlew
35-
android/gradlew.bat
36-
37-
# Visual Studio
38-
#
39-
example/windows/.vs
40-
example/windows/*.sln
41-
example/windows/ARM
42-
example/windows/packages
43-
example/windows/x64
44-
msbuild.binlog
45-
46-
# node.js
47-
#
483
.yarn
4+
.gradle
495
!.yarn/releases
506
node_modules/
517
npm-debug.log
528
yarn-error.log
53-
54-
# BUCK
55-
buck-out/
56-
\.buckd/
57-
*.keystore
58-
59-
# Editor config
609
.vscode/*
61-
!.vscode/extensions.json
6210
.expo
63-
/web-build
64-
65-
# builds by bob
66-
lib/

.vscode/extensions.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ logFilters:
77
- code: YN0013 # X can't be found in the cache and will be fetched from the remote registry
88
level: discard
99
nodeLinker: node-modules
10+
nmHoistingLimits: dependencies
1011
npmRegistryServer: "https://registry.npmjs.org"
1112
packageExtensions:
1213
"@expo/cli@*":

package.json

Lines changed: 5 additions & 187 deletions
Original file line numberDiff line numberDiff line change
@@ -1,189 +1,7 @@
11
{
2-
"name": "@react-native-async-storage/async-storage",
3-
"version": "1.19.2",
4-
"description": "Asynchronous, persistent, key-value storage system for React Native.",
5-
"main": "lib/commonjs/index.js",
6-
"module": "lib/module/index.js",
7-
"react-native": "src/index.ts",
8-
"types": "lib/typescript/index.d.ts",
9-
"files": [
10-
"RNCAsyncStorage.podspec",
11-
"android/build.gradle",
12-
"android/src",
13-
"android/testresults.gradle",
14-
"ios/",
15-
"jest/",
16-
"lib/",
17-
"macos/",
18-
"src/",
19-
"windows/"
20-
],
21-
"author": "Krzysztof Borowy <hello@krizzu.dev>",
22-
"contributors": [
23-
"Evan Bacon <bacon@expo.io> (https://github.com/evanbacon)",
24-
"Tommy Nguyen <4123478+tido64@users.noreply.github.com> (https://github.com/tido64)"
25-
],
26-
"homepage": "https://github.com/react-native-async-storage/async-storage#readme",
27-
"license": "MIT",
28-
"keywords": [
29-
"react-native",
30-
"react native",
31-
"async storage",
32-
"asyncstorage",
33-
"storage"
34-
],
35-
"repository": {
36-
"type": "git",
37-
"url": "https://github.com/react-native-async-storage/async-storage.git"
38-
},
39-
"scripts": {
40-
"format": "concurrently yarn:format:*",
41-
"format:c": "clang-format -i $(git ls-files '*.cpp' '*.h' '*.m' '*.mm')",
42-
"format:js": "prettier --write $(git ls-files '*.js' '*.json' '*.md' '*.ts' '*.tsx' '*.yml')",
43-
"prepare": "bob build",
44-
"start": "react-native start",
45-
"start:android": "react-native run-android",
46-
"start:ios": "react-native run-ios",
47-
"start:macos": "react-native run-macos --project-path example/macos --scheme AsyncStorageExample",
48-
"start:web": "expo start --web",
49-
"start:windows": "install-windows-test-app -p example/windows && react-native run-windows --root example --logging --no-packager --no-telemetry",
50-
"build:e2e:android": "scripts/android_e2e.sh 'build'",
51-
"build:e2e:ios": "scripts/ios_e2e.sh 'build'",
52-
"build:e2e:macos": "scripts/macos_e2e.sh 'build'",
53-
"bundle:android": "scripts/android_e2e.sh 'bundle'",
54-
"bundle:ios": "scripts/ios_e2e.sh 'bundle'",
55-
"bundle:macos": "react-native bundle --entry-file index.ts --platform macos --bundle-output example/index.macos.jsbundle",
56-
"test": "concurrently -n lint,ts yarn:test:lint yarn:test:ts",
57-
"test:lint": "eslint src/**/*.ts example/**/*.ts jest/*.js",
58-
"test:ts": "tsc",
59-
"test:e2e:android": "scripts/android_e2e.sh 'test'",
60-
"test:e2e:ios": "scripts/ios_e2e.sh 'test'",
61-
"test:e2e:macos": "scripts/macos_e2e.sh 'test'"
62-
},
63-
"dependencies": {
64-
"merge-options": "^3.0.4"
65-
},
66-
"peerDependencies": {
67-
"react-native": "^0.0.0-0 || 0.60 - 0.72 || 1000.0.0"
68-
},
69-
"devDependencies": {
70-
"@babel/core": "^7.20.0",
71-
"@babel/preset-env": "^7.20.0",
72-
"@react-native-community/eslint-config": "^3.0.0",
73-
"@semantic-release/changelog": "^6.0.0",
74-
"@semantic-release/git": "^10.0.0",
75-
"@types/lodash": "^4.14.184",
76-
"@types/mocha": "^10.0.1",
77-
"@types/react": "^18.0.0",
78-
"@wdio/appium-service": "^8.11.2",
79-
"@wdio/cli": "^8.11.2",
80-
"@wdio/local-runner": "^8.11.2",
81-
"@wdio/mocha-framework": "^8.11.0",
82-
"@wdio/spec-reporter": "^8.11.2",
83-
"appium": "2.0.0-rc.3",
84-
"appium-uiautomator2-driver": "^2.26.2",
85-
"appium-xcuitest-driver": "^4.32.5",
86-
"concurrently": "^6.4.0",
87-
"eslint": "^8.0.0",
88-
"eslint-plugin-wdio": "^8.8.7",
89-
"expo": "^48.0.0",
90-
"lodash": "^4.17.21",
91-
"prettier": "^2.5.1",
92-
"react": "18.2.0",
93-
"react-dom": "^18.2.0",
94-
"react-native": "^0.71.0",
95-
"react-native-builder-bob": "^0.18.0",
96-
"react-native-codegen": "^0.71.5",
97-
"react-native-macos": "^0.71.0",
98-
"react-native-test-app": "^2.5.8",
99-
"react-native-web": "~0.18.10",
100-
"react-native-windows": "^0.71.0",
101-
"react-test-renderer": "18.2.0",
102-
"semantic-release": "^19.0.0",
103-
"typescript": "^4.9.4",
104-
"webdriverio": "^8.11.2"
105-
},
106-
"packageManager": "yarn@3.4.1",
107-
"resolutions": {
108-
"@react-native-community/cli": "^10.2.5",
109-
"@react-native-community/cli-platform-android": "^10.2.0",
110-
"@react-native-community/cli-platform-ios": "^10.2.5",
111-
"body-parser/qs": "^6.7.3",
112-
"find-babel-config/json5": "^2.1.1",
113-
"metro-react-native-babel-preset": "^0.73.10",
114-
"metro-react-native-babel-transformer": "^0.73.10",
115-
"metro-runtime": "^0.73.10",
116-
"metro-source-map": "^0.73.10",
117-
"uuid": "^9.0.0",
118-
"ts-node": "^10.9.1"
119-
},
120-
"eslintConfig": {
121-
"root": true,
122-
"plugins": [
123-
"wdio"
124-
],
125-
"extends": [
126-
"@react-native-community",
127-
"plugin:wdio/recommended"
128-
],
129-
"rules": {
130-
"dot-notation": "off"
131-
}
132-
},
133-
"prettier": {
134-
"endOfLine": "auto",
135-
"singleQuote": true,
136-
"overrides": [
137-
{
138-
"files": "*.md",
139-
"options": {
140-
"proseWrap": "always"
141-
}
142-
}
143-
]
144-
},
145-
"react-native-builder-bob": {
146-
"source": "src",
147-
"output": "lib",
148-
"targets": [
149-
"commonjs",
150-
"module",
151-
[
152-
"typescript",
153-
{
154-
"project": "tsconfig.build.json"
155-
}
156-
]
157-
]
158-
},
159-
"release": {
160-
"branches": [
161-
"main"
162-
],
163-
"plugins": [
164-
"@semantic-release/commit-analyzer",
165-
"@semantic-release/release-notes-generator",
166-
"@semantic-release/changelog",
167-
"@semantic-release/npm",
168-
"@semantic-release/github",
169-
[
170-
"@semantic-release/git",
171-
{
172-
"assets": [
173-
"CHANGELOG.md",
174-
"package.json"
175-
],
176-
"message": "chore(release): ${nextRelease.version} [skip ci]"
177-
}
178-
]
179-
]
180-
},
181-
"codegenConfig": {
182-
"name": "rnasyncstorage",
183-
"type": "modules",
184-
"jsSrcsDir": "./src",
185-
"android": {
186-
"javaPackageName": "com.reactnativecommunity.asyncstorage"
187-
}
188-
}
2+
"name": "@react-native-async-storage/project",
3+
"private": true,
4+
"workspaces": [
5+
"packages/*"
6+
]
1897
}
File renamed without changes.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# OSX
2+
#
3+
.DS_Store
4+
5+
# Xcode
6+
#
7+
.xcode.env
8+
build/
9+
*.pbxuser
10+
!default.pbxuser
11+
*.mode1v3
12+
!default.mode1v3
13+
*.mode2v3
14+
!default.mode2v3
15+
*.perspectivev3
16+
!default.perspectivev3
17+
xcuserdata
18+
*.xccheckout
19+
*.moved-aside
20+
DerivedData
21+
*.hmap
22+
*.ipa
23+
*.xcuserstate
24+
project.xcworkspace
25+
26+
# Andorid Studio / InteliJ
27+
.gradle
28+
.idea
29+
local.properties
30+
*.iml
31+
android/build
32+
android/gradle/*
33+
/.gradle
34+
android/gradlew
35+
android/gradlew.bat
36+
37+
# Visual Studio
38+
example/windows/.vs
39+
example/windows/*.sln
40+
example/windows/ARM
41+
example/windows/packages
42+
example/windows/x64
43+
msbuild.binlog
44+
45+
# BUCK
46+
buck-out/
47+
\.buckd/
48+
*.keystore
49+
50+
# ouput
51+
52+
lib/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)