Skip to content

Commit c3519ad

Browse files
committed
chore: use a workspace
1 parent a2e6a38 commit c3519ad

File tree

19 files changed

+355
-415
lines changed

19 files changed

+355
-415
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install dependencies
2626
run: pnpm install
2727

28-
- run: pnpm publish --access public --no-git-checks
28+
- run: pnpm run publish:utils-ai
2929
env:
3030
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3131

package.json

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,19 @@
11
{
22
"name": "utils-ai",
33
"type": "module",
4-
"version": "0.1.1",
54
"packageManager": "[email protected]",
6-
"description": "A CLI of AI Utils",
7-
"author": "Estéban Soubiran <[email protected]> (https://github.com/barbapapazes/)",
5+
"description": "A Set of AI Utils",
86
"license": "MIT",
9-
"homepage": "https://github.com/barbapapazes/utils-ai",
10-
"keywords": [
11-
"utils",
12-
"ai",
13-
"cli"
14-
],
15-
"exports": {
16-
".": "./dist/index.mjs",
17-
"./cli": "./bin/index.mjs"
18-
},
19-
"types": "./dist/index.d.ts",
20-
"bin": "./bin/index.mjs",
21-
"files": [
22-
"bin",
23-
"dist"
24-
],
257
"scripts": {
26-
"dev": "jiti src/.ts",
27-
"build": "unbuild",
28-
"build:stub": "unbuild --stub",
29-
"start": "node bin/index.mjs",
30-
"release": "bumpp",
8+
"release": "bumpp -r",
319
"lint": "eslint .",
3210
"lint:fix": "eslint . --fix",
33-
"prepublishOnly": "pnpm run build"
34-
},
35-
"dependencies": {
36-
"citty": "^0.1.4",
37-
"consola": "^3.2.3",
38-
"ofetch": "^1.3.3",
39-
"rc9": "^2.1.1"
11+
"publish:utils-ai": "pnpm --filter utils-ai publish --access public --no-git-checks",
12+
"build": "pnpm run -r build"
4013
},
4114
"devDependencies": {
4215
"@antfu/eslint-config": "1.0.0-beta.22",
43-
"@types/node": "^20.8.3",
4416
"bumpp": "^9.2.0",
45-
"eslint": "^8.51.0",
46-
"jiti": "^1.20.0",
47-
"typescript": "^5.2.2",
48-
"unbuild": "^2.0.0"
17+
"eslint": "^8.51.0"
4918
}
5019
}
File renamed without changes.

packages/utils-ai/package.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"name": "utils-ai",
3+
"type": "module",
4+
"version": "0.1.1",
5+
"packageManager": "[email protected]",
6+
"description": "A CLI of AI Utils",
7+
"author": "Estéban Soubiran <[email protected]> (https://github.com/barbapapazes/)",
8+
"license": "MIT",
9+
"homepage": "https://github.com/barbapapazes/utils-ai",
10+
"keywords": [
11+
"utils",
12+
"ai",
13+
"cli"
14+
],
15+
"exports": {
16+
".": "./dist/index.mjs",
17+
"./cli": "./bin/index.mjs"
18+
},
19+
"types": "./dist/index.d.ts",
20+
"bin": "./bin/index.mjs",
21+
"files": [
22+
"bin",
23+
"dist"
24+
],
25+
"scripts": {
26+
"dev": "jiti src/.ts",
27+
"build": "unbuild",
28+
"build:stub": "unbuild --stub",
29+
"start": "node bin/index.mjs",
30+
"prepublishOnly": "pnpm run build"
31+
},
32+
"dependencies": {
33+
"citty": "^0.1.4",
34+
"consola": "^3.2.3",
35+
"ofetch": "^1.3.3",
36+
"rc9": "^2.1.1"
37+
},
38+
"devDependencies": {
39+
"@types/node": "^20.8.3",
40+
"jiti": "^1.20.0",
41+
"typescript": "^5.2.2",
42+
"unbuild": "^2.0.0"
43+
}
44+
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)