@defra/grants-config-utils 0.0.1 → 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.
@@ -4,7 +4,7 @@
4
4
  "@changesets/changelog-github",
5
5
  { "repo": "DEFRA/grants-config-utils" }
6
6
  ],
7
- "commit": false,
7
+ "commit": true,
8
8
  "fixed": [],
9
9
  "linked": [],
10
10
  "access": "public",
@@ -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: |
@@ -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.88577
4
+ serverVersion=8.0.0.88736
5
5
  dashboardUrl=https://sonarcloud.io/dashboard?id=DEFRA_grants-config-utils&branch=main
6
- ceTaskId=AZ5utCgLLZ8POhXHmJsR
7
- ceTaskUrl=https://sonarcloud.io/api/ce/task?id=AZ5utCgLLZ8POhXHmJsR
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
- '@babel/preset-env',
6
+ "@babel/preset-env",
7
7
  {
8
- modules: NODE_ENV === 'test' ? 'auto' : false
9
- }
10
- ]
8
+ modules: NODE_ENV === "test" ? "auto" : false,
9
+ },
10
+ ],
11
11
  ],
12
12
  env: {
13
13
  test: {
14
- plugins: ['babel-plugin-transform-import-meta']
15
- }
16
- }
17
- }
14
+ plugins: ["babel-plugin-transform-import-meta"],
15
+ },
16
+ },
17
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defra/grants-config-utils",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "NPM module for providing utils for publishing grants config",
5
5
  "engines": {
6
6
  "node": ">=24",