Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-design examples repository for Effect #26

Merged
merged 10 commits into from
Sep 6, 2024
Merged
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
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/changelog-github", { "repo": "Effect-TS/examples" }],
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
9 changes: 1 addition & 8 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
if test -f ./.envrc.local; then
source_env ./.envrc.local
fi

if command -v nix-shell &> /dev/null
then
use_flake
fi
use flake;
21 changes: 21 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Setup
description: Perform standard setup and install dependencies using pnpm.
inputs:
node-version:
description: The version of Node.js to install
required: true
default: 20.14.0

runs:
using: composite
steps:
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Install node
uses: actions/setup-node@v4
with:
cache: pnpm
node-version: ${{ inputs.node-version }}
- name: Install dependencies
shell: bash
run: pnpm install
56 changes: 0 additions & 56 deletions .github/workflows/ci.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Snapshot

on:
pull_request:
branches: [main]

permissions: {}

jobs:
snapshot:
name: Snapshot
if: github.repository_owner == 'Effect-Ts'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/setup
- name: Build package
run: pnpm build
- name: Create snapshot
id: snapshot
run: pnpx [email protected] publish --pnpm --comment=off ./packages/*
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
.DS_Store
.direnv
build/
dist/
node_modules/
.direnv
scratchpad/*
!scratchpad/tsconfig.json
examples/*/pnpm-lock.yaml
*.tsbuildinfo
10 changes: 0 additions & 10 deletions .gitpod.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .vscode/operators.code-snippets

This file was deleted.

17 changes: 0 additions & 17 deletions cli/package.json

This file was deleted.

77 changes: 0 additions & 77 deletions cli/src/wttr.ts

This file was deleted.

10 changes: 0 additions & 10 deletions cli/tsconfig.json

This file was deleted.

Loading