Skip to content

Commit

Permalink
Re-design examples repository for Effect (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
IMax153 authored Sep 6, 2024
1 parent 27cb78e commit 922b4f2
Show file tree
Hide file tree
Showing 238 changed files with 8,600 additions and 10,099 deletions.
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

0 comments on commit 922b4f2

Please sign in to comment.