Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes lerna made and README update #50

Merged
merged 2 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
nodeLinker: node-modules
enableGlobalCache: true
npmRegistryServer: 'https://registry.npmjs.org'
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion packages/abbr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
8 changes: 4 additions & 4 deletions packages/analyze-step/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 3 additions & 2 deletions packages/enrich-tweet/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@transloadit/enrich-tweet",
"license": "AGPL-3.0-only",
"version": "0.1.4",
"version": "0.2.0",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -32,5 +32,6 @@
},
"devDependencies": {
"@types/twitter-text": "^3.1.9"
}
},
"gitHead": "714bbf75e54490ceb20bea49a728230668d456c1"
}
4 changes: 2 additions & 2 deletions packages/file-exists/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@transloadit/file-exists",
"license": "AGPL-3.0-only",
"version": "0.1.3",
"version": "0.2.0",
"publishConfig": {
"access": "public"
},
Expand All @@ -23,5 +23,5 @@
"tsc": "tsc --build --clean && tsc --build",
"test": "echo \"Error: run tests from root\" && exit 1"
},
"gitHead": "b73ab4880b9c4c48db32f249f776974a137510c4"
"gitHead": "714bbf75e54490ceb20bea49a728230668d456c1"
}
4 changes: 2 additions & 2 deletions packages/format-duration-ms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"dependencies": {
"pretty-ms": "6.0.0"
},
"version": "0.1.3",
"gitHead": "b73ab4880b9c4c48db32f249f776974a137510c4"
"version": "0.2.0",
"gitHead": "714bbf75e54490ceb20bea49a728230668d456c1"
}
5 changes: 3 additions & 2 deletions packages/has-property/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@transloadit/has-property",
"license": "AGPL-3.0-only",
"version": "0.0.1",
"version": "0.1.0",
"publishConfig": {
"access": "public"
},
Expand All @@ -22,5 +22,6 @@
"scripts": {
"tsc": "tsc --build --clean && tsc --build",
"test": "echo \"Error: run tests from root\" && exit 1"
}
},
"gitHead": "714bbf75e54490ceb20bea49a728230668d456c1"
}
8 changes: 4 additions & 4 deletions packages/post/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 3 additions & 2 deletions packages/pr/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@transloadit/pr",
"license": "AGPL-3.0-only",
"version": "0.1.3",
"version": "0.2.0",
"publishConfig": {
"access": "public"
},
Expand All @@ -22,5 +22,6 @@
"scripts": {
"tsc": "tsc --build --clean && tsc --build",
"test": "echo \"Error: run tests from root\" && exit 1"
}
},
"gitHead": "714bbf75e54490ceb20bea49a728230668d456c1"
}
7 changes: 4 additions & 3 deletions packages/prd/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@transloadit/prd",
"license": "AGPL-3.0-only",
"version": "0.1.3",
"version": "0.2.0",
"publishConfig": {
"access": "public"
},
Expand All @@ -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"
}
5 changes: 3 additions & 2 deletions packages/prettier-bytes/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@transloadit/prettier-bytes",
"license": "MIT",
"version": "0.1.3",
"version": "0.2.0",
"publishConfig": {
"access": "public"
},
Expand All @@ -22,5 +22,6 @@
"scripts": {
"tsc": "tsc --build --clean && tsc --build",
"test": "echo \"Error: run tests from root\" && exit 1"
}
},
"gitHead": "714bbf75e54490ceb20bea49a728230668d456c1"
}
4 changes: 2 additions & 2 deletions packages/slugify/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@transloadit/slugify",
"license": "AGPL-3.0-only",
"version": "0.1.3",
"version": "0.2.0",
"publishConfig": {
"access": "public"
},
Expand All @@ -23,5 +23,5 @@
"tsc": "tsc --build --clean && tsc --build",
"test": "echo \"Error: run tests from root\" && exit 1"
},
"gitHead": "b73ab4880b9c4c48db32f249f776974a137510c4"
"gitHead": "714bbf75e54490ceb20bea49a728230668d456c1"
}
11 changes: 6 additions & 5 deletions packages/sort-assembly/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@transloadit/sort-assembly",
"license": "AGPL-3.0-only",
"version": "0.1.3",
"version": "0.2.0",
"publishConfig": {
"access": "public"
},
Expand All @@ -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"
}
7 changes: 4 additions & 3 deletions packages/sort-object-by-prio/package.json
Original file line number Diff line number Diff line change
@@ -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"
},
Expand All @@ -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"
}
7 changes: 4 additions & 3 deletions packages/sort-object/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@transloadit/sort-object",
"license": "AGPL-3.0-only",
"version": "0.1.3",
"version": "0.2.0",
"publishConfig": {
"access": "public"
},
Expand All @@ -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"
}
7 changes: 4 additions & 3 deletions packages/sort-result-meta/package.json
Original file line number Diff line number Diff line change
@@ -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"
},
Expand All @@ -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"
}
11 changes: 6 additions & 5 deletions packages/sort-result/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@transloadit/sort-result",
"license": "AGPL-3.0-only",
"version": "0.1.3",
"version": "0.2.0",
"publishConfig": {
"access": "public"
},
Expand All @@ -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"
}
5 changes: 3 additions & 2 deletions packages/trigger-pager/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@transloadit/trigger-pager",
"license": "AGPL-3.0-only",
"version": "0.1.4",
"version": "0.2.0",
"publishConfig": {
"access": "public"
},
Expand All @@ -25,5 +25,6 @@
},
"dependencies": {
"@pagerduty/pdjs": "^2.2.4"
}
},
"gitHead": "714bbf75e54490ceb20bea49a728230668d456c1"
}
Loading
Loading