@ckeditor/ckeditor5-autosave 37.0.0-alpha.0 → 37.0.0-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-autosave",
3
- "version": "37.0.0-alpha.0",
3
+ "version": "37.0.0-alpha.1",
4
4
  "description": "Autosave feature for CKEditor 5.",
5
5
  "keywords": [
6
6
  "ckeditor",
@@ -12,16 +12,16 @@
12
12
  ],
13
13
  "main": "src/index.js",
14
14
  "dependencies": {
15
- "ckeditor5": "^37.0.0-alpha.0",
15
+ "ckeditor5": "^37.0.0-alpha.1",
16
16
  "lodash-es": "^4.17.15"
17
17
  },
18
18
  "devDependencies": {
19
- "@ckeditor/ckeditor5-core": "^37.0.0-alpha.0",
20
- "@ckeditor/ckeditor5-dev-utils": "^34.0.0",
21
- "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.0",
22
- "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.0",
23
- "@ckeditor/ckeditor5-source-editing": "^37.0.0-alpha.0",
24
- "@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.0",
19
+ "@ckeditor/ckeditor5-core": "^37.0.0-alpha.1",
20
+ "@ckeditor/ckeditor5-dev-utils": "^35.0.0",
21
+ "@ckeditor/ckeditor5-editor-classic": "^37.0.0-alpha.1",
22
+ "@ckeditor/ckeditor5-paragraph": "^37.0.0-alpha.1",
23
+ "@ckeditor/ckeditor5-source-editing": "^37.0.0-alpha.1",
24
+ "@ckeditor/ckeditor5-theme-lark": "^37.0.0-alpha.1",
25
25
  "typescript": "^4.8.4",
26
26
  "webpack": "^5.58.1",
27
27
  "webpack-cli": "^4.9.0"
@@ -50,7 +50,7 @@
50
50
  ],
51
51
  "scripts": {
52
52
  "dll:build": "webpack",
53
- "build": "tsc -p ./tsconfig.release.json",
53
+ "build": "tsc -p ./tsconfig.json",
54
54
  "postversion": "npm run build"
55
55
  },
56
56
  "types": "src/index.d.ts"
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import type { Autosave, AutosaveConfig } from './index';
6
+ declare module '@ckeditor/ckeditor5-core' {
7
+ interface PluginsMap {
8
+ [Autosave.pluginName]: Autosave;
9
+ }
10
+ interface EditorConfig {
11
+ /**
12
+ * The configuration of the {@link module:autosave/autosave~Autosave autosave feature}.
13
+ *
14
+ * Read more in {@link module:autosave/autosave~AutosaveConfig}.
15
+ */
16
+ autosave?: AutosaveConfig;
17
+ }
18
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ export {};
package/src/autosave.d.ts CHANGED
@@ -218,16 +218,3 @@ export interface AutosaveConfig {
218
218
  */
219
219
  waitingTime?: number;
220
220
  }
221
- declare module '@ckeditor/ckeditor5-core' {
222
- interface PluginsMap {
223
- [Autosave.pluginName]: Autosave;
224
- }
225
- interface EditorConfig {
226
- /**
227
- * The configuration of the {@link module:autosave/autosave~Autosave autosave feature}.
228
- *
229
- * Read more in {@link module:autosave/autosave~AutosaveConfig}.
230
- */
231
- autosave?: AutosaveConfig;
232
- }
233
- }
package/src/index.d.ts CHANGED
@@ -5,4 +5,5 @@
5
5
  /**
6
6
  * @module autosave
7
7
  */
8
- export { default as Autosave } from './autosave';
8
+ export { default as Autosave, type AutosaveConfig } from './autosave';
9
+ import './augmentation';
package/src/index.js CHANGED
@@ -6,3 +6,4 @@
6
6
  * @module autosave
7
7
  */
8
8
  export { default as Autosave } from './autosave';
9
+ import './augmentation';