Skip to content

Commit

Permalink
wip changesets release
Browse files Browse the repository at this point in the history
  • Loading branch information
tompahoward committed Oct 19, 2023
1 parent 928bf25 commit 6ec2a01
Show file tree
Hide file tree
Showing 4 changed files with 187 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,4 @@ version.js
deployment/*
*.zip

.turbo
138 changes: 138 additions & 0 deletions package-lock.json

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

10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"SEARCH_IMAGE": "opensearchproject/opensearch:1.2.4"
},
"scripts": {
"turbo:build": "turbo run build",
"turbo:ci:version": "turbo run ci:version",
"turbo:ci:publish": "turbo run ci:publish",
"pull:open-search": "docker pull ${npm_package_config_SEARCH_IMAGE}",
"start:open-search": "docker run -p 9200:9200 -p 9300:9300 -e \"ES_JAVA_OPTS=-Xms1g -Xmx1g\" -e \"discovery.type=single-node\" -e \"plugins.security.disabled=true\" \"${npm_package_config_SEARCH_IMAGE}\"",
"hmm": "echo mountainpass-addressr-${npm_package_version}.tgz",
Expand Down Expand Up @@ -106,7 +109,9 @@
"check-licenses": "license-checker --production --onlyAllow 'MIT;Apache-2.0;ISC;Custom: https://github.com/substack/node-bufferlist;Unlicense;BSD-2-Clause;BSD-3-Clause;WTFPL;0BSD;MIT*' --summary",
"pre-commit": "lint-staged && npm run check-licenses",
"test:performance": "k6 run --out csv=target/stress.csv test/k6/script.js",
"add-changeset": "changeset add --open"
"add-changeset": "changeset add --open",
"ci:version": "[ \"$CI\" = true ] && changeset version || echo \"Dry run: changeset version\"",
"ci:publish": "[ \"$CI\" = true ] && changeset publish || echo \"Dry run: changeset publish\""
},
"bin": {
"addressr-loader": "lib/bin/addressr-loader.js",
Expand Down Expand Up @@ -156,6 +161,7 @@
"progress": "^2.0.3",
"semver": "^7.3.2",
"swagger-tools": "^0.10.4",
"turbo": "^1.10.15",
"unzip-stream": "^0.3.0",
"uri-template-lite": "^20.5.0",
"wait-port": "^0.2.2"
Expand Down Expand Up @@ -236,4 +242,4 @@
"pre-commit": "npm run pre-commit"
}
}
}
}
40 changes: 40 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"dependsOn": [
"^build"
],
"inputs": [
"src/**/*"
],
"outputs": [
"lib/**"
]
},
"ci:build": {
"dependsOn": [
"build"
],
"inputs": [
"src/**/*"
],
"outputs": [
"lib/**"
]
},
"ci:version": {
"dependsOn": [
"build"
]
},
"ci:publish": {
"dependsOn": [
"build"
]
}
},
"globalDependencies": [
".babelrc"
]
}

0 comments on commit 6ec2a01

Please sign in to comment.