Skip to content

Commit 77065cf

Browse files
Merge pull request #15 from journeyapps/chore/convert-repo
Chore/convert repo
2 parents 425e49d + e325727 commit 77065cf

39 files changed

+6680
-2090
lines changed

.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@3.1.1/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "restricted",
8+
"baseBranch": "master",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.changeset/whole-otters-taste.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
'@journeyapps/https-proxy-socket': major
3+
---
4+
5+
## 1.2.2
6+
### Major Changes
7+
- Removed support for mssql (tedious).
8+
- If you require this functionality please use [v0.2.2](https://www.npmjs.com/package/@journeyapps/https-proxy-socket/v/0.2.2) instead.
9+
- Support for MongoDB connection via https proxy added.
10+
- npx script added to retrieve replica members from a MongoDB connection string.
11+
12+
### Minor Changes
13+
- Updated dependencies.
14+
15+
### Patch Changes
16+
- Convert to Vitest for all tests
17+
- Refactoring and cleanup of codebase
18+
- Changesets added
19+
- GitHub workflows added for CI and publishing.
20+
- Switched repository to `pnpm` as package manager.
21+
- Package is published with support for esm and cjs

.circleci/config.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

.editorconfig

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/dev-package.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Dev Packages
2+
3+
on: workflow_dispatch
4+
env:
5+
SECRETS: ${{ toJSON(secrets) }}
6+
GITHUB_TOKEN: ${{ secrets.SHARED_GH_TOKEN }}
7+
8+
jobs:
9+
build:
10+
name: Create Development Packages
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
ref: ${{github.event.pull_request.head.sha}}
16+
fetch-depth: 0
17+
18+
- uses: actions/checkout@v4
19+
with:
20+
repository: journeyapps-platform/ci-actions
21+
token: ${{ secrets.SHARED_GH_TOKEN }}
22+
path: .github/ci
23+
ref: v1
24+
25+
- name: Setup NodeJS
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: 22.16
29+
30+
- uses: pnpm/action-setup@v4
31+
name: Install pnpm
32+
with:
33+
version: 10
34+
35+
36+
- name: Install Dependencies
37+
uses: ./.github/ci/actions/npm-install
38+
with:
39+
client: pnpm
40+
41+
- name: Has changesets
42+
uses: bluwy/detect-changesets-action@v1
43+
id: detect
44+
45+
- name: Build
46+
run: pnpm build
47+
48+
- name: Publish dev packages.
49+
if: ${{ success() }}
50+
uses: ./.github/ci/actions/pnpm-publish
51+
with:
52+
dev: true

.github/workflows/publish.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Build and Publish
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- "**"
7+
tags-ignore:
8+
- "**"
9+
10+
env:
11+
SECRETS: ${{ toJSON(secrets) }}
12+
GITHUB_TOKEN: ${{ secrets.SHARED_GH_TOKEN }}
13+
14+
jobs:
15+
build:
16+
name: Publish Packages
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
with:
21+
ref: ${{github.event.pull_request.head.sha}}
22+
fetch-depth: 0
23+
24+
- uses: actions/checkout@v4
25+
with:
26+
repository: journeyapps-platform/ci-actions
27+
token: ${{ secrets.SHARED_GH_TOKEN }}
28+
path: .github/ci
29+
ref: v1
30+
31+
- name: Setup NodeJS
32+
uses: actions/setup-node@v4
33+
with:
34+
node-version: 22.16
35+
36+
- uses: pnpm/action-setup@v4
37+
name: Install pnpm
38+
with:
39+
version: 10
40+
41+
- name: Install Dependencies
42+
uses: ./.github/ci/actions/npm-install
43+
with:
44+
client: pnpm
45+
46+
47+
- name: Has changesets
48+
uses: bluwy/detect-changesets-action@v1
49+
id: detect
50+
51+
- name: Build
52+
run: pnpm build
53+
54+
- name: Create Release Pull Request or Publish to npm
55+
if: ${{ github.ref == 'refs/heads/master' && steps.detect.outputs.has-changesets == 'true' }}
56+
id: changesets
57+
uses: changesets/action@v1.4.1
58+
with:
59+
version: pnpm ci:version
60+
commit: "chore: update versions"
61+
title: "[Chore] update versions"
62+
env:
63+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64+
65+
- name: Publish production packages.
66+
if: ${{ github.ref == 'refs/heads/master' && steps.detect.outputs.has-changesets == 'false' && success() }}
67+
run: |
68+
pnpm ci:publish

.github/workflows/test.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Build and Test
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
tags-ignore:
8+
- "**"
9+
10+
env:
11+
SECRETS: ${{ toJSON(secrets) }}
12+
13+
jobs:
14+
run-tests:
15+
name: Run Tests
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v4
20+
with:
21+
repository: journeyapps-platform/ci-actions
22+
token: ${{ secrets.SHARED_GH_TOKEN }}
23+
path: .github/ci
24+
ref: v1
25+
26+
- name: Setup NodeJS
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: 22.16
30+
31+
- uses: pnpm/action-setup@v4
32+
name: Install pnpm
33+
with:
34+
version: 10
35+
36+
- name: Install Dependencies
37+
uses: ./.github/ci/actions/npm-install
38+
with:
39+
client: pnpm
40+
41+
- name: Test
42+
run: pnpm test

.journey.conf.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v8.11.4
1+
v22.16.0

0 commit comments

Comments
 (0)