@pi-r/android 0.2.8 → 0.2.9

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/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2023 Mile Square Park
1
+ Copyright 2020-24 Code Geass
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
4
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @pi-r/android
2
2
 
3
- PEP 402 - Forever
3
+ PEP 402 - Forever Josee + Nunnally
4
4
 
5
5
  ## LICENSE
6
6
 
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
2
  const path = require("path");
4
3
  const htmlparser2 = require("htmlparser2");
5
4
  const domhandler = require("domhandler");
@@ -179,9 +178,5 @@ function finalize(instance) {
179
178
  }
180
179
  }
181
180
  }
182
- exports.default = finalize;
183
181
 
184
- if (exports.default) {
185
- module.exports = exports.default;
186
- module.exports.default = exports.default;
187
- }
182
+ module.exports = finalize;
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
2
  const path = require("path");
4
3
  const util_1 = require("@e-mc/document/util");
5
4
  const types_1 = require("@e-mc/types");
@@ -201,9 +200,5 @@ function finalize(instance) {
201
200
  }
202
201
  }
203
202
  }
204
- exports.default = finalize;
205
203
 
206
- if (exports.default) {
207
- module.exports = exports.default;
208
- module.exports.default = exports.default;
209
- }
204
+ module.exports = finalize;
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
2
  const path = require("path");
4
3
  const util_1 = require("@e-mc/document/util");
5
4
  const parse_1 = require("@e-mc/document/parse");
@@ -74,9 +73,5 @@ function finalize(instance) {
74
73
  }
75
74
  }
76
75
  }
77
- exports.default = finalize;
78
76
 
79
- if (exports.default) {
80
- module.exports = exports.default;
81
- module.exports.default = exports.default;
82
- }
77
+ module.exports = finalize;
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
2
  const path = require("path");
4
3
  const fs = require("fs");
5
4
  const child_process = require("child_process");
@@ -102,9 +101,5 @@ async function finalize(instance) {
102
101
  .catch(err => instance.writeFail(["Unable to perform task", command + ' ' + task], err, { type: 4, startTime }));
103
102
  }
104
103
  }
105
- exports.default = finalize;
106
104
 
107
- if (exports.default) {
108
- module.exports = exports.default;
109
- module.exports.default = exports.default;
110
- }
105
+ module.exports = finalize;
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { IFileManager } from '@e-mc/types/types/lib';
1
+ import type { IFileManager } from '@e-mc/types/lib';
2
2
 
3
3
  import type { AndroidDocumentConstructor, DocumentAsset } from './types';
4
4
 
package/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
2
  const fs = require("fs");
4
3
  const path = require("path");
5
4
  const types_1 = require("@e-mc/types");
@@ -209,9 +208,5 @@ class AndroidDocument extends Document {
209
208
  return (_a = this.module).settings || (_a.settings = {});
210
209
  }
211
210
  }
212
- exports.default = AndroidDocument;
213
211
 
214
- if (exports.default) {
215
- module.exports = exports.default;
216
- module.exports.default = exports.default;
217
- }
212
+ module.exports = AndroidDocument;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/android",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "description": "Android document constructor for E-mc.",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -20,8 +20,8 @@
20
20
  "license": "MIT",
21
21
  "homepage": "https://github.com/anpham6/pi-r#readme",
22
22
  "dependencies": {
23
- "@e-mc/document": "^0.5.4",
24
- "@e-mc/types": "^0.5.4",
23
+ "@e-mc/document": "^0.5.5",
24
+ "@e-mc/types": "^0.5.5",
25
25
  "htmlparser2": "^9.0.0"
26
26
  }
27
27
  }
@@ -1,8 +1,8 @@
1
1
  pluginManagement {
2
2
  repositories {
3
- gradlePluginPortal()
4
3
  google()
5
4
  mavenCentral()
5
+ gradlePluginPortal()
6
6
  }
7
7
  }
8
8
 
@@ -1,8 +1,8 @@
1
1
  pluginManagement {
2
2
  repositories {
3
- gradlePluginPortal()
4
3
  google()
5
4
  mavenCentral()
5
+ gradlePluginPortal()
6
6
  }
7
7
  }
8
8
 
@@ -1,23 +1,23 @@
1
1
  plugins {
2
2
  id("com.android.application")
3
- kotlin("android")
3
+ id("org.jetbrains.kotlin.android")
4
4
  }
5
5
 
6
6
  android {
7
7
  namespace = ""
8
- compileSdk(34)
8
+ compileSdk = 34
9
9
 
10
10
  defaultConfig {
11
11
  applicationId = ""
12
- minSdk(21)
13
- targetSdk(34)
12
+ minSdk = 21
13
+ targetSdk = 34
14
14
  versionCode = 1
15
15
  versionName = "1.0"
16
16
 
17
17
  testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
18
18
  }
19
19
  buildTypes {
20
- getByName("release") {
20
+ release {
21
21
  isDebuggable = false
22
22
  isMinifyEnabled = true
23
23
  isShrinkResources = false
@@ -1,8 +1,8 @@
1
1
  pluginManagement {
2
2
  repositories {
3
- gradlePluginPortal()
4
3
  google()
5
4
  mavenCentral()
5
+ gradlePluginPortal()
6
6
  }
7
7
  }
8
8
 
@@ -14,5 +14,5 @@ dependencyResolutionManagement {
14
14
  }
15
15
  }
16
16
 
17
- rootProject.name = "${{projectName}}"
17
+ rootProject.name = "{{projectName}}"
18
18
  include("{{name}}")