@electron-forge/template-vite
Advanced tools
Comparing version 7.4.0 to 7.5.0
@@ -22,4 +22,3 @@ "use strict"; | ||
await this.copyTemplateFile(directory, 'forge.config.js'); | ||
await this.copyTemplateFile(directory, 'forge.env.d.txt'); | ||
await fs_extra_1.default.rename(path_1.default.join(directory, 'forge.env.d.txt'), path_1.default.join(directory, 'forge.env.d.ts')); | ||
await this.copyTemplateFile(directory, 'forge.env.d.ts'); | ||
}, | ||
@@ -30,3 +29,2 @@ }, | ||
task: async () => { | ||
await this.copyTemplateFile(directory, 'vite.base.config.mjs'); | ||
await this.copyTemplateFile(directory, 'vite.main.config.mjs'); | ||
@@ -69,2 +67,2 @@ await this.copyTemplateFile(directory, 'vite.preload.config.mjs'); | ||
exports.default = new ViteTemplate(); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVml0ZVRlbXBsYXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL1ZpdGVUZW1wbGF0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLGdEQUF3QjtBQUd4QixpRUFBNkQ7QUFDN0Qsd0RBQTBCO0FBRTFCLE1BQU0sWUFBYSxTQUFRLDRCQUFZO0lBQXZDOztRQUNTLGdCQUFXLEdBQUcsY0FBSSxDQUFDLE9BQU8sQ0FBQyxTQUFTLEVBQUUsSUFBSSxFQUFFLE1BQU0sQ0FBQyxDQUFDO0lBMEQ3RCxDQUFDO0lBeERRLEtBQUssQ0FBQyxrQkFBa0IsQ0FBQyxTQUFpQixFQUFFLE9BQTRCO1FBQzdFLE1BQU0sVUFBVSxHQUFHLE1BQU0sS0FBSyxDQUFDLGtCQUFrQixDQUFDLFNBQVMsRUFBRSxPQUFPLENBQUMsQ0FBQztRQUN0RSxPQUFPO1lBQ0wsR0FBRyxVQUFVO1lBQ2I7Z0JBQ0UsS0FBSyxFQUFFLGdDQUFnQztnQkFDdkMsSUFB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yxDQUFDO2dCQUNMLENBQUM7YUFDRjtTQUNGLENBQUM7SUFDSixDQUFDO0NBQ0Y7QUFFRCxrQkFBZSxJQUFJLFlBQVksRUFBRSxDQUFDIn0= |
{ | ||
"name": "@electron-forge/template-vite", | ||
"version": "7.4.0", | ||
"version": "7.5.0", | ||
"description": "Vite template for Electron Forge, gets you started with Vite really quickly", | ||
@@ -21,8 +21,8 @@ "repository": { | ||
"dependencies": { | ||
"@electron-forge/shared-types": "7.4.0", | ||
"@electron-forge/template-base": "7.4.0", | ||
"@electron-forge/shared-types": "7.5.0", | ||
"@electron-forge/template-base": "7.5.0", | ||
"fs-extra": "^10.0.0" | ||
}, | ||
"devDependencies": { | ||
"@electron-forge/test-utils": "7.4.0", | ||
"@electron-forge/test-utils": "7.5.0", | ||
"chai": "^4.3.3", | ||
@@ -39,3 +39,3 @@ "listr2": "^7.0.2" | ||
], | ||
"gitHead": "d3d47b2bc53be13609b5ff4d858275ce74bff819" | ||
"gitHead": "5941a9a067c8af0daee0aab01c44a0040a9bdea0" | ||
} |
@@ -18,4 +18,3 @@ import path from 'path'; | ||
await this.copyTemplateFile(directory, 'forge.config.js'); | ||
await this.copyTemplateFile(directory, 'forge.env.d.txt'); | ||
await fs.rename(path.join(directory, 'forge.env.d.txt'), path.join(directory, 'forge.env.d.ts')); | ||
await this.copyTemplateFile(directory, 'forge.env.d.ts'); | ||
}, | ||
@@ -26,3 +25,2 @@ }, | ||
task: async () => { | ||
await this.copyTemplateFile(directory, 'vite.base.config.mjs'); | ||
await this.copyTemplateFile(directory, 'vite.main.config.mjs'); | ||
@@ -29,0 +27,0 @@ await this.copyTemplateFile(directory, 'vite.preload.config.mjs'); |
@@ -38,2 +38,3 @@ const { FusesPlugin } = require('@electron-forge/plugin-fuses'); | ||
config: 'vite.main.config.mjs', | ||
target: 'main', | ||
}, | ||
@@ -43,2 +44,3 @@ { | ||
config: 'vite.preload.config.mjs', | ||
target: 'preload', | ||
}, | ||
@@ -45,0 +47,0 @@ ], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
1
15434
14
237
+ Added@electron-forge/shared-types@7.5.0(transitive)
+ Added@electron-forge/template-base@7.5.0(transitive)
+ Added@electron-forge/tracer@7.5.0(transitive)
- Removed@electron-forge/shared-types@7.4.0(transitive)
- Removed@electron-forge/template-base@7.4.0(transitive)
- Removed@electron-forge/tracer@7.4.0(transitive)