@straitlink/cli 0.3.3 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@straitlink/cli",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Strait deep links from the terminal: init sets them up in a React Native, Expo, Flutter or Android app, doctor checks your link host, links creates and lists links and saves QR codes.",
5
5
  "keywords": [
6
6
  "strait",
@@ -35,7 +35,8 @@
35
35
  ],
36
36
  "scripts": {
37
37
  "test": "node --test test/*.test.mjs",
38
- "ttfl": "node scripts/time-to-first-link.mjs"
38
+ "ttfl": "node scripts/time-to-first-link.mjs",
39
+ "check:sdk-versions": "node scripts/check-sdk-versions.mjs"
39
40
  },
40
41
  "engines": {
41
42
  "node": ">=18.17"
package/src/install.mjs CHANGED
@@ -17,15 +17,16 @@ export const INSTALL = {
17
17
  export const sourceFor = (src, registry) => (typeof src.source === 'string' ? src.source : src.source[registry]);
18
18
 
19
19
  /**
20
- * SDK versions the generated code is written for. Must equal site/site.config.json `packages`
21
- * (the one source of truth; test/install.test.mjs fails if they differ). Bump both together.
20
+ * SDK versions the generated code is written for: always the registry's latest. CI fails when one is
21
+ * older (`npm run check:sdk-versions`, docs/adr/0002). Bump site/site.config.json `packages` too
22
+ * (test/install.test.mjs compares them when the site repo sits next to this one).
22
23
  * `strait events add` reads them too: its iOS/Android eventId needs these SDKs.
23
24
  */
24
25
  export const VERSIONS = {
25
- version: '0.11.1', // Swift (Unity is not written by this CLI)
26
- rnVersion: '0.11.0',
27
- flutterVersion: '0.10.2',
28
- androidVersion: '0.10.1',
26
+ version: '0.11.4', // Swift (Unity is not written by this CLI)
27
+ rnVersion: '0.11.3',
28
+ flutterVersion: '0.10.6',
29
+ androidVersion: '0.10.4',
29
30
  };
30
31
 
31
32
  export const PACKAGES = {
package/src/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  // Kept equal to package.json version (test/links.test.mjs checks it). Sent as the API User-Agent.
2
- export const CLI_VERSION = '0.3.3';
2
+ export const CLI_VERSION = '0.3.4';