Skip to content

Commit 98c6b49

Browse files
authored
Merge pull request #16 from xiaoyudesu/sig
feat: [#14]新增stack库
2 parents 93ec31e + 2bfcc09 commit 98c6b49

Some content is hidden

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

42 files changed

+6338
-0
lines changed

packages/stack/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 React Navigation Contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

packages/stack/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# `@react-navigation/stack`
2+
3+
Stack navigator for React Navigation.
4+
5+
Installation instructions and documentation can be found on the [React Navigation website](https://reactnavigation.org/docs/stack-navigator/).

packages/stack/harmony/.gitkeep

Whitespace-only changes.

packages/stack/package.json

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
{
2+
"name": "@react-native-oh-tpl/stack",
3+
"description": "Stack navigator component for iOS and Android with animated transitions and gestures",
4+
"version": "6.4.0-0.0.1",
5+
"harmony": {
6+
"alias": "@react-navigation/stack"
7+
},
8+
"keywords": [
9+
"react-native-component",
10+
"react-component",
11+
"react-native",
12+
"react-navigation",
13+
"harmony",
14+
"ios",
15+
"android",
16+
"stack"
17+
],
18+
"license": "MIT",
19+
"repository": {
20+
"type": "git",
21+
"url": "https://github.com/react-native-oh-library/react-navigation.git",
22+
"directory": "packages/stack"
23+
},
24+
"bugs": {
25+
"url": "https://github.com/react-navigation/react-navigation/issues"
26+
},
27+
"homepage": "https://reactnavigation.org/docs/stack-navigator/",
28+
"main": "lib/commonjs/index.js",
29+
"react-native": "src/index.tsx",
30+
"source": "src/index.tsx",
31+
"module": "lib/module/index.js",
32+
"types": "lib/typescript/src/index.d.ts",
33+
"files": [
34+
"harmony",
35+
"src",
36+
"lib",
37+
"!**/__tests__"
38+
],
39+
"sideEffects": false,
40+
"publishConfig": {
41+
"access": "public"
42+
},
43+
"scripts": {
44+
"prepack": "bob build",
45+
"clean": "del lib"
46+
},
47+
"dependencies": {
48+
"@react-navigation/elements": "^1.3.30",
49+
"color": "^4.2.3",
50+
"warn-once": "^0.1.0"
51+
},
52+
"devDependencies": {
53+
"@react-navigation/native": "workspace:^",
54+
"@testing-library/react-native": "^11.5.0",
55+
"@types/color": "^3.0.1",
56+
"@types/react": "~18.0.27",
57+
"@types/react-native": "~0.71.3",
58+
"del-cli": "^5.0.0",
59+
"react": "18.2.0",
60+
"react-native": "0.71.8",
61+
"react-native-builder-bob": "^0.20.4",
62+
"react-native-gesture-handler": "~2.9.0",
63+
"react-native-safe-area-context": "4.5.0",
64+
"react-native-screens": "~3.29.0",
65+
"typescript": "^4.9.4"
66+
},
67+
"peerDependencies": {
68+
"@react-navigation/native": "^6.0.0",
69+
"react": "*",
70+
"react-native": "*",
71+
"react-native-gesture-handler": ">= 1.0.0",
72+
"react-native-safe-area-context": ">= 3.0.0",
73+
"react-native-screens": ">= 3.0.0"
74+
},
75+
"react-native-builder-bob": {
76+
"source": "src",
77+
"output": "lib",
78+
"targets": [
79+
"commonjs",
80+
"module",
81+
[
82+
"typescript",
83+
{
84+
"project": "tsconfig.build.json"
85+
}
86+
]
87+
]
88+
}
89+
90+
}

packages/stack/src/CHANGELOG.md

Lines changed: 1424 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)