Skip to content

Commit 45f9394

Browse files
committed
chore(release): v0.16.1-2
1 parent 71f2547 commit 45f9394

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

build.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ async function main() {
2222
await outputFile(output, code)
2323

2424
const jimpDir = dirname(require.resolve('jimp/package.json'))
25-
const { version } = await readJSON(resolve(jimpDir, 'package.json'))
25+
// const { version } = await readJSON(resolve(jimpDir, 'package.json'))
2626

27-
await writeJSON(pkg, { ...await readJSON(pkg), version }, { spaces: 2 })
27+
// await writeJSON(pkg, { ...await readJSON(pkg), version }, { spaces: 2 })
2828

2929
await copy(resolve(jimpDir, 'fonts'), resolve(rootDir, 'fonts'))
3030

3131
await copyFile(resolve(jimpDir, 'types/ts3.1/index.d.ts'), resolve(rootDir, 'dist/jimp.d.ts'))
3232

33-
console.log('jimp-compact@' + version)
33+
// console.log('jimp-compact@' + version)
3434
}
3535

3636
main().catch(error => {

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
{
22
"name": "jimp-compact",
3+
"version": "0.16.1-2",
34
"description": "Compact version of Jimp",
45
"repository": "unjs/jimp-compact",
56
"license": "MIT",
7+
"main": "./dist/jimp.cjs",
8+
"types": "./dist/jimp.d.ts",
69
"files": [
710
"dist",
811
"fonts"
912
],
10-
"main": "./dist/jimp.cjs",
11-
"types": "./dist/jimp.d.ts",
1213
"scripts": {
1314
"build": "jiti ./build",
15+
"prepack": "yarn build",
1416
"test": "node ./test/index.js"
1517
},
1618
"devDependencies": {
@@ -21,6 +23,5 @@
2123
"jimp": "^0.16.1",
2224
"jiti": "^1.12.0",
2325
"typescript": "^4.4.3"
24-
},
25-
"version": "0.16.1"
26+
}
2627
}

0 commit comments

Comments
 (0)