Skip to content
This repository was archived by the owner on Jul 7, 2022. It is now read-only.

Commit 150a3e7

Browse files
committed
Fix webpack exclude
1 parent 477c9b0 commit 150a3e7

File tree

6 files changed

+23
-25
lines changed

6 files changed

+23
-25
lines changed

demo/app/app.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,26 @@ The following CSS rule changes the font size of all Buttons that have the
2424

2525
Page {
2626
background-color: lightgrey;
27+
color: black;
2728
}
2829
button {
2930
font-size: 20;
3031
horizontal-align: center;
3132
}
3233

3334
.one {
34-
background-color: greenyellow;
35+
background-color: black;
36+
color: white;
3537
}
3638

3739
.two {
38-
background-color: cyan;
40+
background-color: lightgrey;
41+
color: black;
42+
}
43+
44+
.entry {
45+
background-color: lightgrey;
46+
color: black;
3947
}
4048

4149
.copyright {

demo/app/main-page.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</Repeater>
1212
</ScrollView>
1313
<GridLayout row="1" rows="*,auto" columns="*,auto" class="border" >
14-
<TextField id="entry" hint="Type a new name" text=""/>
14+
<TextField class="entry" id="entry" hint="Type a new name" text=""/>
1515
<Button id="go" col="1" text="Add" tap="addNewName"/>
1616
<Label row="1" colSpan="2" text="(c) 2015-2021, Master Technology" class="copyright" android:tap="openMT"/>
1717
</GridLayout>

demo/package.json

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"name": "@nativescript/template-hello-world",
2+
"name": "nativescript-sqlite-demo",
33
"main": "app/app.js",
4-
"version": "8.0.3",
5-
"author": "NativeScript Team <oss@nativescript.org>",
6-
"description": "NativeScript Application",
7-
"license": "SEE LICENSE IN <your-license-filename>",
4+
"version": "8.0.0",
5+
"author": "Nathan Anderson <nathan@master.technology",
6+
"description": "SQLite Demo App",
7+
"license": "MIT",
88
"publishConfig": {
99
"access": "public"
1010
},
@@ -18,29 +18,17 @@
1818
"jsconfig.json"
1919
],
2020
"keywords": [
21-
"nstudio",
2221
"nativescript",
23-
"mobile",
24-
"{N}",
25-
"tns",
26-
"template"
22+
"SQLite",
23+
"Master Technology"
2724
],
28-
"repository": "<fill-your-repository-here>",
29-
"bugs": {
30-
"url": "https://github.com/NativeScript/NativeScript/issues"
31-
},
32-
"homepage": "https://github.com/NativeScript/nativescript-app-templates",
3325
"dependencies": {
3426
"@nativescript/core": "~8.0.0",
3527
"@nativescript/theme": "~3.0.1",
36-
"nativescript-sqlite": "file:../src",
37-
"nativescript-sqlite-commercial": "file:../commercial",
38-
"nativescript-sqlite-encrypted": "file:../encrypted"
28+
"nativescript-sqlite": "file:../src"
3929
},
4030
"devDependencies": {
4131
"@nativescript/android": "8.0.0",
4232
"@nativescript/webpack": "^5.0.0-beta.16"
43-
},
44-
"private": "true",
45-
"readme": "NativeScript Application"
33+
}
4634
}

src/changelog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ v2.7.0 - Add NS 8 Webpack support
4242
v2.8.0 - Fixes for Webpack / Webworkers
4343
v2.8.1 - More fixes for WebWorker/Webpacking issues
4444
v2.8.2 - Fixes for iOS 14.5+ issues on opening database
45+
v2.8.3 - Add missing Commercial feature exclusion to Webpack 5

src/nativescript.webpack.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ module.exports = webpack => {
3333
if (!fs.existsSync(dirname+"/nativescript-sqlite-commercial")) {
3434
console.warn("NativeScript-SQLite Commercial not detected, disabling support!");
3535
externals.push('nativescript-sqlite-commercial');
36+
externals.push('nativescript-sqlite-commercial/commercial-multi');
3637
} else {
3738
hasCom = true;
3839
}

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-sqlite",
3-
"version": "2.8.2",
3+
"version": "2.8.3",
44
"description": "A sqlite NativeScript module for Android and iOS",
55
"main": "sqlite",
66
"nativescript": {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy