Skip to content

Commit 9e3cc38

Browse files
fix: aligned npm versions to 16; forcing lerna to use npm ci; fix for missing file version.ts
1 parent a90772c commit 9e3cc38

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Use Node.js
1212
uses: actions/setup-node@v4
1313
with:
14-
node-version: '14.x'
14+
node-version: '16.x'
1515
cache: 'npm'
1616

1717
- name: Installing dependencies

lerna.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
"packages": [
33
"packages/**/!(dist|playground)*"
44
],
5+
"npmClient": "npm",
56
"version": "independent"
67
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"name": "frontend-frameworks-monorepo",
33
"version": "1.0.0",
44
"engines": {
5-
"node": ">=14.0.0 <19"
5+
"node": ">=16.0.0 <19"
66
},
77
"scripts": {
88
"postinstall": "husky install",
9-
"install": "lerna bootstrap",
9+
"install": "lerna bootstrap --ci",
10+
"quickstart": "lerna bootstrap --ci && lerna run build",
1011
"build": "lerna run build",
11-
"quickstart": "lerna bootstrap && lerna run build",
1212
"test": "lerna run test",
1313
"build:docs": "node ./scripts/buildDocs.js",
1414
"start:docs": "live-server --open=public/docs",

packages/angular/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"repository": "https://github.com/cloudinary/frontend-frameworks",
66
"sideEffects": false,
77
"scripts": {
8+
"postinstall": "npm run prepare-version",
89
"ng": "ng",
910
"start": "ng serve",
1011
"build": "npm run prepare-version && npm run build --prefix ../html && ng build cloudinary-library --prod",

0 commit comments

Comments
 (0)