Skip to content

Commit fd7ca43

Browse files
committed
initialize
0 parents  commit fd7ca43

51 files changed

Lines changed: 8062 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@2.0.0/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"baseBranch": "main",
5+
"commit": false,
6+
"fixed": [],
7+
"linked": [],
8+
"access": "public",
9+
"updateInternalDependencies": "patch",
10+
"ignore": ["@forge/docs"]
11+
}

.github/workflows/release.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
concurrency: ${{ github.workflow }}-${{ github.ref }}
9+
10+
jobs:
11+
release:
12+
name: Release
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout Repo
16+
uses: actions/checkout@v4
17+
18+
- name: Setup pnpm 8
19+
uses: pnpm/action-setup@v3
20+
with:
21+
version: 8
22+
23+
- name: Setup Node.js 20.x
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: 20.x
27+
28+
- name: Install Dependencies
29+
run: pnpm i
30+
31+
- name: Create Release Pull Request or Publish to npm
32+
id: changesets
33+
uses: changesets/action@v1
34+
with:
35+
# This expects you to have a script called release which does a build for your packages and calls changeset publish
36+
publish: pnpm release
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
40+
41+
- name: Send a Slack notification if a publish happens
42+
if: steps.changesets.outputs.published == 'true'
43+
# You can do something when a publish happens.
44+
run: my-slack-bot send-notification --message "A new version of ${GITHUB_REPOSITORY} was published!"

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.DS_Store
2+
node_modules
3+
.turbo
4+
*.log
5+
.next
6+
dist
7+
dist-ssr
8+
*.local
9+
.env
10+
.cache
11+
server/dist
12+
public/dist
13+
.turbo

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
auto-install-peers = true

.vscode/extensions.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"recommendations": [
3+
// Tailwind CSS - Intellisense
4+
"bradlc.vscode-tailwindcss",
5+
6+
// Biome - Code Linting + Formatting
7+
"biomejs.biome",
8+
9+
// Astro - Syntax Highlighting
10+
"astro-build.astro-vscode",
11+
12+
13+
// MDX - JSX in markdown
14+
"unifiedjs.vscode-mdx"
15+
],
16+
"unwantedRecommendations": []
17+
}

.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"command": "./apps/docs/node_modules/.bin/astro dev",
6+
"name": "Development server",
7+
"request": "launch",
8+
"type": "node-terminal"
9+
}
10+
]
11+
}

.vscode/settings.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
// Triggers biome formatting on save.
3+
"[json][typescript][javascript][tsx][html][css][postcss][sql]": {
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll.ts": "explicit",
6+
"source.organizeImports": "explicit"
7+
},
8+
"editor.defaultFormatter": "biomejs.biome"
9+
},
10+
11+
// Enables tailwind intellisense in typescript
12+
"tailwindCSS.experimental.classRegex": [
13+
"class:\\s*?[\"'`]([^\"'`]*).*?,",
14+
"className:\\s*?[\"'`]([^\"'`]*).*?,",
15+
"([\"'`][^\"'`]*.*?[\"'`])",
16+
"[\"'`]([^\"'`]*).*?[\"'`]"
17+
],
18+
"tailwindCSS.experimental.configFile": "packages/ui/src/styles/globals.css",
19+
"files.associations": {
20+
"*.css": "tailwindcss",
21+
"CONTRIBUTING": "md"
22+
},
23+
"editor.quickSuggestions": {
24+
"strings": "on"
25+
},
26+
27+
// Excludes generated files in explorer
28+
"files.watcherExclude": {
29+
"**/node_modules": true
30+
}
31+
}

CODE_OF_CONDUCT.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# DH Forge Community Code of Conduct
2+
3+
## Our Pledge
4+
5+
We, as members, contributors, and leaders of the DH Forge community, pledge to make participation in our project and community a harassment-free, inclusive, and positive experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
We aim to foster an environment built on **Kindness**, a commitment to **Assuming Good Intent**, and a spirit of **Collaboration**. We believe these values honor the shared storytelling and inclusive experiences that **Daggerheart™** itself represents, and we strive to uphold them in all our interactions.
8+
9+
## Our Standards
10+
11+
Examples of behavior that contributes to a positive environment include:
12+
13+
- Demonstrating empathy and **kindness** toward other people.
14+
- Being respectful of differing opinions, viewpoints, and experiences.
15+
- Giving and gracefully accepting **constructive** feedback.
16+
- **Assuming good intent** in others' actions and words, while being open to clarification.
17+
- Focusing on what is best for the overall community and the DHFS project.
18+
- Showing appreciation for the voluntary efforts of others – **nobody is paid to be here, so please be appreciative of the community support you receive.**
19+
- Helping others learn – **when looking for support, share your context and learnings so others can learn from your experience.**
20+
- Using welcoming and **inclusive** language.
21+
22+
Examples of unacceptable behavior include:
23+
24+
- The use of sexualized language or imagery, and sexual attention or advances of any kind.
25+
- Trolling, insulting or derogatory comments, and personal or political attacks.
26+
- Public or private harassment. This includes, but is not limited to, unwelcome comments or actions related to a person’s identity or beliefs.
27+
- Publishing others' private information, such as a physical or email address, without their explicit permission ("doxing").
28+
- Other conduct which could reasonably be considered inappropriate in a professional or community setting.
29+
30+
**A Note on Harassment & Inclusivity:** DH Forge is committed to being a safe space. We take harassment and exclusionary behaviour seriously. Unacceptable behaviour, particularly harassment targeting community members, will not be tolerated, **even if it occurs on third-party platforms outside of official DH Forge spaces**, if it impacts a participant's ability to engage safely and productively with the DH Forge community.
31+
32+
## Scope
33+
34+
This Code of Conduct applies within all official DH Forge project spaces, which currently include:
35+
36+
- The [DHForge GitHub Organization](https://www.google.com/search?q=https://github.com/DH-Forge) (including Issues, Pull Requests, and Discussions).
37+
- Any official DH Forge communication platforms (such as a future Discord server).
38+
39+
It also applies when an individual is representing the DH Forge community in public spaces.
40+
41+
## Reporting Violations
42+
43+
If you witness or experience unacceptable behavior, or have any other concerns, please report it by contacting **Ollie at ollie@dhfs.dev**.
44+
45+
All complaints will be reviewed and investigated promptly and fairly. We are committed to maintaining the confidentiality of the reporter where possible, though full anonymity cannot always be guaranteed, especially if direct action involving the reporter is necessary.
46+
47+
Your report should ideally include:
48+
49+
- Your contact information (and your GitHub profile if relevant).
50+
- The name/handle(s) of the individual(s) involved.
51+
- A description of the incident.
52+
- A link to the specific comment/conversation/log, or a screenshot if possible.
53+
- The approximate time and date.
54+
- Any other context or witnesses.
55+
- Please state if you wish for your report to remain anonymous, and we will do our best to honor that request within the bounds of a fair investigation.
56+
57+
## Enforcement
58+
59+
Project maintainers (initially the BDFL, Ollie, until a governing body is formed) are responsible for clarifying and enforcing our standards and will take appropriate and fair corrective action in response to any behavior they deem inappropriate, threatening, offensive, or harmful.
60+
61+
Enforcement actions may include, but are not limited to:
62+
63+
- A private warning.
64+
- Deletion or moderation of comments or other contributions.
65+
- A temporary ban from one or all DH Forge community spaces.
66+
- A permanent ban from one or all DH Forge community spaces.
67+
68+
We understand that DH Forge is a volunteer-run project with limited facilities. While our priority is to maintain a safe space for all participants, we will address issues to the best of our abilities within these constraints. We strive for fairness but may not always be able to provide solutions that satisfy everyone.
69+
70+
## Attribution
71+
72+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1, available at [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html](https://www.contributor-covenant.org/version/2/1/code_of_conduct.html).

0 commit comments

Comments
 (0)