Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MatanYadaev committed Aug 16, 2023
1 parent 35f1f9b commit bdbc406
Show file tree
Hide file tree
Showing 6 changed files with 1,524 additions and 3 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": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
32 changes: 32 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release

on:
push:
branches:
- main

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

env:
PNPM_VERSION: 8.6.3

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: pnpm
- run: pnpm install
- uses: changesets/action@v1
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# eslint-plugin-testing

## 0.0.1

### Patch Changes

- Initial release
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-testing",
"version": "0.0.0",
"version": "0.0.1",
"description": "ESLint plugin for testing",
"keywords": [
"testing",
Expand Down Expand Up @@ -30,7 +30,7 @@
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --clean --minify",
"release": "pnpm build && bumpp package.json && pnpm publish",
"release": "pnpm build && changeset publish",
"test": "vitest run",
"eslint-docs:update": "pnpm build && eslint-doc-generator",
"eslint-docs:check": "pnpm build && eslint-doc-generator --check",
Expand All @@ -40,6 +40,7 @@
"@typescript-eslint/utils": "^6.4.0"
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@tsconfig/node16": "^16.1.0",
"@tsconfig/strictest": "^2.0.1",
"@types/eslint": "^8.44.2",
Expand Down
Loading

0 comments on commit bdbc406

Please sign in to comment.