Skip to content

Commit

Permalink
Tools: Allow publishing all lib packages to @joplin
Browse files Browse the repository at this point in the history
  • Loading branch information
laurent22 committed Dec 14, 2020
1 parent 46d22d8 commit 4180d4b
Show file tree
Hide file tree
Showing 17 changed files with 51 additions and 38 deletions.
10 changes: 5 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ const tasks = {
// deleteBuildDirs: require('./packages/tools/gulp/tasks/deleteBuildDirs'),
completePublishAll: {
fn: async () => {
await utils.execCommandVerbose('git pull');
await utils.execCommandVerbose('git add -A');
await utils.execCommandVerbose('git commit -m "Releasing sub-packages"');
await utils.execCommandVerbose('lerna publish from-package -y');
await utils.execCommandVerbose('git push');
// await utils.execCommandVerbose('git pull');
await utils.execCommandVerbose('git', ['add', '-A']);
await utils.execCommandVerbose('git', ['commit', '-m', 'Releasing sub-packages']);
await utils.execCommandVerbose('lerna', ['publish', 'from-package', '-y']);
await utils.execCommandVerbose('git', ['push']);
},
},
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"linter-precommit": "./node_modules/.bin/eslint --resolve-plugins-relative-to . --fix --ext .js --ext .jsx --ext .ts --ext .tsx",
"linter": "./node_modules/.bin/eslint --resolve-plugins-relative-to . --fix --quiet --ext .js --ext .jsx --ext .ts --ext .tsx",
"postinstall": "lerna bootstrap --no-ci && npm run tsc",
"publishAll": "git pull && lerna version --no-git-tag-version && gulp completePublishAll",
"publishAll": "git pull && lerna version --yes --no-private --no-git-tag-version && gulp completePublishAll",
"releaseAndroid": "node packages/tools/release-android.js",
"releaseCli": "node packages/tools/release-cli.js",
"releaseClipper": "node packages/tools/release-clipper.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/fork-htmlparser2/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions packages/fork-htmlparser2/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@joplin/fork-htmlparser2",
"description": "Fast & forgiving HTML/XML/RSS parser",
"version": "4.1.8",
"version": "4.1.13",
"author": "Felix Boehm <[email protected]>",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -64,5 +64,6 @@
"license": "MIT",
"prettier": {
"tabWidth": 4
}
},
"gitHead": "80c0089d2c52aff608b2bea74389de5a7f12f2e2"
}
2 changes: 1 addition & 1 deletion packages/fork-sax/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions packages/fork-sax/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@joplin/fork-sax",
"description": "An evented streaming XML parser in JavaScript",
"author": "Isaac Z. Schlueter <[email protected]> (https://blog.izs.me/)",
"version": "1.2.12",
"version": "1.2.17",
"main": "lib/sax.js",
"publishConfig": {
"access": "public"
Expand All @@ -17,5 +17,6 @@
"devDependencies": {
"standard": "^8.6.0",
"tap": "^10.5.1"
}
},
"gitHead": "80c0089d2c52aff608b2bea74389de5a7f12f2e2"
}
1 change: 1 addition & 0 deletions packages/generator-joplin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.5.0",
"description": "Scaffolds out a new Joplin plugin",
"homepage": "https://joplinapp.org",
"private": true,
"author": {
"name": "Laurent Cozic",
"url": "https://joplinapp.org"
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions packages/lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joplin/lib",
"version": "1.0.9",
"version": "1.0.14",
"description": "Joplin Core library",
"author": "Laurent Cozic",
"homepage": "",
Expand All @@ -22,11 +22,11 @@
"typescript": "^4.0.5"
},
"dependencies": {
"@joplin/fork-htmlparser2": "^4.1.8",
"@joplin/fork-sax": "^1.2.12",
"@joplin/renderer": "^1.0.17",
"@joplin/turndown": "^4.0.30",
"@joplin/turndown-plugin-gfm": "^1.0.12",
"@joplin/fork-htmlparser2": "^4.1.13",
"@joplin/fork-sax": "^1.2.17",
"@joplin/renderer": "^1.0.22",
"@joplin/turndown": "^4.0.35",
"@joplin/turndown-plugin-gfm": "^1.0.17",
"async-mutex": "^0.1.3",
"aws-sdk": "^2.588.0",
"base-64": "^0.1.0",
Expand Down Expand Up @@ -79,5 +79,6 @@
"valid-url": "^1.0.9",
"word-wrap": "^1.2.3",
"xml2js": "^0.4.19"
}
},
"gitHead": "80c0089d2c52aff608b2bea74389de5a7f12f2e2"
}
2 changes: 1 addition & 1 deletion packages/renderer/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions packages/renderer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joplin/renderer",
"version": "1.0.17",
"version": "1.0.22",
"description": "The Joplin note renderer, used the mobile and desktop application",
"repository": "https://github.com/laurent22/joplin/tree/dev/packages/renderer",
"main": "index.js",
Expand All @@ -10,7 +10,6 @@
},
"scripts": {
"buildAssets": "node Tools/buildAssets.js",
"prepublishOnly": "npm run buildAssets",
"tsc": "node node_modules/typescript/bin/tsc --project tsconfig.json",
"watch": "node node_modules/typescript/bin/tsc --watch --project tsconfig.json",
"test": "jest",
Expand All @@ -19,13 +18,13 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@types/node": "^14.14.6",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.6",
"jest": "^26.6.3",
"typescript": "^4.0.5"
},
"dependencies": {
"@joplin/fork-htmlparser2": "^4.1.8",
"@joplin/fork-htmlparser2": "^4.1.13",
"font-awesome-filetypes": "^2.1.0",
"fs-extra": "^8.1.0",
"highlight.js": "^10.2.1",
Expand All @@ -48,5 +47,6 @@
"md5": "^2.2.1",
"mermaid": "^8.8.4",
"uslug": "git+https://github.com/laurent22/uslug.git#emoji-support"
}
},
"gitHead": "80c0089d2c52aff608b2bea74389de5a7f12f2e2"
}
2 changes: 1 addition & 1 deletion packages/tools/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions packages/tools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joplin/tools",
"version": "1.0.9",
"version": "1.0.14",
"description": "Various tools for Joplin",
"main": "index.js",
"author": "Laurent Cozic",
Expand All @@ -16,7 +16,7 @@
},
"license": "MIT",
"dependencies": {
"@joplin/lib": "^1.0.9",
"@joplin/lib": "^1.0.14",
"execa": "^4.1.0",
"fs-extra": "^4.0.3",
"gettext-parser": "^1.3.0",
Expand All @@ -37,5 +37,6 @@
"@types/node": "^14.14.6",
"gulp": "^4.0.2",
"sqlite3": "^5.0.0"
}
},
"gitHead": "80c0089d2c52aff608b2bea74389de5a7f12f2e2"
}
2 changes: 1 addition & 1 deletion packages/turndown-plugin-gfm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions packages/turndown-plugin-gfm/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"name": "@joplin/turndown-plugin-gfm",
"description": "Turndown plugin to add GitHub Flavored Markdown extensions.",
"version": "1.0.12",
"publishConfig": {
"access": "public"
},
"version": "1.0.17",
"author": "Dom Christie",
"main": "lib/turndown-plugin-gfm.cjs.js",
"module": "lib/turndown-plugin-gfm.es.js",
Expand Down Expand Up @@ -38,6 +41,7 @@
"build-es": "rollup -c config/rollup.config.es.js && rollup -c config/rollup.config.browser.es.js",
"build-iife": "rollup -c config/rollup.config.iife.js",
"build-test": "browserify test/turndown-plugin-gfm-test.js --outfile test/turndown-plugin-gfm-test.browser.js",
"postinstall": "npm run build"
}
"prepare": "npm run build"
},
"gitHead": "80c0089d2c52aff608b2bea74389de5a7f12f2e2"
}
2 changes: 1 addition & 1 deletion packages/turndown/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions packages/turndown/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"name": "@joplin/turndown",
"description": "A library that converts HTML to Markdown",
"version": "4.0.30",
"version": "4.0.35",
"author": "Dom Christie",
"main": "lib/turndown.cjs.js",
"module": "lib/turndown.es.js",
"jsnext:main": "lib/turndown.es.js",
"publishConfig": {
"access": "public"
},
"browser": {
"jsdom": false
},
Expand Down Expand Up @@ -45,6 +48,7 @@
"build-umd": "rollup -c config/rollup.config.umd.js && rollup -c config/rollup.config.browser.umd.js",
"build-iife": "rollup -c config/rollup.config.iife.js",
"build-test": "browserify test/turndown-test.js --outfile test/turndown-test.browser.js",
"postinstall": "npm run build"
}
"prepare": "npm run build"
},
"gitHead": "80c0089d2c52aff608b2bea74389de5a7f12f2e2"
}

0 comments on commit 4180d4b

Please sign in to comment.