Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/config@3.1.3/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
15 changes: 15 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: 'Setup pnpm and install dependencies'
description: 'Checks out code, sets up pnpm, Node.js, and runs pnpm install'
runs:
using: 'composite'
steps:
- uses: pnpm/action-setup@v4
with:
version: '10'
- uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'pnpm'
- name: Install dependencies
shell: bash
run: pnpm i --frozen-lockfile
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# .github/workflows/build.yml
name: Build

on:
workflow_call:
outputs:
build-status:
description: 'Build status'
value: ${{ jobs.build.outputs.status }}

jobs:
build:
runs-on: ubuntu-latest
outputs:
status: ${{ job.status }}
steps:
- uses: actions/checkout@v3

- name: Setup environment
uses: ./.github/actions/setup

- name: Build
run: pnpm build

- name: Upload dist artifacts
uses: actions/upload-artifact@v4
with:
name: build-output
path: |
packages/**/dist
if-no-files-found: error
37 changes: 37 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Deploy docs

on:
push:
paths: ['docs/**/*']
branches: [main]

workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup environment
uses: ./.github/actions/setup

- name: Install dependencies
working-directory: ./docs
run: pnpm i --frozen-lockfile

- name: Build
working-directory: ./docs
run: pnpm run docs:build

- name: Deploy
run: echo 1
57 changes: 57 additions & 0 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: PR Checks

on:
pull_request:
types: [opened, synchronize]

jobs:
build:
uses: ./.github/workflows/build.yml

typecheck:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup environment
uses: ./.github/actions/setup

- uses: actions/download-artifact@v4
with:
name: build-output
path: ./packages

- run: pnpm run typecheck

lint:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup environment
uses: ./.github/actions/setup

- uses: actions/download-artifact@v4
with:
name: build-output
path: ./packages

- run: pnpm run lint

test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Setup environment
uses: ./.github/actions/setup

- uses: actions/download-artifact@v4
with:
name: build-output
path: ./packages

- run: pnpm run test
39 changes: 39 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release version on npm

on: workflow_dispatch

permissions:
id-token: write
pull-requests: write
contents: write

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

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup environment
uses: ./.github/actions/setup

- name: Install Dependencies
run: pnpm i --frozen-lockfile

- name: Building libraries
run: pnpm build

- name: Typecheck
run: pnpm run typecheck

- name: Running tests workflow
run: pnpm run test

- name: Create Pull request & Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm release
28 changes: 28 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
cache
dist-ssr
*.local
.husky

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

packages/playground
4 changes: 4 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export default {
singleQuote: true,
trailingComma: 'all',
};
20 changes: 20 additions & 0 deletions LICENSE.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
MIT License

Copyright (c) 2024 Edward Gigolaev & Sergey Sova & Anton Kosykh

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# ☄️ effector/router
11 changes: 0 additions & 11 deletions decisions/core/async-bundles.md

This file was deleted.

27 changes: 0 additions & 27 deletions decisions/core/grouping.md

This file was deleted.

30 changes: 0 additions & 30 deletions decisions/core/history-adapters.md

This file was deleted.

18 changes: 0 additions & 18 deletions decisions/core/path-nesting.md

This file was deleted.

16 changes: 0 additions & 16 deletions decisions/core/paths.md

This file was deleted.

16 changes: 0 additions & 16 deletions decisions/core/queries.md

This file was deleted.

Loading
Loading