refactor(promise-kit): move src/promiseKit to index
MODIFY
packages/promise-kit/index.d.ts
packages/promise-kit/index.d.ts
-export { makePromiseKit, isPromise } from './src/promiseKit.js';
+export { makePromiseKit, isPromise } from './index.js';

RENAME
packages/promise-kit/src/promiseKit.js
packages/promise-kit/index.js
MODIFY
packages/promise-kit/package.json
packages/promise-kit/package.json
"url": "https://github.com/endojs/endo/issues"
},
"type": "module",
- "main": "./src/promiseKit.js",
- "module": "./src/promiseKit.js",
+ "main": "./index.js",
+ "module": "./index.js",
"types": "./index.d.ts",
"exports": {
- ".": "./src/promiseKit.js",
+ ".": "./index.js",
"./package.json": "./package.json"
},
"scripts": {

MODIFY
packages/promise-kit/test/test-promise-kit.js
packages/promise-kit/test/test-promise-kit.js
@@ -2,7 +2,7 @@ import 'ses';
import './lockdown.js';
import rawTest from 'ava';
import { wrapTest } from '@endo/ses-ava';
-import { isPromise, makePromiseKit } from '../src/promiseKit.js';
+import { isPromise, makePromiseKit } from '../index.js';
const test = wrapTest(rawTest);

refactor(promise-kit): move src/promiseKit to index