Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
uses: ./.github/actions/setup

- name: Build package
run: yarn prepare
run: yarn build

build-android:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"lint": "yarn workspace @callstack/react-native-release-inspector-cli lint && yarn workspace @callstack/react-native-release-inspector lint",
"test": "yarn workspace @callstack/react-native-release-inspector test",
"build:android": "yarn turbo run build:android",
"build:ios": "yarn turbo run build:ios"
"build:ios": "yarn turbo run build:ios",
"build": "yarn turbo run build"
},
"devDependencies": {
"@commitlint/config-conventional": "^20.5.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@
},
"homepage": "https://github.com/callstackincubator/react-native-release-inspector#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"prettier": {
"quoteProps": "consistent",
Expand Down
10 changes: 10 additions & 0 deletions packages/cli/turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$schema": "https://turbo.build/schema.json",
"extends": ["//"],
"tasks": {
"build": {
"inputs": ["src/**/*"],
"outputs": ["lib/**"]
}
}
}
7 changes: 4 additions & 3 deletions packages/react-native-release-inspector/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@callstack/react-native-release-inspector",
"version": "0.1.0",
"description": "Profile React Native App in Release mode with React DevTools for React.Profiler",
"description": "Profile React Native App in Release mode with React DevTools",
"main": "./lib/module/index.js",
"types": "./lib/typescript/src/index.d.ts",
"exports": {
Expand Down Expand Up @@ -31,7 +31,7 @@
],
"scripts": {
"clean": "del-cli android/build lib",
"prepare": "bob build",
"build": "yarn clean && bob build",
"typecheck": "tsc",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"test": "jest --watchman=false"
Expand All @@ -51,7 +51,8 @@
},
"homepage": "https://github.com/callstackincubator/react-native-release-inspector#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"dependencies": {
"@callstack/react-native-release-inspector-cli": "workspace:*"
Expand Down
10 changes: 10 additions & 0 deletions packages/react-native-release-inspector/turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$schema": "https://turbo.build/schema.json",
"extends": ["//"],
"tasks": {
"build": {
"inputs": ["src/**/*"],
"outputs": ["lib/**"]
}
}
}
3 changes: 3 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"globalDependencies": [".nvmrc", ".yarnrc.yml"],
"globalEnv": ["NODE_ENV"],
"tasks": {
"build": {
"dependsOn": ["^build"]
},
"build:android": {
"env": ["ANDROID_HOME", "ORG_GRADLE_PROJECT_newArchEnabled"],
"inputs": [
Expand Down
Loading