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

Initialize #4

Merged
merged 4 commits into from
Oct 28, 2024
Merged
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

14 changes: 0 additions & 14 deletions .eslintrc.cjs

This file was deleted.

46 changes: 0 additions & 46 deletions .github/ISSUE_TEMPLATE/bug_report.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/ISSUE_TEMPLATE/feature_request.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/ISSUE_TEMPLATE/other.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/deploy-preview.yml

This file was deleted.

64 changes: 0 additions & 64 deletions .github/workflows/deploy.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/stale.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .preview/config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { encode } from '@devprotocol/clubs-core'

export default () =>

Check warning on line 3 in .preview/config.ts

View workflow job for this annotation

GitHub Actions / build (20.x)

Functions must have at least one parameter

Check warning on line 3 in .preview/config.ts

View workflow job for this annotation

GitHub Actions / build (20.x)

Functions must have at least one parameter
encode({
name: 'Debug',
twitterHandle: '@debug',
description: '',
url: '',
propertyAddress: '',
chainId: 137,
rpcUrl: 'https://polygon-rpc.com/',
adminRolePoints: 50,
plugins: [
{
id: 'example-theme',
options: [],
},
{
id: 'devprotocol:clubs:plugin:clubs-payments',
options: [],
},
],
})
4 changes: 4 additions & 0 deletions .preview/plugins.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import theme from './theme'
import thisPlugin from '../src/index'

export default [theme, thisPlugin]
13 changes: 13 additions & 0 deletions .preview/preview.ssr/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { defineConfig } from 'astro/config'
import clubs from '@devprotocol/clubs-core'
import vue from '@astrojs/vue'
import svelte from '@astrojs/svelte'
import tailwind from '@astrojs/tailwind'
import { config } from 'dotenv'

config({ path: './.env' })

export default defineConfig({
output: 'server',
integrations: [clubs(), vue(), svelte(), tailwind()],
})
6 changes: 6 additions & 0 deletions .preview/preview.ssr/src/env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/// <reference types="astro/client" />

declare module '*.astro' {
import type { AstroComponentFactory } from 'astro/dist/runtime/server'
export default InstanceType<AstroComponentFactory>
}
Loading