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

chore(deps): bump send and serve-static #379

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
1 change: 0 additions & 1 deletion .dockerignore

This file was deleted.

32 changes: 32 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
GH_ORG=cyprus-developer-community
GH_GRAPHQL_URL=https://api.github.com/graphql

# Development Variables
#
# https://github.com/settings/tokens?type=beta
# Create a fine-grained token with the following permissions:
# Resource owner: cyprus-developer-community
# Repository Access: Public Repositories (read only)
# Organization permissions: Members (read only)
GH_PAT=


# Production Variables
#
# Go to Settings -> Developer Settings -> GitHub Apps and create a new GitHub App
# https://github.com/organizations/<your-org>/settings/apps/new
# Set up the permissions and install the application in your organization. The installation ID
# can be found in the URL of the installation page:
# ie: https://github.com/organizations/<your-org>/settings/installations/123456789
# Create a private key and store it on a secure location.
#
# Permissions:
# Repository permissions
## Issues: Read & Write
## Pull Requests: Read & Write
# Organization permissions
## Members: Read & Write

GH_APP_ID=
GH_APP_INSTALLATION_ID=
GH_PRIVATE_KEY=
14 changes: 0 additions & 14 deletions .eslintrc.js

This file was deleted.

20 changes: 20 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:solid/recommended",
"plugin:markdown/recommended"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["solid"]
}
15 changes: 4 additions & 11 deletions .github/workflows/codequality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,25 @@ on:
type: string
required: false
default: lts/hydrogen
pnpm-version:
type: string
required: false
default: 7.x

jobs:
codequality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
with:
version: '${{ inputs.pnpm-version }}'
- uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: 'pnpm'
cache: 'npm'

- name: Install Node Modules
run: pnpm i
run: npm ci

- name: Prettier
run: pnpm prettier:check
run: npm run pretty

- name: Lint
run: pnpm lint:check
run: npm run lint

# - name: Type check
# run: pnpm typecheck
24 changes: 24 additions & 0 deletions .github/workflows/compress-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# https://github.com/marketplace/actions/image-actions

name: Compress Images
on:
pull_request:
paths:
- public/photos/**.jpg
- public/photos/**.jpeg
- public/photos/**.png
- public/photos/**.webp
jobs:
build:
# Only run on Pull Requests within the same repository, and not from forks.
if: github.event.pull_request.head.repo.full_name == github.repository
name: calibreapp/image-actions
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Compress Images
uses: calibreapp/image-actions@main
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion .github/workflows/e2e-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ jobs:
uses: ./.github/workflows/e2e.yml
with:
node-version: lts/hydrogen
pnpm-version: 7.x
12 changes: 3 additions & 9 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
node-version:
type: string
required: true
pnpm-version:
type: string
required: true

jobs:
e2e:
Expand All @@ -18,22 +15,19 @@ jobs:
CI: true
steps:
- uses: actions/checkout@v4
- uses: pnpm/[email protected]
with:
version: ${{ inputs.pnpm-version }}
- uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
cache: 'pnpm'
cache: 'npm'

- name: Install Node Modules
run: pnpm i
run: npm ci

- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: End To End
run: pnpm test:e2e
run: npm run test:e2e

- uses: actions/upload-artifact@v3
if: always()
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ jobs:
uses: ./.github/workflows/e2e.yml
with:
node-version: lts/hydrogen
pnpm-version: 7.x
11 changes: 2 additions & 9 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
type: string
required: false
default: lts/hydrogen
pnpm-version:
type: string
required: false
default: 7.x
jobs:
unit:
runs-on: ubuntu-20.04
Expand All @@ -19,12 +15,9 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '${{ inputs.node-version }}'
- uses: pnpm/[email protected]
with:
version: '${{ inputs.pnpm-version }}'

- name: Install Node Modules
run: pnpm i
run: npm ci

- name: Unit Tests
run: npm run test:unit
run: npm run test
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ node_modules
/functions/\[\[path\]\].js
/public/build
.env
.env.*
keyfile.pem
build
.pnpm-debug.log
Expand All @@ -13,4 +12,8 @@ build
/test-results/
/playwright-report/
/playwright/.cache/
/e2e-report/
/e2e-report/
.solid
dist
.output
.vinxi
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
strict-peer-dependencies=false
auto-install-peers=false
legacy-peer-deps=true
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

3 changes: 0 additions & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
build/
node_modules/
app/styles/uno.css
.pnpm-store
pnpm-lock.yaml
playwright-report
39 changes: 0 additions & 39 deletions Dockerfile

This file was deleted.

31 changes: 31 additions & 0 deletions app.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import { defineConfig } from '@solidjs/start/config'
import tailwindcss from 'tailwindcss'
import { config } from 'vinxi/plugins/config'

export default defineConfig({
appRoot: 'src',
islands: false,
server: {
preset: 'cloudflare_module',
rollupConfig: {
external: ['__STATIC_CONTENT_MANIFEST', 'node:async_hooks']
}
// prerender: {
// routes: ['/']
// }
},
vite: {
optimizeDeps: {
entries: []
},
plugins: [
config('tailwind', {
css: {
postcss: {
plugins: [tailwindcss]
}
}
})
]
}
})
10 changes: 0 additions & 10 deletions app/entry.client.tsx

This file was deleted.

48 changes: 0 additions & 48 deletions app/entry.server.tsx

This file was deleted.

17 changes: 0 additions & 17 deletions app/features/components/Avatar/Avatar/index.tsx

This file was deleted.

Loading
Loading