edge-functions 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +4 -0
- package/.github/workflows/release.yml +36 -0
- package/.releaserc +31 -0
- package/aliases.js +1 -0
- package/examples/simple-js-esm/main.js +2 -2
- package/jsconfig.json +3 -0
- package/lib/build/dispatcher/dispatcher.js +30 -21
- package/lib/commands/auth.commands.js +85 -0
- package/lib/commands/build.commands.js +47 -0
- package/lib/commands/deploy.commands.js +45 -0
- package/lib/commands/dev.commands.js +26 -0
- package/lib/commands/index.js +13 -0
- package/lib/commands/init.commands.js +71 -0
- package/lib/commands/logs.commands.js +34 -0
- package/lib/commands/presets.commands.js +97 -0
- package/lib/commands/storage.commands.js +22 -0
- package/lib/constants/framework-initializer.constants.js +2 -2
- package/lib/constants/messages/build.messages.js +1 -0
- package/lib/constants/messages/global.messages.js +1 -0
- package/lib/env/polyfills/fetch.polyfills.js +10 -10
- package/lib/env/runtime.env.js +1 -1
- package/lib/env/server.env.js +101 -23
- package/lib/env/vulcan.env.js +64 -29
- package/lib/main.js +29 -254
- package/lib/platform/actions/core/auth.actions.js +3 -3
- package/lib/platform/services/base.service.js +1 -2
- package/lib/presets/custom/next/deliver/prebuild.js +4 -1
- package/lib/utils/exec/exec.utils.js +16 -8
- package/lib/utils/getUrlFromResource/getUrlFromResource.utils.js +16 -0
- package/lib/utils/getUrlFromResource/index.js +3 -0
- package/lib/utils/index.js +2 -0
- package/package.json +9 -9
- package/.github/workflows/major.yml +0 -28
- package/.github/workflows/minor.yml +0 -30
- package/lib/polyfills/FetchEvent.polyfills.js +0 -13
- package/lib/polyfills/fetch.polyfills.js +0 -39
- package/lib/polyfills/index.js +0 -4
- package/releaserc.json +0 -87
package/releaserc.json
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"analyzeCommits": {
|
|
3
|
-
"preset": "conventionalcommits",
|
|
4
|
-
"parserOpts": {
|
|
5
|
-
"headerPattern": "^(\\[ISSUE-.*])?\\s?(\\w+):\\s(.*)$",
|
|
6
|
-
"headerCorrespondence": ["scope", "type", "subject"]
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
|
-
"generateNotes": {
|
|
10
|
-
"preset": "conventionalcommits",
|
|
11
|
-
"parserOpts": {
|
|
12
|
-
"headerPattern": "^(\\[ISSUE-.*])?\\s?(\\w+):\\s(.*)$",
|
|
13
|
-
"headerCorrespondence": ["scope", "type", "subject"]
|
|
14
|
-
},
|
|
15
|
-
"options": {
|
|
16
|
-
"preset": {
|
|
17
|
-
"name": "conventionalchangelog",
|
|
18
|
-
"issuePrefixes": ["ISSUE-"],
|
|
19
|
-
"issueUrlFormat": "https://github.com/aziontech/vulcan/issues/{id}"
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"prepare": [
|
|
24
|
-
{
|
|
25
|
-
"path": "@semantic-release/npm",
|
|
26
|
-
"npmPublish": true
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"plugins": [
|
|
30
|
-
[
|
|
31
|
-
"@semantic-release/commit-analyzer",
|
|
32
|
-
{
|
|
33
|
-
"preset": "conventionalcommits",
|
|
34
|
-
"releaseRules": [
|
|
35
|
-
{ "breaking": true, "release": "major" },
|
|
36
|
-
{ "revert": true, "release": "patch" },
|
|
37
|
-
{ "type": "feat", "release": "minor" },
|
|
38
|
-
{ "type": "fix", "release": "minor" },
|
|
39
|
-
{ "type": "chore", "release": "patch" },
|
|
40
|
-
{ "type": "docs", "release": "patch" },
|
|
41
|
-
{ "type": "style", "release": "patch" },
|
|
42
|
-
{ "type": "refactor", "release": "patch" },
|
|
43
|
-
{ "type": "test", "release": "patch" }
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
[
|
|
48
|
-
"@semantic-release/release-notes-generator",
|
|
49
|
-
{
|
|
50
|
-
"preset": "conventionalcommits",
|
|
51
|
-
"parserOpts": {
|
|
52
|
-
"headerPattern": "^(\\[ISSUE-.*])?\\s?(\\w+):\\s(.*)$",
|
|
53
|
-
"headerCorrespondence": ["scope", "type", "subject"]
|
|
54
|
-
},
|
|
55
|
-
"writerOpts": {
|
|
56
|
-
"commitsSort": ["subject", "scope"]
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
[
|
|
61
|
-
"@semantic-release/changelog",
|
|
62
|
-
{
|
|
63
|
-
"changelogFile": "CHANGELOG.md",
|
|
64
|
-
"changelogTitle": "# Changelog"
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
[
|
|
68
|
-
"@semantic-release/npm",
|
|
69
|
-
{
|
|
70
|
-
"npmPublish": true,
|
|
71
|
-
"pkgRoot": "./",
|
|
72
|
-
"tarballDir": "dist",
|
|
73
|
-
"tarballFile": "dist/package-${nextRelease.version}.tgz"
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
[
|
|
77
|
-
"@semantic-release/git",
|
|
78
|
-
{
|
|
79
|
-
"assets": ["CHANGELOG.md", "package.json", "dist"],
|
|
80
|
-
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
],
|
|
84
|
-
"preset": "conventionalcommits",
|
|
85
|
-
"increment": "minor",
|
|
86
|
-
"tagFormat": "${version}"
|
|
87
|
-
}
|