@punica/editor-shell-classic 1.0.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.
- package/LICENSE +21 -0
- package/README.md +22 -0
- package/dist/index.bundle.esm.js +2 -0
- package/dist/index.bundle.esm.js.map +1 -0
- package/dist/index.bundle.umd.js +2 -0
- package/dist/index.bundle.umd.js.map +1 -0
- package/package.json +69 -0
- package/types/ambient.d.ts +4 -0
- package/types/index.d.ts +8 -0
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@punica/editor-shell-classic",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Classic IDE shell for @punica/editor (activity bar, sidebars, tabs, status bar, layout).",
|
|
5
|
+
"private": false,
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/index.bundle.esm.js",
|
|
8
|
+
"module": "dist/index.bundle.esm.js",
|
|
9
|
+
"browser": "dist/index.bundle.umd.js",
|
|
10
|
+
"types": "types/index.d.ts",
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"build": "rollup -c",
|
|
16
|
+
"build:watch": "rollup -c -w",
|
|
17
|
+
"lint": "eslint . --ext .js,.ts",
|
|
18
|
+
"lint:fix": "eslint . --ext .js,.ts --fix",
|
|
19
|
+
"test": "vitest run",
|
|
20
|
+
"test:watch": "vitest",
|
|
21
|
+
"test:e2e": "vitest run --config vitest.e2e.config.ts",
|
|
22
|
+
"test:host": "vitest run --config vitest.host.config.ts",
|
|
23
|
+
"format": "prettier --write \"./**/*.{ts,js,json,md}\""
|
|
24
|
+
},
|
|
25
|
+
"eslintIgnore": [
|
|
26
|
+
"node_modules",
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
29
|
+
"keywords": [
|
|
30
|
+
"punica",
|
|
31
|
+
"editor",
|
|
32
|
+
"shell",
|
|
33
|
+
"ui"
|
|
34
|
+
],
|
|
35
|
+
"files": [
|
|
36
|
+
"dist/**/*",
|
|
37
|
+
"types/**/*",
|
|
38
|
+
"README.md"
|
|
39
|
+
],
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"@punica/editor": "^1.6.0"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"highlight.js": "^11.11.1",
|
|
45
|
+
"markdown-it": "^14.2.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@punica/editor": "^1.6.0",
|
|
49
|
+
"@rollup/plugin-commonjs": "^28.0.9",
|
|
50
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
51
|
+
"@rollup/plugin-node-resolve": "^15.3.1",
|
|
52
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
53
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
54
|
+
"@types/markdown-it": "^14.1.2",
|
|
55
|
+
"@types/node": "^20.14.10",
|
|
56
|
+
"@typescript-eslint/eslint-plugin": "^7.16.0",
|
|
57
|
+
"@typescript-eslint/parser": "^7.16.0",
|
|
58
|
+
"@vitest/coverage-v8": "^4.1.7",
|
|
59
|
+
"eslint": "^8.56.0",
|
|
60
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
61
|
+
"eslint-plugin-import": "^2.32.0",
|
|
62
|
+
"happy-dom": "^20.9.0",
|
|
63
|
+
"prettier": "^3.3.2",
|
|
64
|
+
"rollup": "^4.53.2",
|
|
65
|
+
"tslib": "^2.8.1",
|
|
66
|
+
"typescript": "^5.5.3",
|
|
67
|
+
"vitest": "^4.1.5"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// Pull in the substrate's ambient declarations so this package can compile
|
|
2
|
+
// against the `punica` global namespace (`import { shell } from 'punica'`) and
|
|
3
|
+
// the `@punica/editor` module surface. Build-time only; not a shipped contract.
|
|
4
|
+
/// <reference types="@punica/editor" />
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@punica/editor-shell-classic` public type surface.
|
|
3
|
+
*
|
|
4
|
+
* The classic IDE shell registers itself onto the substrate through the
|
|
5
|
+
* `registerShell()` seam. A host calls `registerClassicShell()` after
|
|
6
|
+
* `initialize()` and before `bootstrap()`.
|
|
7
|
+
*/
|
|
8
|
+
export function registerClassicShell(): void;
|