@nativescript/template-blank-solid-vision 8.9.0 → 9.1.0

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.
@@ -15,11 +15,11 @@
15
15
  <key>CFBundlePackageType</key>
16
16
  <string>APPL</string>
17
17
  <key>CFBundleShortVersionString</key>
18
- <string>1.0</string>
18
+ <string>1.0.0</string>
19
19
  <key>CFBundleSignature</key>
20
20
  <string>????</string>
21
21
  <key>CFBundleVersion</key>∂
22
- <string>1.0</string>
22
+ <string>1.0.0</string>
23
23
  <key>LSRequiresIPhoneOS</key>
24
24
  <true/>
25
25
  <key>UIRequiresFullScreen</key>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nativescript/template-blank-solid-vision",
3
3
  "main": "src/index.js",
4
- "version": "8.9.0",
4
+ "version": "9.1.0",
5
5
  "description": "Nativescript visionOS Starter with Solid",
6
6
  "author": "NativeScript Team <oss@nativescript.org>",
7
7
  "license": "Apache-2.0",
@@ -42,7 +42,7 @@
42
42
  "dependencies": {
43
43
  "@nativescript-community/solid-js": "^0.0.6",
44
44
  "@nativescript-community/ui-collectionview": "^5.3.0",
45
- "@nativescript/core": "~8.9.0",
45
+ "@nativescript/core": "~9.1.0",
46
46
  "dominative": "^0.1.3",
47
47
  "solid-js": "^1.7.12",
48
48
  "solid-navigation": "^1.0.0-alpha.11",
@@ -55,13 +55,13 @@
55
55
  "@nativescript-dom/core-types": "^1.0.29",
56
56
  "@nativescript-dom/solidjs-types": "^1.0.15",
57
57
  "@nativescript/tailwind": "^2.1.0",
58
- "@nativescript/webpack": "~5.0.0",
58
+ "@nativescript/webpack": "~5.0.25",
59
59
  "babel": "^6.23.0",
60
60
  "babel-loader": "^9.1.3",
61
61
  "babel-preset-solid": "^1.7.12",
62
62
  "patch-package": "^8.0.0",
63
63
  "solid-refresh": "^0.5.3",
64
64
  "tailwindcss": "~3.4.0",
65
- "typescript": "~5.4.0"
65
+ "typescript": "~6.0.0"
66
66
  }
67
67
  }
package/src/app.css CHANGED
@@ -1,3 +1,3 @@
1
1
  @tailwind base;
2
2
  @tailwind components;
3
- @tailwind utilities;
3
+ @tailwind utilities;
@@ -1,15 +1,13 @@
1
1
  /** @type {import('tailwindcss').Config} */
2
2
  module.exports = {
3
- content: ['./src/**/*.{css,xml,html,vue,svelte,ts,tsx}'],
4
- // use the .ns-dark class to control dark mode (applied by NativeScript) - since 'media' (default) is not supported.
5
- darkMode: ['class', '.ns-dark'],
6
- theme: {
7
- extend: {},
8
- },
9
- plugins: [],
10
- corePlugins: {
11
- preflight: false, // disables browser-specific resets
12
- },
13
- };
14
-
15
-
3
+ content: ['./src/**/*.{css,xml,html,vue,svelte,ts,tsx}'],
4
+ // use the .ns-dark class to control dark mode (applied by NativeScript) - since 'media' (default) is not supported.
5
+ darkMode: ['class', '.ns-dark'],
6
+ theme: {
7
+ extend: {},
8
+ },
9
+ plugins: [],
10
+ corePlugins: {
11
+ preflight: false, // disables browser-specific resets
12
+ },
13
+ }
package/tsconfig.json CHANGED
@@ -1,35 +1,29 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "strict": true,
4
- "target": "es2017",
4
+ "target": "es2020",
5
5
  "module": "esnext",
6
- "moduleResolution": "node",
7
- "lib": ["es2017", "DOM"],
6
+ "moduleResolution": "bundler",
7
+ "lib": ["ESNext", "DOM"],
8
8
  "sourceMap": true,
9
9
  "jsx": "preserve",
10
10
  "jsxImportSource": "@nativescript-dom/solidjs-types",
11
11
  "noEmitHelpers": true,
12
12
  "importHelpers": true,
13
- "baseUrl": ".",
14
13
  "paths": {
15
- "~/*": ["src/*"],
16
- "@/*": ["src/*"]
14
+ "~/*": ["./src/*"],
15
+ "@/*": ["./src/*"]
17
16
  },
18
17
  "allowJs": true,
19
- "types": [
20
- "node",
21
- "@nativescript-dom/core-types",
22
- "@nativescript-dom/solidjs-types"
23
- ],
18
+ "types": ["node", "@nativescript-dom/core-types", "@nativescript-dom/solidjs-types"],
24
19
  "allowSyntheticDefaultImports": true,
25
20
  "esModuleInterop": true,
26
21
  "experimentalDecorators": true,
27
22
  "emitDecoratorMetadata": true,
28
23
  "skipLibCheck": true,
29
24
  "outDir": "dist",
30
- "downlevelIteration": true,
31
25
  "maxNodeModuleJsDepth": 5
32
26
  },
33
27
  "include": ["src"],
34
28
  "exclude": ["node_modules", "platforms"]
35
- }
29
+ }
package/webpack.config.js CHANGED
@@ -1,9 +1,9 @@
1
- const webpack = require("@nativescript/webpack");
1
+ const webpack = require('@nativescript/webpack')
2
2
  module.exports = (env) => {
3
- webpack.init(env);
3
+ webpack.init(env)
4
4
  webpack.chainWebpack((config) => {
5
- config.devServer.hotOnly(true);
6
- config.devServer.hot(true);
7
- });
8
- return webpack.resolveConfig();
9
- };
5
+ config.devServer.hotOnly(true)
6
+ config.devServer.hot(true)
7
+ })
8
+ return webpack.resolveConfig()
9
+ }