Open konsumer opened 2 years ago
Also, how do I get started deving on packages/input-nextjs
, in general? I am used to pretty live feedback, automatic-building, etc, so I can test things while I'm working. Should I maybe start with unit-tests for things like getRenderCode
?
Trying to start working on it, I get this with npx lerna bootstrap
:
lerna notice cli v4.0.0
lerna info bootstrap root only
lerna ERR! yarn install --mutex network:42424 --non-interactive exited 2 in 'fab-spec'
lerna ERR! yarn install --mutex network:42424 --non-interactive exited 2 in 'fab-spec'
Trying to npm i && npm test
in packages/input-nextjs
, I need to install a bunch of undocumented dev-deps:
npm i -D chai tsconfig-paths nyc mocha @ts-tools/node
Should I PR these dev-deps, or is there some other recommended way?
{
"@ts-tools/node": "^4.0.0",
"chai": "^4.3.6",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"tsconfig-paths": "^4.0.0"
}
I'd like to help with getting fab working with nextjs 12.
Here is my initial test procedure, which basically comes from the fab & nextjs docs:
I test with
npm run dev
first, to make sure nextjs works.npm run build:fab
:I add
target: 'serverless'
to next.config.js, runnpm run build:fab
again:What else is needed to make it work?