@pi-r/android 0.6.2 → 0.6.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.
|
@@ -266,7 +266,7 @@ function finalize(instance) {
|
|
|
266
266
|
else {
|
|
267
267
|
output = Document.updateGradle(output, ['plugins'], "id 'org.jetbrains.kotlin.android'", { upgrade: true, multiple: true, addendum: `version '${instance.findVersion('org.jetbrains.kotlin:kotlin-stdlib', "1.9.22" /* VERSIONS.KOTLIN_STDLIB */)}'` });
|
|
268
268
|
output = Document.updateGradle(output, ['android', 'buildFeatures'], "compose true");
|
|
269
|
-
output = Document.updateGradle(output, ['android', 'composeOptions'], `kotlinCompilerExtensionVersion '${instance.findVersion('kotlinCompilerExtensionVersion', "1.5.
|
|
269
|
+
output = Document.updateGradle(output, ['android', 'composeOptions'], `kotlinCompilerExtensionVersion '${instance.findVersion('kotlinCompilerExtensionVersion', "1.5.9" /* VERSIONS.KOTLIN_COMPILER */)}'`, true);
|
|
270
270
|
if (upgrade) {
|
|
271
271
|
output = Document.updateGradle(output, ['android', 'kotlinOptions'], `jvmTarget = '${javaVersion}'`, true);
|
|
272
272
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-r/android",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "Android document constructor for E-mc.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/anpham6/pi-r.git",
|
|
11
|
+
"url": "git+https://github.com/anpham6/pi-r.git",
|
|
12
12
|
"directory": "src/module/android"
|
|
13
13
|
},
|
|
14
14
|
"keywords": [
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"homepage": "https://github.com/anpham6/pi-r#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@e-mc/document": "^0.8.
|
|
24
|
-
"@e-mc/types": "^0.8.
|
|
25
|
-
"htmlparser2": "^9.
|
|
23
|
+
"@e-mc/document": "^0.8.4",
|
|
24
|
+
"@e-mc/types": "^0.8.4",
|
|
25
|
+
"htmlparser2": "^9.1.0",
|
|
26
26
|
"which": "^2.0.2"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import type { FinalizedElement } from '@e-mc/types/lib/squared';
|
|
|
2
2
|
|
|
3
3
|
import type { DocumentConstructor, IDocument, IFileManager } from '@e-mc/types/lib';
|
|
4
4
|
import type { ExternalAsset } from '@e-mc/types/lib/asset';
|
|
5
|
-
import type { ExecAction, DocumentModule as IDocumentModule, DocumentSettings as IDocumentSettings } from '@e-mc/types/lib/settings';
|
|
5
|
+
import type { ExecAction, DocumentDirectory as IDocumentDirectory, DocumentModule as IDocumentModule, DocumentSettings as IDocumentSettings } from '@e-mc/types/lib/settings';
|
|
6
6
|
|
|
7
|
-
import type {
|
|
7
|
+
import type { DependencyScopes, DocumentOutput } from './squared';
|
|
8
8
|
|
|
9
9
|
interface DocumentDirectory extends IDocumentDirectory {
|
|
10
10
|
template?: string;
|
|
@@ -55,7 +55,7 @@ export interface MavenArtifact {
|
|
|
55
55
|
groupId: string;
|
|
56
56
|
artifactId: string;
|
|
57
57
|
version: string;
|
|
58
|
-
scope?:
|
|
58
|
+
scope?: DependencyScopes;
|
|
59
59
|
dependencies?: MavenArtifact[];
|
|
60
60
|
}
|
|
61
61
|
|