@defra/grants-config-utils 0.0.2 → 0.0.4
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/.changeset/config.json +1 -1
- package/.github/workflows/release.yml +7 -5
- package/.scannerwork/architecture/js/src_broker_broker-auth-helper_js.udg +0 -0
- package/.scannerwork/architecture/js/src_broker_broker-auth-helper_test_js.udg +0 -0
- package/.scannerwork/architecture/js/src_config_config_js.udg +0 -0
- package/.scannerwork/architecture/js/src_s3_s3-client_js.udg +0 -0
- package/.scannerwork/architecture/js/src_s3_s3-client_test_js.udg +0 -0
- package/.scannerwork/architecture/js/src_s3_s3-interactions_js.udg +0 -0
- package/.scannerwork/architecture/js/src_s3_s3-interactions_test_js.udg +0 -0
- package/.scannerwork/architecture/js/src_service_config-store-and-inform_js.udg +0 -0
- package/.scannerwork/architecture/js/src_service_config-store-and-inform_test_js.udg +0 -0
- package/.scannerwork/report-task.txt +3 -3
- package/CHANGELOG.md +13 -0
- package/babel.config.cjs +9 -9
- package/package.json +1 -1
package/.changeset/config.json
CHANGED
|
@@ -8,6 +8,7 @@ on:
|
|
|
8
8
|
permissions:
|
|
9
9
|
contents: write
|
|
10
10
|
packages: write
|
|
11
|
+
id-token: write # Required for OIDC
|
|
11
12
|
|
|
12
13
|
jobs:
|
|
13
14
|
release:
|
|
@@ -41,6 +42,11 @@ jobs:
|
|
|
41
42
|
|
|
42
43
|
- name: Version changed packages
|
|
43
44
|
run: npm run version:changed
|
|
45
|
+
env:
|
|
46
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
47
|
+
|
|
48
|
+
- name: Publish changed packages to npm
|
|
49
|
+
run: npm run publish:changed
|
|
44
50
|
|
|
45
51
|
- name: Commit version bumps & push
|
|
46
52
|
run: |
|
|
@@ -49,12 +55,8 @@ jobs:
|
|
|
49
55
|
git add .
|
|
50
56
|
git commit -m "Version package [skip ci]" || echo "No changes to commit"
|
|
51
57
|
git push
|
|
58
|
+
|
|
52
59
|
- name: Create Git tag & GitHub Release
|
|
53
60
|
run: npm run github:release
|
|
54
61
|
env:
|
|
55
62
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
56
|
-
|
|
57
|
-
- name: Publish changed packages to npm
|
|
58
|
-
run: npm run publish:changed
|
|
59
|
-
env:
|
|
60
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
organization=defra
|
|
2
2
|
projectKey=DEFRA_grants-config-utils
|
|
3
3
|
serverUrl=https://sonarcloud.io
|
|
4
|
-
serverVersion=8.0.0.
|
|
4
|
+
serverVersion=8.0.0.88736
|
|
5
5
|
dashboardUrl=https://sonarcloud.io/dashboard?id=DEFRA_grants-config-utils&branch=main
|
|
6
|
-
ceTaskId=
|
|
7
|
-
ceTaskUrl=https://sonarcloud.io/api/ce/task?id=
|
|
6
|
+
ceTaskId=AZ5ygy4oY6JbeDuiB89v
|
|
7
|
+
ceTaskUrl=https://sonarcloud.io/api/ce/task?id=AZ5ygy4oY6JbeDuiB89v
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# @defra/grants-config-utils
|
|
2
|
+
|
|
3
|
+
## 0.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0872722`](https://github.com/DEFRA/grants-config-utils/commit/087272224854f3782b0bc4cc5e7c4123e9ab5e59) Thanks [@aaroncarroll82](https://github.com/aaroncarroll82)! - build: Switch order around in workflow
|
|
8
|
+
|
|
9
|
+
## 0.0.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#6](https://github.com/DEFRA/grants-config-utils/pull/6) [`968228f`](https://github.com/DEFRA/grants-config-utils/commit/968228fae0e02db1a0570be9fc3b693d390e76a5) Thanks [@aaroncarroll82](https://github.com/aaroncarroll82)! - Create new version via CI with trusted publishing
|
package/babel.config.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
const { NODE_ENV } = process.env
|
|
1
|
+
const { NODE_ENV } = process.env;
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
4
|
presets: [
|
|
5
5
|
[
|
|
6
|
-
|
|
6
|
+
"@babel/preset-env",
|
|
7
7
|
{
|
|
8
|
-
modules: NODE_ENV ===
|
|
9
|
-
}
|
|
10
|
-
]
|
|
8
|
+
modules: NODE_ENV === "test" ? "auto" : false,
|
|
9
|
+
},
|
|
10
|
+
],
|
|
11
11
|
],
|
|
12
12
|
env: {
|
|
13
13
|
test: {
|
|
14
|
-
plugins: [
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
14
|
+
plugins: ["babel-plugin-transform-import-meta"],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
};
|