Closed skarahoda closed 2 years ago
While using the git URL as a npm dependency, we had two issues:
npm ERR! > storybook-zeplin@1.5.2-rc.0 prepublish npm ERR! > tsc npm ERR! npm ERR! error TS6047: Argument for '--target' option must be 'ES3', 'ES5', or 'ES6'. npm ERR! error TS6046: Argument for '--module' option must be 'commonjs', 'amd', 'system' or 'umd'. npm ERR! error TS5023: Unknown compiler option 'moduleResolution'. npm ERR! error TS5023: Unknown compiler option 'strict'. npm ERR! error TS5023: Unknown compiler option 'jsx'. npm ERR! error TS5023: Unknown compiler option 'forceConsistentCasingInFileNames'. npm ERR! error TS5023: Unknown compiler option 'esModuleInterop'. npm ERR! error TS5023: Unknown compiler option 'allowSyntheticDefaultImports'. npm ERR! error TS5023: Unknown compiler option 'types'. npm ERR! error TS5023: Unknown compiler option 'skipLibCheck'. npm ERR! npm WARN using --force Recommended protections disabled. npm ERR! npm ERR! code 1 npm ERR! npm ERR! path /Users/sertac/.npm/_cacache/tmp/git-clone-a7a54df5 npm ERR! npm ERR! command failed npm ERR! npm ERR! command sh -c tsc
prepublish
While using the git URL as a npm dependency, we had two issues:
prepublish
command is deprecated. Deprecation documentation