@unpackjs/core 3.2.4 → 3.2.5
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/compiled/css-loader/index.js +20 -22
- package/compiled/less-loader/index.js +8 -8
- package/compiled/postcss-loader/index.js +10 -10
- package/compiled/sass-loader/index.js +8 -8
- package/dist/index.cjs +8 -615
- package/dist/index.js +11 -612
- package/dist-types/index.d.ts +0 -1
- package/dist-types/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist-types/launch-editor/editor-info/index.d.ts +0 -4
- package/dist-types/launch-editor/editor-info/index.d.ts.map +0 -1
- package/dist-types/launch-editor/editor-info/linux.d.ts +0 -33
- package/dist-types/launch-editor/editor-info/linux.d.ts.map +0 -1
- package/dist-types/launch-editor/editor-info/macos.d.ts +0 -35
- package/dist-types/launch-editor/editor-info/macos.d.ts.map +0 -1
- package/dist-types/launch-editor/editor-info/windows.d.ts +0 -6
- package/dist-types/launch-editor/editor-info/windows.d.ts.map +0 -1
- package/dist-types/launch-editor/get-args.d.ts +0 -12
- package/dist-types/launch-editor/get-args.d.ts.map +0 -1
- package/dist-types/launch-editor/guess.d.ts +0 -3
- package/dist-types/launch-editor/guess.d.ts.map +0 -1
- package/dist-types/launch-editor/index.d.ts +0 -7
- package/dist-types/launch-editor/index.d.ts.map +0 -1
- package/dist-types/launch-editor/types.d.ts +0 -7
- package/dist-types/launch-editor/types.d.ts.map +0 -1
package/dist-types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,MAAM,CAAA;AACpB,cAAc,UAAU,CAAA;AACxB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,MAAM,CAAA;AACpB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unpackjs/core",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.5",
|
|
4
4
|
"description": "An Rspack-based build tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"webpack-merge": "6.0.1"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@rspack/core": "1.4.
|
|
42
|
+
"@rspack/core": "1.4.11",
|
|
43
43
|
"@types/less": "3.0.8",
|
|
44
44
|
"chokidar": "4.0.3",
|
|
45
45
|
"cors": "2.8.5",
|
|
46
46
|
"dotenv-expand": "12.0.2",
|
|
47
47
|
"express": "5.1.0",
|
|
48
48
|
"jiti": "2.5.1",
|
|
49
|
-
"oxc-minify": "0.
|
|
49
|
+
"oxc-minify": "0.79.1",
|
|
50
50
|
"picocolors": "1.1.1",
|
|
51
51
|
"portfinder": "1.0.37",
|
|
52
52
|
"postcss": "8.5.6",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/launch-editor/editor-info/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAK1D,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAIvE,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,QAAQ,EAAE,gBAAgB,CAIxE,CAAA"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { EditorProcessMap } from '../types';
|
|
2
|
-
export declare const COMMON_EDITORS_LINUX: {
|
|
3
|
-
cursor: string;
|
|
4
|
-
windsurf: string;
|
|
5
|
-
code: string;
|
|
6
|
-
vscodium: string;
|
|
7
|
-
codium: string;
|
|
8
|
-
webstorm: string;
|
|
9
|
-
'webstorm.sh': string;
|
|
10
|
-
hbuilderx: string;
|
|
11
|
-
'hbuilderx.sh': string;
|
|
12
|
-
atom: string;
|
|
13
|
-
Brackets: string;
|
|
14
|
-
'code-insiders': string;
|
|
15
|
-
emacs: string;
|
|
16
|
-
gvim: string;
|
|
17
|
-
idea: string;
|
|
18
|
-
'idea.sh': string;
|
|
19
|
-
phpstorm: string;
|
|
20
|
-
'phpstorm.sh': string;
|
|
21
|
-
pycharm: string;
|
|
22
|
-
'pycharm.sh': string;
|
|
23
|
-
rubymine: string;
|
|
24
|
-
'rubymine.sh': string;
|
|
25
|
-
sublime_text: string;
|
|
26
|
-
vim: string;
|
|
27
|
-
goland: string;
|
|
28
|
-
'goland.sh': string;
|
|
29
|
-
rider: string;
|
|
30
|
-
'rider.sh': string;
|
|
31
|
-
};
|
|
32
|
-
export declare const EDITOR_PROCESS_MAP_LINUX: EditorProcessMap;
|
|
33
|
-
//# sourceMappingURL=linux.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"linux.d.ts","sourceRoot":"","sources":["../../../src/launch-editor/editor-info/linux.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAGhD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BhC,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,gBAmBtC,CAAA"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { EditorProcessMap } from '../types';
|
|
2
|
-
export declare const COMMON_EDITORS_MACOS: {
|
|
3
|
-
'/Cursor.app/Contents/MacOS/Cursor': string;
|
|
4
|
-
'/Comate.app/Contents/MacOS/Electron': string;
|
|
5
|
-
'/Windsurf.app/Contents/MacOS/Electron': string;
|
|
6
|
-
'/Trae.app/Contents/MacOS/Electron': string;
|
|
7
|
-
'/Trae CN.app/Contents/MacOS/Electron': string;
|
|
8
|
-
'/Visual Studio Code.app/Contents/MacOS/Electron': string;
|
|
9
|
-
'/Visual Studio Code - Insiders.app/Contents/MacOS/Electron': string;
|
|
10
|
-
'/VSCodium.app/Contents/MacOS/Electron': string;
|
|
11
|
-
'/WebStorm.app/Contents/MacOS/webstorm': string;
|
|
12
|
-
'/HBuilderX.app/Contents/MacOS/HBuilderX': string;
|
|
13
|
-
'/Atom.app/Contents/MacOS/Atom': string;
|
|
14
|
-
'/Atom Beta.app/Contents/MacOS/Atom Beta': string;
|
|
15
|
-
'/Brackets.app/Contents/MacOS/Brackets': string;
|
|
16
|
-
'/Sublime Text.app/Contents/MacOS/Sublime Text': string;
|
|
17
|
-
'/Sublime Text.app/Contents/MacOS/sublime_text': string;
|
|
18
|
-
'/Sublime Text 2.app/Contents/MacOS/Sublime Text 2': string;
|
|
19
|
-
'/Sublime Text Dev.app/Contents/MacOS/Sublime Text': string;
|
|
20
|
-
'/PhpStorm.app/Contents/MacOS/phpstorm': string;
|
|
21
|
-
'/PyCharm.app/Contents/MacOS/pycharm': string;
|
|
22
|
-
'/PyCharm CE.app/Contents/MacOS/pycharm': string;
|
|
23
|
-
'/IntelliJ IDEA.app/Contents/MacOS/idea': string;
|
|
24
|
-
'/IntelliJ IDEA Ultimate.app/Contents/MacOS/idea': string;
|
|
25
|
-
'/IntelliJ IDEA Community Edition.app/Contents/MacOS/idea': string;
|
|
26
|
-
'/Zed.app/Contents/MacOS/zed': string;
|
|
27
|
-
'/GoLand.app/Contents/MacOS/goland': string;
|
|
28
|
-
'/AppCode.app/Contents/MacOS/appcode': string;
|
|
29
|
-
'/CLion.app/Contents/MacOS/clion': string;
|
|
30
|
-
'/RubyMine.app/Contents/MacOS/rubymine': string;
|
|
31
|
-
'/MacVim.app/Contents/MacOS/MacVim': string;
|
|
32
|
-
'/Rider.app/Contents/MacOS/rider': string;
|
|
33
|
-
};
|
|
34
|
-
export declare const EDITOR_PROCESS_MAP_MACOS: EditorProcessMap;
|
|
35
|
-
//# sourceMappingURL=macos.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"macos.d.ts","sourceRoot":"","sources":["../../../src/launch-editor/editor-info/macos.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAGhD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuChC,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,gBAuBtC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"windows.d.ts","sourceRoot":"","sources":["../../../src/launch-editor/editor-info/windows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAGhD,eAAO,MAAM,kBAAkB,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAiCvD,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,gBAqBpC,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare function formatOpenPath(file: string, line: string | number, column: string | number, format: string | string[]): string[];
|
|
2
|
-
type getArgumentsParams = {
|
|
3
|
-
processName: string;
|
|
4
|
-
fileName: string;
|
|
5
|
-
lineNumber: string | number;
|
|
6
|
-
columnNumber: string | number;
|
|
7
|
-
workspace: string | null;
|
|
8
|
-
openMethodArgs: string;
|
|
9
|
-
};
|
|
10
|
-
export declare function getArguments({ processName, fileName, lineNumber, columnNumber, workspace, openMethodArgs, }: getArgumentsParams): string[];
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=get-args.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-args.d.ts","sourceRoot":"","sources":["../../src/launch-editor/get-args.ts"],"names":[],"mappings":"AAQA,wBAAgB,cAAc,CAC5B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,GAAG,MAAM,EACrB,MAAM,EAAE,MAAM,GAAG,MAAM,EACvB,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,GACxB,MAAM,EAAE,CAgBV;AACD,KAAK,kBAAkB,GAAG;IACxB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,YAAY,EAAE,MAAM,GAAG,MAAM,CAAA;IAC7B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,cAAc,EAAE,MAAM,CAAA;CACvB,CAAA;AACD,wBAAgB,YAAY,CAAC,EAC3B,WAAW,EACX,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,SAAS,EACT,cAAc,GACf,EAAE,kBAAkB,GAAG,MAAM,EAAE,CAM/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"guess.d.ts","sourceRoot":"","sources":["../../src/launch-editor/guess.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAY,MAAM,SAAS,CAAA;AAa/C,wBAAgB,WAAW,CAAC,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CA6F9D"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Editor, OpenMethod } from './types';
|
|
2
|
-
export declare function launchEditor(file: string, options?: {
|
|
3
|
-
editor?: Editor;
|
|
4
|
-
method?: OpenMethod;
|
|
5
|
-
onError?: (fileName: string, errorMessage?: string) => void;
|
|
6
|
-
}): void;
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/launch-editor/index.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AA2DjD,wBAAgB,YAAY,CAC1B,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE;IACR,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;CAC5D,QAyFF"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type Editor = 'appcode' | 'atom' | 'atom-beta' | 'brackets' | 'code' | 'code-insiders' | 'codium' | 'comate' | 'cursor' | 'colin' | 'emacs' | 'goland' | 'hbuilder' | 'idea' | 'notepad' | 'phpstorm' | 'pycharm' | 'trae' | 'rider' | 'rubymine' | 'sublime' | 'vim' | 'webstorm' | 'windsurf' | 'zed';
|
|
2
|
-
export type Platform = 'darwin' | 'linux' | 'win32';
|
|
3
|
-
export type EditorProcessMap = {
|
|
4
|
-
[key in Editor]?: string[];
|
|
5
|
-
};
|
|
6
|
-
export type OpenMethod = 'reuse' | 'new' | 'auto';
|
|
7
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/launch-editor/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GACd,SAAS,GACT,MAAM,GACN,WAAW,GACX,UAAU,GACV,MAAM,GACN,eAAe,GACf,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,OAAO,GACP,QAAQ,GACR,UAAU,GACV,MAAM,GACN,SAAS,GACT,UAAU,GACV,SAAS,GACT,MAAM,GACN,OAAO,GACP,UAAU,GACV,SAAS,GACT,KAAK,GACL,UAAU,GACV,UAAU,GACV,KAAK,CAAA;AAET,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAA;AAEnD,MAAM,MAAM,gBAAgB,GAAG;KAC5B,GAAG,IAAI,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE;CAC3B,CAAA;AACD,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,CAAA"}
|