Skip to content

release next version #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Jan 28, 2022
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
2 changes: 1 addition & 1 deletion .github/workflows/github-action-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
node-version: 14
- name: Install Semantic Release Packages
run: npm i -g @stackr23/conventional-changelog-config semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/changelog @semantic-release/npm @semantic-release/git @semantic-release/github
run: npm i -g @stackr23/preset-conventional-changelog semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/changelog @semantic-release/npm @semantic-release/git @semantic-release/github
- name: Exec Semantic Release
run: npx semantic-release
env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/github-action-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test and Lint
name: Lint, Test and Build
on:
push:
branches:
Expand Down Expand Up @@ -27,3 +27,4 @@ jobs:
- run: npm ci
- run: npm run lint
- run: npm test
- run: npm run build
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
5 changes: 5 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
npm build
4 changes: 2 additions & 2 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[
"@semantic-release/commit-analyzer",
{
"config": "@stackr23/conventional-changelog-config",
"config": "@stackr23/preset-conventional-changelog",
"releaseRules": [
{
"type": "feat",
Expand Down Expand Up @@ -40,7 +40,7 @@
[
"@semantic-release/release-notes-generator",
{
"config": "@stackr23/conventional-changelog-config"
"config": "@stackr23/preset-conventional-changelog"
}
],
[
Expand Down
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
]
}
41 changes: 0 additions & 41 deletions .vscode/settings.json

This file was deleted.

11 changes: 2 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,12 @@

> generated with [@semantic-release/changelog](https://github.com/semantic-release/changelog)



## [1.0.1](https://github.com/stackr23/react-stack/compare/v1.0.0...v1.0.1) (2021-09-06)


### :wrench: Configs

* **gh-actions:** finish `semantic-release` workflow ([9c5e511](https://github.com/stackr23/react-stack/commit/9c5e511df123e5f9ad441c5bda35e2db2ac6f44b))


### :construction_worker: Continuous Integration

* **release:** install `@stackr23/conventional-changelog-config` ([5db2bbd](https://github.com/stackr23/react-stack/commit/5db2bbd064ffcc3ee2e60e1f775eacce67f9cd52))
- **gh-actions:** finish `semantic-release` workflow ([9c5e511](https://github.com/stackr23/react-stack/commit/9c5e511df123e5f9ad441c5bda35e2db2ac6f44b))
- **release:** install `@stackr23/conventional-changelog-config` ([5db2bbd](https://github.com/stackr23/react-stack/commit/5db2bbd064ffcc3ee2e60e1f775eacce67f9cd52))

# 1.0.0 (2021-09-06)

Expand Down
50 changes: 49 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,49 @@
# react-stack
# React Stack

![Lint, Test and Build](https://github.com/stackr23/react-stack/actions/workflows/github-action-test.yml/badge.svg)
[![Semantic Versioning](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-blue.svg)](https://github.com/semantic-release/semantic-release) <br />
<a href="https://standardjs.com"><img src="https://img.shields.io/badge/code_style-standard-brightgreen.svg" alt="Standard - JavaScript Style Guide"></a>
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
[![Conventional Commits](https://img.shields.io/badge/✔-Conventional%20Commits-blue.svg)](https://conventionalcommits.org)

> **perfect react stack to wrap your web app**
>
> see release notes at **[CHANGELOG](./CHANGELOG.md)**

## :sparkles: Features

<!--
TODO: MobX, GH pages, SSR, ...

:card_file_box: **[MobX v5.5](https://mobx.js.org/) - observable store injection**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;global stores based on observables

:zap: **[ExpressJS v4](http://expressjs.com/) - node-js server**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webpack-dev in dev, serverside rendering on prod
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**TBD -** /api and /test server
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**TBD -** prefetch component data

:rocket: **github pages deployment scripts**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;initiate and push git worktree from /build to gh-pages
--->

:package: **[Webpack v4](https://webpack.js.org/) - module bundler**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;HMR, lazy load, static build, code splitting
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_(migration to v5 in progress)_

:alembic: **[Babel v7](https://babeljs.io/docs/en/index.html) - ESNext support provider**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;async/await, static class properties, etc..

:atom_symbol: **[React v17](https://reactjs.org/) - view-controller library**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hooks and latest DOM features

:rotating_light: **[EsLint v7](https://eslint.org/) - code linting tool**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;beautyful and error proof code
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**with [@stackr23/config-eslint](https://github.com/stackr23/config-eslint)**

:white_check_mark: **[Karma](https://github.com/karma-runner/karma) with [Mocha](https://github.com/mochajs/mocha) and [Chai](https://www.chaijs.com/)**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unit tests and browser integration

:robot: **[Github Actions](https://github.com/features/actions)**
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for automated release process by
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**[Conventional Commits](https://conventionalcommits.org) and [semantic-release](https://github.com/semantic-release/semantic-release)**
19 changes: 19 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
modules: 'commonjs',
targets: { esmodules: true },
},
],
'@babel/preset-react',
'@babel/preset-typescript',
],
plugins: [
'@babel/plugin-transform-runtime',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-export-default-from',
'@babel/plugin-transform-react-constant-elements',
],
}
Loading