taste 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,52 +1,118 @@
1
- # Taste
1
+ # Taste CLI
2
2
 
3
- Share and download taste packages for Command Code.
3
+ Manage taste learning packages for Command Code.
4
4
 
5
5
  ## Usage
6
6
 
7
- No installation required! Use with `npx`:
7
+ No installation required! Use with npx:
8
8
 
9
- ### Authentication
9
+ ```bash
10
+ npx taste pull [package-name]
11
+ npx taste push [package-name]
12
+ npx taste list
13
+ ```
14
+
15
+ ## Installation (Optional)
10
16
 
11
- Get your API key from Command Code:
17
+ For frequent use, install globally:
12
18
 
13
19
  ```bash
14
- npx taste auth
20
+ npm install -g taste
15
21
  ```
16
22
 
17
- This will guide you to:
18
- 1. Visit https://commandcode.ai
19
- 2. Log in or create an account
20
- 3. Get your API key from account settings
21
- 4. Enter it in the CLI
23
+ Then use directly:
24
+
25
+ ```bash
26
+ taste pull [package-name]
27
+ taste push [package-name]
28
+ ```
29
+
30
+ ## Commands
31
+
32
+ ### Pull Taste Package
22
33
 
23
- ### Install Taste Package
34
+ Pull taste packages from storage to your project:
24
35
 
25
36
  ```bash
26
- npx taste install [package-name]
27
- npx taste add [package-name] # alias
37
+ npx taste pull [package-name]
38
+ npx taste pull --all # Pull all packages
39
+ npx taste pull -g [package-name] # Pull from global storage
28
40
  ```
29
41
 
30
42
  ### Push Taste Package
31
43
 
44
+ Push taste packages from your project to storage:
45
+
32
46
  ```bash
33
47
  npx taste push [package-name]
48
+ npx taste push --all # Push all packages
49
+ npx taste push -g [package-name] # Push to global storage
50
+ npx taste push --overwrite # Overwrite instead of merge
34
51
  ```
35
52
 
36
- ### Pull Taste Package
53
+ ### List Packages
54
+
55
+ List available taste packages:
37
56
 
38
57
  ```bash
39
- npx taste pull [package-name]
58
+ npx taste list
59
+ npx taste list -g # List global packages
60
+ npx taste list --remote # List remote packages
61
+ ```
62
+
63
+ ### Delete Package
64
+
65
+ Delete a taste package:
66
+
67
+ ```bash
68
+ npx taste delete <package-name>
69
+ npx taste delete -g <package-name> # Delete from global storage
70
+ ```
71
+
72
+ ### Lint Package
73
+
74
+ Validate taste file format and structure:
75
+
76
+ ```bash
77
+ npx taste lint [package-name]
78
+ npx taste lint --all # Lint all packages
79
+ npx taste lint -g [package-name] # Lint global packages
40
80
  ```
41
81
 
82
+ ### Open Package
83
+
84
+ Open a taste package in your editor:
85
+
86
+ ```bash
87
+ npx taste open <package-name>
88
+ npx taste open -g <package-name> # Open from global storage
89
+ ```
90
+
91
+ ### Update CLI
92
+
93
+ Update taste CLI to the latest version:
94
+
95
+ ```bash
96
+ npx taste update
97
+ ```
42
98
 
43
99
  ### Other Commands
44
100
 
45
101
  ```bash
46
102
  npx taste -v # Show version
103
+ npx taste --version # Show version
47
104
  npx taste -h # Show help
105
+ npx taste --help # Show help
48
106
  ```
49
107
 
108
+ ## What is Taste?
109
+
110
+ Taste packages allow you to customize Command Code's behavior and preferences. Share your configurations, workflows, and preferences with your team or the community.
111
+
112
+ ## Authentication
113
+
114
+ Authentication is handled automatically by Command Code. The first time you use a command that requires authentication, you'll be prompted to log in.
115
+
50
116
  ## Development
51
117
 
52
118
  ```bash
@@ -56,14 +122,32 @@ pnpm install
56
122
  # Build
57
123
  pnpm build
58
124
 
59
- # Development mode
125
+ # Development mode with auto-reload
60
126
  pnpm dev
61
127
 
62
- # Test locally with npx
63
- pnpm link --global
64
- npx taste auth
128
+ # Test locally with npm link
129
+ npm link
130
+ taste -v
65
131
  ```
66
132
 
67
- ## Note
133
+ ## About
134
+
135
+ Taste CLI is a wrapper for Command Code's taste commands, providing a quick and convenient way to manage your taste packages.
136
+
137
+ For more information about Command Code, visit [commandcode.ai](https://commandcode.ai)
138
+
139
+ ## License
140
+
141
+ UNLICENSED
142
+
143
+ ## Keywords
68
144
 
69
- Some of the features are still under development. Join the waitlist at https://commandcode.ai for updates!
145
+ - cli
146
+ - taste
147
+ - commandcode
148
+ - command-code
149
+ - preferences
150
+ - ai
151
+ - coding-agent
152
+ - langbase
153
+ - developer-tools
package/dist/index.mjs ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import{spawn as o}from"child_process";import{readFileSync as e}from"fs";import{fileURLToPath as a}from"url";import{dirname as t,join as n}from"path";import{Command as s}from"commander";var r=t(a(import.meta.url)),l=JSON.parse(e(n(r,"../package.json"),"utf-8")),i=new s;i.name("taste").description("Manage taste learning packages by CommandCode").version(l.version,"-v, --version","output the version number").allowUnknownOption().helpOption("-h, --help","display help for command"),i.command("push [package]").description("Push packages from project to remote or global storage").option("-g, --global","Push to global storage").option("--all","Push all packages").option("--overwrite","Overwrite instead of merge (default: merge)").option("--dev","Push to dev environment").allowUnknownOption().action(()=>{}),i.command("pull [package]").description("Pull packages from storage to project").option("-g, --global","Pull from global storage").option("--all","Pull all packages").option("--dev","Pull from dev environment").allowUnknownOption().action(()=>{}),i.command("list").description("List available packages").option("-g, --global","List global packages").option("--remote","List remote packages").option("--dev","Use dev environment").allowUnknownOption().action(()=>{}),i.command("delete <package>").description("Delete a package").option("-g, --global","Delete from global storage").option("--dev","Use dev environment").allowUnknownOption().action(()=>{}),i.command("lint [package]").description("Validate taste file format and structure").option("-g, --global","Lint global packages").option("--all","Lint all packages").allowUnknownOption().action(()=>{}),i.command("open <package>").description("Open a package in your editor").option("-g, --global","Open from global storage").option("--dev","Use dev environment").allowUnknownOption().action(()=>{}),i.command("update").description("Update taste CLI to the latest version").action(async()=>{console.log("Updating taste CLI...");const{execSync:o}=await import("child_process");try{o("npm install -g taste@latest",{stdio:"inherit"}),console.log("\n✅ Taste CLI updated successfully!"),console.log('Run "taste -v" to see the new version.')}catch(o){console.error("\n❌ Failed to update taste CLI"),console.error("Please try manually: npm install -g taste@latest"),process.exit(1)}});var p=process.argv.includes("--version")||process.argv.includes("-v"),c=process.argv.includes("--help")||process.argv.includes("-h")||2===process.argv.length,g="update"===process.argv[2];if(p||c||g)i.parse(process.argv);else{const e=o("npx",["command-code","taste",...process.argv.slice(2)],{stdio:"inherit",env:process.env});e.on("error",o=>{console.error("Error: Failed to execute command-code"),console.error(o.message),process.exit(1)}),e.on("exit",o=>{process.exit(o??0)})}
package/package.json CHANGED
@@ -1,35 +1,54 @@
1
1
  {
2
- "name": "taste",
3
- "version": "0.3.0",
4
- "description": "Share and download taste packages for Command Code",
5
- "main": "dist/index.js",
6
- "bin": {
7
- "taste": "dist/index.js"
8
- },
9
- "scripts": {
10
- "build": "tsup",
11
- "dev": "tsup --watch",
12
- "test": "vitest"
13
- },
14
- "keywords": [
15
- "cli",
16
- "taste",
17
- "commandcode",
18
- "preferences"
19
- ],
20
- "author": "Ahmad Awais <me@AhmadAwais.com> (https://x.com/MrAhmadAwais)",
21
- "license": "UNLICENSED",
22
- "packageManager": "pnpm@10.8.1",
23
- "devDependencies": {
24
- "@types/node": "^24.10.0",
25
- "tsup": "^8.5.0",
26
- "typescript": "^5.9.3",
27
- "vitest": "^4.0.8"
28
- },
29
- "dependencies": {
30
- "@clack/prompts": "^0.11.0",
31
- "commander": "^14.0.2"
32
- },
33
- "type": "commonjs",
34
- "types": "./dist/index.d.ts"
35
- }
2
+ "name": "taste",
3
+ "version": "0.3.2",
4
+ "description": "Taste CLI to manage CommandCode taste",
5
+ "type": "module",
6
+ "main": "dist/index.mjs",
7
+ "bin": {
8
+ "taste": "dist/index.mjs"
9
+ },
10
+ "keywords": [
11
+ "taste",
12
+ "ai",
13
+ "coding-agent",
14
+ "langbase",
15
+ "command-code",
16
+ "developer-tools",
17
+ "cli"
18
+ ],
19
+ "author": {
20
+ "name": "Langbase",
21
+ "url": "https://Langbase.com/docs"
22
+ },
23
+ "license": "UNLICENSED",
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "https://github.com/langbase/command-code",
27
+ "directory": "packages/taste"
28
+ },
29
+ "files": [
30
+ "dist",
31
+ "README.md"
32
+ ],
33
+ "private": false,
34
+ "publishConfig": {
35
+ "access": "public"
36
+ },
37
+ "dependencies": {
38
+ "commander": "^14.0.0",
39
+ "command-code": "0.0.4-alpha.38"
40
+ },
41
+ "devDependencies": {
42
+ "@types/node": "^24.2.0",
43
+ "tsup": "^8.5.0",
44
+ "typescript": "^5.9.2"
45
+ },
46
+ "scripts": {
47
+ "build": "tsup",
48
+ "build:obfuscated": "tsup --config tsup.config.obfuscated.ts",
49
+ "build:balanced": "tsup --config tsup.config.balanced.ts",
50
+ "dev": "tsup --watch",
51
+ "typecheck": "tsc --noEmit",
52
+ "publish:prod": "pnpm run build:obfuscated && npm publish --access public"
53
+ }
54
+ }
@@ -1,2 +0,0 @@
1
- # Taste (Continuously Learned by CommandCode)
2
-
package/.prettierrc DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "bracketSpacing": false,
3
- "trailingComma": "all",
4
- "arrowParens": "avoid",
5
- "singleQuote": true,
6
- "printWidth": 80,
7
- "useTabs": true,
8
- "tabWidth": 4,
9
- "semi": true
10
- }
package/dist/index.d.ts DELETED
@@ -1 +0,0 @@
1
- #!/usr/bin/env node
package/dist/index.js DELETED
@@ -1,112 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
18
- // If the importer is in node compatibility mode or this is not an ESM
19
- // file that has been converted to a CommonJS file using a Babel-
20
- // compatible transform (i.e. "__esModule" has not been set), then set
21
- // "default" to the CommonJS "module.exports" for node compatibility.
22
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
23
- mod
24
- ));
25
-
26
- // src/index.ts
27
- var import_commander5 = require("commander");
28
-
29
- // src/commands/auth.ts
30
- var import_commander = require("commander");
31
- var clack = __toESM(require("@clack/prompts"));
32
- var authCommand = new import_commander.Command("auth").description("Authenticate with Command Code").action(async () => {
33
- clack.intro("Authentication");
34
- clack.note(
35
- "To get your API key:\n\n1. Visit https://commandcode.ai\n2. Log in or create an account\n3. Navigate to your account settings\n4. Copy your API key",
36
- "Get API Key"
37
- );
38
- const apiKey = await clack.text({
39
- message: "Enter your API key:",
40
- placeholder: "cc_...",
41
- validate: (value) => {
42
- if (!value) return "API key is required";
43
- if (!value.startsWith("cc_")) return "Invalid API key format";
44
- }
45
- });
46
- if (clack.isCancel(apiKey)) {
47
- clack.cancel("Authentication cancelled");
48
- process.exit(0);
49
- }
50
- clack.outro("Authentication successful! Your API key has been saved.");
51
- });
52
-
53
- // src/commands/install.ts
54
- var import_commander2 = require("commander");
55
- var clack2 = __toESM(require("@clack/prompts"));
56
- var installCommand = new import_commander2.Command("install").alias("add").description("Install a taste package").argument("[package-name]", "Name of the taste package to install").action(async (packageName) => {
57
- clack2.intro("Install Taste Package");
58
- clack2.note(
59
- "\u{1F6A7} We're currently building the taste library system!\n\nThis feature is coming soon. Join our waitlist to get early access:\n\n\u{1F449} Visit https://commandcode.ai\n\u{1F449} Log in to your account\n\u{1F449} Join the waitlist for taste packages",
60
- "Coming Soon"
61
- );
62
- clack2.outro("Thank you for your interest! We'll notify you when taste installation is available.");
63
- });
64
-
65
- // src/commands/push.ts
66
- var import_commander3 = require("commander");
67
- var clack3 = __toESM(require("@clack/prompts"));
68
- var pushCommand = new import_commander3.Command("push").description("Push your taste package to Command Code").argument("[package-name]", "Name of the taste package to push").action(async (packageName) => {
69
- clack3.intro("Push Taste Package");
70
- clack3.note(
71
- "\u{1F6A7} We're currently building the taste library system!\n\nThis feature is coming soon. Join our waitlist to get early access:\n\n\u{1F449} Visit https://commandcode.ai\n\u{1F449} Log in to your account\n\u{1F449} Join the waitlist for taste packages",
72
- "Coming Soon"
73
- );
74
- clack3.outro("Thank you for your interest! We'll notify you when taste push is available.");
75
- });
76
-
77
- // src/commands/pull.ts
78
- var import_commander4 = require("commander");
79
- var clack4 = __toESM(require("@clack/prompts"));
80
- var pullCommand = new import_commander4.Command("pull").description("Pull a taste package from Command Code").argument("[package-name]", "Name of the taste package to pull").action(async (packageName) => {
81
- clack4.intro("Pull Taste Package");
82
- clack4.note(
83
- "\u{1F6A7} We're currently building the taste library system!\n\nThis feature is coming soon. Join our waitlist to get early access:\n\n\u{1F449} Visit https://commandcode.ai\n\u{1F449} Log in to your account\n\u{1F449} Join the waitlist for taste packages",
84
- "Coming Soon"
85
- );
86
- clack4.outro("Thank you for your interest! We'll notify you when taste pull is available.");
87
- });
88
-
89
- // src/utils/banner.ts
90
- var showBanner = () => {
91
- console.log(`
92
- \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557
93
- \u255A\u2550\u2550\u2588\u2588\u2554\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2557\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D\u255A\u2550\u2550\u2588\u2588\u2554\u2550\u2550\u255D\u2588\u2588\u2554\u2550\u2550\u2550\u2550\u255D
94
- \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2557
95
- \u2588\u2588\u2551 \u2588\u2588\u2554\u2550\u2550\u2588\u2588\u2551\u255A\u2550\u2550\u2550\u2550\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2554\u2550\u2550\u255D
96
- \u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2551 \u2588\u2588\u2551 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2557
97
- \u255A\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u255D\u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D \u255A\u2550\u255D \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u255D
98
- `);
99
- };
100
-
101
- // src/index.ts
102
- var program = new import_commander5.Command();
103
- var isVersionCommand = process.argv.includes("-v") || process.argv.includes("--version");
104
- if (!isVersionCommand) {
105
- showBanner();
106
- }
107
- program.name("taste").description("Share and download taste packages for Command Code").version("0.0.1", "-v, --version").helpOption("-h, --help");
108
- program.addCommand(authCommand);
109
- program.addCommand(installCommand);
110
- program.addCommand(pushCommand);
111
- program.addCommand(pullCommand);
112
- program.parse();
@@ -1,33 +0,0 @@
1
- import { Command } from 'commander';
2
- import * as clack from '@clack/prompts';
3
-
4
- export const authCommand = new Command('auth')
5
- .description('Authenticate with Command Code')
6
- .action(async () => {
7
- clack.intro('Authentication');
8
-
9
- clack.note(
10
- 'To get your API key:\n\n' +
11
- '1. Visit https://commandcode.ai\n' +
12
- '2. Log in or create an account\n' +
13
- '3. Navigate to your account settings\n' +
14
- '4. Copy your API key',
15
- 'Get API Key'
16
- );
17
-
18
- const apiKey = await clack.text({
19
- message: 'Enter your API key:',
20
- placeholder: 'cc_...',
21
- validate: (value) => {
22
- if (!value) return 'API key is required';
23
- if (!value.startsWith('cc_')) return 'Invalid API key format';
24
- }
25
- });
26
-
27
- if (clack.isCancel(apiKey)) {
28
- clack.cancel('Authentication cancelled');
29
- process.exit(0);
30
- }
31
-
32
- clack.outro('Authentication successful! Your API key has been saved.');
33
- });
@@ -1,21 +0,0 @@
1
- import { Command } from 'commander';
2
- import * as clack from '@clack/prompts';
3
-
4
- export const installCommand = new Command('install')
5
- .alias('add')
6
- .description('Install a taste package')
7
- .argument('[package-name]', 'Name of the taste package to install')
8
- .action(async (packageName?: string) => {
9
- clack.intro('Install Taste Package');
10
-
11
- clack.note(
12
- '🚧 We\'re currently building the taste library system!\n\n' +
13
- 'This feature is coming soon. Join our waitlist to get early access:\n\n' +
14
- '👉 Visit https://commandcode.ai\n' +
15
- '👉 Log in to your account\n' +
16
- '👉 Join the waitlist for taste packages',
17
- 'Coming Soon'
18
- );
19
-
20
- clack.outro('Thank you for your interest! We\'ll notify you when taste installation is available.');
21
- });
@@ -1,20 +0,0 @@
1
- import { Command } from 'commander';
2
- import * as clack from '@clack/prompts';
3
-
4
- export const pullCommand = new Command('pull')
5
- .description('Pull a taste package from Command Code')
6
- .argument('[package-name]', 'Name of the taste package to pull')
7
- .action(async (packageName?: string) => {
8
- clack.intro('Pull Taste Package');
9
-
10
- clack.note(
11
- '🚧 We\'re currently building the taste library system!\n\n' +
12
- 'This feature is coming soon. Join our waitlist to get early access:\n\n' +
13
- '👉 Visit https://commandcode.ai\n' +
14
- '👉 Log in to your account\n' +
15
- '👉 Join the waitlist for taste packages',
16
- 'Coming Soon'
17
- );
18
-
19
- clack.outro('Thank you for your interest! We\'ll notify you when taste pull is available.');
20
- });
@@ -1,20 +0,0 @@
1
- import { Command } from 'commander';
2
- import * as clack from '@clack/prompts';
3
-
4
- export const pushCommand = new Command('push')
5
- .description('Push your taste package to Command Code')
6
- .argument('[package-name]', 'Name of the taste package to push')
7
- .action(async (packageName?: string) => {
8
- clack.intro('Push Taste Package');
9
-
10
- clack.note(
11
- '🚧 We\'re currently building the taste library system!\n\n' +
12
- 'This feature is coming soon. Join our waitlist to get early access:\n\n' +
13
- '👉 Visit https://commandcode.ai\n' +
14
- '👉 Log in to your account\n' +
15
- '👉 Join the waitlist for taste packages',
16
- 'Coming Soon'
17
- );
18
-
19
- clack.outro('Thank you for your interest! We\'ll notify you when taste push is available.');
20
- });
package/src/index.ts DELETED
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- import { Command } from 'commander';
4
- import { authCommand } from './commands/auth';
5
- import { installCommand } from './commands/install';
6
- import { pushCommand } from './commands/push';
7
- import { pullCommand } from './commands/pull';
8
- import { showBanner } from './utils/banner';
9
-
10
- const program = new Command();
11
-
12
- const isVersionCommand = process.argv.includes('-v') || process.argv.includes('--version');
13
-
14
- if (!isVersionCommand) {
15
- showBanner();
16
- }
17
-
18
- program
19
- .name('taste')
20
- .description('Share and download taste packages for Command Code')
21
- .version('0.0.1', '-v, --version')
22
- .helpOption('-h, --help');
23
-
24
- program.addCommand(authCommand);
25
- program.addCommand(installCommand);
26
- program.addCommand(pushCommand);
27
- program.addCommand(pullCommand);
28
-
29
- program.parse();
@@ -1,10 +0,0 @@
1
- export const showBanner = () => {
2
- console.log(`
3
- ████████╗ █████╗ ███████╗████████╗███████╗
4
- ╚══██╔══╝██╔══██╗██╔════╝╚══██╔══╝██╔════╝
5
- ██║ ███████║███████╗ ██║ █████╗
6
- ██║ ██╔══██║╚════██║ ██║ ██╔══╝
7
- ██║ ██║ ██║███████║ ██║ ███████╗
8
- ╚═╝ ╚═╝ ╚═╝╚══════╝ ╚═╝ ╚══════╝
9
- `);
10
- };
package/tsconfig.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2020",
4
- "module": "commonjs",
5
- "lib": ["ES2020"],
6
- "outDir": "./dist",
7
- "rootDir": "./src",
8
- "strict": true,
9
- "esModuleInterop": true,
10
- "skipLibCheck": true,
11
- "forceConsistentCasingInFileNames": true,
12
- "resolveJsonModule": true,
13
- "moduleResolution": "node"
14
- },
15
- "include": ["src/**/*"],
16
- "exclude": ["node_modules", "dist"]
17
- }
package/tsup.config.ts DELETED
@@ -1,9 +0,0 @@
1
- import { defineConfig } from 'tsup';
2
-
3
- export default defineConfig({
4
- entry: ['src/index.ts'],
5
- format: ['cjs'],
6
- dts: true,
7
- clean: true,
8
- shims: true,
9
- });