forked from antfu-collective/sponsorkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: merge branch 'antfu-collective-main'
- Loading branch information
Showing
27 changed files
with
4,294 additions
and
3,530 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/usr/bin/env node | ||
import '../dist/cli.mjs' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,4 @@ export default defineBuildConfig({ | |
], | ||
declaration: true, | ||
clean: true, | ||
rollup: { | ||
emitCJS: true, | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
const antfu = require('@antfu/eslint-config').default | ||
import antfu from '@antfu/eslint-config' | ||
|
||
module.exports = antfu({ | ||
export default antfu({ | ||
ignores: ['sponsorkit', '**/sponsorkit/**'], | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
{ | ||
"type": "module", | ||
"private": true, | ||
"scripts": { | ||
"build": "sponsorkit" | ||
"build": "@mooncellwiki/sponsorkit", | ||
"build:dev": "esno ../src/cli.ts" | ||
}, | ||
"devDependencies": { | ||
"sponsorkit": "latest" | ||
"@mooncellwiki/sponsorkit": "workspace:*" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{ | ||
"name": "@mooncellwiki/sponsorkit", | ||
"type": "module", | ||
"version": "0.10.1", | ||
"packageManager": "pnpm@8.15.6", | ||
"packageManager": "pnpm@9.0.6", | ||
"description": "Toolkit for generating sponsors images", | ||
"author": "StarHeartHunt <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -21,15 +22,14 @@ | |
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs" | ||
"import": "./dist/index.mjs" | ||
} | ||
}, | ||
"main": "./dist/index.cjs", | ||
"main": "./dist/index.mjs", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"bin": { | ||
"sponsorkit": "./bin/sponsorkit.js" | ||
"sponsorkit": "./bin/sponsorkit.mjs" | ||
}, | ||
"files": [ | ||
"bin", | ||
|
@@ -47,28 +47,33 @@ | |
"dependencies": { | ||
"consola": "^3.2.3", | ||
"csv-parse": "^5.5.5", | ||
"datauri": "^4.1.0", | ||
"d3-hierarchy": "^3.1.2", | ||
"dotenv": "^16.4.5", | ||
"node-html-parser": "^6.1.13", | ||
"ofetch": "^1.3.4", | ||
"p-limit": "^5.0.0", | ||
"picocolors": "^1.0.0", | ||
"sharp": "^0.33.3", | ||
"unconfig": "^0.3.12", | ||
"unconfig": "^0.3.13", | ||
"yargs": "^17.7.2" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^2.12.2", | ||
"@antfu/eslint-config": "^2.16.1", | ||
"@antfu/ni": "^0.21.12", | ||
"@antfu/utils": "^0.7.7", | ||
"@types/node": "^20.12.5", | ||
"@types/d3-hierarchy": "^3.1.7", | ||
"@types/node": "^20.12.8", | ||
"@types/yargs": "^17.0.32", | ||
"bumpp": "^9.4.0", | ||
"eslint": "^8.57.0", | ||
"bumpp": "^9.4.1", | ||
"eslint": "^9.1.1", | ||
"esno": "^4.7.0", | ||
"jiti": "^1.21.0", | ||
"typescript": "^5.4.4", | ||
"typescript": "^5.4.5", | ||
"unbuild": "^2.0.0", | ||
"vite": "^5.2.8", | ||
"vitest": "^1.4.0" | ||
"vite": "^5.2.11", | ||
"vitest": "^1.5.3" | ||
}, | ||
"resolutions": { | ||
"@mooncellwiki/sponsorkit": "workspace:*" | ||
} | ||
} |
Oops, something went wrong.