Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 860 Bytes

File metadata and controls

28 lines (15 loc) · 860 Bytes

commands

create new publishable typescript library

npx nx g @nrwl/js:lib [name] --publishable --importPath [npm package name]

npx nx g @nrwl/js:lib dom-components --publishable --importPath @devhelpr/dom-components npx nx g @nrwl/js:lib media-library --publishable --importPath @devhelpr/media-library

npx nx g @nrwl/js:lib app-canvas --publishable --importPath @devhelpr/app-canvas

npx nx g @nrwl/js:lib web-flow-executor --publishable --importPath @devhelpr/web-flow-executor

.. choose vitest for running test .. choose vite for bundling .. when running the above command, choose root libs/...

deno

npx nx g @nx/deno:app vps-api --frontendProject vps-web

Solutions for problems

  • after installing a new dependency and the typescript definitions are not found, run the following command in vs.code:

    TypeScript: Restart TS Server