1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-08 13:06:15 +02:00

Tools: Allow publishing all lib packages to @joplin

This commit is contained in:
Laurent Cozic 2020-12-14 14:55:31 +00:00
parent 46d22d8847
commit 4180d4bd28
17 changed files with 51 additions and 38 deletions

View File

@ -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']);
},
},
};

View File

@ -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",

View File

@ -1,6 +1,6 @@
{
"name": "@joplin/fork-htmlparser2",
"version": "4.1.8",
"version": "4.1.13",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -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 <me@feedic.com>",
"publishConfig": {
"access": "public"
@ -64,5 +64,6 @@
"license": "MIT",
"prettier": {
"tabWidth": 4
}
},
"gitHead": "80c0089d2c52aff608b2bea74389de5a7f12f2e2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@joplin/fork-sax",
"version": "1.2.12",
"version": "1.2.17",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -2,7 +2,7 @@
"name": "@joplin/fork-sax",
"description": "An evented streaming XML parser in JavaScript",
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
"version": "1.2.12",
"version": "1.2.17",
"main": "lib/sax.js",
"publishConfig": {
"access": "public"
@ -17,5 +17,6 @@
"devDependencies": {
"standard": "^8.6.0",
"tap": "^10.5.1"
}
},
"gitHead": "80c0089d2c52aff608b2bea74389de5a7f12f2e2"
}

View File

@ -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"

View File

@ -1,6 +1,6 @@
{
"name": "@joplin/lib",
"version": "1.0.9",
"version": "1.0.14",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@joplin/lib",
"version": "1.0.9",
"version": "1.0.14",
"description": "Joplin Core library",
"author": "Laurent Cozic",
"homepage": "",
@ -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",
@ -79,5 +79,6 @@
"valid-url": "^1.0.9",
"word-wrap": "^1.2.3",
"xml2js": "^0.4.19"
}
},
"gitHead": "80c0089d2c52aff608b2bea74389de5a7f12f2e2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@joplin/renderer",
"version": "1.0.17",
"version": "1.0.22",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -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",
@ -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",
@ -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",
@ -48,5 +47,6 @@
"md5": "^2.2.1",
"mermaid": "^8.8.4",
"uslug": "git+https://github.com/laurent22/uslug.git#emoji-support"
}
},
"gitHead": "80c0089d2c52aff608b2bea74389de5a7f12f2e2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@joplin/tools",
"version": "1.0.9",
"version": "1.0.14",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -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",
@ -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",
@ -37,5 +37,6 @@
"@types/node": "^14.14.6",
"gulp": "^4.0.2",
"sqlite3": "^5.0.0"
}
},
"gitHead": "80c0089d2c52aff608b2bea74389de5a7f12f2e2"
}

View File

@ -1,6 +1,6 @@
{
"name": "@joplin/turndown-plugin-gfm",
"version": "1.0.12",
"version": "1.0.17",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -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",
@ -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"
}

View File

@ -1,6 +1,6 @@
{
"name": "@joplin/turndown",
"version": "4.0.30",
"version": "4.0.35",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -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
},
@ -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"
}