parent
48350910bd
commit
dffd4f5318
6 changed files with 884 additions and 108 deletions
8
.changeset/README.md
Normal file
8
.changeset/README.md
Normal file
|
@ -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)
|
11
.changeset/config.json
Normal file
11
.changeset/config.json
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json",
|
||||||
|
"changelog": "@changesets/cli/changelog",
|
||||||
|
"commit": false,
|
||||||
|
"fixed": [],
|
||||||
|
"linked": [],
|
||||||
|
"access": "restricted",
|
||||||
|
"baseBranch": "main",
|
||||||
|
"updateInternalDependencies": "patch",
|
||||||
|
"ignore": []
|
||||||
|
}
|
14
.github/workflows/assign-pr.yml
vendored
Normal file
14
.github/workflows/assign-pr.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
name: Assign PR to creator
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
assign_creator:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Assign PR to creator
|
||||||
|
uses: thomaseizinger/assign-pr-creator-action@v1.0.0
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
39
.github/workflows/prepare-release.yml
vendored
Normal file
39
.github/workflows/prepare-release.yml
vendored
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
name: Open release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
||||||
|
#
|
||||||
|
# TODO
|
||||||
|
# - Add tags for each app (e.g. search@3.0.1) for easier parsing
|
||||||
|
# - Print versions name to commit, for easier Vercel deployments
|
||||||
|
#
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
name: Prepare release with Changesets
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repo
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Setup Node.js 16 # It was default for Changesets action, check if it can be bumped to v18
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 16
|
||||||
|
- uses: pnpm/action-setup@v2
|
||||||
|
name: Install pnpm
|
||||||
|
- run: pnpm install
|
||||||
|
# TODO -> publish to npm as pre-release
|
||||||
|
- name: Create Release Pull Request
|
||||||
|
uses: changesets/action@v1
|
||||||
|
id: changesets
|
||||||
|
with:
|
||||||
|
title: Release to npm
|
||||||
|
commit: Release to npm
|
||||||
|
publish: pnpm publish --dry-run
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
"react-dom": ">=17"
|
"react-dom": ">=17"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@changesets/cli": "^2.26.0",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"fast-glob": "^3.2.11",
|
"fast-glob": "^3.2.11",
|
||||||
"graphql": "^16.6.0",
|
"graphql": "^16.6.0",
|
||||||
|
|
919
pnpm-lock.yaml
919
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue