Skip to content

Commit

Permalink
bump up version to 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed Nov 29, 2016
1 parent bf5ff63 commit 9ca7f70
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 23 deletions.
17 changes: 3 additions & 14 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,24 +61,13 @@ task :compile => [:build_slim, :build_typescript]

task :build => [:dep, :compile]

task :npm_publish => [:build] do
mkdir 'npm-publish'
%w(bower.json package.json build bin README.md).each{|p| cp_r p, 'npm-publish' }
cd 'npm-publish' do
sh 'bower install --production'
sh 'npm install --save electron-prebuilt'
sh 'npm publish'
end
rm_rf 'npm-publish'
end

task :prepare_release => [:build] do
mkdir_p "archive"
%w(bower.json package.json build).each{|p| cp_r p, 'archive' }
cd 'archive' do
sh 'npm install --production'
sh 'bower install --production'
sh 'npm uninstall electron-prebuilt'
sh 'npm uninstall electron'
end
end

Expand All @@ -97,7 +86,7 @@ task :package do
end
end

electron_json = JSON.load(File.open('node_modules/electron-prebuilt/package.json'))
electron_json = JSON.load(File.open('node_modules/electron/package.json'))
electron_ver = electron_json['version']
app_json = JSON.load(File.open('package.json'))
ver = app_json['version']
Expand Down Expand Up @@ -167,7 +156,7 @@ task :lint do
end

task :clean do
%w(npm-publish build/src build/static archive).each{|tmpdir| rm_rf tmpdir}
%w(build/src build/static archive).each{|tmpdir| rm_rf tmpdir}
end

task :watch do
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "shiba",
"productName": "Shiba",
"version": "1.0.3",
"version": "1.0.4",
"description": "Live markdown previewer with linter",
"main": "./build/src/browser/mainu.js",
"bin": {
Expand Down
16 changes: 8 additions & 8 deletions renderer/marked.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
// Generated by typings
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/9cfdb11648f823b889287c770254b85b78a7a4a4/marked/marked.d.ts
interface MarkedStatic {
Renderer: {
new(): MarkedRenderer;
};

Parser: {
new(options: MarkedOptions): MarkedParser;
};

/**
* Compiles markdown to HTML.
*
Expand Down Expand Up @@ -56,14 +64,6 @@ interface MarkedStatic {
* @param options Hash of options
*/
setOptions(options: MarkedOptions): MarkedStatic;

Renderer: {
new(): MarkedRenderer;
};

Parser: {
new(options: MarkedOptions): MarkedParser;
};
}

interface MarkedRenderer {
Expand Down

0 comments on commit 9ca7f70

Please sign in to comment.