Skip to content

Commit f37218b

Browse files
authored
chore: prepare first release (#6)
* chore: prepare first release * chore: update description * fix: ci
1 parent bac89b4 commit f37218b

7 files changed

Lines changed: 32 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
uses: ./.github/actions/setup
5656

5757
- name: Build package
58-
run: yarn prepare
58+
run: yarn build
5959

6060
build-android:
6161
runs-on: ubuntu-latest

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"lint": "yarn workspace @callstack/react-native-release-inspector-cli lint && yarn workspace @callstack/react-native-release-inspector lint",
1010
"test": "yarn workspace @callstack/react-native-release-inspector test",
1111
"build:android": "yarn turbo run build:android",
12-
"build:ios": "yarn turbo run build:ios"
12+
"build:ios": "yarn turbo run build:ios",
13+
"build": "yarn turbo run build"
1314
},
1415
"devDependencies": {
1516
"@commitlint/config-conventional": "^20.5.0",

packages/cli/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
},
4646
"homepage": "https://github.com/callstackincubator/react-native-release-inspector#readme",
4747
"publishConfig": {
48-
"registry": "https://registry.npmjs.org/"
48+
"registry": "https://registry.npmjs.org/",
49+
"access": "public"
4950
},
5051
"prettier": {
5152
"quoteProps": "consistent",

packages/cli/turbo.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://turbo.build/schema.json",
3+
"extends": ["//"],
4+
"tasks": {
5+
"build": {
6+
"inputs": ["src/**/*"],
7+
"outputs": ["lib/**"]
8+
}
9+
}
10+
}

packages/react-native-release-inspector/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@callstack/react-native-release-inspector",
33
"version": "0.1.0",
4-
"description": "Profile React Native App in Release mode with React DevTools for React.Profiler",
4+
"description": "Profile React Native App in Release mode with React DevTools",
55
"main": "./lib/module/index.js",
66
"types": "./lib/typescript/src/index.d.ts",
77
"exports": {
@@ -31,7 +31,7 @@
3131
],
3232
"scripts": {
3333
"clean": "del-cli android/build lib",
34-
"prepare": "bob build",
34+
"build": "yarn clean && bob build",
3535
"typecheck": "tsc",
3636
"lint": "eslint \"**/*.{js,ts,tsx}\"",
3737
"test": "jest --watchman=false"
@@ -51,7 +51,8 @@
5151
},
5252
"homepage": "https://github.com/callstackincubator/react-native-release-inspector#readme",
5353
"publishConfig": {
54-
"registry": "https://registry.npmjs.org/"
54+
"registry": "https://registry.npmjs.org/",
55+
"access": "public"
5556
},
5657
"dependencies": {
5758
"@callstack/react-native-release-inspector-cli": "workspace:*"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "https://turbo.build/schema.json",
3+
"extends": ["//"],
4+
"tasks": {
5+
"build": {
6+
"inputs": ["src/**/*"],
7+
"outputs": ["lib/**"]
8+
}
9+
}
10+
}

turbo.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"globalDependencies": [".nvmrc", ".yarnrc.yml"],
44
"globalEnv": ["NODE_ENV"],
55
"tasks": {
6+
"build": {
7+
"dependsOn": ["^build"]
8+
},
69
"build:android": {
710
"env": ["ANDROID_HOME", "ORG_GRADLE_PROJECT_newArchEnabled"],
811
"inputs": [

0 commit comments

Comments
 (0)