Skip to content

Commit d1526cb

Browse files
authored
Merge pull request #7 from stackr23/develop
release next version
2 parents bc072d0 + 2c4d0f2 commit d1526cb

19 files changed

+5430
-5230
lines changed

.github/workflows/github-action-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
node-version: 14
2222
- name: Install Semantic Release Packages
23-
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
23+
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
2424
- name: Exec Semantic Release
2525
run: npx semantic-release
2626
env:

.github/workflows/github-action-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test and Lint
1+
name: Lint, Test and Build
22
on:
33
push:
44
branches:
@@ -27,3 +27,4 @@ jobs:
2727
- run: npm ci
2828
- run: npm run lint
2929
- run: npm test
30+
- run: npm run build

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx lint-staged

.husky/pre-push

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm test
5+
npm build

.releaserc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[
99
"@semantic-release/commit-analyzer",
1010
{
11-
"config": "@stackr23/conventional-changelog-config",
11+
"config": "@stackr23/preset-conventional-changelog",
1212
"releaseRules": [
1313
{
1414
"type": "feat",
@@ -40,7 +40,7 @@
4040
[
4141
"@semantic-release/release-notes-generator",
4242
{
43-
"config": "@stackr23/conventional-changelog-config"
43+
"config": "@stackr23/preset-conventional-changelog"
4444
}
4545
],
4646
[

.vscode/launch.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "pwa-chrome",
9+
"request": "launch",
10+
"name": "Launch Chrome against localhost",
11+
"url": "http://localhost:8080",
12+
"webRoot": "${workspaceFolder}"
13+
}
14+
]
15+
}

.vscode/settings.json

Lines changed: 0 additions & 41 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,12 @@
22

33
> generated with [@semantic-release/changelog](https://github.com/semantic-release/changelog)
44
5-
6-
75
## [1.0.1](https://github.com/stackr23/react-stack/compare/v1.0.0...v1.0.1) (2021-09-06)
86

9-
10-
### :wrench: Configs
11-
12-
* **gh-actions:** finish `semantic-release` workflow ([9c5e511](https://github.com/stackr23/react-stack/commit/9c5e511df123e5f9ad441c5bda35e2db2ac6f44b))
13-
14-
157
### :construction_worker: Continuous Integration
168

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

1912
# 1.0.0 (2021-09-06)
2013

README.md

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,49 @@
1-
# react-stack
1+
# React Stack
2+
3+
![Lint, Test and Build](https://github.com/stackr23/react-stack/actions/workflows/github-action-test.yml/badge.svg)
4+
[![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 />
5+
<a href="https://standardjs.com"><img src="https://img.shields.io/badge/code_style-standard-brightgreen.svg" alt="Standard - JavaScript Style Guide"></a>
6+
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
7+
[![Conventional Commits](https://img.shields.io/badge/✔-Conventional%20Commits-blue.svg)](https://conventionalcommits.org)
8+
9+
> **perfect react stack to wrap your web app**
10+
>
11+
> see release notes at **[CHANGELOG](./CHANGELOG.md)**
12+
13+
## :sparkles: Features
14+
15+
<!--
16+
TODO: MobX, GH pages, SSR, ...
17+
18+
:card_file_box: **[MobX v5.5](https://mobx.js.org/) - observable store injection**
19+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;global stores based on observables
20+
21+
:zap: **[ExpressJS v4](http://expressjs.com/) - node-js server**
22+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webpack-dev in dev, serverside rendering on prod
23+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**TBD -** /api and /test server
24+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**TBD -** prefetch component data
25+
26+
:rocket: **github pages deployment scripts**
27+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;initiate and push git worktree from /build to gh-pages
28+
--->
29+
30+
:package: **[Webpack v4](https://webpack.js.org/) - module bundler**
31+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;HMR, lazy load, static build, code splitting
32+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;_(migration to v5 in progress)_
33+
34+
:alembic: **[Babel v7](https://babeljs.io/docs/en/index.html) - ESNext support provider**
35+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;async/await, static class properties, etc..
36+
37+
:atom_symbol: **[React v17](https://reactjs.org/) - view-controller library**
38+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hooks and latest DOM features
39+
40+
:rotating_light: **[EsLint v7](https://eslint.org/) - code linting tool**
41+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;beautyful and error proof code
42+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**with [@stackr23/config-eslint](https://github.com/stackr23/config-eslint)**
43+
44+
:white_check_mark: **[Karma](https://github.com/karma-runner/karma) with [Mocha](https://github.com/mochajs/mocha) and [Chai](https://www.chaijs.com/)**
45+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;unit tests and browser integration
46+
47+
:robot: **[Github Actions](https://github.com/features/actions)**
48+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for automated release process by
49+
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;**[Conventional Commits](https://conventionalcommits.org) and [semantic-release](https://github.com/semantic-release/semantic-release)**

babel.config.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
module.exports = {
2+
presets: [
3+
[
4+
'@babel/preset-env',
5+
{
6+
modules: 'commonjs',
7+
targets: { esmodules: true },
8+
},
9+
],
10+
'@babel/preset-react',
11+
'@babel/preset-typescript',
12+
],
13+
plugins: [
14+
'@babel/plugin-transform-runtime',
15+
'@babel/plugin-proposal-class-properties',
16+
'@babel/plugin-proposal-export-default-from',
17+
'@babel/plugin-transform-react-constant-elements',
18+
],
19+
}

0 commit comments

Comments
 (0)