@defra/grants-config-utils 0.0.2 → 0.0.3
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 +3 -0
- 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 +7 -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,8 @@ jobs:
|
|
|
41
42
|
|
|
42
43
|
- name: Version changed packages
|
|
43
44
|
run: npm run version:changed
|
|
45
|
+
env:
|
|
46
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
44
47
|
|
|
45
48
|
- name: Commit version bumps & push
|
|
46
49
|
run: |
|
|
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=AZ5yeuo3RZ-Sd_vaOKEV
|
|
7
|
+
ceTaskUrl=https://sonarcloud.io/api/ce/task?id=AZ5yeuo3RZ-Sd_vaOKEV
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# @defra/grants-config-utils
|
|
2
|
+
|
|
3
|
+
## 0.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#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
|
+
};
|