@coze-editor/preset-none 0.1.0-alpha.0fd19e

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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 coze-dev
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,7 @@
1
+ // src/index.ts
2
+ var preset = [];
3
+ var index_default = preset;
4
+ export {
5
+ index_default as default
6
+ };
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["// Copyright (c) 2025 coze-dev\n// SPDX-License-Identifier: MIT\n\nimport {\n type EditorPluginSpec,\n type InferEditorAPIFromPlugins,\n} from '@coze-editor/core';\n\nconst preset = [] as EditorPluginSpec<string, any, any>[];\ntype EditorAPI = InferEditorAPIFromPlugins<typeof preset>;\n\nexport default preset;\nexport type { EditorAPI };\n"],"mappings":";AAQA,IAAM,SAAS,CAAC;AAGhB,IAAO,gBAAQ;","names":[]}
@@ -0,0 +1,6 @@
1
+ import { EditorPluginSpec, InferEditorAPIFromPlugins } from '@coze-editor/core';
2
+
3
+ declare const preset: EditorPluginSpec<string, any, any>[];
4
+ type EditorAPI = InferEditorAPIFromPlugins<typeof preset>;
5
+
6
+ export { type EditorAPI, preset as default };
@@ -0,0 +1,6 @@
1
+ import { EditorPluginSpec, InferEditorAPIFromPlugins } from '@coze-editor/core';
2
+
3
+ declare const preset: EditorPluginSpec<string, any, any>[];
4
+ type EditorAPI = InferEditorAPIFromPlugins<typeof preset>;
5
+
6
+ export { type EditorAPI, preset as default };
package/dist/index.js ADDED
@@ -0,0 +1,27 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/index.ts
20
+ var index_exports = {};
21
+ __export(index_exports, {
22
+ default: () => index_default
23
+ });
24
+ module.exports = __toCommonJS(index_exports);
25
+ var preset = [];
26
+ var index_default = preset;
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// Copyright (c) 2025 coze-dev\n// SPDX-License-Identifier: MIT\n\nimport {\n type EditorPluginSpec,\n type InferEditorAPIFromPlugins,\n} from '@coze-editor/core';\n\nconst preset = [] as EditorPluginSpec<string, any, any>[];\ntype EditorAPI = InferEditorAPIFromPlugins<typeof preset>;\n\nexport default preset;\nexport type { EditorAPI };\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,IAAM,SAAS,CAAC;AAGhB,IAAO,gBAAQ;","names":[]}
package/package.json ADDED
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "@coze-editor/preset-none",
3
+ "version": "0.1.0-alpha.0fd19e",
4
+ "description": "preset-none",
5
+ "license": "MIT",
6
+ "author": "fengzilong",
7
+ "maintainers": [],
8
+ "sideEffects": [
9
+ "**/*.css",
10
+ "**/*.less",
11
+ "**/*.sass",
12
+ "**/*.scss"
13
+ ],
14
+ "main": "./dist/esm/index.js",
15
+ "module": "./dist/esm/index.js",
16
+ "types": "./dist/index.d.ts",
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "scripts": {
21
+ "build": "tsup",
22
+ "lint": "eslint && tsc --noEmit"
23
+ },
24
+ "dependencies": {
25
+ "@coze-editor/core": "0.1.0-alpha.0fd19e"
26
+ },
27
+ "devDependencies": {
28
+ "@codemirror/state": "^6.4.1",
29
+ "@codemirror/view": "^6.26.1",
30
+ "@coze-arch/ts-config": "workspace:*",
31
+ "@coze-editor/eslint-config": "workspace:*",
32
+ "@types/node": "^22",
33
+ "eslint": "9.14.0",
34
+ "tsup": "^8.0.1",
35
+ "typescript": "^5.8.2"
36
+ },
37
+ "peerDependencies": {
38
+ "@codemirror/state": "^6.4.1",
39
+ "@codemirror/view": "^6.26.1"
40
+ },
41
+ "publishConfig": {
42
+ "access": "public",
43
+ "registry": "https://registry.npmjs.org"
44
+ },
45
+ "test:main": "./src/index.ts"
46
+ }