-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c16f135
Showing
7,795 changed files
with
569,844 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# simulate ci | ||
.DS_Store | ||
.git | ||
node_modules | ||
.yarn/install-state.gz | ||
|
||
./dist | ||
**/*/node_modules | ||
**/*/dist | ||
**/*/.turbo | ||
**/*/.tamagui | ||
|
||
# expo | ||
**/*/.expo | ||
**/*/ios |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
dist | ||
**/*/types | ||
**/*/bento-output |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint"], | ||
"rules": { | ||
"@typescript-eslint/consistent-type-imports": ["error", { | ||
"prefer": "type-imports", | ||
"fixStyle": "separate-type-imports", | ||
"disallowTypeAnnotations": false | ||
}] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
code/bento/src/** filter=crypt diff=crypt merge=crypt | ||
code/ooo/src/** filter=crypt diff=crypt merge=crypt | ||
code/ooo/app/** filter=crypt diff=crypt merge=crypt | ||
code/ooo/public/** filter=crypt diff=crypt merge=crypt | ||
code/takeout/app/** filter=crypt diff=crypt merge=crypt | ||
code/takeout/features/** filter=crypt diff=crypt merge=crypt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# These are supported funding model platforms | ||
|
||
github: natew |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Reproducible Bug Report | ||
description: Issues **will be closed without review** if reproduction steps are omitted. More context is helpful before submitting search github, discord, the docs and google. | ||
labels: [Bug] | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: Current Behavior | ||
description: Describe what's happening in 1-2 sentences. | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Expected Behavior | ||
description: A concise description of what you expected to happen. | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Tamagui Version | ||
render: markdown | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Platform (Web, iOS, Android) | ||
render: markdown | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Reproduction | ||
render: markdown | ||
description: | | ||
- If you don't include reproduction, we will close the issue. | ||
- The easiest way to reproduce is using the starter free repo: https://github.com/tamagui/starter-free | ||
- Clone that repo and push your reproduction as a new commit. | ||
- For simpler bugs you can fork [this CodeSandbox](https://codesandbox.io/p/sandbox/github/tamagui/starter-free) to reproduce the issue. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: System Info | ||
render: markdown | ||
description: | | ||
- Output of `npx envinfo --system --npmPackages --binaries --browsers` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: 'Install' | ||
description: 'Install and pre-build' | ||
inputs: | ||
transcrypt_password: | ||
description: 'Key to unlock repo' | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Setup Node.js 22.x | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 22.4 | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: install yarn | ||
shell: bash | ||
run: npm i yarn -g | ||
|
||
- name: Install Dependencies | ||
shell: bash | ||
run: yarn install | ||
env: | ||
# postinstall uses this | ||
TRANSCRYPT_PASSWORD: ${{ inputs.transcrypt_password }} | ||
SHOULD_UNLOCK_GIT_CRYPT: "1" | ||
|
||
- name: Build JS | ||
shell: bash | ||
run: yarn build:js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# name: Changelog | ||
|
||
# on: | ||
# push: | ||
# tags: | ||
# - "canary*" | ||
|
||
# jobs: | ||
# tagged-release: | ||
# name: Changelog | ||
# runs-on: ubuntu-latest | ||
# # needs: release | ||
|
||
# steps: | ||
# - uses: marvinpinto/action-automatic-releases@latest | ||
# with: | ||
# repo_token: "${{ github.token }}" | ||
# automatic_release_tag: "canary" | ||
# prerelease: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Changelog | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
jobs: | ||
tagged-release: | ||
name: Changelog | ||
runs-on: ubuntu-latest | ||
# needs: release | ||
|
||
steps: | ||
- uses: marvinpinto/action-automatic-releases@latest | ||
with: | ||
repo_token: "${{ github.token }}" | ||
prerelease: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Checks | ||
|
||
on: | ||
pull_request: | ||
push: | ||
paths-ignore: | ||
- "assets/**" | ||
- ".vscode/**" | ||
branches: | ||
- master | ||
|
||
jobs: | ||
checks: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install | ||
uses: ./.github/actions/install | ||
with: | ||
transcrypt_password: ${{ secrets.transcrypt_password }} | ||
|
||
- name: Check | ||
run: yarn check | ||
|
||
- name: Lint | ||
run: yarn lint | ||
|
||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install | ||
uses: ./.github/actions/install | ||
with: | ||
transcrypt_password: ${{ secrets.transcrypt_password }} | ||
|
||
- name: Install playwright | ||
run: npx playwright install | ||
|
||
- name: Install Vercel CLI | ||
run: npm install --global vercel@latest | ||
|
||
- name: Link Vercel Project | ||
run: cd code/tamagui.dev && vercel link --project site --scope=tamagui --yes --token=${{ secrets.VERCEL_TOKEN }} | ||
|
||
- name: Pull Vercel Environment Information | ||
run: cd code/tamagui.dev && vercel env pull .env --scope=tamagui --yes --token=${{ secrets.VERCEL_TOKEN }} | ||
|
||
- uses: nick-fields/retry@v2 | ||
with: | ||
timeout_minutes: 15 | ||
max_attempts: 2 | ||
command: "yarn test:ci" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Release | ||
|
||
# testing on a branch for now | ||
|
||
on: | ||
push: | ||
branches: | ||
- test-release | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PAT }} | ||
|
||
- name: Install | ||
uses: ./.github/actions/install | ||
with: | ||
transcrypt_password: ${{ secrets.transcrypt_password }} | ||
|
||
- name: Install playwright | ||
run: npx playwright install | ||
|
||
- name: Test | ||
run: yarn test | ||
|
||
- name: Publish | ||
# just testing for now so --skip-publish | ||
run: yarn release:beta:dirty --ci --tamagui-git-user --skip-publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
tagged-release: | ||
name: Tagged Release | ||
runs-on: ubuntu-latest | ||
# needs: release | ||
|
||
steps: | ||
- uses: marvinpinto/action-automatic-releases@latest | ||
with: | ||
repo_token: "${{ github.token }}" | ||
prerelease: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Deploy Migrations to Production | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-22.04 | ||
|
||
env: | ||
SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }} | ||
SUPABASE_DB_PASSWORD: ${{ secrets.PRODUCTION_DB_PASSWORD }} | ||
PRODUCTION_PROJECT_ID: akrzjiwwabjhzbvvnypu | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: supabase/setup-cli@v1 | ||
|
||
- run: | | ||
cd code/tamagui.dev | ||
supabase link --project-ref $PRODUCTION_PROJECT_ID | ||
supabase db push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Bento | ||
|
||
on: | ||
push: | ||
paths: | ||
- "code/bento/**" | ||
- "code/tamagui.dev/scripts/build-bento.js" | ||
- "code/tamagui.dev/scripts/upload-bento.js" | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build-and-upload: | ||
name: Build & Upload | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install | ||
uses: ./.github/actions/install | ||
with: | ||
transcrypt_password: ${{ secrets.transcrypt_password }} | ||
|
||
- name: Install Vercel CLI | ||
run: npm install --global vercel@latest | ||
|
||
- name: Link Vercel Project | ||
run: cd code/tamagui.dev && vercel link --project site --scope=tamagui --yes --token=${{ secrets.VERCEL_TOKEN }} | ||
|
||
- name: Pull Vercel Environment Information | ||
run: cd code/tamagui.dev && vercel env pull .env.local --environment production --scope=tamagui --yes --token=${{ secrets.VERCEL_TOKEN }} | ||
|
||
- name: Build Bento Components | ||
run: cd code/tamagui.dev && yarn build:bento | ||
|
||
- name: Upload To Supabase | ||
run: cd code/tamagui.dev && yarn upload:bento |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# keep types in repo to track them | ||
# **/types/**/*.d.ts | ||
# but map can be ignored and just published on npm | ||
**/types/**/*.d.ts.map | ||
|
||
.yarn/* | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
|
||
.turbo | ||
|
||
.ultra.cache.json | ||
tmp | ||
*.tsbuildinfo | ||
*.tmp.js | ||
yarn-error.log | ||
dist | ||
tsconfig.tsbuildinfo | ||
node_modules | ||
**/_ | ||
**/tests/spec/out | ||
.DS_Store | ||
|
||
.next | ||
|
||
.vercel | ||
|
||
code/kitchen-sink/ios | ||
|
||
.tamagui | ||
|
||
.idea | ||
|
||
.env | ||
.env.local | ||
.env.development.local | ||
.env.test.localp | ||
.env.production.local | ||
|
||
code/kitchen-sink/ios | ||
code/kitchen-sink/android | ||
|
||
code/studio/types/** | ||
|
||
.expo | ||
.vite-inspect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
22.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"recommendations": ["biomejs.biome"], | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"type": "chrome", | ||
"name": "Studio", | ||
"request": "launch", | ||
"url": "http://localhost:1421/" | ||
} | ||
] | ||
} |
Oops, something went wrong.