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
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
27 changes: 27 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.4/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "callstack/react-native-brownfield" }
],
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"ignore": [
"docs",
"android-app",
"apple-app",
"rn-app",
Comment thread
artus9033 marked this conversation as resolved.
"tester-integrated",
"react-native-brownfield-gradle-plugin"
],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true,
"updateInternalDependents": "always"
},
"snapshot": {
"useCalculatedVersion": true
}
}
40 changes: 40 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
permissions:
contents: write
id-token: write
pull-requests: write
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup Node.js 20
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20

- name: Install Dependencies
run: yarn

- name: Create Release Pull Request or Publish to NPM
uses: changesets/action@e9cc34b540dd3ad1b030c57fd97269e8f6ad905a # v1.4.9
with:
version: yarn version-packages
publish: yarn publish-packages
commit: 'chore(release): version packages'
title: 'chore(release): version packages'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"lint": "turbo run lint",
"typecheck": "turbo run typecheck",
"build": "turbo run build",
"release": "release-it --config packages/react-native-brownfield/.release-it.json",
"version-packages": "changeset version && yarn install --no-immutable",
"publish-packages": "turbo run build lint && changeset version && changeset publish",
"brownfield:plugin:publish:local": "bash ./gradle-plugins/publish-to-maven-local.sh",
"build:brownfield": "turbo run build:brownfield",
"build:docs": "turbo run build:docs",
Expand All @@ -28,21 +29,21 @@
},
"packageManager": "yarn@4.12.0",
"dependencies": {
"@changesets/changelog-github": "^0.5.2",
"@changesets/cli": "^2.29.8",
"quicktype-core": "^23.2.6",
"quicktype-typescript-input": "^23.2.6"
},
"devDependencies": {
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@react-native/eslint-config": "0.82.1",
"@release-it/conventional-changelog": "^10.0.1",
"babel-plugin-module-resolver": "5.0.2",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.1.3",
"lefthook": "^2.0.3",
"prettier": "^3.5.3",
"release-it": "^19.0.6",
"turbo": "^2.7.3",
"typescript": "5.8.3"
},
Expand Down
11 changes: 6 additions & 5 deletions packages/brownie/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@callstack/brownie",
"version": "0.1.0",
"version": "0.0.1",
"license": "MIT",
"author": "Michal Chudziak <mike.chudziak@callstack.com>",
"author": "Oskar Kwaśniewski <oskarkwasniewski@icloud.com>",
"contributors": [
"Piotr Drapich <piotr.drapich@callstack.com>",
"Oskar Kwaśniewski <oskar.kwasniewski@callstack.com>"
"Artur Morys-Magiera <artus9033@gmail.com>",
"Oskar Kwasniewski <oskarkwasniewski@icloud.com>"
],
"homepage": "https://github.com/callstack/react-native-brownfield",
"description": "Shared state management between React Native and Native apps",
Expand Down Expand Up @@ -54,7 +54,8 @@
"!**/.*"
],
"publishConfig": {
"access": "public"
"access": "public",
"tag": "alpha"
},
"peerDependencies": {
"react": "*",
Expand Down
18 changes: 0 additions & 18 deletions packages/react-native-brownfield/.release-it.json

This file was deleted.

Loading