Skip to content

Commit e9e3788

Browse files
chore(twenty-website-redone): carry over README assets, .well-known, and an env template
Prep for deleting the legacy twenty-website package. Once twenty-website-redone takes over its public/ path, these files must already live here so nothing 404s or loses its template: - Copy the 37 root-README documentation assets (public/images/readme/) plus the README header logo (public/images/core/logo.svg). Files only — the root README's references are left untouched; they resolve automatically after the rename. check-conventions gains a labeled README-doc carve-out so its owned-glyph SVG audit no longer flags them. - Copy the three served verification files into public/.well-known/ (security.txt, openai-apps-challenge, microsoft-identity-association.json) and register .well-known in RESERVED_PREFIXES so the public-dir inventory guard passes; a rewrite test locks that .well-known paths — including the extensionless challenge file — pass through the locale rewrites untouched. - Add a tailored .env.example derived from the package's actual env reads, not a blind copy of the old file (drops the unused GITHUB_TOKEN, visual-runtime kill switches, and partner-intro cal link). A .gitignore negation tracks it.
1 parent 7afc991 commit e9e3788

46 files changed

Lines changed: 156 additions & 1 deletion

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Public site URL — canonical origin used by metadataBase, sitemap, robots,
2+
# OG/Twitter card URLs, Stripe checkout success URL, and the billing portal
3+
# return URL. No trailing slash. Defaults to https://twenty.com when unset.
4+
NEXT_PUBLIC_WEBSITE_URL=
5+
6+
# Partner application — the form POSTs to /api/partner-application, which
7+
# forwards the payload to this webhook with the secret as a bearer credential.
8+
PARTNER_APPLICATION_WEBHOOK_URL=
9+
PARTNER_APPLICATION_SECRET=
10+
11+
# Partners marketplace — the Twenty workspace the partner directory reads from
12+
# (server-side only) via the /s/partners REST endpoint.
13+
TWENTY_PARTNERS_API_URL=
14+
TWENTY_PARTNERS_API_KEY=
15+
16+
# Stripe — self-hosted enterprise checkout & subscription APIs.
17+
STRIPE_SECRET_KEY=
18+
STRIPE_ENTERPRISE_MONTHLY_PRICE_ID=
19+
STRIPE_ENTERPRISE_YEARLY_PRICE_ID=
20+
21+
# RS256 key pair used to sign and verify enterprise license JWTs
22+
# (use literal \n for newlines in the PEM values).
23+
ENTERPRISE_JWT_PRIVATE_KEY=
24+
ENTERPRISE_JWT_PUBLIC_KEY=
25+
26+
# Optional: enterprise validity token lifetime in days (default 30).
27+
# ENTERPRISE_VALIDITY_TOKEN_DURATION_DAYS=

packages/twenty-website-redone/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ yarn-debug.log*
77
yarn-error.log*
88
.env
99
.env*
10+
!.env.example
1011
*.tsbuildinfo
1112
next-env.d.ts
1213

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"associatedApplications": [
3+
{
4+
"applicationId": "7ad664fb-ab90-4fb1-bf20-bba9cba9fc69"
5+
},
6+
{
7+
"applicationId": "d4ca5765-1a9c-4b71-b97d-4d806814f8b7"
8+
},
9+
{
10+
"applicationId": "cf541b92-f5ae-4e2b-a54e-4796ec8394e1"
11+
}
12+
]
13+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6-1tez_gHTN3rqJBhwcxsc6k1BM8vwglvmV7ERKHrSk
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Contact: https://github.com/twentyhq/twenty/issues/new
2+
Contact: security@twenty.com
3+
Preferred-Languages: en
4+
Canonical: https://twenty.com/.well-known/security.txt
5+
Policy: https://github.com/twentyhq/twenty/security/policy
Lines changed: 12 additions & 0 deletions
Loading
Lines changed: 7 additions & 0 deletions
Loading
Lines changed: 5 additions & 0 deletions
Loading
5.28 KB
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)