Skip to content

Commit

Permalink
F**K IT, WE'LL DO IT LIVE
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpocock committed Mar 3, 2023
1 parent 1428f6a commit 73a5b2d
Show file tree
Hide file tree
Showing 6 changed files with 1,594 additions and 8 deletions.
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)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/short-moons-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@total-typescript/mock-utils": patch
---

First version
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish
on:
push:
branches:
- "main"

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

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 16.x
cache: "pnpm"

- run: pnpm install --frozen-lockfile
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@total-typescript/test-utils",
"name": "@total-typescript/mock-utils",
"version": "0.0.1",
"description": "Work seamlessly with TypeScript in test suites.",
"main": "dist/index.js",
Expand All @@ -9,12 +9,14 @@
"test": "vitest run",
"dev": "vitest",
"build": "tsup src/index.ts --format cjs,esm --dts",
"lint": "tsc"
"lint": "tsc",
"release": "turbo build lint test && changeset publish"
},
"keywords": [],
"author": "Matt Pocock",
"license": "MIT",
"devDependencies": {
"@changesets/cli": "^2.26.0",
"@types/node": "^18.14.5",
"tsup": "^6.6.3",
"turbo": "^1.8.3",
Expand Down
Loading

0 comments on commit 73a5b2d

Please sign in to comment.