Skip to content

Commit f010c6c

Browse files
committed
feat: add initial commit
0 parents  commit f010c6c

Some content is hidden

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

73 files changed

+14396
-0
lines changed

.editorconfig

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
13+
# TypeScript and JavaScript files
14+
[*.{ts,tsx,js,jsx,mjs,cjs}]
15+
indent_style = space
16+
indent_size = 2
17+
18+
# JSON files
19+
[*.{json,jsonc}]
20+
indent_style = space
21+
indent_size = 2
22+
23+
# YAML files
24+
[*.{yml,yaml}]
25+
indent_style = space
26+
indent_size = 2
27+
28+
# Markdown files
29+
[*.md]
30+
trim_trailing_whitespace = false
31+
32+
# Package files
33+
[{package.json,tsconfig.json,biome.json}]
34+
indent_style = space
35+
indent_size = 2

.envrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dotenv .env
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: '[BUG] '
5+
labels: 'bug'
6+
assignees: ''
7+
---
8+
9+
## Bug Description
10+
11+
<!-- A clear and concise description of what the bug is -->
12+
13+
## To Reproduce
14+
15+
Steps to reproduce the behavior:
16+
17+
1. Initialize client with '...'
18+
2. Call method '...'
19+
3. See error
20+
21+
## Expected Behavior
22+
23+
<!-- A clear and concise description of what you expected to happen -->
24+
25+
## Actual Behavior
26+
27+
<!-- What actually happened -->
28+
29+
## Code Example
30+
31+
```typescript
32+
// Minimal code example that reproduces the issue
33+
```
34+
35+
## Environment
36+
37+
- **proxycheck-sdk version**:
38+
- **Node.js version**:
39+
- **Operating System**:
40+
- **TypeScript version** (if applicable):
41+
42+
## Error Messages/Stack Trace
43+
44+
```
45+
// Paste any error messages or stack traces here
46+
```
47+
48+
## Additional Context
49+
50+
<!-- Add any other context about the problem here -->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Questions & Discussions
4+
url: https://github.com/johanviberg/proxycheck-sdk/discussions
5+
about: Please ask and answer questions here
6+
- name: ProxyCheck.io Support
7+
url: https://proxycheck.io/contact
8+
about: For issues with the ProxyCheck.io API itself
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: '[FEATURE] '
5+
labels: 'enhancement'
6+
assignees: ''
7+
---
8+
9+
## Is your feature request related to a problem?
10+
11+
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
12+
13+
## Describe the solution you'd like
14+
15+
<!-- A clear and concise description of what you want to happen -->
16+
17+
## Describe alternatives you've considered
18+
19+
<!-- A clear and concise description of any alternative solutions or features you've considered -->
20+
21+
## Example Usage
22+
23+
```typescript
24+
// Show how the feature would be used
25+
```
26+
27+
## Additional Context
28+
29+
<!-- Add any other context or screenshots about the feature request here -->

.github/actions/setup/action.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: 'Setup Environment'
2+
description: 'Setup Node.js, pnpm, and install dependencies'
3+
4+
inputs:
5+
node-version:
6+
description: 'Node.js version to use'
7+
required: true
8+
default: '20'
9+
10+
runs:
11+
using: 'composite'
12+
steps:
13+
- name: Setup pnpm
14+
uses: pnpm/action-setup@v4
15+
with:
16+
version: 10.12.4
17+
run_install: false
18+
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: ${{ inputs.node-version }}
23+
cache: 'pnpm'
24+
registry-url: 'https://registry.npmjs.org'
25+
26+
- name: Get pnpm store directory
27+
shell: bash
28+
run: |
29+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
30+
31+
- name: Setup pnpm cache
32+
uses: actions/cache@v4
33+
with:
34+
path: ${{ env.STORE_PATH }}
35+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
36+
restore-keys: |
37+
${{ runner.os }}-pnpm-store-
38+
39+
- name: Install dependencies
40+
shell: bash
41+
run: |
42+
if [ -f "pnpm-lock.yaml" ]; then
43+
pnpm install --frozen-lockfile
44+
else
45+
echo "pnpm-lock.yaml not found, installing without frozen lockfile"
46+
pnpm install
47+
fi

.github/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
day: "monday"
8+
time: "09:00"
9+
open-pull-requests-limit: 10
10+
groups:
11+
dev-dependencies:
12+
patterns:
13+
- "*"
14+
dependency-type: "development"
15+
production-dependencies:
16+
patterns:
17+
- "*"
18+
dependency-type: "production"
19+
commit-message:
20+
prefix: "chore"
21+
include: "scope"

.github/pull_request_template.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
## Description
2+
3+
<!-- Provide a brief description of the changes in this PR -->
4+
5+
## Type of Change
6+
7+
<!-- Mark the relevant option with an "x" -->
8+
9+
- [ ] Bug fix (non-breaking change which fixes an issue)
10+
- [ ] New feature (non-breaking change which adds functionality)
11+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
12+
- [ ] Documentation update
13+
- [ ] Performance improvement
14+
- [ ] Code refactoring
15+
16+
## Checklist
17+
18+
<!-- Mark completed items with an "x" -->
19+
20+
- [ ] My code follows the style guidelines of this project
21+
- [ ] I have performed a self-review of my own code
22+
- [ ] I have commented my code, particularly in hard-to-understand areas
23+
- [ ] I have made corresponding changes to the documentation
24+
- [ ] My changes generate no new warnings
25+
- [ ] I have added tests that prove my fix is effective or that my feature works
26+
- [ ] New and existing unit tests pass locally with my changes
27+
- [ ] Any dependent changes have been merged and published
28+
29+
## Testing
30+
31+
<!-- Describe the tests you ran to verify your changes -->
32+
33+
- [ ] Unit tests pass
34+
- [ ] Integration tests pass
35+
- [ ] Manual testing completed
36+
37+
## Screenshots (if applicable)
38+
39+
<!-- Add screenshots to help explain your changes -->
40+
41+
## Additional Notes
42+
43+
<!-- Add any additional notes or context about the PR -->

0 commit comments

Comments
 (0)