Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
5 changes: 5 additions & 0 deletions .changeset/clear-jars-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commencis/starter-nextjs': major
---

initial release v1.0.0
12 changes: 12 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.3/schema.json",
"changelog": [
"@svitejs/changesets-changelog-github-compact",
{ "repo": "commencis/starter-nextjs" }
],
"commit": false,
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
4 changes: 0 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10

env:
NEXT_PUBLIC_APP_ENV: ${{ vars.NEXT_PUBLIC_APP_ENV }}
NEXT_PUBLIC_BASE_API_URL: ${{ vars.NEXT_PUBLIC_BASE_API_URL }}

steps:
- name: Checkout
uses: actions/checkout@v6
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release

on:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
release:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Checkout
uses: actions/checkout@v6

- name: Setup
uses: commencis/js-toolkit/.github/actions/setup@main

- name: Lint
run: pnpm run lint

- name: Test
run: pnpm run test

- name: Build
run: pnpm run build

- name: Create Release Pull Request
uses: changesets/action@v1
with:
title: 'ci(release): create new release'
commit: 'ci(release): create new release'
version: pnpm run changeset:version
publish: npx @changesets/cli tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@commencis/starter-nextjs",
"version": "1.0.0",
"version": "0.0.1",
"description": "Commencis Starter - NextJS",
"author": "Commencis WEB Team",
"license": "Apache-2.0",
Expand Down Expand Up @@ -29,6 +29,8 @@
"svgr:icons": "svgr --config-file ./scripts/svg/icon.svgr.config.cjs src/assets/icons",
"svgr:vectors": "svgr --config-file ./scripts/svg/vector.svgr.config.cjs src/assets/vectors",
"ci:review": "pnpm run lint",
"changeset": "changeset",
"changeset:version": "changeset version && pnpm install --no-frozen-lockfile",
"prepare": "husky",
"precommit": "lint-staged"
},
Expand All @@ -39,6 +41,7 @@
"react-dom": "19.2.4"
},
"devDependencies": {
"@changesets/cli": "2.29.8",
"@commencis/commitlint-config": "3.2.0",
"@commencis/eslint-config": "3.4.0",
"@commencis/lint-staged-config": "3.1.0",
Expand All @@ -48,6 +51,7 @@
"@commitlint/cli": "20.4.1",
"@next/bundle-analyzer": "16.1.6",
"@svgr/cli": "8.1.0",
"@svitejs/changesets-changelog-github-compact": "1.2.0",
"@types/node": "24.10.12",
"@types/react": "19.2.13",
"@types/react-dom": "19.2.3",
Expand Down
Loading