Skip to content

Commit 9ee59b1

Browse files
committed
chore: configure changeset
1 parent 1f5260a commit 9ee59b1

File tree

9 files changed

+584
-13
lines changed

9 files changed

+584
-13
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: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@3.0.3/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "restricted",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": [],
11+
"privatePackages": { "version": true, "tag": true }
12+
}

.devcontainer/Dockerfile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
FROM mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm
1+
FROM mcr.microsoft.com/devcontainers/typescript-node:1-20-bookworm
22

3-
# [Optional] Uncomment this section to install additional OS packages.
4-
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
5-
# && apt-get -y install --no-install-recommends <your-package-list-here>
6-
7-
# [Optional] Uncomment if you want to install an additional version of node using nvm
8-
# ARG EXTRA_NODE_VERSION=10
9-
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"
10-
11-
RUN su node -c "npm install -g @nestjs/cli"
3+
RUN su node -c "npm install -g pnpm@9.10.0"
File renamed without changes.

.github/workflows/ci-checks.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Checks
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
types:
9+
- opened
10+
- reopened
11+
- synchronize
12+
branches:
13+
- main
14+
15+
jobs:
16+
version:
17+
name: Checks
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
23+
- name: Setup pnpm
24+
uses: pnpm/action-setup@v3
25+
26+
- name: Setup Node
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: 20
30+
registry-url: https://registry.npmjs.org
31+
cache: pnpm
32+
33+
- name: Install dependencies
34+
run: pnpm install
35+
36+
# - name: Lint
37+
# run: pnpm lint
38+
#
39+
# - name: Test
40+
# run: pnpm test
41+
#
42+
# - name: Build
43+
# run: pnpm build

.github/workflows/ci-version.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Version
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
version:
10+
name: Version
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Setup pnpm
17+
uses: pnpm/action-setup@v3
18+
19+
- name: Setup Node
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: 20
23+
registry-url: https://registry.npmjs.org
24+
cache: pnpm
25+
26+
- name: Install dependencies
27+
run: pnpm install
28+
29+
- name: Create Release Pull Request
30+
uses: changesets/action@v1
31+
id: changesets
32+
with:
33+
commit: "chore: publish new release"
34+
title: "chore: publish new release"
35+
env:
36+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

apps/backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "backend",
3-
"version": "0.0.1",
3+
"version": "0.0.0",
44
"description": "",
55
"author": "",
66
"private": true,

package.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,22 @@
55
"scripts": {
66
"build": "pnpm exec nx run-many --nx-bail --target=build --parallel --output-style stream",
77
"clean": "git clean -fdx",
8-
"dev": "pnpm exec nx run-many --nx-bail --target=dev --parallel --output-style stream"
8+
"dev": "pnpm exec nx run-many --nx-bail --target=dev --parallel --output-style stream",
9+
"changeset": "changeset",
10+
"version": "changeset version",
11+
"release": "changeset publish",
12+
"tag": "changeset tag"
913
},
1014
"keywords": [],
1115
"author": "openscript GmbH",
1216
"license": "MIT",
1317
"devDependencies": {
18+
"@changesets/cli": "^2.27.8",
19+
"@nestjs/cli": "^10.0.0",
1420
"nx": "19.7.3"
15-
}
21+
},
22+
"engines": {
23+
"node": ">=20.0.0"
24+
},
25+
"packageManager": "pnpm@9.10.0"
1626
}

0 commit comments

Comments
 (0)