@intlpullhq/cli 0.1.1 → 0.1.3

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.
Files changed (2) hide show
  1. package/README.md +30 -65
  2. package/package.json +2 -7
package/README.md CHANGED
@@ -1,6 +1,23 @@
1
- # IntlPull CLI
1
+ <p align="center">
2
+ <a href="https://intlpull.com">
3
+ <img src="https://intlpull.com/logo.png" alt="IntlPull" width="120" />
4
+ </a>
5
+ </p>
2
6
 
3
- The official CLI for [IntlPull](https://intlpull.com) - intelligent i18n for modern apps. Transform code, manage translations, and sync with IntlPull cloud.
7
+ <h1 align="center">IntlPull CLI</h1>
8
+
9
+ <p align="center">
10
+ The official CLI for <a href="https://intlpull.com">IntlPull</a> - intelligent i18n for modern apps.<br/>
11
+ Transform code, manage translations, and sync with IntlPull cloud.
12
+ </p>
13
+
14
+ <p align="center">
15
+ <a href="https://www.npmjs.com/package/@intlpullhq/cli"><img src="https://img.shields.io/npm/v/@intlpullhq/cli.svg" alt="npm version" /></a>
16
+ <a href="https://www.npmjs.com/package/@intlpullhq/cli"><img src="https://img.shields.io/npm/dm/@intlpullhq/cli.svg" alt="npm downloads" /></a>
17
+ <img src="https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen" alt="node version" />
18
+ </p>
19
+
20
+ ---
4
21
 
5
22
  ## Features
6
23
 
@@ -486,33 +503,6 @@ npx @intlpullhq/cli migrate from lokalise --api-key <key> --dry-run
486
503
  | `--to <id>` | Target IntlPull project ID |
487
504
  | `--dry-run` | Preview without importing |
488
505
 
489
- #### Compare Pricing
490
-
491
- ```bash
492
- # Compare with all competitors
493
- npx @intlpullhq/cli compare
494
-
495
- # Compare specific competitor
496
- npx @intlpullhq/cli compare --from lokalise
497
-
498
- # Custom usage parameters
499
- npx @intlpullhq/cli compare --keys 10000 --languages 5 --users 10
500
-
501
- # JSON output
502
- npx @intlpullhq/cli compare --json
503
- ```
504
-
505
- **Options:**
506
- | Option | Description |
507
- |--------|-------------|
508
- | `--from <provider>` | Specific competitor: `lokalise`, `crowdin`, `phrase` |
509
- | `--keys <n>` | Number of translation keys (default: 5000) |
510
- | `--languages <n>` | Number of languages (default: 3) |
511
- | `--users <n>` | Number of team members (default: 5) |
512
- | `--json` | Output as JSON |
513
-
514
- ---
515
-
516
506
  ### Workflows (Enterprise)
517
507
 
518
508
  Manage approval workflows for translation review.
@@ -652,38 +642,16 @@ npx @intlpullhq/cli zendesk disconnect
652
642
 
653
643
  ## CI/CD Integration
654
644
 
655
- ### GitHub Actions
645
+ ### Docker
656
646
 
657
- ```yaml
658
- name: Sync Translations
659
-
660
- on:
661
- push:
662
- branches: [main]
663
-
664
- jobs:
665
- sync:
666
- runs-on: ubuntu-latest
667
- steps:
668
- - uses: actions/checkout@v4
669
-
670
- - name: Setup Node.js
671
- uses: actions/setup-node@v4
672
- with:
673
- node-version: '20'
674
-
675
- - name: Sync Translations
676
- env:
677
- INTLPULL_API_KEY: ${{ secrets.INTLPULL_API_KEY }}
678
- run: npx @intlpullhq/cli sync --quiet
679
-
680
- - name: Commit changes
681
- run: |
682
- git config user.name "github-actions"
683
- git config user.email "github-actions@github.com"
684
- git add .
685
- git diff --staged --quiet || git commit -m "chore: sync translations"
686
- git push
647
+ ```dockerfile
648
+ FROM node:20-alpine
649
+
650
+ WORKDIR /app
651
+ COPY . .
652
+
653
+ RUN npx @intlpullhq/cli sync --quiet
654
+ RUN npm run build
687
655
  ```
688
656
 
689
657
  ### GitLab CI
@@ -691,7 +659,7 @@ jobs:
691
659
  ```yaml
692
660
  sync-translations:
693
661
  stage: build
694
- image: node:20
662
+ image: node:20-alpine
695
663
  script:
696
664
  - npx @intlpullhq/cli sync --quiet
697
665
  variables:
@@ -705,14 +673,12 @@ sync-translations:
705
673
  Add `INTLPULL_API_KEY` to your environment variables and update your build command:
706
674
 
707
675
  ```bash
708
- # Build command
709
676
  npx @intlpullhq/cli sync --quiet && next build
710
677
  ```
711
678
 
712
- ### Pre-commit Hook
679
+ ### Pre-commit Hook (`.husky/pre-commit`)
713
680
 
714
681
  ```bash
715
- # .husky/pre-commit
716
682
  npx @intlpullhq/cli check --source en
717
683
  ```
718
684
 
@@ -757,7 +723,6 @@ Created by `intlpull init`, this file configures your project:
757
723
  ## Support
758
724
 
759
725
  - Documentation: [docs.intlpull.com](https://docs.intlpull.com)
760
- - Issues: [GitHub Issues](https://github.com/intlpull/intlpull/issues)
761
726
  - Email: support@intlpull.com
762
727
 
763
728
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlpullhq/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "The official CLI for IntlPull - intelligent i18n for modern apps. Manage translations, sync with cloud, and automate localization workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -71,14 +71,9 @@
71
71
  "typescript": "^5.4.0",
72
72
  "vitest": "^2.0.0"
73
73
  },
74
- "repository": {
75
- "type": "git",
76
- "url": "https://github.com/intlpull/intlpull",
77
- "directory": "apps/cli"
78
- },
79
74
  "homepage": "https://intlpull.com",
80
75
  "bugs": {
81
- "url": "https://github.com/intlpull/intlpull/issues"
76
+ "email": "support@intlpull.com"
82
77
  },
83
78
  "author": "Intlpull <support@intlpull.com>",
84
79
  "license": "MIT"