@arbor-education/design-system.components 2.1.0 → 2.2.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.
@@ -62,15 +62,15 @@ jobs:
62
62
  - name: Checkout branch
63
63
  uses: actions/checkout@v6
64
64
 
65
+ - name: Enable Corepack
66
+ run: corepack enable
65
67
  - name: Setup node
66
68
  uses: actions/setup-node@v6
67
69
  with:
68
70
  node-version-file: ".nvmrc"
69
71
  cache: "yarn"
70
- - name: Install yarn
71
- run: npm install yarn -g
72
72
  - name: Install dependencies
73
- run: yarn install --prefer-offline --frozen-lockfile
73
+ run: yarn install --immutable
74
74
  - name: Update version in package.json
75
75
  run: |
76
76
  npm version ${{needs.get-new-version-number.outputs.new_version_number}} --no-git-tag-version
@@ -24,12 +24,14 @@ jobs:
24
24
  - uses: actions/checkout@v6
25
25
  with:
26
26
  fetch-depth: 0
27
+ - name: Enable Corepack
28
+ run: corepack enable
27
29
  - uses: actions/setup-node@v6
28
30
  with:
29
31
  node-version: 20
30
32
  cache: 'yarn'
31
33
  - name: Install dependencies
32
- run: yarn install --prefer-offline --frozen-lockfile
34
+ run: yarn install --immutable
33
35
  - name: Build
34
36
  run: yarn build
35
37
  #👇 Adds Chromatic as a step in the workflow
@@ -15,15 +15,15 @@ jobs:
15
15
  steps:
16
16
  - name: Checkout branch
17
17
  uses: actions/checkout@v6
18
+ - name: Enable Corepack
19
+ run: corepack enable
18
20
  - name: Setup node
19
21
  uses: actions/setup-node@v6
20
22
  with:
21
23
  node-version-file: ".nvmrc"
22
24
  cache: "yarn"
23
- - name: Install yarn
24
- run: npm install yarn -g
25
25
  - name: Install dependencies
26
- run: yarn install --prefer-offline --frozen-lockfile
26
+ run: yarn install --immutable
27
27
  - name: Run typescript check
28
28
  run: yarn check-types
29
29
  - name: Run ESLint check
@@ -19,10 +19,10 @@ jobs:
19
19
  uses: actions/checkout@v6
20
20
  with:
21
21
  fetch-depth: 0
22
- - name: Install yarn
23
- run: npm install yarn -g
22
+ - name: Enable Corepack
23
+ run: corepack enable
24
24
  - name: Install dependencies
25
- run: yarn install --prefer-offline --frozen-lockfile
25
+ run: yarn install --immutable
26
26
  - name: Check for changeset
27
27
  if: ${{ !startsWith(github.head_ref, 'changeset-release/') }}
28
28
  run: |
@@ -24,6 +24,9 @@ jobs:
24
24
  with:
25
25
  token: ${{ secrets.ARBOR_AUTOMATION_ORG_GHA_TOKEN }}
26
26
 
27
+ - name: Enable Corepack
28
+ run: corepack enable
29
+
27
30
  - name: Setup Node.js
28
31
  uses: actions/setup-node@v6
29
32
  with:
@@ -31,10 +34,8 @@ jobs:
31
34
  registry-url: 'https://registry.npmjs.org'
32
35
  cache: "yarn"
33
36
 
34
- - name: Install yarn
35
- run: npm install yarn -g
36
37
  - name: Install dependencies
37
- run: yarn install --prefer-offline --frozen-lockfile
38
+ run: yarn install --immutable
38
39
 
39
40
  - name: Upgrade npm for Trusted Publishing (OIDC)
40
41
  # Pinned to 11.18.0 - npm@12 dropped Node 20 support (requires node >=22.22.2),
package/.yarnrc.yml ADDED
@@ -0,0 +1,3 @@
1
+ enableScripts: true
2
+
3
+ nodeLinker: node-modules
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#240](https://github.com/arbor-education/design-system.components/pull/240) [`957009b`](https://github.com/arbor-education/design-system.components/commit/957009be930ce3689b3db537608327ece10af2d1) Thanks [@Alex-DN-SP](https://github.com/Alex-DN-SP)! - MIS-71732 Migrated to yarn v4
8
+
3
9
  ## 2.1.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbor-education/design-system.components",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "The component library for the design system (the baby)",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -89,7 +89,7 @@
89
89
  "test:storybook": "vitest --project storybook",
90
90
  "create-component": "./bin/createComponent.sh",
91
91
  "prepare": "husky",
92
- "prepublishOnly": "yarn build",
92
+ "prepack": "yarn build",
93
93
  "check-types": "tsc --noEmit",
94
94
  "style-lint": "stylelint src/**/*.scss"
95
95
  },
@@ -100,5 +100,6 @@
100
100
  "homepage": "https://github.com/arbor-education/design-system.components#readme",
101
101
  "resolutions": {
102
102
  "picomatch": "^2.3.2"
103
- }
103
+ },
104
+ "packageManager": "yarn@4.17.1+sha512.ccbfabf7d7b6b32075088be9386fb9a2e00bb6887ef07fa56effabc890a56d53da1ccc4128d62db245fcbd3961b236d75335bdf7d5320ed6eafb7588b7ad4697"
104
105
  }