From b44b8a68846679f83f36a48576ef1c8bc04fb735 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sat, 13 Nov 2021 18:39:13 +0300 Subject: [PATCH 1/3] Updates on sandbox config --- sandbox.config.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 sandbox.config.json diff --git a/sandbox.config.json b/sandbox.config.json new file mode 100644 index 00000000000..705bf978978 --- /dev/null +++ b/sandbox.config.json @@ -0,0 +1,5 @@ +{ + "infiniteLoopProtection": true, + "hardReloadOnChange": false, + "view": "browser" +} \ No newline at end of file From d87fd1f0d40a89be0272b51c5a4b77a8a0afc264 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sat, 13 Nov 2021 18:49:50 +0300 Subject: [PATCH 2/3] initial commit --- gh-md-toc | 0 scripts/docker-build.sh | 0 scripts/docker-compose-start.sh | 0 scripts/docker-compose-stop.sh | 0 tilt_modules/restart_process/release.sh | 0 tilt_modules/restart_process/test/fail.sh | 0 tilt_modules/restart_process/test/test-custom.sh | 0 tilt_modules/restart_process/test/test-docker.sh | 0 tilt_modules/restart_process/test/test.sh | 0 9 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 gh-md-toc mode change 100755 => 100644 scripts/docker-build.sh mode change 100755 => 100644 scripts/docker-compose-start.sh mode change 100755 => 100644 scripts/docker-compose-stop.sh mode change 100755 => 100644 tilt_modules/restart_process/release.sh mode change 100755 => 100644 tilt_modules/restart_process/test/fail.sh mode change 100755 => 100644 tilt_modules/restart_process/test/test-custom.sh mode change 100755 => 100644 tilt_modules/restart_process/test/test-docker.sh mode change 100755 => 100644 tilt_modules/restart_process/test/test.sh diff --git a/gh-md-toc b/gh-md-toc old mode 100755 new mode 100644 diff --git a/scripts/docker-build.sh b/scripts/docker-build.sh old mode 100755 new mode 100644 diff --git a/scripts/docker-compose-start.sh b/scripts/docker-compose-start.sh old mode 100755 new mode 100644 diff --git a/scripts/docker-compose-stop.sh b/scripts/docker-compose-stop.sh old mode 100755 new mode 100644 diff --git a/tilt_modules/restart_process/release.sh b/tilt_modules/restart_process/release.sh old mode 100755 new mode 100644 diff --git a/tilt_modules/restart_process/test/fail.sh b/tilt_modules/restart_process/test/fail.sh old mode 100755 new mode 100644 diff --git a/tilt_modules/restart_process/test/test-custom.sh b/tilt_modules/restart_process/test/test-custom.sh old mode 100755 new mode 100644 diff --git a/tilt_modules/restart_process/test/test-docker.sh b/tilt_modules/restart_process/test/test-docker.sh old mode 100755 new mode 100644 diff --git a/tilt_modules/restart_process/test/test.sh b/tilt_modules/restart_process/test/test.sh old mode 100755 new mode 100644 From b70d069355c8e912bcd85aaac25bce022e4df719 Mon Sep 17 00:00:00 2001 From: Alexander Rogalskiy Date: Sat, 13 Nov 2021 18:58:04 +0300 Subject: [PATCH 3/3] Updates on filez --- .codesandbox/ci.json | 4 +++ .zappr.yaml | 65 ++++++++++++++++++++++++++++++++++++++ scripts/getBundleBanner.js | 13 ++++++++ 3 files changed, 82 insertions(+) create mode 100644 .codesandbox/ci.json create mode 100644 .zappr.yaml create mode 100644 scripts/getBundleBanner.js diff --git a/ .codesandbox/ci.json b/ .codesandbox/ci.json new file mode 100644 index 00000000000..f80e8d474e7 --- /dev/null +++ b/ .codesandbox/ci.json @@ -0,0 +1,4 @@ +{ + "packages": ["packages/docsearch-*"], + "node": "16" +} diff --git a/.zappr.yaml b/.zappr.yaml new file mode 100644 index 00000000000..9c6431c109a --- /dev/null +++ b/.zappr.yaml @@ -0,0 +1,65 @@ +# https://zappr.readthedocs.io/en/latest/setup +autobranch: + pattern: '{number}-{title}' + length: 60 +approvals: + minimum: 1 # PR needs at least 1 approval for compliant reasons + pattern: "^(:\\+1:|👍|approved)$" # write a comment to the PR with "approved" or ":+1" + ignore: pr_opener + veto: + pattern: "^(:\\-1:|👎|rejected)$" # write a comment to the PR with "rejected" or ":-1" + from: + orgs: + - AlexRogalskiy + collaborators: true +specification: + title: + minimum-length: + enabled: true + length: 8 + body: + minimum-length: + enabled: true + length: 8 + contains-url: true + contains-issue-number: true + template: + differs-from-body: true +commit: + message: + patterns: + # see CONTRIBUTING.md + - "^(feat|fix|docs|style|refactor|perf|test|chore)\\([a-zA-Z0-9-._]+\\):.{3,}" +pull-request: + labels: + additional: true + +# autobranch: +# pattern: '{number}-{title}' +# length: 60 +# commit: +# message: +# patterns: +# - '#[0-9]+' +# approvals: +# minimum: 2 +# ignore: none +# pattern: "^(:\\+1:|F44D)$" +# veto: +# pattern: "^(:\\-1:|F44E)$" +# specification: +# title: +# minimum-length: +# enabled: true +# length: 8 +# body: +# minimum-length: +# enabled: true +# length: 8 +# contains-url: true +# contains-issue-number: true +# template: +# differs-from-body: true +# pull-request: +# labels: +# additional: true diff --git a/scripts/getBundleBanner.js b/scripts/getBundleBanner.js new file mode 100644 index 00000000000..c71b63560b1 --- /dev/null +++ b/scripts/getBundleBanner.js @@ -0,0 +1,13 @@ +import {execSync} from 'child_process'; + +export function getBundleBanner(pkg) { + const lastCommitHash = execSync('git rev-parse --short HEAD') + .toString() + .trim(); + const version = process.env.SHIPJS + ? pkg.version + : `${pkg.version} (UNRELEASED ${lastCommitHash})`; + const authors = '© Algolia, Inc. and contributors'; + + return `/*! ${pkg.name} ${version} | MIT License | ${authors} | ${pkg.homepage} */`; +}