-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(.gitignore): add .env * docs(changelog): Create changelog.md file * chore(cross-env): Install cross-env * feat(config.json): Enable customizing path * chore(branching): Create dev branch * chore(CI): Create CIs * chore(ci): test * chore(ci): test * chore(CI): Update package.json version * Update version to { 'react-component-files-generator': '1.0.8', npm: '9.3.1', node: '18.14.1', v8: '10.2.154.23-node.22', uv: '1.44.2', zlib: '1.2.13', brotli: '1.0.9', ares: '1.18.1', modules: '108', nghttp2: '1.51.0', napi: '8', llhttp: '6.0.10', uvwasi: '0.0.14', acorn: '8.8.1', simdutf: '3.1.0', undici: '5.19.1', openssl: '3.0.8+quic', cldr: '42.0', icu: '72.1', tz: '2022g', unicode: '15.0', ngtcp2: '0.8.1', nghttp3: '0.7.0' } * chore(CI): Update package.json version * chore(CI): Update version to { 'react-component-files-generator': '1.0.8', npm: '9.3.1', node: '18.14.1', v8: '10.2.154.23-node.22', uv: '1.44.2', zlib: '1.2.13', brotli: '1.0.9', ares: '1.18.1', modules: '108', nghttp2: '1.51.0', napi: '8', llhttp: '6.0.10', uvwasi: '0.0.14', acorn: '8.8.1', simdutf: '3.1.0', undici: '5.19.1', openssl: '3.0.8+quic', cldr: '42.0', icu: '72.1', tz: '2022g', unicode: '15.0', ngtcp2: '0.8.1', nghttp3: '0.7.0' } * chore(CI): Update package.json version * chore(CI): Update package.json version * chore(CI): Update package.json version * chore(CI): Update package.json version * chore(CI): Update package.json version * chore(ci): enhance package version update * chore(release): update package version [skip ci] * ci(github-workflows): Create ci that check that the changelog has been modified * docs(CHANGELOG): Update CHANGELOG.md * ci(github-workflows): Apply minor change * chore(release): update package version [skip ci] * ci(changelog-check): Change trigger condition * ci(workflows): change runner for ubuntu * docs(CHANGELOG): Update changelog * chore(release): update package version [skip ci] --------- Co-authored-by: GitHub Actions <[email protected]>
- Loading branch information
1 parent
431b80f
commit be8fbe8
Showing
16 changed files
with
400 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
NODE_ENV=development |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Changelog Check | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize] | ||
|
||
jobs: | ||
changelog_check: | ||
runs-on: ubuntu-latest | ||
name: 🩺 Check Changelog | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Check Changelog | ||
run: | | ||
git fetch | ||
echo "base ref is main checking changelog..." | ||
if [ -z "$(git diff --name-only origin/${{ github.base_ref }} | grep CHANGELOG.md)" ]; then | ||
echo "[FAIL] - Changelog has not been updated" | ||
exit 1 | ||
else | ||
echo "[SUCCESS] - Changelog has been updated" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Update package version | ||
|
||
on: | ||
pull_request: | ||
types: [closed] | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
update_version: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Update package version | ||
run: | | ||
if [[ ${{ github.ref }} == refs/heads/feat/* ]]; then | ||
npm version minor --no-git-tag-version | ||
else | ||
npm version patch --no-git-tag-version | ||
fi | ||
- name: Commit version update | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "amine-abdelli" | ||
git commit -am "chore(release): update package version [skip ci]" | ||
- name: Push changes | ||
uses: ad-m/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: ${{ github.ref }} | ||
force: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
/node_modules | ||
node_modules | ||
rcfg.config.json | ||
src | ||
dist | ||
yarn.lock | ||
.yarn-integrity | ||
.yarn-integrity | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# CHANGELOG | ||
|
||
## 1.1.3 - (03.03.2023) | ||
|
||
_Fix_ | ||
|
||
- Fix CHANGELOG check | ||
|
||
## 1.1.2 - (03.03.2023) | ||
|
||
_CI_ | ||
|
||
- Check that the CHANGELOG has been well updated | ||
|
||
## 1.1.1 - (03.03.2023) | ||
|
||
_CI_ | ||
|
||
- Update package version based on branch name | ||
|
||
## 1.1.0 - (07.02.2023) | ||
|
||
_Feat_ | ||
|
||
- Create customizable path in rcfg.config.json | ||
- Improve README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.