@intlpullhq/cli 0.1.1 → 0.1.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 +30 -35
- package/package.json +2 -7
package/README.md
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
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
|
|
|
@@ -652,38 +669,17 @@ npx @intlpullhq/cli zendesk disconnect
|
|
|
652
669
|
|
|
653
670
|
## CI/CD Integration
|
|
654
671
|
|
|
655
|
-
###
|
|
672
|
+
### Docker
|
|
656
673
|
|
|
657
|
-
```
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
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
|
|
674
|
+
```dockerfile
|
|
675
|
+
# Dockerfile
|
|
676
|
+
FROM node:20-alpine
|
|
677
|
+
|
|
678
|
+
WORKDIR /app
|
|
679
|
+
COPY . .
|
|
680
|
+
|
|
681
|
+
RUN npx @intlpullhq/cli sync --quiet
|
|
682
|
+
RUN npm run build
|
|
687
683
|
```
|
|
688
684
|
|
|
689
685
|
### GitLab CI
|
|
@@ -691,7 +687,7 @@ jobs:
|
|
|
691
687
|
```yaml
|
|
692
688
|
sync-translations:
|
|
693
689
|
stage: build
|
|
694
|
-
image: node:20
|
|
690
|
+
image: node:20-alpine
|
|
695
691
|
script:
|
|
696
692
|
- npx @intlpullhq/cli sync --quiet
|
|
697
693
|
variables:
|
|
@@ -757,7 +753,6 @@ Created by `intlpull init`, this file configures your project:
|
|
|
757
753
|
## Support
|
|
758
754
|
|
|
759
755
|
- Documentation: [docs.intlpull.com](https://docs.intlpull.com)
|
|
760
|
-
- Issues: [GitHub Issues](https://github.com/intlpull/intlpull/issues)
|
|
761
756
|
- Email: support@intlpull.com
|
|
762
757
|
|
|
763
758
|
## License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlpullhq/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
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
|
-
"
|
|
76
|
+
"email": "support@intlpull.com"
|
|
82
77
|
},
|
|
83
78
|
"author": "Intlpull <support@intlpull.com>",
|
|
84
79
|
"license": "MIT"
|