chore(marshal): switch to exported declarations
Also add NEWS.md in artifact
ADD
packages/marshal/jsconfig.build.json
+{
+ "extends": "./jsconfig.json",
+ "compilerOptions": {
+ "noEmit": false,
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "declarationMap": true
+ },
+ "exclude": ["test/"]
+}

MODIFY
packages/marshal/package.json
packages/marshal/package.json
},
"scripts": {
"build": "exit 0",
+ "clean": "tsc --build jsconfig.build.json --clean",
+ "prepack": "tsc --build jsconfig.build.json",
+ "postpack": "yarn clean",
"test": "ava",
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"files": [
"LICENSE*",
"SECURITY*",
+ "NEWS*",
"src",
"*.js",
- "*.ts"
+ "*.ts",
+ "*.map"
],
"eslintConfig": {
"extends": [

MODIFY
packages/marshal/src/make-far.js
packages/marshal/src/make-far.js
@@ -83,8 +83,8 @@ const assertCanBeRemotable = candidate =>
* Carol's `iface` as misrepresented by VatA.
* @param {undefined} [props=undefined] Currently may only be undefined.
* That plan is that own-properties are copied to the remotable
- * @param {object} [remotable={}] The object used as the remotable
- * @returns {object} remotable, modified for debuggability
+ * @param {any} [remotable={}] The object used as the remotable
+ * @returns {any} remotable, modified for debuggability
*/
export const Remotable = (
iface = 'Remotable',

chore(marshal): switch to exported declarations
Also add NEWS.md in artifact