cordova-react-vite 3.1.0 → 3.1.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.
Files changed (2) hide show
  1. package/execute.js +15 -15
  2. package/package.json +1 -1
package/execute.js CHANGED
@@ -92,9 +92,9 @@ const appCssPath = path.join(rootPath, "react", "src", "App.css");
92
92
  @import "tailwindcss";
93
93
 
94
94
  @font-face {
95
- font - family: IRANSans - light;
96
- font - style: normal;
97
- font - weight: 300;
95
+ font-family: IRANSans - light;
96
+ font-style: normal;
97
+ font-weight: 300;
98
98
  src: url('./assets/iransans/eot/IRANSansWeb(FaNum)_Light.eot');
99
99
  src: url('./assets/iransans/eot/IRANSansWeb(FaNum)_Light.eot');
100
100
  src: url('./assets/iransans/eot/IRANSansWeb(FaNum)_Light.eot?#iefix') format('embedded-opentype'),
@@ -104,9 +104,9 @@ const appCssPath = path.join(rootPath, "react", "src", "App.css");
104
104
  }
105
105
 
106
106
  @font-face {
107
- font - family: IRANSans - ultra - light;
108
- font - style: normal;
109
- font - weight: 200;
107
+ font-family: IRANSans-ultra-light;
108
+ font-style: normal;
109
+ font-weight: 200;
110
110
  src: url('./assets/iransans/eot/IRANSansWeb(FaNum)_UltraLight.eot');
111
111
  src: url('./assets/iransans/eot/IRANSansWeb(FaNum)_UltraLight.eot?#iefix') format('embedded-opentype'),
112
112
  url('./assets/iransans/woff2/IRANSansWeb(FaNum)_UltraLight.woff2') format('woff2'),
@@ -115,9 +115,9 @@ const appCssPath = path.join(rootPath, "react", "src", "App.css");
115
115
  }
116
116
 
117
117
  @font-face {
118
- font - family: IRANSans - Medium;
119
- font - style: normal;
120
- font - weight: 200;
118
+ font-family: IRANSans-Medium;
119
+ font-style: normal;
120
+ font-weight: 200;
121
121
  src: url('./assets/iransans/eot/IRANSansWeb(FaNum)_Medium.eot');
122
122
  src: url('./assets/iransans/eot/IRANSansWeb(FaNum)_Medium.eot?#iefix') format('embedded-opentype'),
123
123
  url('./assets/iransans/woff2/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'),
@@ -125,7 +125,7 @@ const appCssPath = path.join(rootPath, "react", "src", "App.css");
125
125
  url('./assets/iransans/ttf/IRANSansWeb(FaNum)_Medium.ttf') format('truetype');
126
126
  }
127
127
  body{
128
- font - family: IRANSans - light;
128
+ font-family: IRANSans-light;
129
129
  } `
130
130
  const viteConfigPath = path.join(rootPath, "react", "src", "vite.config.ts");
131
131
  const viteConfigContent = `
@@ -155,11 +155,11 @@ body{
155
155
 
156
156
  // ---- Cordova Plugins ----
157
157
  console.log("add cordova plugins...");
158
- run(`npx cordova plugin add cordova - sqlite - storage`, path.join(rootPath, "cordova"));
159
- run(`npx cordova plugin add cordova - plugin - android - permissions`, path.join(rootPath, "cordova"));
160
- run(`npx cordova plugin add cordova - plugin - file`, path.join(rootPath, "cordova"));
161
- run(`npx cordova plugin add cordova - plugin - file - opener2`, path.join(rootPath, "cordova"));
162
- run(`npx cordova plugin add cordova - plugin - email - composer`, path.join(rootPath, "cordova"));
158
+ run(`npx cordova plugin add cordova-sqlite-storage`, path.join(rootPath, "cordova"));
159
+ run(`npx cordova plugin add cordova-plugin-android-permissions`, path.join(rootPath, "cordova"));
160
+ run(`npx cordova plugin add cordova-plugin-file`, path.join(rootPath, "cordova"));
161
+ run(`npx cordova plugin add cordova-plugin-file-opener2`, path.join(rootPath, "cordova"));
162
+ run(`npx cordova plugin add cordova-plugin-email-composer`, path.join(rootPath, "cordova"));
163
163
  // ---- package.json root ----
164
164
  console.log("create root package.json");
165
165
  const rootPkg = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-react-vite",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "CLI to create a full React + Vite + Cordova project with Android platform",
5
5
  "main": "execute.js",
6
6
  "bin": {