Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update the package.json for publishing with typescript #91

Merged
merged 2 commits into from
Mar 12, 2022

Conversation

yoshinorin
Copy link
Member

@yoshinorin yoshinorin commented Mar 6, 2022

I'm going to publish a new version. It will be include to replace TypeScript #66.
But, the current package.json settings are not enough for publishing with TypeScript.

This PR is a scaffold for publishing TypeScript.
Thank you :)

@coveralls
Copy link

coveralls commented Mar 6, 2022

Coverage Status

Coverage remained the same at 96.679% when pulling 0341a02 on yoshinorin:chore/update-package.json-for-ts into 1fd7f03 on hexojs:master.

@@ -4,6 +4,7 @@
"target": "es6",
"sourceMap": true,
"outDir": "dist",
"declaration": true,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for include fs.d.ts.

@@ -2,18 +2,17 @@
"name": "hexo-fs",
"version": "3.1.0",
"description": "File system module for Hexo.",
"main": "lib/fs.js",
"main": "./dist/fs.js",
Copy link
Member Author

@yoshinorin yoshinorin Mar 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After execute npm run build the source code will be generate in the dist folder.

@yoshinorin yoshinorin changed the title chore: update package.json for publish typescript chore: update the package.json for publishing with typescript Mar 6, 2022
tsconfig.json Show resolved Hide resolved
@yoshinorin yoshinorin merged commit 5f30dd3 into hexojs:master Mar 12, 2022
@yoshinorin yoshinorin deleted the chore/update-package.json-for-ts branch March 12, 2022 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants