Skip to content

Commit 76aad05

Browse files
committed
chore: misc stuff
Signed-off-by: Charlike Mike Reagent <[email protected]>
1 parent 6dcaecb commit 76aad05

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

commands/create-package.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ module.exports = hela()
162162

163163
const baseLine =
164164
answers.publishType === 'source'
165-
? "const mod = require('../src')"
166-
: "import mod from '../src'";
165+
? "const mod = require('../src/index')"
166+
: "import mod from '../src/index'";
167167

168168
const testFile = `${baseLine};
169169

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"docs": "rm -rf .cache && yarn run clean:readmes && yarn start docs && yarn run format '**/*.{json,md}'",
2424
"docs:verb": "lerna exec --parallel 'verb'",
2525
"fmt": "yarn run format '**/*'",
26-
"foo": "echo $npm_package_name",
2726
"format": "prettier --write",
2827
"lint:lockfile": "lockfile-lint --path yarn.lock --type yarn --validate-https",
2928
"patch:docs": "cp patches/hela-dev/docs-config.js node_modules/hela/src/dev/configs/docs/index.js",

0 commit comments

Comments
 (0)