Skip to content

Commit 8edffbf

Browse files
committed
chore: migrate from Yarn Classic to npm
Yarn Classic (1.x) is EOL. This repo now uses npm, matching the rest of the CoreUI stack (both Angular repos already declare npm@11, the vanilla and astro-docs repos are already on npm). - lerna.json: npmClient yarn -> npm - package.json: resolutions -> overrides; add packageManager npm@11.6.4 - CI: yarn install --ignore-engines -> npm ci (with npm cache) - Commit package-lock.json (previously yarn.lock was gitignored, so every CI run and local release resolved the full tree fresh from npm with no review point). Remove the stale, never-committed packages/docs/yarn.lock.
1 parent 255ffe7 commit 8edffbf

5 files changed

Lines changed: 25064 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ jobs:
2222
- uses: actions/setup-node@v4
2323
with:
2424
node-version: ${{ matrix.node-version }}
25-
# yarn.lock is gitignored in this repo, so there is no lockfile to pin
26-
# against or to key a cache on — install resolves from package.json.
27-
- run: yarn install --ignore-engines
28-
- run: yarn lib:build
29-
- run: yarn lib:test
25+
cache: npm
26+
- run: npm ci
27+
- run: npm run lib:build
28+
- run: npm run lib:test
3029

3130
lint:
3231
name: Lint
@@ -40,5 +39,6 @@ jobs:
4039
- uses: actions/setup-node@v4
4140
with:
4241
node-version: 22.x
43-
- run: yarn install --ignore-engines
44-
- run: yarn lint
42+
cache: npm
43+
- run: npm ci
44+
- run: npm run lint

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
coverage/
33
dist/
44
node_modules/
5-
yarn.lock
65

76
# IDEs and editors
87
.idea/

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"npmClient": "yarn",
2+
"npmClient": "npm",
33
"packages": ["packages/*"],
44
"version": "5.12.0",
55
"$schema": "node_modules/lerna/schemas/lerna-schema.json"

0 commit comments

Comments
 (0)