Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for CJS projects (#2487)
* Add support for CJS projects * Add Changelog entry * Add Changelog entry * minor fixes to package.json * replace yarn install v1.22.15 [1/4] Resolving packages... success Already up-to-date. Done in 0.02s. with npm <command> Usage: npm install install all the dependencies in your project npm install <foo> add the <foo> dependency to your project npm test run this project's tests npm run <foo> run the script named <foo> npm <command> -h quick help on <command> npm -l display usage info for all commands npm help <term> search for help on <term> npm help npm more involved overview All commands: access, adduser, audit, bin, bugs, cache, ci, completion, config, dedupe, deprecate, diff, dist-tag, docs, doctor, edit, exec, explain, explore, find-dupes, fund, get, help, hook, init, install, install-ci-test, install-test, link, ll, login, logout, ls, org, outdated, owner, pack, ping, pkg, prefix, profile, prune, publish, rebuild, repo, restart, root, run-script, search, set, set-script, shrinkwrap, star, stars, start, stop, team, test, token, uninstall, unpublish, unstar, update, version, view, whoami Specify configs in the ini-formatted file: /home/wirednkod/.npmrc or on the command line via: npm <command> --key=value More configuration info: npm help config Configuration fields: npm help 7 config [email protected] /home/wirednkod/.nvm/versions/node/v17.6.0/lib/node_modules/npm * replace yarn install v1.22.15 info No lockfile found. [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... success Saved lockfile. Done in 0.02s. with npm <command> Usage: npm install install all the dependencies in your project npm install <foo> add the <foo> dependency to your project npm test run this project's tests npm run <foo> run the script named <foo> npm <command> -h quick help on <command> npm -l display usage info for all commands npm help <term> search for help on <term> npm help npm more involved overview All commands: access, adduser, audit, bin, bugs, cache, ci, completion, config, dedupe, deprecate, diff, dist-tag, docs, doctor, edit, exec, explain, explore, find-dupes, fund, get, help, hook, init, install, install-ci-test, install-test, link, ll, login, logout, ls, org, outdated, owner, pack, ping, pkg, prefix, profile, prune, publish, rebuild, repo, restart, root, run-script, search, set, set-script, shrinkwrap, star, stars, start, stop, team, test, token, uninstall, unpublish, unstar, update, version, view, whoami Specify configs in the ini-formatted file: /home/wirednkod/.npmrc or on the command line via: npm <command> --key=value More configuration info: npm help config Configuration fields: npm help 7 config [email protected] /home/wirednkod/.nvm/versions/node/v17.6.0/lib/node_modules/npm * replace yarn install v1.22.15 [1/4] Resolving packages... success Already up-to-date. Done in 0.02s. with npm <command> Usage: npm install install all the dependencies in your project npm install <foo> add the <foo> dependency to your project npm test run this project's tests npm run <foo> run the script named <foo> npm <command> -h quick help on <command> npm -l display usage info for all commands npm help <term> search for help on <term> npm help npm more involved overview All commands: access, adduser, audit, bin, bugs, cache, ci, completion, config, dedupe, deprecate, diff, dist-tag, docs, doctor, edit, exec, explain, explore, find-dupes, fund, get, help, hook, init, install, install-ci-test, install-test, link, ll, login, logout, ls, org, outdated, owner, pack, ping, pkg, prefix, profile, prune, publish, rebuild, repo, restart, root, run-script, search, set, set-script, shrinkwrap, star, stars, start, stop, team, test, token, uninstall, unpublish, unstar, update, version, view, whoami Specify configs in the ini-formatted file: /home/wirednkod/.npmrc or on the command line via: npm <command> --key=value More configuration info: npm help config Configuration fields: npm help 7 config [email protected] /home/wirednkod/.nvm/versions/node/v17.6.0/lib/node_modules/npm * remove erroneous files * remove 'extra' demo and fix pacakge.json accordingly * remove sed * Update bin/wasm-node/javascript/package.json Co-authored-by: Pierre Krieger <[email protected]> * Update bin/wasm-node/javascript/package.json Co-authored-by: Pierre Krieger <[email protected]> * Update bin/wasm-node/javascript/tsconfig-cjs.json Co-authored-by: Pierre Krieger <[email protected]> * Address PR comments * Fix Changelog * Fix Changelog * remove from gitignore fix-package-type file * Fix tests; add module in package json in order to avoid renaming to mjs all files; revert prepare extension from mjs to js * remove type module and rename files to mjs * Remove yarn lock Co-authored-by: Pierre Krieger <[email protected]>
- Loading branch information