I’m sure if others are playing with mono-repos, bu...
# general
b
I’m sure if others are playing with mono-repos, but FYI - I have gotten SST working with https://rushjs.io (using yarn 1.x was only work - otherwise plays nice so far) (discussion at https://github.com/serverless-stack/serverless-stack/discussions/759 if you like)
j
Would appreciate if you could share what you did to get it to work. Maybe as a discussion https://github.com/serverless-stack/serverless-stack/discussions 🙏
b
sure, let me create github repo so you can see the project
it’s trivial, but if you wants it 👌
j
Thank you for sharing! I don’t think I’ve seen somebody else bring this up so if somebody searches for it hopefully your post will show up!
b
👌 my pleasure - should be enough there for them to gain some confidence and start their own playground
I’m seriously considering the pair for my org currently, so will try to update once I’ve gone through my additional tests/tryouts
😉
j
Awesome!
g
I am trying to deploy a rushjs monorepo through seed, but it seems that it is not sharing packages between deploy steps. Each service downloads its own npm packages:
Copy code
Progress: resolved 1, reused 0, downloaded 0, added 0
Progress: resolved 13, reused 0, downloaded 9, added 0
Progress: resolved 20, reused 0, downloaded 18, added 0
Progress: resolved 21, reused 0, downloaded 20, added 0
Progress: resolved 22, reused 0, downloaded 20, added 0
Progress: resolved 24, reused 0, downloaded 23, added 0
Progress: resolved 46, reused 0, downloaded 42, added 0
Progress: resolved 135, reused 0, downloaded 120, added 0
Progress: resolved 193, reused 0, downloaded 191, added 0
Progress: resolved 193, reused 0, downloaded 192, added 0
Progress: resolved 222, reused 0, downloaded 220, added 0
Progress: resolved 288, reused 0, downloaded 279, added 0
Progress: resolved 441, reused 0, downloaded 430, added 0
My
seed.yml
is:
Copy code
check_code_change: pnpm

before_compile:
  - n 14.19
  - npm install -g @microsoft/rush@5

compile:
  - rush install
Has anyone gotten this to work?