diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index 323b03f..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Publish -on: - push: - branches: - - "main" - -concurrency: ${{ github.workflow }}-${{ github.ref }} - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 - with: - version: 8 - - 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: | - cd packages/react - pnpm run release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/packages/react/.changeset/README.md b/packages/react/.changeset/README.md deleted file mode 100644 index e5b6d8d..0000000 --- a/packages/react/.changeset/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# 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) diff --git a/packages/react/.changeset/config.json b/packages/react/.changeset/config.json deleted file mode 100644 index f26daf1..0000000 --- a/packages/react/.changeset/config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json", - "changelog": "@changesets/cli/changelog", - "commit": false, - "fixed": [], - "linked": [], - "access": "public", - "baseBranch": "main", - "updateInternalDependencies": "patch", - "ignore": [] -} diff --git a/packages/react/.changeset/kind-shrimps-hug.md b/packages/react/.changeset/kind-shrimps-hug.md deleted file mode 100644 index 8e9eb9b..0000000 --- a/packages/react/.changeset/kind-shrimps-hug.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@search-params/react": patch ---- - -Init diff --git a/packages/react/package.json b/packages/react/package.json index 30e18cd..77e4213 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -11,7 +11,9 @@ "build": "tsup ./src --format cjs,esm --no-splitting --dts", "prepare": "pnpm run lint && pnpm run build", "lint": "tsc", - "release": "pnpm run lint && pnpm run build && changeset publish" + "pub:beta": "pnpm build && pnpm publish --no-git-checks --access public --tag beta", + "pub:next": "pnpm build && pnpm publish --no-git-checks --access public --tag next", + "pub:release": "pnpm build && pnpm publish --access public" }, "keywords": [ "react", @@ -19,9 +21,11 @@ "URL", "params" ], - "author": "", + "author": { + "name": "Hector Sosa", + "url": "https://hectorsosa.me" + }, "devDependencies": { - "@changesets/cli": "^2.26.2", "@types/node": "^20", "@types/react": "^18", "tsup": "^6",