@locale-labs/miniapp-builder 0.1.3 → 0.1.4
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 +22 -2
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -72,8 +72,28 @@ You can verify which SDK path is being resolved by looking at the console output
|
|
|
72
72
|
2. `node_modules/@locale-labs/miniapp-sdk`
|
|
73
73
|
3. Local fallback paths.
|
|
74
74
|
|
|
75
|
+
## 📦 Deployment
|
|
76
|
+
|
|
77
|
+
The builder can be deployed to npm using the `publish` GitHub Action. This will automatically build the package and publish it to the npm registry.
|
|
78
|
+
|
|
79
|
+
- When you push a commit to the `main` branch, the `publish` GitHub Action will be triggered and the package will be published to the npm registry.
|
|
80
|
+
- When you push a commit to the `dev` branch, the `publish` GitHub Action will be triggered and the package will be published to the npm registry with the `beta` tag.
|
|
81
|
+
|
|
82
|
+
The package will be published to the npm registry with the version number that is specified in the `package.json` file (that is automatically bumped by the [`semantic-release`](https://github.com/semantic-release/semantic-release) plugin).
|
|
83
|
+
|
|
84
|
+
> [Commit Message Conventions](https://github.com/angular/angular/blob/main/contributing-docs/commit-message-guidelines.md)
|
|
85
|
+
|
|
86
|
+
- Patch/Fix release: `fix: update readme` (1.0.0 -> 1.0.1)
|
|
87
|
+
- Minor/Feature release: `feat: add new feature` (1.0.0 -> 1.1.0)
|
|
88
|
+
- Major release: (1.0.0 -> 2.0.0)
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
perf: improve performance of x
|
|
92
|
+
|
|
93
|
+
BREAKING CHANGE: The graphiteWidth option has been removed.
|
|
94
|
+
The default graphite width of 10mm is always used for performance reasons.
|
|
95
|
+
```
|
|
96
|
+
|
|
75
97
|
---
|
|
76
98
|
|
|
77
99
|
Developed with ❤️ by **Locale Labs**.
|
|
78
|
-
|
|
79
|
-
<!-- test change 3 -->
|
package/dist/index.js
CHANGED
|
@@ -57123,7 +57123,8 @@ ${fileContent}`;
|
|
|
57123
57123
|
},
|
|
57124
57124
|
body: JSON.stringify({
|
|
57125
57125
|
version,
|
|
57126
|
-
html_content: fileContent
|
|
57126
|
+
html_content: fileContent,
|
|
57127
|
+
env: process.env.DEPLOY_ENV || "prod"
|
|
57127
57128
|
})
|
|
57128
57129
|
});
|
|
57129
57130
|
if (!response.ok) {
|