Skip to content

Commit

Permalink
SALTO-3518 bump node 18 and yarn berry (#6108)
Browse files Browse the repository at this point in the history
* fix for new yarn

fix nohoist for yarn

add tsdk to vscode

* yarn berry fixes

adjust for new yarn

* turbocache

* import yarn plugins if necessary

* fix mock.ts

yarn.lock update

* prettier

fix turbocache and ts cleaner

* add utility to update a package in all workspaces

* bump typescript to 4.8.4 and align with saas

minor bumps to jest

try to fix hanging test in package file

forceexit jest and update coverage goals

* merge SALTO-2242

* fix script to work with new yarn

* adjust parallel pipline and add dynamic ut

* bump orbs

* fix ut names and reduce jest workers

* fix vscode package step

turn off a buggy ut in jira

install rsync in vscode package

* bump cli packager to node18

* apply code fix from idozakk

* adjust circleci config to cache node modules and reduce step duplication

workaround for yarn berry hoisting

new PR

* pin yarn release and plugins

* fix comments

* turbo build in all packages

* parallelize compile and lint

fixing misbehaving ut

* turbo clean

revise yarn setup in ci pipeline

* revert changes to packages/file/test/file.test.ts

vscode package fail if rsync not installed and install it auto if running in CI

just a wakeup call

* rearrange yarn setup

* fix ut in ci

* fix comments

* remove auto-gen file and fix capitalization in ci pipeline

* revert weird change in find_conflict_versions

* force turbocache to invalidate test cache when dependencies change

* bug fix in turbo_run

* add ticket to todo comment

* Use bash array instead of a JSON string

* revert turbocache for ut - split to another PR

* add .turbo to .gitignore

* fixup! add .turbo to .gitignore

* fixup! fixup! add .turbo to .gitignore

---------

Co-authored-by: Eshed Gal-Or <[email protected]>
  • Loading branch information
eshedg and eshedg-salto authored Jul 15, 2024
1 parent ee95b93 commit 45cc3d4
Show file tree
Hide file tree
Showing 74 changed files with 22,408 additions and 14,469 deletions.
16 changes: 11 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,23 @@ orbs:
jobs:
find_changed_packages:
docker:
- image: cimg/node:14.15
- image: cimg/node:18.9
resource_class: small

steps:
- checkout
- run:
name: Run Find Changed Packages Script
name: Set up yarn
command: |
pushd .circleci/scripts
node find_changed_packages.js
node update_config_template.js
sudo corepack enable
- run:
name: Generate Dynamic Pipeline
command: |
node .circleci/scripts/find_changed_packages.js
node .circleci/scripts/dynamic_unit_tests.js
node .circleci/scripts/update_config_template.js
- persist_to_workspace:
root: .
paths:
Expand Down
Loading

0 comments on commit 45cc3d4

Please sign in to comment.