Skip to content

Commit

Permalink
Merge pull request #25 from ckeditor/t/23
Browse files Browse the repository at this point in the history
Internal: Changed the repository structure. Closes #23.
  • Loading branch information
Reinmar authored Sep 28, 2017
2 parents 63ee3dd + 169fdf2 commit 21442b8
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 0 additions & 2 deletions .npmignore

This file was deleted.

3 changes: 2 additions & 1 deletion bin/create-entry-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@

'use strict';

const path = require( 'path' );
const { bundler } = require( '@ckeditor/ckeditor5-dev-utils' );
const buildConfig = require( '../build-config' );

console.log( 'Creating the entry file...' );

bundler.createEntryFile( 'ckeditor.js', buildConfig );
bundler.createEntryFile( path.join( 'src', 'ckeditor.js' ), buildConfig );

console.log( 'Done.' );
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,22 @@
"rich-text editor"
],
"main": "./build/ckeditor.js",
"dependencies": {
"@ckeditor/ckeditor5-editor-classic": "^0.8.0",
"@ckeditor/ckeditor5-essentials": "^0.3.0",
"files": [
"build"
],
"devDependencies": {
"@ckeditor/ckeditor5-autoformat": "^0.6.0",
"@ckeditor/ckeditor5-basic-styles": "^0.9.0",
"@ckeditor/ckeditor5-block-quote": "^0.2.0",
"@ckeditor/ckeditor5-dev-utils": "^4.0.0",
"@ckeditor/ckeditor5-dev-webpack-plugin": "^2.0.11",
"@ckeditor/ckeditor5-editor-classic": "^0.8.0",
"@ckeditor/ckeditor5-essentials": "^0.3.0",
"@ckeditor/ckeditor5-heading": "^0.10.0",
"@ckeditor/ckeditor5-image": "^0.7.0",
"@ckeditor/ckeditor5-link": "^0.8.0",
"@ckeditor/ckeditor5-list": "^0.7.0",
"@ckeditor/ckeditor5-paragraph": "^0.9.0"
},
"devDependencies": {
"@ckeditor/ckeditor5-dev-utils": "^4.0.0",
"@ckeditor/ckeditor5-dev-webpack-plugin": "^2.0.11",
"@ckeditor/ckeditor5-paragraph": "^0.9.0",
"babel-minify-webpack-plugin": "^0.2.0",
"css-loader": "^0.28.5",
"node-sass": "^4.5.3",
Expand All @@ -50,6 +51,6 @@
"create-entry-file": "./bin/create-entry-file.js",
"build-ckeditor": "./bin/build-ckeditor.sh",

"preversion": "npm run build; if [ -n \"$(git status ckeditor.js build/ --porcelain)\" ]; then git add -u ckeditor.js build/ && git commit -m 'Internal: Build.'; fi"
"preversion": "npm run build; if [ -n \"$(git status src/ckeditor.js build/ --porcelain)\" ]; then git add -u src/ckeditor.js build/ && git commit -m 'Internal: Build.'; fi"
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const buildConfig = require( './build-config' );
module.exports = {
devtool: 'source-map',

entry: path.resolve( __dirname, 'ckeditor.js' ),
entry: path.resolve( __dirname, 'src', 'ckeditor.js' ),

output: {
path: path.resolve( __dirname, 'build' ),
Expand Down

0 comments on commit 21442b8

Please sign in to comment.