@getik-public/cli 1.0.0 → 1.0.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/CHANGELOG.md CHANGED
@@ -1,2 +1,10 @@
1
+ ### v1.0.2
2
+ Fixed on windows. When loading dynamic node module on windows absolute path must pe preceded by `file:\\`
3
+
4
+
5
+ ### v1.0.1
6
+ Fixed typo: missing input options in mobile-build function
7
+
8
+
1
9
  ### v1.0.0
2
10
  First stable version.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getik-public/cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -18,7 +18,10 @@ async function applyPatchersForExternalNpmPackages() {
18
18
  let displayClosingSeparatorLine = false;
19
19
  for (const filename of patchesInFolder) {
20
20
  if (filename.indexOf(filenameEndsWith) === filename.length - filenameEndsWith.length) {
21
- const pathToFile = path.join(process.cwd(), patchesFolderName, filename);
21
+ let pathToFile = path.join(process.cwd(), patchesFolderName, filename);
22
+ if (process.platform === "win32") {
23
+ pathToFile = path.join('file:\\', pathToFile);
24
+ }
22
25
  const patcherImport = await import(pathToFile);
23
26
  const patcher = patcherImport.default;
24
27
  console.log('----------------------------------------------------------------------------------------------------------------------');
@@ -169,7 +172,7 @@ function copyFinalBuildToRootFolder(options) {
169
172
  }
170
173
 
171
174
 
172
- function buildPathToIosBuildFile() {
175
+ function buildPathToIosBuildFile(options) {
173
176
  const env = options.environment.toLowerCase().split('debug')[0];
174
177
  const filename = `${env}.ipa`;
175
178