Skip to content

Commit

Permalink
added initial packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-ebey committed May 14, 2022
1 parent e15cb44 commit 069c2d6
Show file tree
Hide file tree
Showing 48 changed files with 21,195 additions and 5,046 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: 🧪 CI
on: [push, pull_request]

jobs:
lint:
name: ⬣ ESLint
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/[email protected]

- name: ⬇️ Checkout repo
uses: actions/checkout@v3

- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
node-version: 16.7.0

- name: 📥 Download deps
uses: bahmutov/npm-install@v1

- name: 🔬 Lint
run: npm run lint

typecheck:
name: ʦ Typecheck
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/[email protected]

- name: ⬇️ Checkout repo
uses: actions/checkout@v3

- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
node-version: 16.7.0

- name: 📥 Download deps
uses: bahmutov/npm-install@v1

- name: 🔎 Type check
run: npm run typecheck
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 🕊 Deploy
on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
name: 🕊 Deploy
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3

- name: 📥 Install deps
uses: bahmutov/npm-install@v1

- name: 🚀 Publish
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
workingDirectory: "packages/web"
command: publish
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@ yarn-error.log*

# turbo
.turbo

# remix
.cache

# typescript
tsconfig.tsbuildinfo
18 changes: 18 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"*.ts": "${capture}.js",
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts",
"*.jsx": "${capture}.js",
"*.tsx": "${capture}.ts",
"tsconfig.json": "tsconfig.*.json",
"package.json": "package-lock.json, remix.config.js, tsconfig.json, .eslintrc.js, .gitignore, turbo.json, wrangler.toml, build.d.ts, tsconfig.tsbuildinfo"
},
"search.useGlobalIgnoreFiles": true,
"files.exclude": {
"**/.cache": true,
"**/.turbo": true,
"**/build": true,
"**/node_modules": true
}
}
30 changes: 0 additions & 30 deletions apps/docs/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions apps/docs/next-env.d.ts

This file was deleted.

5 changes: 0 additions & 5 deletions apps/docs/next.config.js

This file was deleted.

26 changes: 0 additions & 26 deletions apps/docs/package.json

This file was deleted.

10 changes: 0 additions & 10 deletions apps/docs/pages/index.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions apps/docs/tsconfig.json

This file was deleted.

30 changes: 0 additions & 30 deletions apps/web/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions apps/web/next-env.d.ts

This file was deleted.

5 changes: 0 additions & 5 deletions apps/web/next.config.js

This file was deleted.

26 changes: 0 additions & 26 deletions apps/web/package.json

This file was deleted.

10 changes: 0 additions & 10 deletions apps/web/pages/index.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions apps/web/tsconfig.json

This file was deleted.

3 changes: 3 additions & 0 deletions config/eslint-config-acme/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ["@remix-run/eslint-config", "prettier"],
};
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
"main": "index.js",
"license": "MIT",
"dependencies": {
"eslint-config-next": "^12.0.8",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "7.28.0"
"@remix-run/eslint-config": "^1.4.3",
"eslint-config-prettier": "^8.5.0"
},
"publishConfig": {
"access": "public"
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/tsconfig/base.json → config/tsconfig/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"inlineSources": false,
"isolatedModules": true,
"moduleResolution": "node",
"noUnusedLocals": false,
"noUnusedParameters": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"preserveWatchOutput": true,
"skipLibCheck": true,
"strict": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
"name": "tsconfig",
"version": "0.0.0",
"private": true,
"main": "index.js",
"files": [
"base.json",
"nextjs.json",
"react-library.json"
"remix.json"
]
}
Loading

0 comments on commit 069c2d6

Please sign in to comment.