next-transpile-modules

v7.1.1
Next.js plugin to transpile code from node_modules (supports TypeScript)
next next.js plugin transpile modules babel webpack

setup

node --trace-uncaught src/__tests__/setup.js

update:next

npm run setup && bash scripts/next-update.sh

typings

tsc

prepublishOnly

npm run typings

pretest

npm run setup

quickie

node --trace-uncaught src/__tests__/setup.js && yarn --cwd src/__tests__/__apps__/webpack-4/app run build

test

jest --forceExit

test:debug

jest --detectOpenHandles --forceExit

test:lint

eslint .

test:formatting

prettier --check "**/*.js"

test:formatting:fix

prettier --check "**/*.js" --write

test:prepare:npm-basic

npm run build --prefix=src/__tests__/__apps__/npm-basic

test:prepare:yarn-workspaces

yarn --cwd src/__tests__/__apps__/yarn-workspaces/app run build

test:prepare:yarn-workspaces-symlinks

yarn --cwd src/__tests__/__apps__/yarn-workspaces-symlinks/app run build

test:prepare:webpack-4

yarn --cwd src/__tests__/__apps__/webpack-4/app run build

test:prepare:webpack-4-symlinks

yarn --cwd src/__tests__/__apps__/webpack-4-symlinks/app run build

test:prepare:pnpm

npm run build --prefix=src/__tests__/__apps__/pnpm

test:prepare

npm run test:prepare:npm-basic && npm run test:prepare:yarn-workspaces && npm run test:prepare:yarn-workspaces-symlinks && npm run test:prepare:webpack-4 && npm run test:prepare:webpack-4-symlinks && npm run test:prepare:pnpm

Metadata

  • MIT
  • Whatever
  • Pierre de la Martinière
  • released 5/18/2021

Downloads

Maintainers