extension-create 2.0.0-rc.33 → 2.0.0-rc.35
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.
- package/dist/module.js +3 -9
- package/package.json +3 -3
package/dist/module.js
CHANGED
|
@@ -427,10 +427,10 @@ async function generateExtensionTypes(projectPath, projectName) {
|
|
|
427
427
|
// If you need additional types, consider creating a new *.d.ts file and
|
|
428
428
|
// referencing it in the "include" array of your tsconfig.json file.
|
|
429
429
|
// See https://www.typescriptlang.org/tsconfig#include for more information.
|
|
430
|
-
/// <reference types="${typePath}" />
|
|
430
|
+
/// <reference types="${typePath}/types" />
|
|
431
431
|
|
|
432
432
|
// Polyfill types for browser.* APIs
|
|
433
|
-
/// <reference types="${typePath}/polyfill" />
|
|
433
|
+
/// <reference types="${typePath}/types/polyfill" />
|
|
434
434
|
`;
|
|
435
435
|
try {
|
|
436
436
|
await promises_namespaceObject.mkdir(projectPath, {
|
|
@@ -478,11 +478,6 @@ const debugFiles = [
|
|
|
478
478
|
'yarn-debug.log*',
|
|
479
479
|
'yarn-error.log*'
|
|
480
480
|
];
|
|
481
|
-
const extensionJsFiles = [
|
|
482
|
-
'',
|
|
483
|
-
'# extension.js',
|
|
484
|
-
'extension-env.d.ts'
|
|
485
|
-
];
|
|
486
481
|
const globalLines = [
|
|
487
482
|
'# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.',
|
|
488
483
|
...globalDependencies,
|
|
@@ -490,8 +485,7 @@ const globalLines = [
|
|
|
490
485
|
...globalProduction,
|
|
491
486
|
...globalMisc,
|
|
492
487
|
...envFiles,
|
|
493
|
-
...debugFiles
|
|
494
|
-
...extensionJsFiles
|
|
488
|
+
...debugFiles
|
|
495
489
|
];
|
|
496
490
|
async function writeGitignore(projectPath) {
|
|
497
491
|
const gitIgnorePath = external_path_namespaceObject.join(projectPath, '.gitignore');
|
package/package.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dist"
|
|
22
22
|
],
|
|
23
23
|
"name": "extension-create",
|
|
24
|
-
"version": "2.0.0-rc.
|
|
24
|
+
"version": "2.0.0-rc.35",
|
|
25
25
|
"description": "The create step of Extension.js",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Cezar Augusto",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@rslib/core": "^0.6.9",
|
|
40
40
|
"@types/cross-spawn": "^6.0.6",
|
|
41
41
|
"@types/node": "^22.10.1",
|
|
42
|
-
"@vitest/coverage-v8": "
|
|
42
|
+
"@vitest/coverage-v8": "3.2.2",
|
|
43
43
|
"globals": "^15.13.0",
|
|
44
44
|
"tsconfig": "*",
|
|
45
45
|
"typescript": "5.7.2",
|
|
46
|
-
"vitest": "
|
|
46
|
+
"vitest": "3.2.2"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"clean": "rm -rf dist",
|