rename: transform-modules -> transform-module
MODIFY
README.md
README.md
-# Transform Modules
+# Transform Module
See test/test.js for usage.

MODIFY
package-lock.json
package-lock.json
{
- "name": "@agoric/transform-modules",
+ "name": "@agoric/transform-module",
"version": "0.0.1",
"lockfileVersion": 1,
"requires": true,

MODIFY
package.json
package.json
{
- "name": "@agoric/transform-modules",
+ "name": "@agoric/transform-module",
"version": "0.0.1",
"description": "Transform for evaluating ES modules as Javascript programs",
- "main": "dist/transform-modules.cjs.js",
- "module": "dist/transform-modules.esm.js",
- "browser": "dist/transform-modules.umd.js",
+ "main": "dist/transform-module.cjs.js",
+ "module": "dist/transform-module.esm.js",
+ "browser": "dist/transform-module.umd.js",
"scripts": {
"build": "rollup -c",
"test": "tape -r esm 'test/**/*.js'",
],
"repository": {
"type": "git",
- "url": "https://github.com/Agoric/transform-modules"
+ "url": "https://github.com/Agoric/transform-module"
},
"author": "Agoric",
"license": "Apache-2.0",
"bugs": {
- "url": "https://github.com/Agoric/transform-modules/issues"
+ "url": "https://github.com/Agoric/transform-module/issues"
},
- "homepage": "https://github.com/Agoric/transform-modules#readme"
+ "homepage": "https://github.com/Agoric/transform-module#readme"
}

MODIFY
rollup.config.js
rollup.config.js
@@ -5,16 +5,16 @@ export default [
input: 'src/index.js',
output: [
{
- file: 'dist/transform-modules.umd.js',
+ file: 'dist/transform-module.umd.js',
format: 'umd',
- name: 'makeModulesTransformer',
+ name: 'makeModuleTransformer',
},
{
- file: 'dist/transform-modules.esm.js',
+ file: 'dist/transform-module.esm.js',
format: 'esm',
},
{
- file: 'dist/transform-modules.cjs.js',
+ file: 'dist/transform-module.cjs.js',
format: 'cjs',
},
],

rename: transform-modules -> transform-module