-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #137 from ckeditor/i/110
Feature: Replaced the community typings with the official CKEditor 5. Closes #110. Other: The `ckeditor5` package is no longer a dependency of a created package. Instead, it is marked as a peer dependency to enable using the newly created package with the latest CKEditor 5 versions.
- Loading branch information
Showing
9 changed files
with
64 additions
and
94 deletions.
There are no files selected for viewing
30 changes: 15 additions & 15 deletions
30
packages/ckeditor5-package-generator/lib/templates/common/ckeditor5-metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
{ | ||
"plugins": [ | ||
{ | ||
"name": "<%= formattedNames.plugin.spacedOut %>", | ||
"className": "<%= formattedNames.plugin.pascalCase %>", | ||
"description": "Adds text to the editor.", | ||
"path": "src/<%= formattedNames.plugin.lowerCaseMerged %>.<%= programmingLanguage %>", | ||
"uiComponents": [ | ||
{ | ||
"name": "<%= formattedNames.plugin.camelCase %>Button", | ||
"type": "Button", | ||
"iconPath": "theme/icons/ckeditor.svg" | ||
} | ||
] | ||
} | ||
] | ||
"plugins": [ | ||
{ | ||
"name": "<%= formattedNames.plugin.spacedOut %>", | ||
"className": "<%= formattedNames.plugin.pascalCase %>", | ||
"description": "Adds text to the editor.", | ||
"path": "src/<%= formattedNames.plugin.lowerCaseMerged %>.<%= programmingLanguage %>", | ||
"uiComponents": [ | ||
{ | ||
"name": "<%= formattedNames.plugin.camelCase %>Button", | ||
"type": "Button", | ||
"iconPath": "theme/icons/ckeditor.svg" | ||
} | ||
] | ||
} | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/ckeditor5-package-generator/lib/templates/common/lang/contexts.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"<%= formattedNames.plugin.spacedOut %>": "Content for a tooltip is displayed when a user hovers the CKEditor 5 icon." | ||
"<%= formattedNames.plugin.spacedOut %>": "Content for a tooltip is displayed when a user hovers the CKEditor 5 icon." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 3 additions & 5 deletions
8
packages/ckeditor5-package-generator/lib/templates/ts/src/_PLACEHOLDER_.ts.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 5 additions & 10 deletions
15
packages/ckeditor5-package-generator/lib/templates/ts/tests/_PLACEHOLDER_.ts.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 23 additions & 23 deletions
46
packages/ckeditor5-package-generator/lib/templates/ts/tsconfig.json.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
{ | ||
"compilerOptions": { | ||
"lib": [ | ||
"DOM" | ||
], | ||
"noImplicitAny": true, | ||
"noImplicitOverride": true, | ||
"strict": true, | ||
"module": "es6", | ||
"target": "es2020", | ||
"sourceMap": true, | ||
"allowJs": true, | ||
"moduleResolution": "node", | ||
"typeRoots": [ | ||
"typings", | ||
"node_modules/@types" | ||
] | ||
}, | ||
"include": [ | ||
"./sample", | ||
"./src", | ||
"./tests", | ||
"./typings" | ||
], | ||
"compilerOptions": { | ||
"lib": [ | ||
"DOM" | ||
], | ||
"noImplicitAny": true, | ||
"noImplicitOverride": true, | ||
"strict": true, | ||
"module": "es6", | ||
"target": "es2020", | ||
"sourceMap": true, | ||
"allowJs": true, | ||
"moduleResolution": "node", | ||
"typeRoots": [ | ||
"typings", | ||
"node_modules/@types" | ||
] | ||
}, | ||
"include": [ | ||
"./sample", | ||
"./src", | ||
"./tests", | ||
"./typings" | ||
] | ||
} |
18 changes: 9 additions & 9 deletions
18
packages/ckeditor5-package-generator/lib/templates/ts/tsconfig.release.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"sourceMap": false, | ||
"declaration": true | ||
}, | ||
"exclude": [ | ||
"./tests/", | ||
"./sample/" | ||
] | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"sourceMap": false, | ||
"declaration": true | ||
}, | ||
"exclude": [ | ||
"./tests/", | ||
"./sample/" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters