-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
0d42456
commit d86465a
Showing
20 changed files
with
9,266 additions
and
0 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,15 @@ | ||
{ | ||
"extends": [ | ||
"@rimac-technology/eslint-config/core", | ||
"@rimac-technology/eslint-config/react" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
"ignorePatterns": [ | ||
"**/types.ts", | ||
"**/*.json" | ||
], | ||
"rules": {} | ||
} |
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,53 @@ | ||
name: Bug Report | ||
description: Report a problem with `semantic-release-ecr` | ||
labels: [bug] | ||
body: | ||
- type: checkboxes | ||
id: issue-prerequisite | ||
attributes: | ||
label: Issues | ||
options: | ||
- label: "I have checked [existing issues](https://github.com/RimacTechnology/semantic-release-ecr/issues) and there are no issues with the same problem." | ||
required: true | ||
|
||
- type: input | ||
attributes: | ||
label: "`semantic-release-ecr` Version You Are Using" | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: "Your Config" | ||
description: "Paste the config you are using with `semantic-release-ecr` from semantic release config file" | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: "Steps to reproduce" | ||
description: "A detailed step by step explanation on how to reproduce the problem." | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: "Expected behavior" | ||
description: "A description of the behavior you expected." | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: "Actual behavior" | ||
description: "A description of the actual behavior." | ||
validations: | ||
required: true | ||
|
||
- type: checkboxes | ||
id: requirements-check | ||
attributes: | ||
label: Requirements | ||
options: | ||
- label: I have read and followed the instructions above and understand that my issue will be closed if I did not provide the required information. | ||
required: 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Feature request | ||
description: Request a feature request for `semantic-release-ecr` | ||
labels: [enhancement] | ||
body: | ||
- type: checkboxes | ||
id: issue-prerequisite | ||
attributes: | ||
label: Issues | ||
options: | ||
- label: I have checked [existing issues](https://github.com/RimacTechnology/semantic-release-ecr/issues) and there are no existing ones with the same request. | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: "Feature description" | ||
validations: | ||
required: 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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- beta | ||
- alpha | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
name: Lint and Build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
node_modules | ||
.yarn/cache | ||
key: node_modules-${{ hashFiles('**/yarn.lock') }} | ||
- run: yarn install | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
- run: yarn lint | ||
- run: yarn build | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: lib | ||
path: lib/ | ||
release: | ||
name: Release | ||
needs: build | ||
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/alpha' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
persist-credentials: false | ||
- uses: actions/cache@v3 | ||
with: | ||
path: | | ||
node_modules | ||
.yarn/cache | ||
key: node_modules-${{ hashFiles('**/yarn.lock') }} | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: lib | ||
path: lib/ | ||
- run: yarn release | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,48 @@ | ||
# Yarn not using Zero-Installs | ||
.yarn/* | ||
!.yarn/releases | ||
!.yarn/plugins | ||
!.yarn/sdks | ||
!.yarn/versions | ||
.pnp.* | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Dependency directories | ||
node_modules/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# IntelliJ project files | ||
.idea/ | ||
|
||
# Project | ||
build/ | ||
lib/ | ||
|
||
# MacOS | ||
.DS_Store |
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,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
./node_modules/.bin/commitlint --edit $1 |
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,70 @@ | ||
module.exports = { | ||
branches: [ | ||
'+([0-9])?(.{+([0-9]),x}).x', | ||
'master', | ||
{ | ||
name: 'beta', | ||
prerelease: true, | ||
}, | ||
{ | ||
name: 'alpha', | ||
prerelease: true, | ||
}, | ||
], | ||
plugins: [ | ||
[ | ||
'@semantic-release/commit-analyzer', | ||
{ | ||
preset: 'angular', | ||
releaseRules: [ | ||
{ | ||
type: 'refactor', | ||
release: 'patch', | ||
}, | ||
{ | ||
type: 'chore', | ||
release: 'patch', | ||
}, | ||
], | ||
}, | ||
], | ||
[ | ||
'@semantic-release/release-notes-generator', | ||
{ | ||
preset: 'conventionalcommits', | ||
presetConfig: { | ||
types: [ | ||
{ | ||
type: 'feat', | ||
section: 'Features', | ||
}, | ||
{ | ||
type: 'fix', | ||
section: 'Bug Fixes', | ||
}, | ||
{ | ||
type: 'refactor', | ||
section: 'Code Refactoring', | ||
}, | ||
{ | ||
type: 'chore', | ||
section: 'Other', | ||
}, | ||
{ | ||
type: 'perf', | ||
section: 'Performance Improvements', | ||
}, | ||
{ | ||
type: 'revert', | ||
section: 'Reverts', | ||
}, | ||
], | ||
}, | ||
}, | ||
], | ||
'@semantic-release/changelog', | ||
'@semantic-release/npm', | ||
'@semantic-release/git', | ||
'@semantic-release/github', | ||
], | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,7 @@ | ||
nodeLinker: node-modules | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs | ||
spec: "@yarnpkg/plugin-interactive-tools" | ||
|
||
yarnPath: .yarn/releases/yarn-3.2.4.cjs |
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,8 @@ | ||
# @rimac-technology/semantic-release-s3 | ||
|
||
|
||
[**semantic-release**](https://github.com/semantic-release/semantic-release) plugin to push files and folders to AWS S3 bucket | ||
|
||
[](http://commitizen.github.io/cz-cli/) | ||
[](http://conventional-changelog.github.io) | ||
[](https://github.com/semantic-release/semantic-release) |
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,71 @@ | ||
{ | ||
"name": "@rimac-technology/semantic-release-s3", | ||
"version": "0.1.0", | ||
"description": "semantic-release plugin to push files and folders to AWS S3 bucket", | ||
"main": "lib/index.js", | ||
"repository": "git@github.com:RimacTechnology/semantic-release-s3.git", | ||
"author": "Rimac Technology d.o.o.", | ||
"license": "MIT", | ||
"scripts": { | ||
"build": "tsc", | ||
"lint": "eslint './src/**/*' --quiet", | ||
"cm": "cz", | ||
"release": "semantic-release", | ||
"postinstall": "husky install", | ||
"prepack": "pinst --disable", | ||
"postpack": "pinst --enable" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"files": [ | ||
"lib" | ||
], | ||
"keywords": [ | ||
"release", | ||
"semantic-release", | ||
"s3" | ||
], | ||
"engines": { | ||
"node": ">=16.14", | ||
"yarn": ">=3" | ||
}, | ||
"peerDependencies": { | ||
"semantic-release": ">=19.0.0" | ||
}, | ||
"dependencies": { | ||
"aggregate-error": "^3.1.0", | ||
"aws-sdk": "^2.1253.0", | ||
"globby": "^11.0.0" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.2.0", | ||
"@commitlint/config-conventional": "^17.2.0", | ||
"@rimac-technology/eslint-config": "^31.1.4", | ||
"@semantic-release/changelog": "^6.0.1", | ||
"@semantic-release/commit-analyzer": "^9.0.2", | ||
"@semantic-release/git": "^10.0.1", | ||
"@semantic-release/github": "^8.0.6", | ||
"@semantic-release/npm": "^9.0.1", | ||
"@semantic-release/release-notes-generator": "^10.0.3", | ||
"@types/semantic-release": "^17.2.4", | ||
"commitizen": "^4.2.5", | ||
"conventional-changelog-conventionalcommits": "^5.0.0", | ||
"eslint": "^8.22.0", | ||
"husky": "^8.0.2", | ||
"pinst": "^3.0.0", | ||
"semantic-release": "^19.0.5", | ||
"typescript": "^4.8.4" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "cz-conventional-changelog" | ||
} | ||
}, | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
] | ||
}, | ||
"packageManager": "yarn@3.2.4" | ||
} |
Oops, something went wrong.