diff --git a/.yarnrc.yml b/.yarnrc.yml index 9f52c10..ba9814c 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,2 +1,3 @@ nodeLinker: node-modules enableGlobalCache: true +npmRegistryServer: 'https://registry.npmjs.org' diff --git a/README.md b/README.md index 2597e73..feaf8dd 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,24 @@ yarn test:watch npm run test:watch ``` +## How do I publish these packages? + +First make your changes and push them to the repository. There is no need to create `git` tags or any other versioning vehicles. Lerna handles this automatically. + +Make sure you have push rights for the `main` branch of this repository. + +Log in to the NPM registry via `npm`: + +```bash +npm login +``` + +Publish the packages with Lerna: + +```bash +yarn pub +``` + ## How to iterate quickly inside a consuming project without publishing 100 versions? ```bash diff --git a/packages/abbr/package.json b/packages/abbr/package.json index c6a34b5..2fb40d3 100644 --- a/packages/abbr/package.json +++ b/packages/abbr/package.json @@ -22,5 +22,6 @@ "tsc": "tsc --build --clean && tsc --build", "test": "echo \"Error: run tests from root\" && exit 1" }, - "version": "0.1.3" + "version": "0.2.0", + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1" } diff --git a/packages/analyze-step/package.json b/packages/analyze-step/package.json index c838a5e..2d556a5 100644 --- a/packages/analyze-step/package.json +++ b/packages/analyze-step/package.json @@ -23,14 +23,14 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@transloadit/format-duration-ms": "^0.1.3", - "@transloadit/prettier-bytes": "^0.1.3", + "@transloadit/format-duration-ms": "^0.2.0", + "@transloadit/prettier-bytes": "^0.2.0", "inflection": "^3.0.0", "jsonpath-plus": "^7.2.0", "lodash": "^4.17.21" }, - "version": "0.1.3", - "gitHead": "b73ab4880b9c4c48db32f249f776974a137510c4", + "version": "0.2.0", + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1", "devDependencies": { "@types/jsonpath": "^0.2.4", "@types/lodash": "^4.14.202" diff --git a/packages/enrich-tweet/package.json b/packages/enrich-tweet/package.json index bbab565..54807c5 100644 --- a/packages/enrich-tweet/package.json +++ b/packages/enrich-tweet/package.json @@ -1,7 +1,7 @@ { "name": "@transloadit/enrich-tweet", "license": "AGPL-3.0-only", - "version": "0.1.4", + "version": "0.2.0", "publishConfig": { "access": "public" }, @@ -32,5 +32,6 @@ }, "devDependencies": { "@types/twitter-text": "^3.1.9" - } + }, + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1" } diff --git a/packages/file-exists/package.json b/packages/file-exists/package.json index 5a59520..5b8eae0 100644 --- a/packages/file-exists/package.json +++ b/packages/file-exists/package.json @@ -1,7 +1,7 @@ { "name": "@transloadit/file-exists", "license": "AGPL-3.0-only", - "version": "0.1.3", + "version": "0.2.0", "publishConfig": { "access": "public" }, @@ -23,5 +23,5 @@ "tsc": "tsc --build --clean && tsc --build", "test": "echo \"Error: run tests from root\" && exit 1" }, - "gitHead": "b73ab4880b9c4c48db32f249f776974a137510c4" + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1" } diff --git a/packages/format-duration-ms/package.json b/packages/format-duration-ms/package.json index 869c979..62764ec 100644 --- a/packages/format-duration-ms/package.json +++ b/packages/format-duration-ms/package.json @@ -25,6 +25,6 @@ "dependencies": { "pretty-ms": "6.0.0" }, - "version": "0.1.3", - "gitHead": "b73ab4880b9c4c48db32f249f776974a137510c4" + "version": "0.2.0", + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1" } diff --git a/packages/has-property/package.json b/packages/has-property/package.json index 1a0c030..f913af0 100644 --- a/packages/has-property/package.json +++ b/packages/has-property/package.json @@ -1,7 +1,7 @@ { "name": "@transloadit/has-property", "license": "AGPL-3.0-only", - "version": "0.0.1", + "version": "0.1.0", "publishConfig": { "access": "public" }, @@ -22,5 +22,6 @@ "scripts": { "tsc": "tsc --build --clean && tsc --build", "test": "echo \"Error: run tests from root\" && exit 1" - } + }, + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1" } diff --git a/packages/post/package.json b/packages/post/package.json index 834f4c4..578af1b 100644 --- a/packages/post/package.json +++ b/packages/post/package.json @@ -23,14 +23,14 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@transloadit/file-exists": "^0.1.3", - "@transloadit/slugify": "^0.1.3", + "@transloadit/file-exists": "^0.2.0", + "@transloadit/slugify": "^0.2.0", "inquirer": "7.0.5", "open-in-editor": "^2.2.0", "title": "^3.4.2" }, - "version": "0.1.3", - "gitHead": "b73ab4880b9c4c48db32f249f776974a137510c4", + "version": "0.2.0", + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1", "devDependencies": { "@types/inquirer": "^8.2.10", "@types/title": "^3.4.3" diff --git a/packages/pr/package.json b/packages/pr/package.json index f67d813..9a90635 100644 --- a/packages/pr/package.json +++ b/packages/pr/package.json @@ -1,7 +1,7 @@ { "name": "@transloadit/pr", "license": "AGPL-3.0-only", - "version": "0.1.3", + "version": "0.2.0", "publishConfig": { "access": "public" }, @@ -22,5 +22,6 @@ "scripts": { "tsc": "tsc --build --clean && tsc --build", "test": "echo \"Error: run tests from root\" && exit 1" - } + }, + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1" } diff --git a/packages/prd/package.json b/packages/prd/package.json index d9f4455..f32c444 100644 --- a/packages/prd/package.json +++ b/packages/prd/package.json @@ -1,7 +1,7 @@ { "name": "@transloadit/prd", "license": "AGPL-3.0-only", - "version": "0.1.3", + "version": "0.2.0", "publishConfig": { "access": "public" }, @@ -24,6 +24,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@transloadit/pr": "^0.1.3" - } + "@transloadit/pr": "^0.2.0" + }, + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1" } diff --git a/packages/prettier-bytes/package.json b/packages/prettier-bytes/package.json index 5647922..2b77bb2 100644 --- a/packages/prettier-bytes/package.json +++ b/packages/prettier-bytes/package.json @@ -1,7 +1,7 @@ { "name": "@transloadit/prettier-bytes", "license": "MIT", - "version": "0.1.3", + "version": "0.2.0", "publishConfig": { "access": "public" }, @@ -22,5 +22,6 @@ "scripts": { "tsc": "tsc --build --clean && tsc --build", "test": "echo \"Error: run tests from root\" && exit 1" - } + }, + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1" } diff --git a/packages/slugify/package.json b/packages/slugify/package.json index 61bb3d4..f8db189 100644 --- a/packages/slugify/package.json +++ b/packages/slugify/package.json @@ -1,7 +1,7 @@ { "name": "@transloadit/slugify", "license": "AGPL-3.0-only", - "version": "0.1.3", + "version": "0.2.0", "publishConfig": { "access": "public" }, @@ -23,5 +23,5 @@ "tsc": "tsc --build --clean && tsc --build", "test": "echo \"Error: run tests from root\" && exit 1" }, - "gitHead": "b73ab4880b9c4c48db32f249f776974a137510c4" + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1" } diff --git a/packages/sort-assembly/package.json b/packages/sort-assembly/package.json index d78d519..072f0e6 100644 --- a/packages/sort-assembly/package.json +++ b/packages/sort-assembly/package.json @@ -1,7 +1,7 @@ { "name": "@transloadit/sort-assembly", "license": "AGPL-3.0-only", - "version": "0.1.3", + "version": "0.2.0", "publishConfig": { "access": "public" }, @@ -24,8 +24,9 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@transloadit/has-property": "^0.0.1", - "@transloadit/sort-object-by-prio": "^0.1.3", - "@transloadit/sort-result": "^0.1.3" - } + "@transloadit/has-property": "^0.1.0", + "@transloadit/sort-object-by-prio": "^0.2.0", + "@transloadit/sort-result": "^0.2.0" + }, + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1" } diff --git a/packages/sort-object-by-prio/package.json b/packages/sort-object-by-prio/package.json index 514eafa..75f9aaf 100644 --- a/packages/sort-object-by-prio/package.json +++ b/packages/sort-object-by-prio/package.json @@ -1,7 +1,7 @@ { "name": "@transloadit/sort-object-by-prio", "license": "AGPL-3.0-only", - "version": "0.1.3", + "version": "0.2.0", "publishConfig": { "access": "public" }, @@ -24,6 +24,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@transloadit/sort-object": "^0.1.3" - } + "@transloadit/sort-object": "^0.2.0" + }, + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1" } diff --git a/packages/sort-object/package.json b/packages/sort-object/package.json index e84bbb5..9f70981 100644 --- a/packages/sort-object/package.json +++ b/packages/sort-object/package.json @@ -1,7 +1,7 @@ { "name": "@transloadit/sort-object", "license": "AGPL-3.0-only", - "version": "0.1.3", + "version": "0.2.0", "publishConfig": { "access": "public" }, @@ -24,6 +24,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@transloadit/has-property": "^0.0.1" - } + "@transloadit/has-property": "^0.1.0" + }, + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1" } diff --git a/packages/sort-result-meta/package.json b/packages/sort-result-meta/package.json index 094f0ca..35488b0 100644 --- a/packages/sort-result-meta/package.json +++ b/packages/sort-result-meta/package.json @@ -1,7 +1,7 @@ { "name": "@transloadit/sort-result-meta", "license": "AGPL-3.0-only", - "version": "0.1.3", + "version": "0.2.0", "publishConfig": { "access": "public" }, @@ -24,6 +24,7 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@transloadit/sort-object-by-prio": "^0.1.3" - } + "@transloadit/sort-object-by-prio": "^0.2.0" + }, + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1" } diff --git a/packages/sort-result/package.json b/packages/sort-result/package.json index c80c65d..cca4a69 100644 --- a/packages/sort-result/package.json +++ b/packages/sort-result/package.json @@ -1,7 +1,7 @@ { "name": "@transloadit/sort-result", "license": "AGPL-3.0-only", - "version": "0.1.3", + "version": "0.2.0", "publishConfig": { "access": "public" }, @@ -24,8 +24,9 @@ "test": "echo \"Error: run tests from root\" && exit 1" }, "dependencies": { - "@transloadit/has-property": "^0.0.1", - "@transloadit/sort-object-by-prio": "^0.1.3", - "@transloadit/sort-result-meta": "^0.1.3" - } + "@transloadit/has-property": "^0.1.0", + "@transloadit/sort-object-by-prio": "^0.2.0", + "@transloadit/sort-result-meta": "^0.2.0" + }, + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1" } diff --git a/packages/trigger-pager/package.json b/packages/trigger-pager/package.json index 3622e78..f9d28d8 100644 --- a/packages/trigger-pager/package.json +++ b/packages/trigger-pager/package.json @@ -1,7 +1,7 @@ { "name": "@transloadit/trigger-pager", "license": "AGPL-3.0-only", - "version": "0.1.4", + "version": "0.2.0", "publishConfig": { "access": "public" }, @@ -25,5 +25,6 @@ }, "dependencies": { "@pagerduty/pdjs": "^2.2.4" - } + }, + "gitHead": "714bbf75e54490ceb20bea49a728230668d456c1" } diff --git a/yarn.lock b/yarn.lock index 19c0120..32e9e56 100644 --- a/yarn.lock +++ b/yarn.lock @@ -754,8 +754,8 @@ __metadata: version: 0.0.0-use.local resolution: "@transloadit/analyze-step@workspace:packages/analyze-step" dependencies: - "@transloadit/format-duration-ms": "npm:^0.1.3" - "@transloadit/prettier-bytes": "npm:^0.1.3" + "@transloadit/format-duration-ms": "npm:^0.2.0" + "@transloadit/prettier-bytes": "npm:^0.2.0" "@types/jsonpath": "npm:^0.2.4" "@types/lodash": "npm:^4.14.202" inflection: "npm:^3.0.0" @@ -777,13 +777,13 @@ __metadata: languageName: unknown linkType: soft -"@transloadit/file-exists@npm:^0.1.3, @transloadit/file-exists@workspace:packages/file-exists": +"@transloadit/file-exists@npm:^0.2.0, @transloadit/file-exists@workspace:packages/file-exists": version: 0.0.0-use.local resolution: "@transloadit/file-exists@workspace:packages/file-exists" languageName: unknown linkType: soft -"@transloadit/format-duration-ms@npm:^0.1.3, @transloadit/format-duration-ms@workspace:packages/format-duration-ms": +"@transloadit/format-duration-ms@npm:^0.2.0, @transloadit/format-duration-ms@workspace:packages/format-duration-ms": version: 0.0.0-use.local resolution: "@transloadit/format-duration-ms@workspace:packages/format-duration-ms" dependencies: @@ -791,7 +791,7 @@ __metadata: languageName: unknown linkType: soft -"@transloadit/has-property@npm:^0.0.1, @transloadit/has-property@workspace:packages/has-property": +"@transloadit/has-property@npm:^0.1.0, @transloadit/has-property@workspace:packages/has-property": version: 0.0.0-use.local resolution: "@transloadit/has-property@workspace:packages/has-property" languageName: unknown @@ -801,8 +801,8 @@ __metadata: version: 0.0.0-use.local resolution: "@transloadit/post@workspace:packages/post" dependencies: - "@transloadit/file-exists": "npm:^0.1.3" - "@transloadit/slugify": "npm:^0.1.3" + "@transloadit/file-exists": "npm:^0.2.0" + "@transloadit/slugify": "npm:^0.2.0" "@types/inquirer": "npm:^8.2.10" "@types/title": "npm:^3.4.3" inquirer: "npm:7.0.5" @@ -813,7 +813,7 @@ __metadata: languageName: unknown linkType: soft -"@transloadit/pr@npm:^0.1.3, @transloadit/pr@workspace:packages/pr": +"@transloadit/pr@npm:^0.2.0, @transloadit/pr@workspace:packages/pr": version: 0.0.0-use.local resolution: "@transloadit/pr@workspace:packages/pr" languageName: unknown @@ -823,17 +823,17 @@ __metadata: version: 0.0.0-use.local resolution: "@transloadit/prd@workspace:packages/prd" dependencies: - "@transloadit/pr": "npm:^0.1.3" + "@transloadit/pr": "npm:^0.2.0" languageName: unknown linkType: soft -"@transloadit/prettier-bytes@npm:^0.1.3, @transloadit/prettier-bytes@workspace:packages/prettier-bytes": +"@transloadit/prettier-bytes@npm:^0.2.0, @transloadit/prettier-bytes@workspace:packages/prettier-bytes": version: 0.0.0-use.local resolution: "@transloadit/prettier-bytes@workspace:packages/prettier-bytes" languageName: unknown linkType: soft -"@transloadit/slugify@npm:^0.1.3, @transloadit/slugify@workspace:packages/slugify": +"@transloadit/slugify@npm:^0.2.0, @transloadit/slugify@workspace:packages/slugify": version: 0.0.0-use.local resolution: "@transloadit/slugify@workspace:packages/slugify" languageName: unknown @@ -843,43 +843,43 @@ __metadata: version: 0.0.0-use.local resolution: "@transloadit/sort-assembly@workspace:packages/sort-assembly" dependencies: - "@transloadit/has-property": "npm:^0.0.1" - "@transloadit/sort-object-by-prio": "npm:^0.1.3" - "@transloadit/sort-result": "npm:^0.1.3" + "@transloadit/has-property": "npm:^0.1.0" + "@transloadit/sort-object-by-prio": "npm:^0.2.0" + "@transloadit/sort-result": "npm:^0.2.0" languageName: unknown linkType: soft -"@transloadit/sort-object-by-prio@npm:^0.1.3, @transloadit/sort-object-by-prio@workspace:packages/sort-object-by-prio": +"@transloadit/sort-object-by-prio@npm:^0.2.0, @transloadit/sort-object-by-prio@workspace:packages/sort-object-by-prio": version: 0.0.0-use.local resolution: "@transloadit/sort-object-by-prio@workspace:packages/sort-object-by-prio" dependencies: - "@transloadit/sort-object": "npm:^0.1.3" + "@transloadit/sort-object": "npm:^0.2.0" languageName: unknown linkType: soft -"@transloadit/sort-object@npm:^0.1.3, @transloadit/sort-object@workspace:packages/sort-object": +"@transloadit/sort-object@npm:^0.2.0, @transloadit/sort-object@workspace:packages/sort-object": version: 0.0.0-use.local resolution: "@transloadit/sort-object@workspace:packages/sort-object" dependencies: - "@transloadit/has-property": "npm:^0.0.1" + "@transloadit/has-property": "npm:^0.1.0" languageName: unknown linkType: soft -"@transloadit/sort-result-meta@npm:^0.1.3, @transloadit/sort-result-meta@workspace:packages/sort-result-meta": +"@transloadit/sort-result-meta@npm:^0.2.0, @transloadit/sort-result-meta@workspace:packages/sort-result-meta": version: 0.0.0-use.local resolution: "@transloadit/sort-result-meta@workspace:packages/sort-result-meta" dependencies: - "@transloadit/sort-object-by-prio": "npm:^0.1.3" + "@transloadit/sort-object-by-prio": "npm:^0.2.0" languageName: unknown linkType: soft -"@transloadit/sort-result@npm:^0.1.3, @transloadit/sort-result@workspace:packages/sort-result": +"@transloadit/sort-result@npm:^0.2.0, @transloadit/sort-result@workspace:packages/sort-result": version: 0.0.0-use.local resolution: "@transloadit/sort-result@workspace:packages/sort-result" dependencies: - "@transloadit/has-property": "npm:^0.0.1" - "@transloadit/sort-object-by-prio": "npm:^0.1.3" - "@transloadit/sort-result-meta": "npm:^0.1.3" + "@transloadit/has-property": "npm:^0.1.0" + "@transloadit/sort-object-by-prio": "npm:^0.2.0" + "@transloadit/sort-result-meta": "npm:^0.2.0" languageName: unknown linkType: soft