@share-crm/sharedev-cli 0.0.3 → 0.0.4-rc.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/bin/cli.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
-
3
- import module from 'node:module';
4
-
5
- // https://nodejs.org/api/module.html#module-compile-cache
6
- if (module.enableCompileCache && !process.env.NODE_DISABLE_COMPILE_CACHE) {
7
- try {
8
- module.enableCompileCache();
9
- } catch {
10
- // Ignore errors
11
- }
12
- }
13
-
14
- await import('../dist/sharedev.js');
2
+
3
+ import module from 'node:module';
4
+
5
+ // https://nodejs.org/api/module.html#module-compile-cache
6
+ if (module.enableCompileCache && !process.env.NODE_DISABLE_COMPILE_CACHE) {
7
+ try {
8
+ module.enableCompileCache();
9
+ } catch {
10
+ // Ignore errors
11
+ }
12
+ }
13
+
14
+ await import('../dist/sharedev.js');
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@share-crm/sharedev-cli",
3
+ "version": "0.0.3",
4
+ "private": false,
5
+ "description": "sharedev command line tool",
6
+ "type": "module",
7
+ "main": "dist/sharedev.js",
8
+ "bin": {
9
+ "sharedev": "./bin/cli.mjs"
10
+ },
11
+ "author": {
12
+ "name": "sharecrm-npm"
13
+ },
14
+ "files": [
15
+ "dist",
16
+ "bin",
17
+ "README.md"
18
+ ],
19
+ "scripts": {
20
+ "build": "tsc --noEmit && webpack --config build/webpack/webpack.prod.cjs",
21
+ "build:bin": "bun build --compile --target=bun-linux-x64 src/cli.ts --outfile dist/sharedev-linux-x64 && bun build --compile --target=bun-linux-arm64 src/cli.ts --outfile dist/sharedev-linux-arm64 && bun build --compile --target=bun-darwin-x64 src/cli.ts --outfile dist/sharedev-darwin-x64 && bun build --compile --target=bun-darwin-arm64 src/cli.ts --outfile dist/sharedev-darwin-arm64 && bun build --compile --target=bun-windows-x64 src/cli.ts --outfile dist/sharedev-windows-x64.exe",
22
+ "dev": "tsc --noEmit --watch & webpack --config build/webpack/webpack.dev.cjs --watch",
23
+ "dev2": "node src/cli.ts",
24
+ "typecheck": "tsc --noEmit",
25
+ "prettier": "prettier --write ./src/**/*.ts"
26
+ },
27
+ "dependencies": {
28
+ "@clack/prompts": "^1.1.0",
29
+ "@mariozechner/pi-coding-agent": "^0.62.0",
30
+ "axios": "~1.13.0",
31
+ "chalk": "^5.6.2",
32
+ "commander": "^14.0.1",
33
+ "fast-xml-parser": "^5.2.5",
34
+ "extract-zip": "^2.0.1",
35
+ "fs-extra": "^11.3.2",
36
+ "ora": "^9.3.0"
37
+ },
38
+ "devDependencies": {
39
+ "@types/extract-zip": "^2.0.3",
40
+ "@types/fs-extra": "^11.0.4",
41
+ "@types/node": "^24.3.0",
42
+ "ts-loader": "^9.5.4",
43
+ "typescript": "^5.9.2",
44
+ "webpack": "^5.101.3",
45
+ "webpack-cli": "^6.0.1",
46
+ "webpack-merge": "^6.0.1"
47
+ },
48
+ "packageManager": "pnpm@10.17.0"
49
+ }