Skip to content

Commit 11922d2

Browse files
committed
improvement: updated contributing guide
1 parent a5abc82 commit 11922d2

3 files changed

Lines changed: 29 additions & 11 deletions

File tree

.github/CONTRIBUTING.md

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ Thank you for your interest in contributing to Sim Studio! Our goal is to provid
1414
- [Pull Request Process](#pull-request-process)
1515
- [Commit Message Guidelines](#commit-message-guidelines)
1616
- [Local Development Setup](#local-development-setup)
17-
- [License](#license)
1817
- [Adding New Blocks and Tools](#adding-new-blocks-and-tools)
1918
- [Local Storage Mode](#local-storage-mode)
2019
- [Standalone Build](#standalone-build)
20+
- [License](#license)
21+
- [Contributor License Agreement (CLA)](#contributor-license-agreement-cla)
2122

2223
---
2324

@@ -181,6 +182,7 @@ Dev Containers provide a consistent and easy-to-use development environment:
181182
- [Remote - Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) extension for VS Code
182183

183184
2. **Setup Steps:**
185+
184186
- Clone the repository:
185187
```bash
186188
git clone https://github.com/<your-username>/sim.git
@@ -244,11 +246,13 @@ If you prefer not to use Docker or Dev Containers:
244246
When working on email templates, you can preview them using a local email preview server:
245247
246248
1. **Run the Email Preview Server:**
249+
247250
```bash
248251
npm run email:dev
249252
```
250253
251254
2. **Access the Preview:**
255+
252256
- Open `http://localhost:3000` in your browser
253257
- You'll see a list of all email templates
254258
- Click on any template to view and test it with various parameters
@@ -259,12 +263,6 @@ When working on email templates, you can preview them using a local email previe
259263
260264
---
261265
262-
## License
263-
264-
This project is licensed under the Apache License 2.0. By contributing, you agree that your contributions will be licensed under the Apache License 2.0 as well.
265-
266-
---
267-
268266
## Adding New Blocks and Tools
269267
270268
Sim Studio is built in a modular fashion where blocks and tools extend the platform's functionality. To maintain consistency and quality, please follow the guidelines below when adding a new block or tool.
@@ -429,4 +427,26 @@ Happy coding!
429427
430428
---
431429
430+
## License
431+
432+
This project is licensed under the Apache License 2.0. By contributing, you agree that your contributions will be licensed under the Apache License 2.0 as well.
433+
434+
---
435+
436+
## Contributor License Agreement (CLA)
437+
438+
By contributing to this repository, you agree that your contributions are provided under the terms of the Apache License Version 2.0, as included in the LICENSE file of this repository.
439+
440+
In addition, by submitting your contributions, you grant Sim Studio, Inc. ("The Licensor") a perpetual, irrevocable, worldwide, royalty-free, sublicensable right and license to:
441+
442+
- Use, copy, modify, distribute, publicly display, publicly perform, and prepare derivative works of your contributions.
443+
- Incorporate your contributions into other works or products.
444+
- Re-license your contributions under a different license at any time in the future, at the Licensor's sole discretion.
445+
446+
You represent and warrant that you have the legal authority to grant these rights and that your contributions are original or you have sufficient rights to submit them under these terms.
447+
448+
If you do not agree with these terms, you must not contribute your work to this repository.
449+
450+
---
451+
432452
Thank you for taking the time to contribute to Sim Studio. We truly appreciate your efforts and look forward to collaborating with you!

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ Please describe the tests that you ran to verify your changes. Provide instructi
3030
- [ ] My changes generate no new warnings
3131
- [ ] Any dependent changes have been merged and published in downstream modules
3232
- [ ] I have updated version numbers as needed (if needed)
33+
- [ ] I confirm that I have read and agree to the terms outlined in the [Contributor License Agreement (CLA)](./CONTRIBUTING.md#contributor-license-agreement-cla)
3334

3435
## Security Considerations:
3536

3637
- [ ] My changes do not introduce any new security vulnerabilities
3738
- [ ] I have considered the security implications of my changes
3839

39-
4040
## Additional Information:
4141

42-
Any additional information, configuration or data that might be necessary to reproduce the issue or use the feature.
42+
Any additional information, configuration or data that might be necessary to reproduce the issue or use the feature.

sim/lib/auth.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ if (validStripeKey) {
2828
stripeClient = new Stripe(process.env.STRIPE_SECRET_KEY || '', {
2929
apiVersion: "2025-02-24.acacia",
3030
})
31-
} else {
32-
logger.warn('No valid Stripe secret key found.')
3331
}
3432

3533
// If there is no resend key, it might be a local dev environment

0 commit comments

Comments
 (0)