diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 00a7366..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,12 +0,0 @@ -# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file -version: 2 -updates: - - package-ecosystem: "npm" - directory: "/" - schedule: - interval: "weekly" - groups: - production-dependencies: - dependency-type: "production" - development-dependencies: - dependency-type: "development" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 0bd9a4e..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: CI - -on: - workflow_dispatch: - push: - branches: [main] - pull_request: - branches: [main] - -jobs: - lint-and-test: - runs-on: ubuntu-latest - strategy: - matrix: - react-version: ["18", "19"] - permissions: - contents: read - - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 22 - cache: "npm" - - - name: Install dependencies - run: npm ci - - - name: Install React ${{ matrix.react-version }} - run: | - npm install react@${{ matrix.react-version }} react-dom@${{ matrix.react-version }} --save-dev --legacy-peer-deps - - - name: Lint - run: npm run lint - - - name: Test - run: npm test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index f329bff..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,30 +0,0 @@ -# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created -# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages -name: Publish Package - -on: - workflow_dispatch: - release: - types: [created] - -jobs: - publish-npm: - runs-on: ubuntu-latest - permissions: - contents: read - id-token: write - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 22 - registry-url: https://registry.npmjs.org - cache: "npm" - - - name: Install dependencies - run: npm ci - - - name: Publish package - run: npm publish --provenance - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/README.md b/README.md index 3a2db87..5057ca2 100644 --- a/README.md +++ b/README.md @@ -4,23 +4,15 @@
-[![self-assert logo](https://avatars.githubusercontent.com/u/205992123?s=100)][repo] +[![License](https://img.shields.io/badge/license-MIT-green)][license]
A React extension for the [`self-assert`](https://github.com/self-assert/self-assert) library. > [!WARNING] -> This project is in its early stages. Documentation will be added in the -> coming days. - -
- -[![npm version](https://img.shields.io/npm/v/%40self-assert%2Freact)][npm] -[![License](https://img.shields.io/badge/license-MIT-green)][license] -[![CI](https://github.com/self-assert/self-assert-react/actions/workflows/ci.yml/badge.svg)](https://github.com/self-assert/self-assert-react/actions/workflows/ci.yml) - -
+> This project was moved to [`packages/react`](https://github.com/self-assert/self-assert/tree/main/packages/react) +> in the [new monorepo](https://github.com/self-assert/self-assert). ## Installation @@ -34,6 +26,5 @@ npm install @self-assert/react [MIT][license] -[repo]: https://github.com/self-assert/self-assert-react +[org]: https://github.com/self-assert [license]: https://github.com/self-assert/self-assert-react/blob/main/LICENSE -[npm]: https://www.npmjs.com/package/@self-assert/react