Skip to content

Commit aa5bce3

Browse files
authored
Merge pull request #150 from Commencis/feature/initial-release
feat: initial release
2 parents 21b7c93 + 7f14f5a commit aa5bce3

File tree

15 files changed

+766
-17
lines changed

15 files changed

+766
-17
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/clear-jars-live.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@commencis/starter-nextjs': major
3+
---
4+
5+
initial release v1.0.0

.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": [
4+
"@svitejs/changesets-changelog-github-compact",
5+
{ "repo": "commencis/starter-nextjs" }
6+
],
7+
"commit": false,
8+
"access": "restricted",
9+
"baseBranch": "main",
10+
"updateInternalDependencies": "patch",
11+
"ignore": []
12+
}

.github/workflows/ci.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ jobs:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 10
1515

16-
env:
17-
NEXT_PUBLIC_APP_ENV: ${{ vars.NEXT_PUBLIC_APP_ENV }}
18-
NEXT_PUBLIC_BASE_API_URL: ${{ vars.NEXT_PUBLIC_BASE_API_URL }}
19-
2016
steps:
2117
- name: Checkout
2218
uses: actions/checkout@v6

.github/workflows/release.yaml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
release:
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 10
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v6
20+
21+
- name: Setup
22+
uses: commencis/js-toolkit/.github/actions/setup@main
23+
24+
- name: Lint
25+
run: pnpm run lint
26+
27+
- name: Test
28+
run: pnpm run test
29+
30+
- name: Build
31+
run: pnpm run build
32+
33+
- name: Create Release Pull Request
34+
uses: changesets/action@v1
35+
with:
36+
title: 'ci(release): create new release'
37+
commit: 'ci(release): create new release'
38+
version: pnpm run changeset:version
39+
publish: npx @changesets/cli tag
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@commencis/starter-nextjs",
3-
"version": "1.0.0",
3+
"version": "0.0.1",
44
"description": "Commencis Starter - NextJS",
55
"author": "Commencis WEB Team",
66
"license": "Apache-2.0",
@@ -29,6 +29,8 @@
2929
"svgr:icons": "svgr --config-file ./scripts/svg/icon.svgr.config.cjs src/assets/icons",
3030
"svgr:vectors": "svgr --config-file ./scripts/svg/vector.svgr.config.cjs src/assets/vectors",
3131
"ci:review": "pnpm run lint",
32+
"changeset": "changeset",
33+
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile",
3234
"prepare": "husky",
3335
"precommit": "lint-staged"
3436
},
@@ -39,6 +41,7 @@
3941
"react-dom": "19.2.4"
4042
},
4143
"devDependencies": {
44+
"@changesets/cli": "2.29.8",
4245
"@commencis/commitlint-config": "3.2.0",
4346
"@commencis/eslint-config": "3.4.0",
4447
"@commencis/lint-staged-config": "3.1.0",
@@ -48,6 +51,7 @@
4851
"@commitlint/cli": "20.4.1",
4952
"@next/bundle-analyzer": "16.1.6",
5053
"@svgr/cli": "8.1.0",
54+
"@svitejs/changesets-changelog-github-compact": "1.2.0",
5155
"@types/node": "24.10.12",
5256
"@types/react": "19.2.13",
5357
"@types/react-dom": "19.2.3",

0 commit comments

Comments
 (0)