Skip to content

Commit

Permalink
Merge pull request #13264 from ckeditor/ck/12997
Browse files Browse the repository at this point in the history
Other (autosave): Rewrite ckeditor5-autosave to TypeScript. Closes #12997.
  • Loading branch information
arkflpc authored Jan 18, 2023
2 parents 15dd8fa + f00b8e3 commit 7dea975
Show file tree
Hide file tree
Showing 10 changed files with 482 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ yalc.lock
packages/ckeditor5-adapter-ckfinder/src/**/*.js
packages/ckeditor5-alignment/src/**/*.js
packages/ckeditor5-autoformat/src/**/*.js
packages/ckeditor5-autosave/src/**/*.js
packages/ckeditor5-basic-styles/src/**/*.js
packages/ckeditor5-block-quote/src/**/*.js
packages/ckeditor5-clipboard/src/**/*.js
Expand Down
File renamed without changes.
File renamed without changes.
10 changes: 7 additions & 3 deletions packages/ckeditor5-autosave/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"ckeditor5-plugin",
"ckeditor5-dll"
],
"main": "src/index.js",
"main": "src/index.ts",
"dependencies": {
"ckeditor5": "^35.4.0",
"lodash-es": "^4.17.15"
Expand All @@ -22,6 +22,7 @@
"@ckeditor/ckeditor5-paragraph": "^35.4.0",
"@ckeditor/ckeditor5-source-editing": "^35.4.0",
"@ckeditor/ckeditor5-theme-lark": "^35.4.0",
"typescript": "^4.8.4",
"webpack": "^5.58.1",
"webpack-cli": "^4.9.0"
},
Expand All @@ -40,13 +41,16 @@
},
"files": [
"lang",
"src",
"src/**/*.js",
"src/**/*.d.ts",
"theme",
"build",
"ckeditor5-metadata.json",
"CHANGELOG.md"
],
"scripts": {
"dll:build": "webpack"
"dll:build": "webpack",
"build": "tsc -p ./tsconfig.release.json",
"postversion": "npm run build"
}
}
Loading

0 comments on commit 7dea975

Please sign in to comment.