Skip to content

Commit

Permalink
Merge branch 'stage' into feat/next-support
Browse files Browse the repository at this point in the history
  • Loading branch information
MagnunAVFAzion committed Sep 14, 2023
2 parents 1f7d0b1 + cc6110c commit 9cf7bcb
Show file tree
Hide file tree
Showing 5 changed files with 516 additions and 430 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ on:
push:
branches:
- main
- dev
- stage

permissions:
contents: read #
permissions: write-all

jobs:
release:
Expand Down
75 changes: 53 additions & 22 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,61 @@
"branches": [
"main",
{
"name": "dev",
"name": "stage",
"prerelease": true,
"channel": "stage"
}
],
"analyzeCommits": {
"preset": "conventionalcommits",
"parserOpts": {
"headerPattern": "^(\\[ISSUE-.*])?\\s?(\\w+):\\s(.*)$",
"headerCorrespondence": ["scope", "type", "subject"]
}
},
"generateNotes": {
"preset": "conventionalcommits",
"parserOpts": {
"headerPattern": "^(\\[ISSUE-.*])?\\s?(\\w+):\\s(.*)$",
"headerCorrespondence": ["scope", "type", "subject"]
},
"options": {
"preset": {
"name": "conventionalchangelog",
"issuePrefixes": ["ISSUE-"],
"issueUrlFormat": "https://github.com/aziontech/vulcan/issues/{id}"
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"parserOpts": {
"headerPattern": "^(\\[ISSUE-.*])?\\s?(\\w+):\\s(.*)$",
"headerCorrespondence": [
"scope",
"type",
"subject"
]
}
}
}
}
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"parserOpts": {
"headerPattern": "^(\\[ISSUE-.*])?\\s?(\\w+):\\s(.*)$",
"headerCorrespondence": [
"scope",
"type",
"subject"
]
},
"options": {
"preset": {
"name": "conventionalchangelog",
"issuePrefixes": [
"ISSUE-"
],
"issueUrlFormat": "https://github.com/aziontech/vulcan/issues/{id}"
}
}
}
],
"@semantic-release/npm",
"@semantic-release/changelog",
[
"@semantic-release/git",
{
"assets": [
"package.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} \n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
### [1.6.4-stage.2](https://github.com/aziontech/vulcan/compare/v1.6.4-stage.1...v1.6.4-stage.2) (2023-09-14)


### Bug Fixes

* Add npm semantic release plugin in plugins list ([703a8ea](https://github.com/aziontech/vulcan/commit/703a8ea0f04f8d1de4489a8dd9f3523566334a4a))
* Add write permissions in release workflow ([39c1cae](https://github.com/aziontech/vulcan/commit/39c1cae20cc5371a1a7ba49d4754474ee61735d0))
* permissions in release workflow ([#126](https://github.com/aziontech/vulcan/issues/126)) ([37ebee6](https://github.com/aziontech/vulcan/commit/37ebee608564de0d8903f9b09788c3aaffcd2315))
* Remove skip ci option in git plugin ([d954fdc](https://github.com/aziontech/vulcan/commit/d954fdc76944c954662e3828054f5b06c854e865))
* semantic release plugins config ([f7c30a2](https://github.com/aziontech/vulcan/commit/f7c30a26dd7eb0051bf9306be66cbcb78253286a))
* semantic release plugins config ([#124](https://github.com/aziontech/vulcan/issues/124)) ([89289e0](https://github.com/aziontech/vulcan/commit/89289e066b01880f566d396a2214c528e6db93a3))
* set correct options in plugins section ([3a0c8f2](https://github.com/aziontech/vulcan/commit/3a0c8f2cf4c70fc70da0c19e6c5172a4bb8aef0a))
20 changes: 9 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
{
"name": "edge-functions",
"type": "module",
"version": "1.5.0",
"version": "1.6.4-stage.2",
"description": "Tool to launch and build JavaScript/Frameworks. This tool automates polyfills for Edge Computing and assists in creating Workers, notably for the Azion platform.",
"main": "lib/main.js",
"bin": {
"vulcan": "lib/main.js",
"edge-functions": "lib/main.js",
"ef": "lib/main.js"
},
"release": {
"branches": [
"main",
"dev"
]
},
"scripts": {
"start": "node lib/main.js",
"task:aliases": "node tasks/sync-aliases.js",
Expand Down Expand Up @@ -90,18 +84,19 @@
"webpack-merge": "^5.9.0"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/types": "7.22.17",
"@jest/globals": "^29.5.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^10.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^10.0.4",
"@semantic-release/release-notes-generator": "^11.0.4",
"conventional-changelog-conventionalcommits": "^4.6.0",
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@jest/globals": "^29.5.0",
"babel-jest": "^29.5.0",
"babel-plugin-transform-import-meta": "^2.2.0",
"clean-jsdoc-theme": "^4.2.9",
"conventional-changelog-conventionalcommits": "^4.6.0",
"eslint": "^8.49.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
Expand All @@ -113,6 +108,9 @@
"jest": "^29.5.0",
"prettier": "^3.0.3"
},
"resolutions": {
"@babel/types": "7.22.17"
},
"imports": {
"#root/*": "./",
"#lib/*": "./lib",
Expand Down
Loading

0 comments on commit 9cf7bcb

Please sign in to comment.