Skip to content

Commit

Permalink
feat: muito legal configurar o semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
romulo94 committed Jun 17, 2022
1 parent d59e55e commit 36fc63f
Show file tree
Hide file tree
Showing 4 changed files with 2,634 additions and 73 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: 16
- name: Install
run: yarn install
- name: Build app
run: yarn build
- name: Bump Version
run: yarn semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Set AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
Expand Down
29 changes: 29 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"branches": [
"init"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
[
"@semantic-release/git",
{
"assets": [
"package.json",
"CHANGELOG.md",
"yarn.lock"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
],
"ci": false
}
37 changes: 22 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shoppe/app-header",
"version": "4.0.1",
"version": "0.1.0",
"scripts": {
"start": "webpack serve --port 8100",
"start:standalone": "webpack serve --env standalone",
Expand All @@ -14,52 +14,59 @@
"watch-tests": "cross-env BABEL_ENV=test jest --watch",
"coverage": "cross-env BABEL_ENV=test jest --coverage",
"build:types": "tsc",
"deploy": "sh deploy.sh"
"deploy": "sh deploy.sh",
"semantic-release": "semantic-release"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/eslint-parser": "^7.15.0",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@babel/runtime": "^7.15.3",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.4",
"@semantic-release/release-notes-generator": "^10.0.3",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.0.0",
"@types/testing-library__jest-dom": "^5.14.1",
"babel-jest": "^27.0.6",
"concurrently": "^6.2.1",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-ts-react-important-stuff": "^3.0.0",
"eslint-plugin-prettier": "^3.4.1",
"husky": "^7.0.2",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.0.6",
"jest-cli": "^27.0.6",
"prettier": "^2.3.2",
"pretty-quick": "^3.1.1",
"semantic-release": "^19.0.3",
"ts-config-single-spa": "^3.0.0",
"typescript": "^4.3.5",
"webpack": "^5.51.1",
"webpack-cli": "^4.8.0",
"webpack-config-single-spa-react": "^4.0.0",
"webpack-dev-server": "^4.0.0",
"webpack-merge": "^5.8.0",
"@babel/preset-typescript": "^7.15.0",
"typescript": "^4.3.5",
"webpack-config-single-spa-react-ts": "^4.0.0",
"webpack-config-single-spa-ts": "^4.0.0",
"ts-config-single-spa": "^3.0.0",
"@types/testing-library__jest-dom": "^5.14.1",
"eslint-config-ts-react-important-stuff": "^3.0.0",
"webpack-config-single-spa-react-ts": "^4.0.0"
"webpack-dev-server": "^4.0.0",
"webpack-merge": "^5.8.0"
},
"dependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2",
"single-spa-react": "^4.3.1",
"@types/jest": "^27.0.1",
"@types/react": "^17.0.19",
"@types/react-dom": "^17.0.9",
"@types/systemjs": "^6.1.1",
"@types/webpack-env": "^1.16.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"single-spa": "^5.9.3",
"@types/react": "^17.0.19",
"@types/react-dom": "^17.0.9"
"single-spa-react": "^4.3.1"
},
"types": "dist/shoppe-app-header.d.ts"
}
Loading

0 comments on commit 36fc63f

Please sign in to comment.