@adobe/aio-lib-web 6.1.1 → 7.0.1
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.
|
@@ -7,28 +7,5 @@ on:
|
|
|
7
7
|
|
|
8
8
|
jobs:
|
|
9
9
|
build:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
matrix:
|
|
13
|
-
node: [16]
|
|
14
|
-
os: [ubuntu-latest]
|
|
15
|
-
|
|
16
|
-
steps:
|
|
17
|
-
- uses: actions/checkout@v2
|
|
18
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
19
|
-
uses: actions/setup-node@v1
|
|
20
|
-
with:
|
|
21
|
-
node-version: ${{ matrix.node-version }}
|
|
22
|
-
- run: npm i --package-lock --package-lock-only
|
|
23
|
-
- run: npm ci
|
|
24
|
-
- name: run unit tests
|
|
25
|
-
run: npm run test
|
|
26
|
-
- name: Slack Notification
|
|
27
|
-
if: ${{ failure() }}
|
|
28
|
-
uses: rtCamp/action-slack-notify@v2
|
|
29
|
-
env:
|
|
30
|
-
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
|
31
|
-
SLACK_TITLE: 'Node version'
|
|
32
|
-
SLACK_MESSAGE: ${{ matrix.node }}
|
|
33
|
-
SLACK_COLOR: ${{ job.status == 'success' && 'good' || job.status == 'cancelled' && '#808080' || 'danger' }}
|
|
34
|
-
|
|
10
|
+
uses: adobe/aio-reusable-workflows/.github/workflows/daily.yml@main
|
|
11
|
+
secrets: inherit
|
|
@@ -11,26 +11,4 @@ on:
|
|
|
11
11
|
|
|
12
12
|
jobs:
|
|
13
13
|
build:
|
|
14
|
-
|
|
15
|
-
strategy:
|
|
16
|
-
matrix:
|
|
17
|
-
node-version: [14.x, 16.x]
|
|
18
|
-
os: [ubuntu-latest, windows-latest]
|
|
19
|
-
|
|
20
|
-
steps:
|
|
21
|
-
- uses: actions/checkout@v2
|
|
22
|
-
with:
|
|
23
|
-
fetch-depth: 0
|
|
24
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
25
|
-
uses: actions/setup-node@v1
|
|
26
|
-
with:
|
|
27
|
-
node-version: ${{ matrix.node-version }}
|
|
28
|
-
- run: npm i --package-lock --package-lock-only
|
|
29
|
-
- run: npm ci
|
|
30
|
-
- run: npm run build --if-present
|
|
31
|
-
- run: npm test
|
|
32
|
-
- name: upload coverage
|
|
33
|
-
if: success()
|
|
34
|
-
uses: codecov/codecov-action@v3.1.1
|
|
35
|
-
with:
|
|
36
|
-
name: ${{ runner.os }} node.js ${{ matrix.node-version }}
|
|
14
|
+
uses: adobe/aio-reusable-workflows/.github/workflows/node.js.yml@main
|
|
@@ -7,14 +7,5 @@ on:
|
|
|
7
7
|
- 'package.json'
|
|
8
8
|
jobs:
|
|
9
9
|
publish:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
- uses: actions/checkout@v2
|
|
13
|
-
- uses: actions/setup-node@v1
|
|
14
|
-
with:
|
|
15
|
-
node-version: 16
|
|
16
|
-
- run: npm install
|
|
17
|
-
- run: npm test
|
|
18
|
-
- uses: JS-DevTools/npm-publish@v1
|
|
19
|
-
with:
|
|
20
|
-
token: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
|
|
10
|
+
uses: adobe/aio-reusable-workflows/.github/workflows/on-push-publish-to-npm.yml@main
|
|
11
|
+
secrets: inherit
|
|
@@ -17,29 +17,5 @@ on:
|
|
|
17
17
|
|
|
18
18
|
jobs:
|
|
19
19
|
checkout:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
steps:
|
|
23
|
-
- uses: actions/checkout@v2
|
|
24
|
-
- run: |
|
|
25
|
-
git config user.name github-actions
|
|
26
|
-
git config user.email github-actions@github.com
|
|
27
|
-
- uses: actions/setup-node@v1
|
|
28
|
-
with:
|
|
29
|
-
node-version: 16
|
|
30
|
-
- run: |
|
|
31
|
-
npm install
|
|
32
|
-
npm test
|
|
33
|
-
- name: Update your package.json with an npm pre-release version
|
|
34
|
-
id: pre-release-version
|
|
35
|
-
uses: adobe/update-prerelease-npm-version@v1.0.0
|
|
36
|
-
with:
|
|
37
|
-
pre-release-tag: ${{ github.event.inputs.pre-release-tag }}
|
|
38
|
-
dependencies-to-update: ${{ github.event.inputs.dependencies-to-update }}
|
|
39
|
-
dependencies-to-update-version-tag: ${{ github.event.inputs.dist-tag }}
|
|
40
|
-
- run: echo pre-release-version - ${{ steps.pre-release-version.outputs.pre-release-version }}
|
|
41
|
-
- uses: JS-DevTools/npm-publish@v1
|
|
42
|
-
with:
|
|
43
|
-
token: ${{ secrets.ADOBE_BOT_NPM_TOKEN }}
|
|
44
|
-
tag: ${{ github.event.inputs.dist-tag }}
|
|
45
|
-
access: 'public'
|
|
20
|
+
uses: adobe/aio-reusable-workflows/.github/workflows/prerelease.yml@main
|
|
21
|
+
secrets: inherit
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/aio-lib-web",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.1",
|
|
4
4
|
"description": "Utility tooling library to build and deploy Adobe I/O Project Firefly app static sites to CDN",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"directories": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"author": "Adobe Inc.",
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"engines": {
|
|
13
|
-
"node": "
|
|
13
|
+
"node": ">=18"
|
|
14
14
|
},
|
|
15
15
|
"repository": "adobe/aio-lib-web",
|
|
16
16
|
"homepage": "https://github.com/adobe/aio-lib-web",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"e2e": "jest --config='./e2e/jest.config.js' --testRegex './e2e/e2e.js'"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@adobe/aio-lib-core-config": "^
|
|
33
|
-
"@adobe/aio-lib-core-logging": "^
|
|
34
|
-
"@adobe/aio-lib-core-tvm": "^
|
|
32
|
+
"@adobe/aio-lib-core-config": "^5",
|
|
33
|
+
"@adobe/aio-lib-core-logging": "^3",
|
|
34
|
+
"@adobe/aio-lib-core-tvm": "^4",
|
|
35
35
|
"@aws-sdk/client-s3": "^3.276.0",
|
|
36
36
|
"core-js": "^3.25.1",
|
|
37
|
-
"fs-extra": "^
|
|
37
|
+
"fs-extra": "^11",
|
|
38
38
|
"joi": "^17.2.1",
|
|
39
39
|
"klaw": "^4",
|
|
40
40
|
"lodash.clonedeep": "^4.5.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"eslint-plugin-promise": "^6",
|
|
55
55
|
"eslint-plugin-standard": "^5",
|
|
56
56
|
"jest": "^29",
|
|
57
|
-
"jsdoc-to-markdown": "^
|
|
57
|
+
"jsdoc-to-markdown": "^8",
|
|
58
58
|
"memfs": "^3.4.7",
|
|
59
59
|
"node-fetch": "^2.6.7"
|
|
60
60
|
}
|