Skip to content

Commit

Permalink
fix exports and versioning of dependent packages
Browse files Browse the repository at this point in the history
  • Loading branch information
JDMathew committed Jun 27, 2024
1 parent 4e70b05 commit 3531d5b
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 29 deletions.
8 changes: 4 additions & 4 deletions packages/animations/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-ama/animations",
"version": "1.0.0",
"version": "1.0.1-alpha.2",
"private": false,
"react-native": "src/index",
"types": "dist/index.d.ts",
Expand All @@ -23,8 +23,8 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@react-native-ama/internal": "*",
"@react-native-ama/core": "*"
"@react-native-ama/internal": "~1.0.1-alpha.1",
"@react-native-ama/core": "~1.0.1-alpha.1"
},
"peerDependencies": {
"react": "*",
Expand All @@ -49,4 +49,4 @@
},
"author": "",
"license": "MIT"
}
}
14 changes: 7 additions & 7 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "@react-native-ama/core",
"version": "1.0.0",
"version": "1.0.1-alpha.2",
"description": "Accessible Mobile App Library for React Native",
"private": false,
"react-native": "src/index",
"types": "dist/core/src/index.d.ts",
"main": "dist/core/src/index.js",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"exports": {
".": [
{
"imports": "./dist/core/src/index.js",
"types": "./dist/core/src/index.d.ts"
"imports": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./dist/core/src/index.js"
"./dist/index.js"
]
},
"files": [
Expand All @@ -25,7 +25,7 @@
"test": "jest"
},
"dependencies": {
"@react-native-ama/internal": "*"
"@react-native-ama/internal": "~1.0.1-alpha.1"
},
"peerDependencies": {
"react": "*",
Expand Down
10 changes: 5 additions & 5 deletions packages/extras/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-ama/extras",
"version": "1.0.0",
"version": "1.0.1-alpha.2",
"private": false,
"react-native": "src/index",
"types": "dist/index.d.ts",
Expand All @@ -23,9 +23,9 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@react-native-ama/internal": "*",
"@react-native-ama/core": "*",
"@react-native-ama/animations": "*"
"@react-native-ama/internal": "~1.0.1-alpha.1",
"@react-native-ama/core": "~1.0.1-alpha.1",
"@react-native-ama/animations": "~1.0.1-alpha.1"
},
"peerDependencies": {
"react": "*",
Expand All @@ -51,4 +51,4 @@
},
"author": "",
"license": "MIT"
}
}
8 changes: 4 additions & 4 deletions packages/forms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-ama/forms",
"version": "1.0.0",
"version": "1.0.1-alpha.2",
"private": false,
"react-native": "src/index",
"types": "dist/index.d.ts",
Expand All @@ -24,9 +24,9 @@
"test": "jest"
},
"dependencies": {
"@react-native-ama/core": "*",
"@react-native-ama/internal": "*",
"@react-native-ama/react-native": "*"
"@react-native-ama/core": "~1.0.1-alpha.1",
"@react-native-ama/internal": "~1.0.1-alpha.1",
"@react-native-ama/react-native": "~1.0.1-alpha.1"
},
"peerDependencies": {
"react": "*",
Expand Down
4 changes: 2 additions & 2 deletions packages/internal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-ama/internal",
"version": "1.0.0",
"version": "1.0.1-alpha.2",
"private": false,
"react-native": "src/index",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -35,4 +35,4 @@
],
"author": "",
"license": "MIT"
}
}
8 changes: 4 additions & 4 deletions packages/lists/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-ama/lists",
"version": "1.0.0",
"version": "1.0.1-alpha.2",
"private": false,
"react-native": "src/index",
"types": "dist/index.d.ts",
Expand All @@ -23,8 +23,8 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@react-native-ama/internal": "*",
"@react-native-ama/core": "*"
"@react-native-ama/internal": "~1.0.1-alpha.1",
"@react-native-ama/core": "~1.0.1-alpha.1"
},
"peerDependencies": {
"expo": ">=47.0.0",
Expand Down Expand Up @@ -55,4 +55,4 @@
},
"author": "",
"license": "MIT"
}
}
6 changes: 3 additions & 3 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-ama/react-native",
"version": "1.0.0",
"version": "1.0.1-alpha.2",
"private": false,
"react-native": "src/index",
"types": "dist/index.d.ts",
Expand All @@ -23,8 +23,8 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@react-native-ama/internal": "*",
"@react-native-ama/core": "*"
"@react-native-ama/internal": "~1.0.1-alpha.1",
"@react-native-ama/core": "~1.0.1-alpha.1"
},
"peerDependencies": {
"react": "*",
Expand Down

0 comments on commit 3531d5b

Please sign in to comment.