-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove web app, replace monorepo with tamagui-expo starter (#28)
* readme link * Move tamagui/solito app into prev * readme * web * link PR * npx create-expo-app arc3 -t tamagui-expo-template --no-install * axe prev dir * axe WSL scripts, add devclient script * axe prev readme * android and ios * yarn * pkg json meta * bundle names * prettier autofix * nullchecks and thats pretty * configs * eas config * fix eas config * add android build script * before simplify further * upgrade tamagui * before byebye * removing expo-updates pain in the ass * try this pkg json * cleanup and reprettier * clean out a bunch * android build apk * build script * screen shh * fix matchMedia warning w createMedia * tsconfig strict * simple APK shh ok * simplify homescreen * copy stuff in and start chopping up * chatgpt you beautiful bastard * type fixes - axe db for now * axe old channelpreview * typefixes * channelpreview cleanup and install flashlist * add babel path imports thehheheheheh * add paths to tsconfig for typechecking * fix type errors * description * patch nostr shite cuz their type errors interfere with ours * simplify home screen * connect usenavigation * aaaaaaaaand expo random * isntaltlsaifnasdf * na trnaslucantst ioasdfj aosidfj abr abr * set up initial nostr subscriptions once on authednav * before refactor channelscreen * fix back and title of channel header * fix tab border * harmonize borders betw top and bottom * shh * fix useMessagesForChannel * reconnect useTheme * chat use nostr class to publish * and redir properly on createaccount * console cleanup shh * logofixes
- Loading branch information
1 parent
2a5021c
commit 7b3c4ba
Showing
161 changed files
with
3,018 additions
and
6,408 deletions.
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,46 @@ | ||
module.exports = { | ||
parser: '@typescript-eslint/parser', | ||
extends: [ | ||
'universe/native', | ||
'universe/shared/typescript-analysis', | ||
'prettier', | ||
], | ||
plugins: ['simple-import-sort'], | ||
rules: { | ||
// We will use TypeScript's types for component props instead | ||
'react/prop-types': 'off', | ||
|
||
// Why would you want unused vars? | ||
'@typescript-eslint/no-unused-vars': 'warn', | ||
|
||
// I suggest this setting for requiring return types on functions only where useful | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
|
||
// Includes .prettierrc.js rules | ||
'prettier/prettier': [ | ||
'error', | ||
{ | ||
endOfLine: 'auto', | ||
printWidth: 80, | ||
tabWidth: 2, | ||
singleQuote: true, | ||
bracketSameLine: false, | ||
trailingComma: 'es5', | ||
arrowParens: 'always', | ||
semi: false, | ||
fix: true, | ||
}, | ||
{ usePrettierrc: false }, | ||
], | ||
'simple-import-sort/exports': 'warn', | ||
'simple-import-sort/imports': 'warn', | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['*.ts', '*.tsx', '*.d.ts', '*.json'], | ||
parserOptions: { | ||
project: './tsconfig.json', | ||
}, | ||
}, | ||
], | ||
} |
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,32 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
|
||
jobs: | ||
release: | ||
name: Bump Version and Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup Repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16.x | ||
cache: yarn | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
|
||
- name: Semantic release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: npx semantic-release | ||
|
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
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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"semi": false, | ||
"endOfLine": "auto", | ||
"printWidth": 80, | ||
"tabWidth": 2, | ||
"singleQuote": true, | ||
"bracketSameLine": false, | ||
"trailingComma": "es5", | ||
"arrowParens": "always", | ||
"printWidth": 100 | ||
"semi": false | ||
} |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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,9 @@ | ||
/* eslint-disable */ | ||
//prettier-ignore | ||
module.exports = { | ||
name: "@yarnpkg/plugin-after-install", | ||
factory: function (require) { | ||
var plugin=(()=>{var g=Object.create,r=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var k=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var I=t=>r(t,"__esModule",{value:!0});var i=t=>{if(typeof require!="undefined")return require(t);throw new Error('Dynamic require of "'+t+'" is not supported')};var h=(t,o)=>{for(var e in o)r(t,e,{get:o[e],enumerable:!0})},w=(t,o,e)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of C(o))!y.call(t,n)&&n!=="default"&&r(t,n,{get:()=>o[n],enumerable:!(e=x(o,n))||e.enumerable});return t},a=t=>w(I(r(t!=null?g(k(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var j={};h(j,{default:()=>b});var c=a(i("@yarnpkg/core")),m={afterInstall:{description:"Hook that will always run after install",type:c.SettingsType.STRING,default:""}};var u=a(i("clipanion")),d=a(i("@yarnpkg/core"));var p=a(i("@yarnpkg/shell")),l=async(t,o)=>{var f;let e=t.get("afterInstall"),n=!!((f=t.projectCwd)==null?void 0:f.endsWith(`dlx-${process.pid}`));return e&&!n?(o&&console.log("Running `afterInstall` hook..."),(0,p.execute)(e,[],{cwd:t.projectCwd||void 0})):0};var s=class extends u.Command{async execute(){let o=await d.Configuration.find(this.context.cwd,this.context.plugins);return l(o,!1)}};s.paths=[["after-install"]];var P={configuration:m,commands:[s],hooks:{afterAllInstalled:async t=>{if(await l(t.configuration,!0))throw new Error("The `afterInstall` hook failed, see output above.")}}},b=P;return j;})(); | ||
return plugin; | ||
} | ||
}; |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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 @@ | ||
import { ConfigContext, ExpoConfig } from "@expo/config"; | ||
|
||
const IS_DEV = process.env.APP_VARIANT === "development"; | ||
const IS_BETA = process.env.APP_VARIANT === "beta"; | ||
|
||
export default ({ config }: ConfigContext): ExpoConfig => ({ | ||
...config, | ||
name: IS_DEV ? `[DEV] ${config.name ?? ""}` : config.name ?? "Arc", | ||
slug: config.slug ?? "arc", | ||
icon: IS_DEV | ||
? "./src/assets/icons/icon-dev.png" | ||
: IS_BETA | ||
? "./src/assets/icons/icon-beta.png" | ||
: "./src/assets/icons/icon.png", | ||
android: { | ||
...config.android, | ||
package: IS_DEV ? "arcade.labs.arc.devclient" : "arcade.labs.arc", | ||
}, | ||
}); |
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
Oops, something went wrong.