react-native-asset 2.2.13 → 2.2.14

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.
@@ -1,6 +1,5 @@
1
1
  import * as dntShim from "../_dnt.shims.js";
2
2
  import * as path from "../deps/jsr.io/@std/path/1.1.4/mod.js";
3
- /// <reference types="../xcode.d.ts" />
4
3
  import * as xcode from "xcode";
5
4
  import createGroupWithMessage from "../react-native-lib/ios/createGroupWithMessage.js";
6
5
  import getPlist from "../react-native-lib/ios/getPlist.js";
@@ -1 +1 @@
1
- {"version":3,"file":"ios.d.ts","sourceRoot":"","sources":["../../src/copy-assets/ios.ts"],"names":[],"mappings":"AAWA,wBAA8B,aAAa,CACzC,SAAS,EAAE,MAAM,EAAE,EACnB,cAAc,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,EACrD,OAAO,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,iBAyC9B"}
1
+ {"version":3,"file":"ios.d.ts","sourceRoot":"","sources":["../../src/copy-assets/ios.ts"],"names":[],"mappings":"AAaA,wBAA8B,aAAa,CACzC,SAAS,EAAE,MAAM,EAAE,EACnB,cAAc,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,EACrD,OAAO,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,iBAyC9B"}
@@ -1,9 +1,8 @@
1
1
  import * as dntShim from "../_dnt.shims.js";
2
2
  import * as path from "../deps/jsr.io/@std/path/1.1.4/mod.js";
3
- /// <reference types="../xcode.d.ts" />
4
3
  import * as xcode from "xcode";
5
- /// <reference types="../xcode.d.ts" />
6
- import * as xcodeParser from "xcode/lib/parser/pbxproj.js";
4
+ import * as xcodeParserUntyped from "xcode/lib/parser/pbxproj.js";
5
+ const xcodeParser = xcodeParserUntyped;
7
6
  import createGroupWithMessage from "../react-native-lib/ios/createGroupWithMessage.js";
8
7
  import getPlist from "../react-native-lib/ios/getPlist.js";
9
8
  import writePlist from "../react-native-lib/ios/writePlist.js";
package/esm/utils.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import type xcode from "xcode";
1
+ import type { Project } from "./xcode";
2
2
  /**
3
3
  * Get an array containing the UUID of each target in the project
4
4
  */
5
- export declare function getTargetUUIDs(project: xcode.Project): string[];
5
+ export declare function getTargetUUIDs(project: Project): string[];
6
6
  /**
7
7
  * Get a target by UUID
8
8
  */
9
- export declare function getTargetByUUID(project: xcode.Project, uuid: string): unknown;
9
+ export declare function getTargetByUUID(project: Project, uuid: string): unknown;
10
10
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC,OAAO,GAAG,MAAM,EAAE,CAE/D;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,WAEnE"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,CAEzD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAE7D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-asset",
3
- "version": "2.2.13",
3
+ "version": "2.2.14",
4
4
  "description": "Linking and unlinking of assets in your react-native app, works for fonts and sounds",
5
5
  "keywords": [
6
6
  "react-native",
@@ -39,7 +39,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.default = cleanAssetsIos;
40
40
  const dntShim = __importStar(require("../_dnt.shims.js"));
41
41
  const path = __importStar(require("../deps/jsr.io/@std/path/1.1.4/mod.js"));
42
- /// <reference types="../xcode.d.ts" />
43
42
  const xcode = __importStar(require("xcode"));
44
43
  const createGroupWithMessage_js_1 = __importDefault(require("../react-native-lib/ios/createGroupWithMessage.js"));
45
44
  const getPlist_js_1 = __importDefault(require("../react-native-lib/ios/getPlist.js"));
@@ -1 +1 @@
1
- {"version":3,"file":"ios.d.ts","sourceRoot":"","sources":["../../src/copy-assets/ios.ts"],"names":[],"mappings":"AAWA,wBAA8B,aAAa,CACzC,SAAS,EAAE,MAAM,EAAE,EACnB,cAAc,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,EACrD,OAAO,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,iBAyC9B"}
1
+ {"version":3,"file":"ios.d.ts","sourceRoot":"","sources":["../../src/copy-assets/ios.ts"],"names":[],"mappings":"AAaA,wBAA8B,aAAa,CACzC,SAAS,EAAE,MAAM,EAAE,EACnB,cAAc,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,EACrD,OAAO,EAAE;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,iBAyC9B"}
@@ -39,10 +39,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.default = copyAssetsIos;
40
40
  const dntShim = __importStar(require("../_dnt.shims.js"));
41
41
  const path = __importStar(require("../deps/jsr.io/@std/path/1.1.4/mod.js"));
42
- /// <reference types="../xcode.d.ts" />
43
42
  const xcode = __importStar(require("xcode"));
44
- /// <reference types="../xcode.d.ts" />
45
- const xcodeParser = __importStar(require("xcode/lib/parser/pbxproj.js"));
43
+ const xcodeParserUntyped = __importStar(require("xcode/lib/parser/pbxproj.js"));
44
+ const xcodeParser = xcodeParserUntyped;
46
45
  const createGroupWithMessage_js_1 = __importDefault(require("../react-native-lib/ios/createGroupWithMessage.js"));
47
46
  const getPlist_js_1 = __importDefault(require("../react-native-lib/ios/getPlist.js"));
48
47
  const writePlist_js_1 = __importDefault(require("../react-native-lib/ios/writePlist.js"));
package/script/utils.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import type xcode from "xcode";
1
+ import type { Project } from "./xcode";
2
2
  /**
3
3
  * Get an array containing the UUID of each target in the project
4
4
  */
5
- export declare function getTargetUUIDs(project: xcode.Project): string[];
5
+ export declare function getTargetUUIDs(project: Project): string[];
6
6
  /**
7
7
  * Get a target by UUID
8
8
  */
9
- export declare function getTargetByUUID(project: xcode.Project, uuid: string): unknown;
9
+ export declare function getTargetByUUID(project: Project, uuid: string): unknown;
10
10
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC,OAAO,GAAG,MAAM,EAAE,CAE/D;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,WAEnE"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,EAAE,CAEzD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAE7D"}