@react-native-vector-icons/common 12.0.0-alpha.10 → 12.0.0-alpha.11

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.
@@ -144,23 +144,3 @@ if (isNewArchitectureEnabled()) {
144
144
  codegenJavaPackageName = "com.reactnativevectoricons.common"
145
145
  }
146
146
  }
147
-
148
- android.sourceSets.main.assets.srcDirs += file("$buildDir/intermediates/RNVI")
149
-
150
- task copyFonts(type: Exec) {
151
- commandLine 'node', '../lib/commonjs/scripts/getFonts.js', "${rootDir.parentFile.absolutePath}/package.json"
152
- def fonts = new ByteArrayOutputStream()
153
- standardOutput = fonts
154
-
155
- doLast {
156
- def files = fonts.toString().trim().split('\n').findAll { it }
157
- copy {
158
- from files
159
-
160
- into "${buildDir}/intermediates/RNVI/fonts"
161
- eachFile { println "Copying font ${it.file}" }
162
- }
163
- }
164
- }
165
-
166
- preBuild.dependsOn(copyFonts)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-vector-icons/common",
3
- "version": "12.0.0-alpha.10",
3
+ "version": "12.0.0-alpha.11",
4
4
  "description": "Customizable Icons for React Native with support for image source and full styling.",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -38,15 +38,4 @@ Pod::Spec.new do |s|
38
38
  s.dependency "ReactCommon/turbomodule/core"
39
39
  end
40
40
  end
41
-
42
- s.script_phase = {
43
- :name => 'Copy Fonts',
44
- :script => <<~SCRIPT
45
- set -e
46
-
47
- WITH_ENVIRONMENT="$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh"
48
-
49
- /bin/sh -c "\"$WITH_ENVIRONMENT\" \"${PODS_TARGET_SRCROOT}/scripts/copy-fonts.sh\""
50
- SCRIPT
51
- }
52
41
  end
@@ -1,11 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
-
4
- var _common = require("./common.js");
5
- const packageJsonFilename = process.argv[2];
6
- if (!packageJsonFilename) {
7
- throw new Error('Need the path to the roo package.json as the first argument');
8
- }
9
- const fonts = (0, _common.getFontPaths)(packageJsonFilename);
10
- fonts.map(font => console.log(font)); // eslint-disable-line no-console
11
- //# sourceMappingURL=getFonts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_common","require","packageJsonFilename","process","argv","Error","fonts","getFontPaths","map","font","console","log"],"sourceRoot":"../../../src","sources":["scripts/getFonts.ts"],"mappings":"AAAA;AAAmB;;AAEnB,IAAAA,OAAA,GAAAC,OAAA;AAEA,MAAMC,mBAAmB,GAAGC,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC;AAC3C,IAAI,CAACF,mBAAmB,EAAE;EACxB,MAAM,IAAIG,KAAK,CAAC,6DAA6D,CAAC;AAChF;AAEA,MAAMC,KAAK,GAAG,IAAAC,oBAAY,EAACL,mBAAmB,CAAC;AAC/CI,KAAK,CAACE,GAAG,CAAEC,IAAI,IAAKC,OAAO,CAACC,GAAG,CAACF,IAAI,CAAC,CAAC,CAAC,CAAC","ignoreList":[]}
@@ -1,11 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";
3
-
4
- import { getFontPaths } from "./common.js";
5
- const packageJsonFilename = process.argv[2];
6
- if (!packageJsonFilename) {
7
- throw new Error('Need the path to the roo package.json as the first argument');
8
- }
9
- const fonts = getFontPaths(packageJsonFilename);
10
- fonts.map(font => console.log(font)); // eslint-disable-line no-console
11
- //# sourceMappingURL=getFonts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["getFontPaths","packageJsonFilename","process","argv","Error","fonts","map","font","console","log"],"sourceRoot":"../../../src","sources":["scripts/getFonts.ts"],"mappings":"AAAA;AAAmB;;AAEnB,SAASA,YAAY,QAAQ,aAAU;AAEvC,MAAMC,mBAAmB,GAAGC,OAAO,CAACC,IAAI,CAAC,CAAC,CAAC;AAC3C,IAAI,CAACF,mBAAmB,EAAE;EACxB,MAAM,IAAIG,KAAK,CAAC,6DAA6D,CAAC;AAChF;AAEA,MAAMC,KAAK,GAAGL,YAAY,CAACC,mBAAmB,CAAC;AAC/CI,KAAK,CAACC,GAAG,CAAEC,IAAI,IAAKC,OAAO,CAACC,GAAG,CAACF,IAAI,CAAC,CAAC,CAAC,CAAC","ignoreList":[]}
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env node
2
- export {};
3
- //# sourceMappingURL=getFonts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getFonts.d.ts","sourceRoot":"","sources":["../../../../../src/scripts/getFonts.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env node
2
- export {};
3
- //# sourceMappingURL=getFonts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getFonts.d.ts","sourceRoot":"","sources":["../../../../../src/scripts/getFonts.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- import { getFontPaths } from './common';
4
-
5
- const packageJsonFilename = process.argv[2];
6
- if (!packageJsonFilename) {
7
- throw new Error('Need the path to the roo package.json as the first argument');
8
- }
9
-
10
- const fonts = getFontPaths(packageJsonFilename);
11
- fonts.map((font) => console.log(font)); // eslint-disable-line no-console