@julien-lin/universal-pwa-cli 1.2.3 → 1.2.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.fr.md +7 -3
- package/README.md +7 -3
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +19 -4
package/README.fr.md
CHANGED
|
@@ -160,7 +160,11 @@ pnpm lint
|
|
|
160
160
|
|
|
161
161
|
## Liens
|
|
162
162
|
|
|
163
|
-
- **
|
|
164
|
-
- **
|
|
165
|
-
- **
|
|
163
|
+
- **Repository** : [https://github.com/julien-lin/UniversalPWA](https://github.com/julien-lin/UniversalPWA)
|
|
164
|
+
- **Issues** : [https://github.com/julien-lin/UniversalPWA/issues](https://github.com/julien-lin/UniversalPWA/issues)
|
|
165
|
+
- **Discussions** : [https://github.com/julien-lin/UniversalPWA/discussions](https://github.com/julien-lin/UniversalPWA/discussions)
|
|
166
|
+
- **Contribution** : [https://github.com/julien-lin/UniversalPWA/blob/main/CONTRIBUTING.md](https://github.com/julien-lin/UniversalPWA/blob/main/CONTRIBUTING.md)
|
|
167
|
+
- **Releases** : [https://github.com/julien-lin/UniversalPWA/releases](https://github.com/julien-lin/UniversalPWA/releases)
|
|
168
|
+
- **Sponsor** : [https://github.com/sponsors/julien-lin](https://github.com/sponsors/julien-lin)
|
|
169
|
+
- **Package npm** : [https://www.npmjs.com/package/@julien-lin/universal-pwa-cli](https://www.npmjs.com/package/@julien-lin/universal-pwa-cli)
|
|
166
170
|
|
package/README.md
CHANGED
|
@@ -162,6 +162,10 @@ pnpm lint
|
|
|
162
162
|
|
|
163
163
|
## Links
|
|
164
164
|
|
|
165
|
-
- **
|
|
166
|
-
- **
|
|
167
|
-
- **
|
|
165
|
+
- **Repository**: [https://github.com/julien-lin/UniversalPWA](https://github.com/julien-lin/UniversalPWA)
|
|
166
|
+
- **Issues**: [https://github.com/julien-lin/UniversalPWA/issues](https://github.com/julien-lin/UniversalPWA/issues)
|
|
167
|
+
- **Discussions**: [https://github.com/julien-lin/UniversalPWA/discussions](https://github.com/julien-lin/UniversalPWA/discussions)
|
|
168
|
+
- **Contributing**: [https://github.com/julien-lin/UniversalPWA/blob/main/CONTRIBUTING.md](https://github.com/julien-lin/UniversalPWA/blob/main/CONTRIBUTING.md)
|
|
169
|
+
- **Releases**: [https://github.com/julien-lin/UniversalPWA/releases](https://github.com/julien-lin/UniversalPWA/releases)
|
|
170
|
+
- **Sponsor**: [https://github.com/sponsors/julien-lin](https://github.com/sponsors/julien-lin)
|
|
171
|
+
- **npm Package**: [https://www.npmjs.com/package/@julien-lin/universal-pwa-cli](https://www.npmjs.com/package/@julien-lin/universal-pwa-cli)
|
package/dist/index.cjs
CHANGED
|
@@ -179,7 +179,7 @@ async function initCommand(options = {}) {
|
|
|
179
179
|
backgroundColor: backgroundColor ?? "#000000",
|
|
180
180
|
icons: [{
|
|
181
181
|
src: "/icon-192x192.png",
|
|
182
|
-
// Placeholder -
|
|
182
|
+
// Placeholder - user must add a real icon
|
|
183
183
|
sizes: "192x192",
|
|
184
184
|
type: "image/png"
|
|
185
185
|
}]
|
|
@@ -240,7 +240,7 @@ async function initCommand(options = {}) {
|
|
|
240
240
|
themeColor: themeColor ?? "#ffffff",
|
|
241
241
|
backgroundColor: backgroundColor ?? "#000000",
|
|
242
242
|
appleTouchIcon: appleTouchIconExists ? normalizePathForInjection(appleTouchIconFullPath, result.projectPath, finalOutputDir, "/apple-touch-icon.png") : "/apple-touch-icon.png",
|
|
243
|
-
// Placeholder
|
|
243
|
+
// Placeholder if not generated
|
|
244
244
|
appleMobileWebAppCapable: true,
|
|
245
245
|
serviceWorkerPath: normalizePathForInjection(result.serviceWorkerPath, result.projectPath, finalOutputDir, "/sw.js")
|
|
246
246
|
});
|
package/dist/index.js
CHANGED
|
@@ -156,7 +156,7 @@ async function initCommand(options = {}) {
|
|
|
156
156
|
backgroundColor: backgroundColor ?? "#000000",
|
|
157
157
|
icons: [{
|
|
158
158
|
src: "/icon-192x192.png",
|
|
159
|
-
// Placeholder -
|
|
159
|
+
// Placeholder - user must add a real icon
|
|
160
160
|
sizes: "192x192",
|
|
161
161
|
type: "image/png"
|
|
162
162
|
}]
|
|
@@ -217,7 +217,7 @@ async function initCommand(options = {}) {
|
|
|
217
217
|
themeColor: themeColor ?? "#ffffff",
|
|
218
218
|
backgroundColor: backgroundColor ?? "#000000",
|
|
219
219
|
appleTouchIcon: appleTouchIconExists ? normalizePathForInjection(appleTouchIconFullPath, result.projectPath, finalOutputDir, "/apple-touch-icon.png") : "/apple-touch-icon.png",
|
|
220
|
-
// Placeholder
|
|
220
|
+
// Placeholder if not generated
|
|
221
221
|
appleMobileWebAppCapable: true,
|
|
222
222
|
serviceWorkerPath: normalizePathForInjection(result.serviceWorkerPath, result.projectPath, finalOutputDir, "/sw.js")
|
|
223
223
|
});
|
package/package.json
CHANGED
|
@@ -1,13 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@julien-lin/universal-pwa-cli",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"description": "CLI
|
|
3
|
+
"version": "1.2.4",
|
|
4
|
+
"description": "CLI to transform any web project into a PWA",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pwa",
|
|
7
7
|
"progressive-web-app",
|
|
8
|
+
"universal-pwa",
|
|
9
|
+
"pwa-cli",
|
|
10
|
+
"pwa-generator",
|
|
11
|
+
"pwa-converter",
|
|
12
|
+
"transform-to-pwa",
|
|
8
13
|
"cli",
|
|
14
|
+
"command-line",
|
|
9
15
|
"workbox",
|
|
10
|
-
"service-worker"
|
|
16
|
+
"service-worker",
|
|
17
|
+
"zero-config",
|
|
18
|
+
"auto-detect",
|
|
19
|
+
"framework-detection",
|
|
20
|
+
"multi-framework",
|
|
21
|
+
"wordpress-pwa",
|
|
22
|
+
"react-pwa",
|
|
23
|
+
"vue-pwa",
|
|
24
|
+
"symfony-pwa",
|
|
25
|
+
"laravel-pwa"
|
|
11
26
|
],
|
|
12
27
|
"author": "julien-lin",
|
|
13
28
|
"license": "MIT",
|
|
@@ -47,7 +62,7 @@
|
|
|
47
62
|
"inquirer": "^12.0.0",
|
|
48
63
|
"pino": "^9.14.0",
|
|
49
64
|
"zod": "^4.2.1",
|
|
50
|
-
"@julien-lin/universal-pwa-core": "^1.2.
|
|
65
|
+
"@julien-lin/universal-pwa-core": "^1.2.4"
|
|
51
66
|
},
|
|
52
67
|
"devDependencies": {
|
|
53
68
|
"@vitest/coverage-v8": "^2.1.4",
|