rock 0.11.1 → 0.11.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/dist/src/bin.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rock",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "type": "module",
5
5
  "types": "./dist/src/index.d.ts",
6
6
  "exports": {
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@react-native-community/cli-config": "^20.0.0",
27
- "@rock-js/config": "^0.11.1",
28
- "@rock-js/tools": "^0.11.1",
27
+ "@rock-js/config": "^0.11.2",
28
+ "@rock-js/tools": "^0.11.2",
29
29
  "adm-zip": "^0.5.16",
30
30
  "commander": "^12.1.0",
31
31
  "tar": "^7.4.3",
@@ -1 +0,0 @@
1
- {"version":3,"file":"bin.d.ts","sourceRoot":"","sources":["../../src/bin.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,YAAY,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkDeprecatedOptions.d.ts","sourceRoot":"","sources":["../../../src/lib/checkDeprecatedOptions.ts"],"names":[],"mappings":"AAgFA,eAAO,MAAM,sBAAsB,GAAI,MAAM,MAAM,EAAE,SAapD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../../src/lib/cli.ts"],"names":[],"mappings":"AAgBA,KAAK,UAAU,GAAG;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,GAAG,GAAU,eAAe,UAAU,kBAqElD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"clean.d.ts","sourceRoot":"","sources":["../../../../src/lib/plugins/clean.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AA8V5D,eAAO,MAAM,WAAW,SAErB,KAAK,SAAS,KAAG,YAgCjB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"fingerprint.d.ts","sourceRoot":"","sources":["../../../../src/lib/plugins/fingerprint.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAYtD,KAAK,+BAA+B,GAAG;IACrC,QAAQ,EAAE,KAAK,GAAG,SAAS,CAAC;IAC5B,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,wBAAsB,wBAAwB,CAC5C,IAAI,EAAE,MAAM,EACZ,EAAE,YAAY,EAAE,WAAW,EAAE,EAAE,kBAAkB,EACjD,OAAO,EAAE,+BAA+B,iBAqDzC;AAeD,eAAO,MAAM,iBAAiB,SAAU,KAAK,SAAS;;;CA4BrD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"logConfig.d.ts","sourceRoot":"","sources":["../../../../src/lib/plugins/logConfig.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AA4B5D,eAAO,MAAM,SAAS,GACpB,MAAM;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,EAC3B,WAAW;IACT,SAAS,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;IACrC,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;CAC5B,kBAoBF,CAAC;AAEF,eAAO,MAAM,eAAe,GACzB,WAAW;IACV,SAAS,EAAE,YAAY,CAAC,WAAW,CAAC,CAAC;IACrC,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;CAC5B,MACA,KAAK,SAAS;;;CAmBd,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"remoteCache.d.ts","sourceRoot":"","sources":["../../../../src/lib/plugins/remoteCache.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAiP5D,eAAO,MAAM,iBAAiB,SAE3B,KAAK,SAAS,KAAG,YA6DjB,CAAC"}
@@ -1,5 +0,0 @@
1
- export declare const templateIndexHtmlPlugin: ({ appName, version, manifestPlistUrl, }: {
2
- appName: string;
3
- version: string;
4
- manifestPlistUrl: string;
5
- }) => string;
@@ -1,189 +0,0 @@
1
- export const templateIndexHtmlPlugin = ({ appName, version, manifestPlistUrl, }) => {
2
- return `<!DOCTYPE html>
3
- <html lang="en">
4
- <head>
5
- <meta charset="UTF-8" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>Download iOS App</title>
8
- <style>
9
- * {
10
- margin: 0;
11
- padding: 0;
12
- box-sizing: border-box;
13
- }
14
-
15
- body {
16
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
17
- Oxygen, Ubuntu, Cantarell, sans-serif;
18
- min-height: 100vh;
19
- display: flex;
20
- align-items: center;
21
- justify-content: center;
22
- padding: 20px;
23
- font-size: 16px;
24
- }
25
-
26
- .container {
27
- text-align: center;
28
- max-width: 500px;
29
- width: 100%;
30
- }
31
-
32
- .app-icon {
33
- width: 100px;
34
- height: 100px;
35
- margin: 0 auto 15px;
36
- display: flex;
37
- align-items: center;
38
- justify-content: center;
39
- font-size: 48px;
40
- color: white;
41
- }
42
-
43
- h1 {
44
- color: #1d1d1f;
45
- font-size: 28px;
46
- font-weight: 600;
47
- margin-bottom: 15px;
48
- overflow-wrap: break-word;
49
- }
50
-
51
- .subtitle {
52
- color: #86868b;
53
- font-size: 16px;
54
- line-height: 1.5;
55
- margin-bottom: 30px;
56
- }
57
-
58
- .version {
59
- color: #1d1d1f;
60
- font-size: 16px;
61
- line-height: 1.5;
62
- margin-bottom: 10px;
63
- }
64
-
65
- .download-button {
66
- background: #8232ff;
67
- color: white;
68
- border: none;
69
- padding: 16px 32px;
70
- border-radius: 2px;
71
- font-size: 14px;
72
- cursor: pointer;
73
- transition: all 0.3s ease;
74
- text-decoration: none;
75
- display: inline-block;
76
- margin-bottom: 20px;
77
- }
78
-
79
- .download-button:hover {
80
- transform: translateY(-2px);
81
- box-shadow: 0 10px 25px rgba(0, 122, 255, 0.3);
82
- }
83
-
84
- .download-button:active {
85
- transform: translateY(0);
86
- }
87
-
88
- .instructions {
89
- background: #f5f5f7;
90
- border-radius: 2px;
91
- padding: 20px;
92
- margin-top: 20px;
93
- text-align: left;
94
- }
95
-
96
- .instructions h3 {
97
- color: #1d1d1f;
98
- font-size: 16px;
99
- margin-bottom: 10px;
100
- }
101
-
102
- .instructions ol {
103
- color: #86868b;
104
- font-size: 14px;
105
- line-height: 1.6;
106
- padding-left: 20px;
107
- }
108
-
109
- .instructions li {
110
- margin-bottom: 8px;
111
- }
112
-
113
- .adhoc-info {
114
- text-align: left;
115
- margin-top: 20px;
116
- padding: 1em 2em;
117
- border-left: 2px solid #8232ff;
118
- }
119
-
120
- .adhoc-info-title {
121
- font-weight: 600;
122
- margin-bottom: 10px;
123
- }
124
-
125
- .adhoc-info-text {
126
- color: #1d1d1f;
127
- margin: 0;
128
- }
129
-
130
- .footer {
131
- text-align: center;
132
- margin-top: 40px;
133
- font-size: 12px;
134
- color: #86868b;
135
- }
136
-
137
- .link {
138
- color: #8232ff;
139
- text-decoration: none;
140
- }
141
- </style>
142
- </head>
143
- <body>
144
- <div class="container">
145
- <div class="app-icon">📱</div>
146
-
147
- <h1>${appName}</h1>
148
- <p class="version">Version ${version}</p>
149
- <p class="subtitle">
150
- Download and install the latest version of our iOS app directly to your
151
- device.
152
- </p>
153
-
154
- <a
155
- href="itms-services://?action=download-manifest&url=${manifestPlistUrl}"
156
- class="download-button">
157
- Download App
158
- </a>
159
-
160
- <div class="instructions">
161
- <h3>Installation Instructions:</h3>
162
- <ol>
163
- <li>Tap the "Download App" button above</li>
164
- <li>If prompted, tap "Install" in the popup dialog</li>
165
- <li>Go to Settings > General > VPN & Device Management</li>
166
- <li>Find your developer certificate and tap "Trust"</li>
167
- <li>The app will now be available on your home screen</li>
168
- </ol>
169
- </div>
170
-
171
- <div class="adhoc-info">
172
- <p class="adhoc-info-title">Ad-hoc build notice</p>
173
- <p class="adhoc-info-text">
174
- This is an ad-hoc build for testing purposes. Make sure you're using a
175
- device that's registered in the provisioning profile.
176
- </p>
177
- </div>
178
- <div class="footer">
179
- <p>
180
- Generated with <a class="link" href="https://rnef.dev">RNEF</a> by
181
- <a class="link" href="https://callstack.com">Callstack</a>
182
- </p>
183
- </div>
184
- </div>
185
- </body>
186
- </html>
187
- `;
188
- };
189
- //# sourceMappingURL=templateIndexHtml.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templateIndexHtml.js","sourceRoot":"","sources":["../../../../src/lib/plugins/templateIndexHtml.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,EACtC,OAAO,EACP,OAAO,EACP,gBAAgB,GAKjB,EAAE,EAAE;IACH,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAiJG,OAAO;mCACgB,OAAO;;;;;;;8DAOoB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgC7E,CAAC;AACF,CAAC,CAAC"}
@@ -1,8 +0,0 @@
1
- export declare const templateManifestPlistPlugin: ({ baseUrl, ipaName, bundleIdentifier, version, appName, platformIdentifier, }: {
2
- baseUrl: string;
3
- ipaName: string;
4
- bundleIdentifier: string;
5
- version: string;
6
- appName: string;
7
- platformIdentifier: string;
8
- }) => string;
@@ -1,36 +0,0 @@
1
- export const templateManifestPlistPlugin = ({ baseUrl, ipaName, bundleIdentifier, version, appName, platformIdentifier, }) => {
2
- return `<?xml version="1.0" encoding="UTF-8"?>
3
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
4
- <plist version="1.0">
5
- <dict>
6
- <key>items</key>
7
- <array>
8
- <dict>
9
- <key>assets</key>
10
- <array>
11
- <dict>
12
- <key>kind</key>
13
- <string>software-package</string>
14
- <key>url</key>
15
- <string>${baseUrl}/${ipaName}</string>
16
- </dict>
17
- </array>
18
- <key>metadata</key>
19
- <dict>
20
- <key>bundle-identifier</key>
21
- <string>${bundleIdentifier}</string>
22
- <key>bundle-version</key>
23
- <string>${version}</string>
24
- <key>kind</key>
25
- <string>software</string>
26
- <key>platform-identifier</key>
27
- <string>${platformIdentifier ?? 'com.apple.platform.iphoneos'}</string>
28
- <key>title</key>
29
- <string>${appName}</string>
30
- </dict>
31
- </dict>
32
- </array>
33
- </dict>
34
- </plist>`;
35
- };
36
- //# sourceMappingURL=templateManifestPlist.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templateManifestPlist.js","sourceRoot":"","sources":["../../../../src/lib/plugins/templateManifestPlist.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,EAC1C,OAAO,EACP,OAAO,EACP,gBAAgB,EAChB,OAAO,EACP,OAAO,EACP,kBAAkB,GAQnB,EAAE,EAAE;IACH,OAAO;;;;;;;;;;;;;8BAaqB,OAAO,IAAI,OAAO;;;;;;0BAMtB,gBAAgB;;0BAEhB,OAAO;;;;0BAKf,kBAAkB,IAAI,6BACxB;;0BAEU,OAAO;;;;;WAKtB,CAAC;AACZ,CAAC,CAAC"}