@pitcheye/check 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/__tests__/cli.test.d.ts +2 -0
- package/dist/__tests__/cli.test.d.ts.map +1 -0
- package/dist/__tests__/cli.test.js +174 -0
- package/dist/__tests__/cli.test.js.map +1 -0
- package/dist/args.d.ts +27 -0
- package/dist/args.d.ts.map +1 -0
- package/dist/args.js +127 -0
- package/dist/args.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +184 -0
- package/dist/index.js.map +1 -0
- package/package.json +27 -3
- package/README.md +0 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 PitchEye LLC
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/args.ts","../../core/dist/types.d.ts","../../core/dist/engine.d.ts","../../core/dist/registry.d.ts","../../core/dist/serializer.d.ts","../../core/dist/rules/db.d.ts","../../core/dist/index.d.ts","../src/index.ts","../../../node_modules/.pnpm/@vitest+pretty-format@2.1.9/node_modules/@vitest/pretty-format/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+utils@2.1.9/node_modules/@vitest/utils/dist/types.d.ts","../../../node_modules/.pnpm/@vitest+utils@2.1.9/node_modules/@vitest/utils/dist/helpers.d.ts","../../../node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/index-c1cfc5e9.d.ts","../../../node_modules/.pnpm/tinyrainbow@1.2.0/node_modules/tinyrainbow/dist/node.d.ts","../../../node_modules/.pnpm/@vitest+utils@2.1.9/node_modules/@vitest/utils/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/tasks-3znpj1lr.d.ts","../../../node_modules/.pnpm/@vitest+utils@2.1.9/node_modules/@vitest/utils/dist/types-bxe-2udy.d.ts","../../../node_modules/.pnpm/@vitest+utils@2.1.9/node_modules/@vitest/utils/dist/diff.d.ts","../../../node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/types.d.ts","../../../node_modules/.pnpm/@vitest+utils@2.1.9/node_modules/@vitest/utils/dist/error.d.ts","../../../node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/index.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/environment.looobwuu.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/web-globals/streams.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.20.7/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@types+estree@1.0.11/node_modules/@types/estree/index.d.ts","../../../node_modules/.pnpm/rollup@4.69.2/node_modules/rollup/dist/rollup.d.ts","../../../node_modules/.pnpm/rollup@4.69.2/node_modules/rollup/dist/parseast.d.ts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/types/hmrpayload.d.ts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/types/customevent.d.ts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/types/hot.d.ts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/dist/node/types.d-agj9qkwt.d.ts","../../../node_modules/.pnpm/esbuild@0.21.5/node_modules/esbuild/lib/main.d.ts","../../../node_modules/.pnpm/source-map-js@1.3.0/node_modules/source-map-js/source-map.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/previous-map.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/input.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/css-syntax-error.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/declaration.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/root.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/warning.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/lazy-result.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/no-work-result.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/processor.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/result.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/document.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/rule.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/node.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/comment.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/container.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/at-rule.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/list.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/postcss.d.ts","../../../node_modules/.pnpm/postcss@8.5.34/node_modules/postcss/lib/postcss.d.mts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/dist/node/runtime.d.ts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/types/importglob.d.ts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/types/metadata.d.ts","../../../node_modules/.pnpm/vite@5.4.21_@types+node@22.20.7/node_modules/vite/dist/node/index.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@2.1.9/node_modules/@vitest/snapshot/dist/environment-ddx0edty.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@2.1.9/node_modules/@vitest/snapshot/dist/rawsnapshot-cpnkto81.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@2.1.9/node_modules/@vitest/snapshot/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@2.1.9/node_modules/@vitest/snapshot/dist/environment.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/config.cy0c388z.d.ts","../../../node_modules/.pnpm/vite-node@2.1.9_@types+node@22.20.7/node_modules/vite-node/dist/trace-mapping.d-dlvdeqop.d.ts","../../../node_modules/.pnpm/vite-node@2.1.9_@types+node@22.20.7/node_modules/vite-node/dist/index-z0r8hvru.d.ts","../../../node_modules/.pnpm/vite-node@2.1.9_@types+node@22.20.7/node_modules/vite-node/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+utils@2.1.9/node_modules/@vitest/utils/dist/source-map.d.ts","../../../node_modules/.pnpm/vite-node@2.1.9_@types+node@22.20.7/node_modules/vite-node/dist/client.d.ts","../../../node_modules/.pnpm/vite-node@2.1.9_@types+node@22.20.7/node_modules/vite-node/dist/server.d.ts","../../../node_modules/.pnpm/@vitest+runner@2.1.9/node_modules/@vitest/runner/dist/utils.d.ts","../../../node_modules/.pnpm/tinybench@2.9.0/node_modules/tinybench/dist/index.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/benchmark.geerunq4.d.ts","../../../node_modules/.pnpm/@vitest+snapshot@2.1.9/node_modules/@vitest/snapshot/dist/manager.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/reporters.nr4dxcka.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/worker.tn5kgiih.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/worker.b9fxpcac.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/vite.czkp4x9w.d.ts","../../../node_modules/.pnpm/@vitest+expect@2.1.9/node_modules/@vitest/expect/dist/chai.d.cts","../../../node_modules/.pnpm/@vitest+expect@2.1.9/node_modules/@vitest/expect/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+expect@2.1.9/node_modules/@vitest/expect/index.d.ts","../../../node_modules/.pnpm/@vitest+spy@2.1.9/node_modules/@vitest/spy/dist/index.d.ts","../../../node_modules/.pnpm/@vitest+mocker@2.1.9_vite@5.4.21_@types+node@22.20.7_/node_modules/@vitest/mocker/dist/types-dzoqtgin.d.ts","../../../node_modules/.pnpm/@vitest+mocker@2.1.9_vite@5.4.21_@types+node@22.20.7_/node_modules/@vitest/mocker/dist/index.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/mocker.crtm890j.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/chunks/suite.b2jumifp.d.ts","../../../node_modules/.pnpm/expect-type@1.4.0/node_modules/expect-type/dist/utils.d.ts","../../../node_modules/.pnpm/expect-type@1.4.0/node_modules/expect-type/dist/overloads.d.ts","../../../node_modules/.pnpm/expect-type@1.4.0/node_modules/expect-type/dist/branding.d.ts","../../../node_modules/.pnpm/expect-type@1.4.0/node_modules/expect-type/dist/messages.d.ts","../../../node_modules/.pnpm/expect-type@1.4.0/node_modules/expect-type/dist/index.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/dist/index.d.ts","../../../node_modules/.pnpm/vitest@2.1.9_@types+node@22.20.7/node_modules/vitest/index.d.cts","../src/__tests__/cli.test.ts"],"fileIdsList":[[84,133,150,151],[84,130,131,133,150,151],[84,132,133,150,151],[133,150,151],[84,133,138,150,151,168],[84,133,134,139,144,150,151,153,165,176],[84,133,134,135,144,150,151,153],[79,80,81,84,133,150,151],[84,133,136,150,151,177],[84,133,137,138,145,150,151,154],[84,133,138,150,151,165,173],[84,133,139,141,144,150,151,153],[84,132,133,140,150,151],[84,133,141,142,150,151],[84,133,143,144,150,151],[84,132,133,144,150,151],[84,133,144,145,146,150,151,165,176],[84,133,144,145,146,150,151,160,165,168],[84,125,133,141,144,147,150,151,153,165,176],[84,133,144,145,147,148,150,151,153,165,173,176],[84,133,147,149,150,151,165,173,176],[82,83,84,85,86,87,88,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182],[84,133,144,150,151],[84,133,150,151,152,176],[84,133,141,144,150,151,153,165],[84,133,150,151,154],[84,133,150,151,155],[84,132,133,150,151,156],[84,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182],[84,133,150,151,158],[84,133,150,151,159],[84,133,144,150,151,160,161],[84,133,150,151,160,162,177,179],[84,133,145,150,151],[84,133,144,150,151,165,166,168],[84,133,150,151,167,168],[84,133,150,151,165,166],[84,133,150,151,168],[84,133,150,151,169],[84,130,133,150,151,165,170,176],[84,133,144,150,151,171,172],[84,133,150,151,171,172],[84,133,138,150,151,153,165,173],[84,133,150,151,174],[84,133,150,151,153,175],[84,133,147,150,151,159,176],[84,133,138,150,151,177],[84,133,150,151,165,178],[84,133,150,151,152,179],[84,133,150,151,180],[84,125,133,150,151],[84,125,133,144,146,150,151,156,165,168,176,178,179,181],[84,133,150,151,165,182],[70,71,74,84,133,150,151],[84,133,150,151,236],[84,133,150,151,239],[71,72,74,75,76,84,133,150,151],[71,84,133,150,151],[71,72,74,84,133,150,151],[71,72,84,133,150,151],[84,133,150,151,216],[66,84,133,150,151,216,217],[66,84,133,150,151,216],[66,73,84,133,150,151],[67,84,133,150,151],[66,67,68,70,84,133,150,151],[66,84,133,150,151],[84,133,150,151,243,244],[84,133,150,151,243,244,245,246],[84,133,150,151,243,245],[84,133,150,151,243],[84,133,150,151,207],[84,133,150,151,205,207],[84,133,150,151,196,204,205,206,208,210],[84,133,150,151,194],[84,133,150,151,197,202,207,210],[84,133,150,151,193,210],[84,133,150,151,197,198,201,202,203,210],[84,133,150,151,197,198,199,201,202,210],[84,133,150,151,194,195,196,197,198,202,203,204,206,207,208,210],[84,133,150,151,210],[84,133,150,151,192,194,195,196,197,198,199,201,202,203,204,205,206,207,208,209],[84,133,150,151,192,210],[84,133,150,151,197,199,200,202,203,210],[84,133,150,151,201,210],[84,133,150,151,202,203,207,210],[84,133,150,151,195,205],[84,133,150,151,185,214],[84,133,150,151,184,185],[69,84,133,150,151],[84,97,101,133,150,151,176],[84,97,133,150,151,165,176],[84,92,133,150,151],[84,94,97,133,150,151,173,176],[84,133,150,151,153,173],[84,133,150,151,183],[84,92,133,150,151,183],[84,94,97,133,150,151,153,176],[84,89,90,93,96,133,144,150,151,165,176],[84,97,104,133,150,151],[84,89,95,133,150,151],[84,97,118,119,133,150,151],[84,93,97,133,150,151,168,176,183],[84,118,133,150,151,183],[84,91,92,133,150,151,183],[84,97,133,150,151],[84,91,92,93,94,95,96,97,98,99,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,119,120,121,122,123,124,133,150,151],[84,97,112,133,150,151],[84,97,104,105,133,150,151],[84,95,97,105,106,133,150,151],[84,96,133,150,151],[84,89,92,97,133,150,151],[84,97,101,105,106,133,150,151],[84,101,133,150,151],[84,95,97,100,133,150,151,176],[84,89,94,97,104,133,150,151],[84,133,150,151,165],[84,92,97,118,133,150,151,181,183],[84,133,150,151,221,222],[84,133,150,151,221],[84,133,150,151,215,221,222,234],[84,133,144,145,147,148,149,150,151,153,165,173,176,182,183,185,186,187,188,189,190,191,211,212,213,214],[84,133,150,151,187,188,189,190],[84,133,150,151,187,188,189],[84,133,150,151,187],[84,133,150,151,188],[84,133,150,151,185],[77,84,133,150,151,227,228,248],[66,77,84,133,150,151,218,219,248],[84,133,150,151,240],[66,71,77,78,84,133,145,150,151,165,215,218,220,223,224,225,226,229,230,234,235,248],[77,84,133,150,151,227,228,229,248],[84,133,150,151,215,231],[84,133,150,151,181,232],[77,78,84,133,150,151,218,220,223,248],[66,71,74,77,78,84,133,145,150,151,165,181,215,218,219,220,223,224,225,226,227,228,229,230,231,232,233,234,235,237,238,240,241,242,247,248],[84,133,150,151,248],[58,64,65,84,133,150,151,155,249],[58,64,84,133,134,145,150,151,155],[59,84,133,150,151],[59,60,61,62,63,84,133,150,151]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"da6ef0d57f963b711f1c72e4566b5d3bf4ecc87f491d1a20a38b3d784bfe22bf","signature":"961c8b3c9815ac6f1c4dd8a070bd6e2f280f562107863577a4c68d238cb5a7f5","impliedFormat":1},{"version":"3d0a3c62c2c815d209413eec47bfc5bf6f709b7382e81c5e0a7904ea64242b8e","impliedFormat":1},{"version":"bfa5edd33340cbd9db2fa9ec46979816970f217a5d56743dd84c6a98f2468e47","impliedFormat":1},{"version":"95c02ab506a6dbe8ba8ef41bc275d3a89b4312dbd1156e2867ed65c622c0a609","impliedFormat":1},{"version":"14603d54ab92b720dc6bbf35f8eee56297270f8b6c13f9a5b6ae0e3f13af4cff","impliedFormat":1},{"version":"1041d175d9e1b4d13f1822c672b1d59c3679f99fe49daf9a6779e64c02df6233","impliedFormat":1},{"version":"db724e76946babaaa028c013594f48229efd6c3e87ab4f7c3a826cb747cbb3c3","impliedFormat":1},{"version":"ae5419e4b437156abad468871f77c216dc7457d084897b3d412a11d70f013f6d","signature":"e7ffc74f3f0ea37a86fdc7ca1b4238ed249d85c53e649bb226b3a70ab9cd86fb","impliedFormat":1},{"version":"d2e64a6f25013b099e83bfadb2c388d7bef3e8f3fdb25528225bbc841e7e7e3a","impliedFormat":99},{"version":"369ba5259e66ca8c7d35e3234f7a2a0863a770fdb8266505747c65cf346a0804","impliedFormat":99},{"version":"64d984f55025daf604f670b7dfd090ea765f2098aee871174ef2ee3e94479098","impliedFormat":99},{"version":"f147b6710441cf3ec3234adf63b0593ce5e8c9b692959d21d3babc8454bcf743","impliedFormat":99},{"version":"e96d5373a66c2cfbbc7e6642cf274055aa2c7ff6bd37be7480c66faf9804db6d","impliedFormat":99},{"version":"02bcdd7a76c5c1c485cbf05626d24c86ac8f9a1d8dc31f8924108bbaa4cf3ba9","impliedFormat":99},{"version":"c874ab6feac6e0fdf9142727c9a876065777a5392f14b0bbcf869b1e69eb46b5","impliedFormat":99},{"version":"7c553fc9e34773ddbaabe0fa1367d4b109101d0868a008f11042bee24b5a925d","impliedFormat":99},{"version":"9962ce696fbdce2421d883ca4b062a54f982496625437ae4d3633376c5ad4a80","impliedFormat":99},{"version":"e3ea467c4a7f743f3548c9ed61300591965b1d12c08c8bb9aaff8a002ba95fce","impliedFormat":99},{"version":"4c17183a07a63bea2653fbfc0a942b027160ddbee823024789a415f9589de327","impliedFormat":99},{"version":"3e2203c892297ea44b87470fde51b3d48cfe3eeb6901995de429539462894464","impliedFormat":99},{"version":"c84bf7a4abc5e7fdf45971a71b25b0e0d34ccd5e720a866dd78bb71d60d41a3f","impliedFormat":99},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"808069bba06b6768b62fd22429b53362e7af342da4a236ed2d2e1c89fcca3b4a","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d97fb21da858fb18b8ae72c314e9743fd52f73ebe2764e12af1db32fc03f853f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0fa06ada475b910e2106c98c68b10483dc8811d0c14a8a8dd36efb2672485b29","impliedFormat":1},{"version":"33e5e9aba62c3193d10d1d33ae1fa75c46a1171cf76fef750777377d53b0303f","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"6a0cd27e5dc2cfbe039e731cf879d12b0e2dded06d1b1dedad07f7712de0d7f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"913be43dad2a40e500104700aa26cfb5c51a976114bedf19624de43fdae7474f","impliedFormat":1},{"version":"e60477649d6ad21542bd2dc7e3d9ff6853d0797ba9f689ba2f6653818999c264","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"4c829ab315f57c5442c6667b53769975acbf92003a66aef19bce151987675bd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"b2ade7657e2db96d18315694789eff2ddd3d8aea7215b181f8a0b303277cc579","impliedFormat":1},{"version":"78dbea00e90d2df8ea3dbef0cc379d95b8be9b71cd6bde4c28728f306811803b","impliedFormat":1},{"version":"4d631b81fa2f07a0e63a9a143d6a82c25c5f051298651a9b69176ba28930756d","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"41670ee38943d9cbb4924e436f56fc19ee94232bc96108562de1a734af20dc2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e1e46d0a9837ee058c100501080c920fa98081ea3956af0374308ba6f22a33e","impliedFormat":1},{"version":"272ca407e0c9068bdc5152552d876e68037ceae3de62e529306403e973dec8e1","impliedFormat":1},{"version":"fa7834c715d5357e4540cee40ce96c3250ddb67a7b879a6b7fa0e86d6696f121","impliedFormat":1},{"version":"22dfb07a7ab15b66ac043829056fe70124844636ae719551812ac631ba04985b","impliedFormat":1},{"version":"a10f0e1854f3316d7ee437b79649e5a6ae3ae14ffe6322b02d4987071a95362e","impliedFormat":1},{"version":"e208f73ef6a980104304b0d2ca5f6bf1b85de6009d2c7e404028b875020fa8f2","impliedFormat":1},{"version":"d163b6bc2372b4f07260747cbc6c0a6405ab3fbcea3852305e98ac43ca59f5bc","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6f137d651076822d4fe884287e68fd61785a0d3d1fdb250a5059b691fa897db","impliedFormat":1},{"version":"24826ed94a78d5c64bd857570fdbd96229ad41b5cb654c08d75a9845e3ab7dde","impliedFormat":1},{"version":"8b479a130ccb62e98f11f136d3ac80f2984fdc07616516d29881f3061f2dd472","impliedFormat":1},{"version":"928af3d90454bf656a52a48679f199f64c1435247d6189d1caf4c68f2eaf921f","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7fcccb7463007c1a6e877709650c26cd297ef1b2679d0173157ee874bf16517","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"0cb167c371eaa8c869f8a7656a7296f2e4fae43b4d8b803a680236b24794e5f9","impliedFormat":1},{"version":"0a839dba0287cc0481ad4beedd48a1c64acf1e212ae865d1315f7007ca215161","impliedFormat":1},{"version":"38dc4655376cd1a4bd6bb3763d92949233e33d38d3dd3cbea7bbf218175a38ef","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"208a6a0bfb227bdf8fb964799d0a206c75cf03ccd72e63bf5495c9331354c6d6","affectsGlobalScope":true,"impliedFormat":1},{"version":"18fd40412d102c5564136f29735e5d1c3b455b8a37f920da79561f1fde068208","impliedFormat":1},{"version":"48a679952eefe4cb776d5a0e1ccba2d3eb53b57448bbb7abc1fcebcbd5440188","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"2d14da6ecb49bf828d83948765ec2d3a579d476bbb9645e749610baa6ec880ca","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"5b7aa3c4c1a5d81b411e8cb302b45507fea9358d3569196b27eb1a27ae3a90ef","affectsGlobalScope":true,"impliedFormat":1},{"version":"33f03c0429f2c638069fc1186e2eccd96370c91fb9d8d7a69c5241bb31fc3d46","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea08a0345023ade2b47fbff5a76d0d0ed8bff10bc9d22b83f40858a8e941501c","impliedFormat":1},{"version":"0aef708fb4c7a6b915e8305cbfac40cd207b032dbaabe9a01889a5fff3254681","impliedFormat":1},{"version":"ae062ce7d9510060c5d7e7952ae379224fb3f8f2dd74e88959878af2057c143b","impliedFormat":1},{"version":"ad9bdafb4e7abf14cc53ce7970486a84c87831e62891e5dfe798ddcd55e84701","affectsGlobalScope":true,"impliedFormat":1},{"version":"45479f65af737a3e5c26d8772bd8ab1aa8bebbd09c1a808c2b3faddb9b84afbb","impliedFormat":1},{"version":"71d3ae6a5e73ca4130762560425e00984ebaff64d5353a3333d1bb7eb86ef336","impliedFormat":1},{"version":"2e8efcf17c471819d4b5ea941ec7bf3743f53704aab9be9a60459c0b3b75cd66","impliedFormat":1},{"version":"3e49c34e3ff1defbcc3c869db68532b5cb3f0cf7cc3011779fa40a380a0aacce","affectsGlobalScope":true,"impliedFormat":1},{"version":"a660aa95476042d3fdcc1343cf6bb8fdf24772d31712b1db321c5a4dcc325434","impliedFormat":1},{"version":"282f98006ed7fa9bb2cd9bdbe2524595cfc4bcd58a0bb3232e4519f2138df811","impliedFormat":1},{"version":"6222e987b58abfe92597e1273ad7233626285bc2d78409d4a7b113d81a83496b","impliedFormat":1},{"version":"cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","impliedFormat":1},{"version":"8b96046bf5fb0a815cba6b0880d9f97b7f3a93cf187e8dcfe8e2792e97f38f87","impliedFormat":99},{"version":"bacf2c84cf448b2cd02c717ad46c3d7fd530e0c91282888c923ad64810a4d511","affectsGlobalScope":true,"impliedFormat":1},{"version":"22cbed154d169ae6d1daacd949ccbad99c0f4dd1dfbef01c6fc82046e66dfa56","impliedFormat":1},{"version":"52dcc257df5119fb66d864625112ce5033ac51a4c2afe376a0b299d2f7f76e4a","impliedFormat":1},{"version":"e5bab5f871ef708d52d47b3e5d0aa72a08ee7a152f33931d9a60809711a2a9a3","impliedFormat":1},{"version":"e16dc2a81595736024a206c7d5c8a39bfe2e6039208ef29981d0d95434ba8fcf","impliedFormat":1},{"version":"9d02496b4a77aa462aead8d76c22b391b841e758e4e149a6cd05680b62a08ca4","impliedFormat":1},{"version":"19ee8416e6473ed6c7adb868fa796b5653cf0fa2a337658e677eaa0d134388c3","impliedFormat":1},{"version":"1328ab4e442614b28cdb3d4b414cf68325c0da0dca07287a338d0654b7a00261","impliedFormat":1},{"version":"a039dc21f045919f3cbee2ec13812cc6cc3eebc99dae4be00973230f468d19a6","impliedFormat":1},{"version":"3fbe57af01460e49dcd29df55d6931e1672bc6f1be0fb073d11410bc16f9037d","impliedFormat":1},{"version":"f760be449e8562ec5c09bb5187e8e1eabf3c113c0c58cddda53ef8c69f3e2131","impliedFormat":1},{"version":"44325ed13294fce6ab825b82947bbeed2611db7dad9d9135260192f375e5a189","impliedFormat":1},{"version":"e392e8fb5b514eafc585601c1d781485aa6dd6a320e75daf1064a4c6918a1b45","impliedFormat":1},{"version":"46e4a36e8ddbdfb4e7330e11c81c970dc8b218611df9183d39c41c5f8c653b55","impliedFormat":1},{"version":"60a00bb61a9415e039b7a036b27e78ed415a4ae061be02b53de79a98b86e27bd","impliedFormat":1},{"version":"6332f565867cf4a740a70e30f31cefba37ef7cebcf74f22eab8d744fde6d193e","impliedFormat":1},{"version":"9a195d8476f48523446ece812e5450b5b1ec8c3b6abf99efb8ee2479524f6f56","impliedFormat":1},{"version":"17f2922d41ddd032830a91371c948cd9ce903b35c95adca72271a54584f19b0b","impliedFormat":1},{"version":"3eed76ede2a1a14d7c9bb0a642041282dcc264811139d3dd275c9fe14efc9840","impliedFormat":1},{"version":"354a7f8e1287d9d6b7561bc97fdd8cbc2f7c1dd79e4cb37b942e8a5cfaff1085","impliedFormat":1},{"version":"8d369483f0c2b9ee388129cfdb6a43bc8112b377e86a41884bd06e19ce04f4c1","impliedFormat":99},{"version":"82e687ebd99518bc63ea04b0c3810fb6e50aa6942decd0ca6f7a56d9b9a212a6","impliedFormat":99},{"version":"7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea","impliedFormat":1},{"version":"8f07f2b6514744ac96e51d7cb8518c0f4de319471237ea10cf688b8d0e9d0225","impliedFormat":1},{"version":"257b83faa134d971c738a6b9e4c47e59bb7b23274719d92197580dd662bfafc3","impliedFormat":99},{"version":"e01ea380015ed698c3c0e2ccd0db72f3fc3ef1abc4519f122aa1c1a8d419a505","impliedFormat":99},{"version":"5ada1f8a9580c0f7478fe03ae3e07e958f0b79bdfb9dd50eeb98c1324f40011b","impliedFormat":99},{"version":"a8301dc90b4bd9fba333226ee0f1681aeeff1bd90233a8f647e687cb4b7d3521","impliedFormat":99},{"version":"e3225dc0bec183183509d290f641786245e6652bc3dce755f7ef404060693c35","impliedFormat":99},{"version":"09a03870ed8c55d7453bc9ad684df88965f2f770f987481ca71b8a09be5205bc","impliedFormat":99},{"version":"e6233e1c976265e85aa8ad76c3881febe6264cb06ae3136f0257e1eab4a6cc5a","impliedFormat":99},{"version":"2cdd50ddc49e2d608ee848fc4ab0db9a2716624fabb4209c7c683d87e54d79c5","impliedFormat":99},{"version":"e431d664338b8470abb1750d699c7dfcebb1a25434559ef85bb96f1e82de5972","impliedFormat":99},{"version":"2c4254139d037c3caca66ce291c1308c1b5092cfcb151eb25980db932dd3b01a","impliedFormat":99},{"version":"970ae00ed018cb96352dc3f37355ef9c2d9f8aa94d7174ccd6d0ed855e462097","impliedFormat":99},{"version":"d2f8dee457ef7660b604226d471d55d927c3051766bdd80353553837492635c3","impliedFormat":99},{"version":"110a503289a2ef76141ffff3ffceb9a1c3662c32748eb9f6777a2bd0866d6fb1","impliedFormat":99},{"version":"69bf2422313487956e4dacf049f30cb91b34968912058d244cb19e4baa24da97","impliedFormat":99},{"version":"310e6b62c493ce991624169a1c1904015769d947be88dc67e00adc7ebebcfa87","impliedFormat":99},{"version":"62fefda288160bf6e435b21cc03d3fbac11193d8d3bd0e82d86623cca7691c29","impliedFormat":99},{"version":"fcc46a8bcbf9bef21023bba1995160a25f0bc590ca3563ec44c315b4f4c1b18a","impliedFormat":99},{"version":"0309a01650023994ed96edbd675ea4fdc3779a823ce716ad876cc77afb792b62","impliedFormat":99},{"version":"f13d7beeea58e219daef3a40e0dc4f2bd7d9581ac04cedec236102a12dfd2090","impliedFormat":99},{"version":"669573548930fb7d0a0761b827e203dc623581e21febf0be80fb02414f217d74","impliedFormat":99},{"version":"48c411efce1848d1ed55de41d7deb93cbf7c04080912fd87aa517ed25ef42639","affectsGlobalScope":true,"impliedFormat":1},{"version":"a094636c05f3e75cb072684dd42cd25a4c1324bec4a866706c85c04cecd49613","affectsGlobalScope":true,"impliedFormat":99},{"version":"fe2d63fcfdde197391b6b70daf7be8c02a60afa90754a5f4a04bdc367f62793d","impliedFormat":99},{"version":"9a3e2c85ec1ab7a0874a19814cc73c691b716282cb727914093089c5a8475955","impliedFormat":99},{"version":"cbdc781d2429935c9c42acd680f2a53a9f633e8de03290ec6ea818e4f7bff19a","impliedFormat":99},{"version":"9f6d9f5dd710922f82f69abf9a324e28122b5f31ae6f6ce78427716db30a377e","impliedFormat":99},{"version":"ac2414a284bdecfd6ab7b87578744ab056cd04dd574b17853cd76830ef5b72f2","impliedFormat":99},{"version":"c3f921bbc9d2e65bd503a56fbc66da910e68467baedb0b9db0cc939e1876c0d7","impliedFormat":99},{"version":"dd51e53752b310bd20c9b1a87bbf12b1fe2be7fe40f505b43199496481096275","impliedFormat":1},{"version":"a87be4662442b3feeffc331ecafe6b36cafd08727e2d7f2425a5099577e7fd18","impliedFormat":1},{"version":"cd4cd9220a1ba793bc935e76d8e5481c110a90d9868ae7866a182ee71cdb6abb","impliedFormat":1},{"version":"0a7fb8619b10bc05fd933ca9ac1c8b2ab2220be7a57b57565c3ac158595494ef","impliedFormat":1},{"version":"c4a5f91feb9c5a6b2a91089d959c38391b79a961db3b9cc73b8877d57ad7dcdc","impliedFormat":1},{"version":"0cc99fbb161d78729d71fad66c6c363e3095862d6277160f29fa960744b785c6","affectsGlobalScope":true,"impliedFormat":99},{"version":"db8e26b83e6708b250200435440c326d84dd9f07114c72b33775569486bebd0b","impliedFormat":1},{"version":"caad35d26b62c33587999cc0ddc78f692b628f8d3c656d2d0358e7f973c79c2f","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":1}],"root":[58,65,250],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":false,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo"},"referencedMap":[[184,1],[130,2],[131,2],[132,3],[84,4],[133,5],[134,6],[135,7],[79,1],[82,8],[80,1],[81,1],[136,9],[137,10],[138,11],[139,12],[140,13],[141,14],[142,14],[143,15],[144,16],[145,17],[146,18],[85,1],[83,1],[147,19],[148,20],[149,21],[183,22],[150,23],[151,1],[152,24],[153,25],[154,26],[155,27],[156,28],[157,29],[158,30],[159,31],[160,32],[161,32],[162,33],[163,1],[164,34],[165,35],[167,36],[166,37],[168,38],[169,39],[170,40],[171,41],[172,42],[173,43],[174,44],[175,45],[176,46],[177,47],[178,48],[179,49],[180,50],[86,1],[87,1],[88,1],[126,51],[127,1],[128,1],[129,38],[181,52],[182,53],[235,1],[236,54],[237,55],[240,56],[239,1],[66,1],[77,57],[72,58],[75,59],[227,60],[216,1],[219,61],[218,62],[230,62],[217,63],[238,1],[74,64],[76,64],[68,65],[71,66],[224,65],[73,67],[67,1],[191,1],[245,68],[247,69],[246,70],[244,71],[243,1],[208,72],[206,73],[207,74],[195,75],[196,73],[203,76],[194,77],[199,78],[209,1],[200,79],[205,80],[211,81],[210,82],[193,83],[201,84],[202,85],[197,86],[204,72],[198,87],[186,88],[185,89],[192,1],[228,1],[69,1],[70,90],[56,1],[57,1],[11,1],[10,1],[2,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[3,1],[20,1],[21,1],[4,1],[22,1],[26,1],[23,1],[24,1],[25,1],[27,1],[28,1],[29,1],[5,1],[30,1],[31,1],[32,1],[33,1],[6,1],[37,1],[34,1],[35,1],[36,1],[38,1],[7,1],[39,1],[44,1],[45,1],[40,1],[41,1],[42,1],[43,1],[8,1],[49,1],[46,1],[47,1],[48,1],[50,1],[9,1],[51,1],[52,1],[53,1],[55,1],[54,1],[1,1],[104,91],[114,92],[103,91],[124,93],[95,94],[94,95],[123,96],[117,97],[122,98],[97,99],[111,100],[96,101],[120,102],[92,103],[91,96],[121,104],[93,105],[98,106],[99,1],[102,106],[89,1],[125,107],[115,108],[106,109],[107,110],[109,111],[105,112],[108,113],[118,96],[100,114],[101,115],[110,116],[90,117],[113,108],[112,106],[116,1],[119,118],[225,119],[222,120],[223,119],[226,121],[221,1],[215,122],[212,123],[190,124],[188,125],[187,1],[189,126],[213,1],[214,127],[229,128],[220,129],[78,1],[241,130],[231,131],[242,132],[234,133],[233,134],[232,135],[248,136],[249,137],[250,138],[58,1],[65,139],[60,140],[64,141],[61,140],[63,140],[62,140],[59,1]],"latestChangedDtsFile":"./args.d.ts","version":"5.9.3"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/cli.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* CLI contract tests.
|
|
5
|
+
*
|
|
6
|
+
* The exit code IS the product: CI branches on it and a coding agent reads it as
|
|
7
|
+
* "did my change pass". So every case here asserts the trivial-looking thing
|
|
8
|
+
* that a refactor could silently break — 1 when an `error` exists, 0 when it
|
|
9
|
+
* does not, 2 when the invocation itself is wrong.
|
|
10
|
+
*/
|
|
11
|
+
const vitest_1 = require("vitest");
|
|
12
|
+
const node_path_1 = require("node:path");
|
|
13
|
+
const core_1 = require("@pitcheye/core");
|
|
14
|
+
const index_js_1 = require("../index.js");
|
|
15
|
+
const args_js_1 = require("../args.js");
|
|
16
|
+
const REPO_ROOT = (0, node_path_1.resolve)(__dirname, '../../../..');
|
|
17
|
+
const FIXTURES = (0, node_path_1.resolve)(REPO_ROOT, 'fixtures');
|
|
18
|
+
let out;
|
|
19
|
+
let err;
|
|
20
|
+
let stdoutSpy;
|
|
21
|
+
let stderrSpy;
|
|
22
|
+
(0, vitest_1.beforeEach)(() => {
|
|
23
|
+
out = [];
|
|
24
|
+
err = [];
|
|
25
|
+
stdoutSpy = vitest_1.vi.spyOn(process.stdout, 'write').mockImplementation((chunk) => {
|
|
26
|
+
out.push(String(chunk));
|
|
27
|
+
return true;
|
|
28
|
+
});
|
|
29
|
+
stderrSpy = vitest_1.vi.spyOn(process.stderr, 'write').mockImplementation((chunk) => {
|
|
30
|
+
err.push(String(chunk));
|
|
31
|
+
return true;
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
(0, vitest_1.afterEach)(() => {
|
|
35
|
+
stdoutSpy.mockRestore();
|
|
36
|
+
stderrSpy.mockRestore();
|
|
37
|
+
});
|
|
38
|
+
const stdout = () => out.join('');
|
|
39
|
+
(0, vitest_1.describe)('exit codes', () => {
|
|
40
|
+
(0, vitest_1.it)('exits 1 when an `error` finding exists', async () => {
|
|
41
|
+
const { exitCode } = await (0, index_js_1.run)([FIXTURES, '--pack', 'clerk']);
|
|
42
|
+
(0, vitest_1.expect)(exitCode).toBe(1);
|
|
43
|
+
});
|
|
44
|
+
(0, vitest_1.it)('exits 0 on a clean file', async () => {
|
|
45
|
+
const { exitCode } = await (0, index_js_1.run)([(0, node_path_1.resolve)(FIXTURES, 'db/supabase-rls-missing/good-migration.sql')]);
|
|
46
|
+
(0, vitest_1.expect)(exitCode).toBe(0);
|
|
47
|
+
});
|
|
48
|
+
(0, vitest_1.it)('exits 2 on an unknown option', async () => {
|
|
49
|
+
const { exitCode } = await (0, index_js_1.run)(['--nope']);
|
|
50
|
+
(0, vitest_1.expect)(exitCode).toBe(2);
|
|
51
|
+
(0, vitest_1.expect)(err.join('')).toContain('unknown option');
|
|
52
|
+
});
|
|
53
|
+
(0, vitest_1.it)('exits 2 on a path that does not exist', async () => {
|
|
54
|
+
const { exitCode } = await (0, index_js_1.run)([(0, node_path_1.resolve)(FIXTURES, 'does-not-exist')]);
|
|
55
|
+
(0, vitest_1.expect)(exitCode).toBe(2);
|
|
56
|
+
(0, vitest_1.expect)(err.join('')).toContain('path not found');
|
|
57
|
+
});
|
|
58
|
+
(0, vitest_1.it)('exits 2 on an unknown pack name (a typo must never silently pass)', async () => {
|
|
59
|
+
const { exitCode } = await (0, index_js_1.run)([FIXTURES, '--pack', 'clerck']);
|
|
60
|
+
(0, vitest_1.expect)(exitCode).toBe(2);
|
|
61
|
+
(0, vitest_1.expect)(err.join('')).toContain('unknown pack');
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
(0, vitest_1.describe)('--json is the agent contract', () => {
|
|
65
|
+
(0, vitest_1.it)('emits the documented shape with every finding field populated', async () => {
|
|
66
|
+
await (0, index_js_1.run)([FIXTURES, '--pack', 'clerk', '--json']);
|
|
67
|
+
const report = JSON.parse(stdout());
|
|
68
|
+
(0, vitest_1.expect)(report.tool).toBe('pitcheye-check');
|
|
69
|
+
(0, vitest_1.expect)(typeof report.version).toBe('string');
|
|
70
|
+
(0, vitest_1.expect)(report.filesScanned).toBeGreaterThan(0);
|
|
71
|
+
(0, vitest_1.expect)(report.summary.total).toBe(report.findings.length);
|
|
72
|
+
(0, vitest_1.expect)(report.summary.failed).toBe(true);
|
|
73
|
+
const f = report.findings[0];
|
|
74
|
+
for (const key of [
|
|
75
|
+
'ruleId',
|
|
76
|
+
'pack',
|
|
77
|
+
'severity',
|
|
78
|
+
'file',
|
|
79
|
+
'line',
|
|
80
|
+
'message',
|
|
81
|
+
'whyItBreaks',
|
|
82
|
+
'suggestedFix',
|
|
83
|
+
'docsUrl',
|
|
84
|
+
]) {
|
|
85
|
+
(0, vitest_1.expect)(f[key], `missing ${key}`).toBeDefined();
|
|
86
|
+
}
|
|
87
|
+
// Paths are repo-relative POSIX, never absolute: CI maps them back.
|
|
88
|
+
(0, vitest_1.expect)(String(f.file)).not.toContain(FIXTURES);
|
|
89
|
+
});
|
|
90
|
+
(0, vitest_1.it)('reports failed:false when only warnings exist', async () => {
|
|
91
|
+
// rls-permissive-using-true is the pack's only `warn` rule.
|
|
92
|
+
await (0, index_js_1.run)([(0, node_path_1.resolve)(FIXTURES, 'db/rls-permissive-using-true/bad-policy.sql'), '--json']);
|
|
93
|
+
const report = JSON.parse(stdout());
|
|
94
|
+
(0, vitest_1.expect)(report.summary.error).toBe(0);
|
|
95
|
+
(0, vitest_1.expect)(report.summary.warn).toBe(1);
|
|
96
|
+
(0, vitest_1.expect)(report.summary.failed).toBe(false);
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
(0, vitest_1.describe)('--sarif is consumable by GitHub code scanning', () => {
|
|
100
|
+
(0, vitest_1.it)('emits SARIF 2.1.0 with a rule index for every result', async () => {
|
|
101
|
+
await (0, index_js_1.run)([FIXTURES, '--pack', 'db', '--sarif']);
|
|
102
|
+
const sarif = JSON.parse(stdout());
|
|
103
|
+
(0, vitest_1.expect)(sarif.version).toBe('2.1.0');
|
|
104
|
+
(0, vitest_1.expect)(sarif.$schema).toContain('sarif-2.1.0');
|
|
105
|
+
const run0 = sarif.runs[0];
|
|
106
|
+
(0, vitest_1.expect)(run0?.tool.driver.name).toBe('PitchEye');
|
|
107
|
+
const ids = run0?.tool.driver.rules.map((r) => r.id) ?? [];
|
|
108
|
+
// The catalog is published even for rules that did not fire, so a clean PR
|
|
109
|
+
// still shows the taxonomy in the code-scanning UI.
|
|
110
|
+
(0, vitest_1.expect)(ids.length).toBeGreaterThanOrEqual(7);
|
|
111
|
+
for (const result of run0?.results ?? []) {
|
|
112
|
+
(0, vitest_1.expect)(result.ruleIndex).toBeGreaterThanOrEqual(0);
|
|
113
|
+
(0, vitest_1.expect)(ids[result.ruleIndex]).toBe(result.ruleId);
|
|
114
|
+
(0, vitest_1.expect)(['error', 'warning', 'note']).toContain(result.level);
|
|
115
|
+
(0, vitest_1.expect)(result.locations.length).toBe(1);
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
});
|
|
119
|
+
(0, vitest_1.describe)('--pack filters the rule set', () => {
|
|
120
|
+
(0, vitest_1.it)('runs only the requested pack', async () => {
|
|
121
|
+
await (0, index_js_1.run)([FIXTURES, '--pack', 'supabase-auth', '--json']);
|
|
122
|
+
const report = JSON.parse(stdout());
|
|
123
|
+
(0, vitest_1.expect)(report.findings.length).toBeGreaterThan(0);
|
|
124
|
+
(0, vitest_1.expect)(new Set(report.findings.map((f) => f.pack))).toEqual(new Set(['supabase-auth']));
|
|
125
|
+
});
|
|
126
|
+
(0, vitest_1.it)('an empty result for a filtered pack is still a clean exit', async () => {
|
|
127
|
+
const { exitCode } = await (0, index_js_1.run)([(0, node_path_1.resolve)(FIXTURES, 'db/shared-client-max-one/good-pool.ts'), '--pack', 'clerk']);
|
|
128
|
+
(0, vitest_1.expect)(exitCode).toBe(0);
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
(0, vitest_1.describe)('single-file and stdout behaviour', () => {
|
|
132
|
+
(0, vitest_1.it)('analyses one explicit file (not its whole tree)', async () => {
|
|
133
|
+
await (0, index_js_1.run)([(0, node_path_1.resolve)(FIXTURES, 'db/shared-client-max-one/bad-pool.ts'), '--json']);
|
|
134
|
+
const report = JSON.parse(stdout());
|
|
135
|
+
(0, vitest_1.expect)(report.filesScanned).toBe(1);
|
|
136
|
+
(0, vitest_1.expect)(report.findings[0]?.file).toBe('bad-pool.ts');
|
|
137
|
+
(0, vitest_1.expect)(report.findings[0]?.line).toBe(5);
|
|
138
|
+
});
|
|
139
|
+
(0, vitest_1.it)('--list-rules prints the whole 30-rule catalog', async () => {
|
|
140
|
+
await (0, index_js_1.run)(['--list-rules', '--json']);
|
|
141
|
+
const parsed = JSON.parse(stdout());
|
|
142
|
+
// Assert against the registry, not a literal: a hardcoded count here is how
|
|
143
|
+
// this test silently became wrong the moment pack 4 shipped.
|
|
144
|
+
(0, vitest_1.expect)(parsed.rules.length).toBe((0, core_1.allRules)().length);
|
|
145
|
+
(0, vitest_1.expect)(parsed.rules.length).toBe(30);
|
|
146
|
+
(0, vitest_1.expect)(new Set(parsed.rules.map((r) => r.pack))).toEqual(new Set(['clerk', 'supabase-auth', 'db', 'vercel', 'webhooks', 'inngest']));
|
|
147
|
+
});
|
|
148
|
+
(0, vitest_1.it)('--quiet prints one line only', async () => {
|
|
149
|
+
await (0, index_js_1.run)([FIXTURES, '--pack', 'db', '--quiet']);
|
|
150
|
+
(0, vitest_1.expect)(stdout().trim().split('\n').length).toBe(1);
|
|
151
|
+
});
|
|
152
|
+
});
|
|
153
|
+
(0, vitest_1.describe)('arg parser', () => {
|
|
154
|
+
(0, vitest_1.it)('accepts --pack=a,b inline syntax', () => {
|
|
155
|
+
(0, vitest_1.expect)((0, args_js_1.parseArgs)(['--pack=clerk,db']).packs).toEqual(['clerk', 'db']);
|
|
156
|
+
});
|
|
157
|
+
(0, vitest_1.it)('rejects a second positional path', () => {
|
|
158
|
+
(0, vitest_1.expect)(() => (0, args_js_1.parseArgs)(['a', 'b'])).toThrow(args_js_1.ArgError);
|
|
159
|
+
});
|
|
160
|
+
(0, vitest_1.it)('--sarif wins over --json when both are passed', () => {
|
|
161
|
+
(0, vitest_1.expect)((0, args_js_1.parseArgs)(['--json', '--sarif']).format).toBe('sarif');
|
|
162
|
+
(0, vitest_1.expect)((0, args_js_1.parseArgs)(['--sarif', '--json']).format).toBe('json');
|
|
163
|
+
});
|
|
164
|
+
});
|
|
165
|
+
(0, vitest_1.describe)('--changed-only', () => {
|
|
166
|
+
(0, vitest_1.it)('reports a usage error outside a git repository', async () => {
|
|
167
|
+
// /tmp is not a repo; the flag must fail loudly rather than silently
|
|
168
|
+
// scanning nothing and reporting a clean gate.
|
|
169
|
+
const { exitCode } = await (0, index_js_1.run)(['/tmp', '--changed-only']);
|
|
170
|
+
(0, vitest_1.expect)(exitCode).toBe(2);
|
|
171
|
+
(0, vitest_1.expect)(err.join('')).toContain('git');
|
|
172
|
+
}, 20_000);
|
|
173
|
+
});
|
|
174
|
+
//# sourceMappingURL=cli.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.test.js","sourceRoot":"","sources":["../../src/__tests__/cli.test.ts"],"names":[],"mappings":";;AAAA;;;;;;;GAOG;AACH,mCAAyE;AACzE,yCAAoC;AACpC,yCAA0C;AAC1C,0CAAkC;AAClC,wCAAiD;AAEjD,MAAM,SAAS,GAAG,IAAA,mBAAO,EAAC,SAAS,EAAE,aAAa,CAAC,CAAC;AACpD,MAAM,QAAQ,GAAG,IAAA,mBAAO,EAAC,SAAS,EAAE,UAAU,CAAC,CAAC;AAEhD,IAAI,GAAa,CAAC;AAClB,IAAI,GAAa,CAAC;AAClB,IAAI,SAAkC,CAAC;AACvC,IAAI,SAAkC,CAAC;AAEvC,IAAA,mBAAU,EAAC,GAAG,EAAE;IACd,GAAG,GAAG,EAAE,CAAC;IACT,GAAG,GAAG,EAAE,CAAC;IACT,SAAS,GAAG,WAAE,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,kBAAkB,CAAC,CAAC,KAAc,EAAE,EAAE;QAClF,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QACxB,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;IACH,SAAS,GAAG,WAAE,CAAC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AAC,CAAC,CAAC,CAAC,OAAO,CAAC,kBAAQ,CAAC,CAAC;IACxD,CAAC,CAAC,CAAC;IAEH,IAAA,WAAE,EAAC,+CAA+C,EAAE,GAAG,EAAE;QACvD,IAAA,eAAM,EAAC,IAAA,mBAAS,EAAC,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,IAAA,eAAM,EAAC,IAAA,mBAAS,EAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC/D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,IAAA,iBAAQ,EAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,IAAA,WAAE,EAAC,gDAAgD,EAAE,KAAK,IAAI,EAAE;QAC9D,qEAAqE;QACrE,+CAA+C;QAC/C,MAAM,EAAE,QAAQ,EAAE,GAAG,MAAM,IAAA,cAAG,EAAC,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC;QAC3D,IAAA,eAAM,EAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACzB,IAAA,eAAM,EAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IACxC,CAAC,EAAE,MAAM,CAAC,CAAC;AACb,CAAC,CAAC,CAAC"}
|
package/dist/args.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Argument parsing.
|
|
3
|
+
*
|
|
4
|
+
* Hand-rolled rather than a CLI framework: the whole surface is six flags, and
|
|
5
|
+
* a dependency here would be loaded on every CI run for no benefit. Unknown
|
|
6
|
+
* flags are a hard error (exit 2) — silently ignoring `--packs clerk` (typo for
|
|
7
|
+
* `--pack`) would make a gate pass that never ran the packs anyone asked for.
|
|
8
|
+
*/
|
|
9
|
+
export type OutputFormat = 'text' | 'json' | 'sarif';
|
|
10
|
+
export type Args = {
|
|
11
|
+
path: string;
|
|
12
|
+
format: OutputFormat;
|
|
13
|
+
packs?: string[];
|
|
14
|
+
ci: boolean;
|
|
15
|
+
changedOnly: boolean;
|
|
16
|
+
help: boolean;
|
|
17
|
+
version: boolean;
|
|
18
|
+
listRules: boolean;
|
|
19
|
+
quiet: boolean;
|
|
20
|
+
ignore: string[];
|
|
21
|
+
};
|
|
22
|
+
export declare class ArgError extends Error {
|
|
23
|
+
}
|
|
24
|
+
export declare const KNOWN_PACKS: readonly ["clerk", "supabase-auth", "db", "vercel", "webhooks", "inngest"];
|
|
25
|
+
export declare function parseArgs(argv: string[]): Args;
|
|
26
|
+
export declare function helpText(): string;
|
|
27
|
+
//# sourceMappingURL=args.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"args.d.ts","sourceRoot":"","sources":["../src/args.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;AAErD,MAAM,MAAM,IAAI,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,YAAY,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,EAAE,EAAE,OAAO,CAAC;IACZ,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AAEF,qBAAa,QAAS,SAAQ,KAAK;CAAG;AA8BtC,eAAO,MAAM,WAAW,4EAA6E,CAAC;AAEtG,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,CAgF9C;AAQD,wBAAgB,QAAQ,IAAI,MAAM,CAEjC"}
|
package/dist/args.js
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KNOWN_PACKS = exports.ArgError = void 0;
|
|
4
|
+
exports.parseArgs = parseArgs;
|
|
5
|
+
exports.helpText = helpText;
|
|
6
|
+
class ArgError extends Error {
|
|
7
|
+
}
|
|
8
|
+
exports.ArgError = ArgError;
|
|
9
|
+
const HELP = `pitcheye-check — deterministic cross-stack guardrails
|
|
10
|
+
|
|
11
|
+
USAGE
|
|
12
|
+
pitcheye-check [path] [options]
|
|
13
|
+
|
|
14
|
+
OPTIONS
|
|
15
|
+
--json machine-readable findings (the agent contract)
|
|
16
|
+
--sarif SARIF v2.1.0 for GitHub code scanning
|
|
17
|
+
--pack <a,b> only run these packs (clerk, supabase-auth, db)
|
|
18
|
+
--changed-only analyse only files changed vs HEAD (git diff)
|
|
19
|
+
--ci CI mode: no colour, no source excerpts
|
|
20
|
+
--ignore <glob> skip a repo-relative path (repeatable)
|
|
21
|
+
--list-rules print the rule catalogue and exit
|
|
22
|
+
--quiet summary line only
|
|
23
|
+
-h, --help this text
|
|
24
|
+
-v, --version print the version
|
|
25
|
+
|
|
26
|
+
EXIT CODES
|
|
27
|
+
0 no \`error\` findings
|
|
28
|
+
1 at least one \`error\` finding
|
|
29
|
+
2 usage error
|
|
30
|
+
|
|
31
|
+
EXAMPLES
|
|
32
|
+
pitcheye-check . --pack clerk,db
|
|
33
|
+
pitcheye-check . --json --changed-only
|
|
34
|
+
pitcheye-check . --sarif > pitcheye.sarif
|
|
35
|
+
`;
|
|
36
|
+
exports.KNOWN_PACKS = ['clerk', 'supabase-auth', 'db', 'vercel', 'webhooks', 'inngest'];
|
|
37
|
+
function parseArgs(argv) {
|
|
38
|
+
const args = {
|
|
39
|
+
path: process.cwd(),
|
|
40
|
+
format: 'text',
|
|
41
|
+
ci: false,
|
|
42
|
+
changedOnly: false,
|
|
43
|
+
help: false,
|
|
44
|
+
version: false,
|
|
45
|
+
listRules: false,
|
|
46
|
+
quiet: false,
|
|
47
|
+
ignore: [],
|
|
48
|
+
};
|
|
49
|
+
let sawPath = false;
|
|
50
|
+
for (let i = 0; i < argv.length; i++) {
|
|
51
|
+
const raw = argv[i] ?? '';
|
|
52
|
+
const [flag, inlineValue] = splitInline(raw);
|
|
53
|
+
switch (flag) {
|
|
54
|
+
case '-h':
|
|
55
|
+
case '--help':
|
|
56
|
+
args.help = true;
|
|
57
|
+
break;
|
|
58
|
+
case '-v':
|
|
59
|
+
case '--version':
|
|
60
|
+
args.version = true;
|
|
61
|
+
break;
|
|
62
|
+
case '--json':
|
|
63
|
+
args.format = 'json';
|
|
64
|
+
break;
|
|
65
|
+
case '--sarif':
|
|
66
|
+
args.format = 'sarif';
|
|
67
|
+
break;
|
|
68
|
+
case '--ci':
|
|
69
|
+
args.ci = true;
|
|
70
|
+
break;
|
|
71
|
+
case '--changed-only':
|
|
72
|
+
args.changedOnly = true;
|
|
73
|
+
break;
|
|
74
|
+
case '--list-rules':
|
|
75
|
+
args.listRules = true;
|
|
76
|
+
break;
|
|
77
|
+
case '--quiet':
|
|
78
|
+
args.quiet = true;
|
|
79
|
+
break;
|
|
80
|
+
case '--pack':
|
|
81
|
+
case '--packs': {
|
|
82
|
+
const value = inlineValue ?? argv[++i];
|
|
83
|
+
if (!value)
|
|
84
|
+
throw new ArgError('--pack requires a comma-separated list, e.g. --pack clerk,db');
|
|
85
|
+
const packs = value
|
|
86
|
+
.split(',')
|
|
87
|
+
.map((p) => p.trim())
|
|
88
|
+
.filter((p) => p.length > 0);
|
|
89
|
+
const unknown = packs.filter((p) => !exports.KNOWN_PACKS.includes(p));
|
|
90
|
+
if (unknown.length > 0) {
|
|
91
|
+
throw new ArgError(`unknown pack(s): ${unknown.join(', ')} — known packs are ${exports.KNOWN_PACKS.join(', ')}`);
|
|
92
|
+
}
|
|
93
|
+
args.packs = packs;
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
case '--ignore': {
|
|
97
|
+
const value = inlineValue ?? argv[++i];
|
|
98
|
+
if (!value)
|
|
99
|
+
throw new ArgError('--ignore requires a repo-relative path');
|
|
100
|
+
args.ignore.push(value.replace(/^\.\//, ''));
|
|
101
|
+
break;
|
|
102
|
+
}
|
|
103
|
+
case '--':
|
|
104
|
+
break;
|
|
105
|
+
default:
|
|
106
|
+
if (flag.startsWith('-'))
|
|
107
|
+
throw new ArgError(`unknown option: ${flag}`);
|
|
108
|
+
if (sawPath)
|
|
109
|
+
throw new ArgError(`unexpected extra argument: ${raw}`);
|
|
110
|
+
args.path = raw;
|
|
111
|
+
sawPath = true;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
// `--json` and `--sarif` are mutually exclusive outputs; last one wins, and
|
|
115
|
+
// that is intentional so a CI script can pass both and get SARIF.
|
|
116
|
+
return args;
|
|
117
|
+
}
|
|
118
|
+
function splitInline(raw) {
|
|
119
|
+
const eq = raw.indexOf('=');
|
|
120
|
+
if (!raw.startsWith('--') || eq === -1)
|
|
121
|
+
return [raw, undefined];
|
|
122
|
+
return [raw.slice(0, eq), raw.slice(eq + 1)];
|
|
123
|
+
}
|
|
124
|
+
function helpText() {
|
|
125
|
+
return HELP;
|
|
126
|
+
}
|
|
127
|
+
//# sourceMappingURL=args.js.map
|
package/dist/args.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"args.js","sourceRoot":"","sources":["../src/args.ts"],"names":[],"mappings":";;;AAuDA,8BAgFC;AAQD,4BAEC;AA1HD,MAAa,QAAS,SAAQ,KAAK;CAAG;AAAtC,4BAAsC;AAEtC,MAAM,IAAI,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BZ,CAAC;AAEW,QAAA,WAAW,GAAG,CAAC,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,CAAU,CAAC;AAEt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CAAC,UAAU,CAAC,GAAG,CAAC;oBAAE,MAAM,IAAI,QAAQ,CAAC,mBAAmB,IAAI,EAAE,CAAC,CAAC;gBACxE,IAAI,OAAO;oBAAE,MAAM,IAAI,QAAQ,CAAC,8BAA8B,GAAG,EAAE,CAAC,CAAC;gBACrE,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC;gBAChB,OAAO,GAAG,IAAI,CAAC;QACnB,CAAC;IACH,CAAC;IACD,4EAA4E;IAC5E,kEAAkE;IAClE,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAS,WAAW,CAAC,GAAW;IAC9B,MAAM,EAAE,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC5B,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAAE,OAAO,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;IAChE,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,GAAG,CAAC,KAAK,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;AAC/C,CAAC;AAED,SAAgB,QAAQ;IACtB,OAAO,IAAI,CAAC;AACd,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
export type RunResult = {
|
|
3
|
+
exitCode: number;
|
|
4
|
+
};
|
|
5
|
+
/** Repo-relative paths changed vs HEAD, plus untracked files. */
|
|
6
|
+
export declare function changedFiles(root: string): {
|
|
7
|
+
files: string[];
|
|
8
|
+
ok: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare function run(argv: string[], cwd?: string): Promise<RunResult>;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAsBA,MAAM,MAAM,SAAS,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAC;AAE7C,iEAAiE;AACjE,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,EAAE,CAAC;IAAC,EAAE,EAAE,OAAO,CAAA;CAAE,CAiB3E;AAED,wBAAsB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,GAAE,MAAsB,GAAG,OAAO,CAAC,SAAS,CAAC,CAqIzF"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.changedFiles = changedFiles;
|
|
5
|
+
exports.run = run;
|
|
6
|
+
/**
|
|
7
|
+
* `pitcheye-check` — the gate.
|
|
8
|
+
*
|
|
9
|
+
* Read-only by construction: it walks the target, parses, and prints. It never
|
|
10
|
+
* writes into the analysed repo, which is what makes it safe to point at a
|
|
11
|
+
* production checkout (dogfood runs against large monorepos depend on this).
|
|
12
|
+
*/
|
|
13
|
+
const node_child_process_1 = require("node:child_process");
|
|
14
|
+
const node_fs_1 = require("node:fs");
|
|
15
|
+
const node_path_1 = require("node:path");
|
|
16
|
+
const core_1 = require("@pitcheye/core");
|
|
17
|
+
const args_js_1 = require("./args.js");
|
|
18
|
+
/** Repo-relative paths changed vs HEAD, plus untracked files. */
|
|
19
|
+
function changedFiles(root) {
|
|
20
|
+
const git = (args) => {
|
|
21
|
+
try {
|
|
22
|
+
return (0, node_child_process_1.execFileSync)('git', args, { cwd: root, encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore'] });
|
|
23
|
+
}
|
|
24
|
+
catch {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
const tracked = git(['diff', '--name-only', '--diff-filter=ACMR', 'HEAD']);
|
|
29
|
+
if (tracked === null)
|
|
30
|
+
return { files: [], ok: false };
|
|
31
|
+
const untracked = git(['ls-files', '--others', '--exclude-standard']) ?? '';
|
|
32
|
+
const files = new Set();
|
|
33
|
+
for (const line of `${tracked}\n${untracked}`.split('\n')) {
|
|
34
|
+
const trimmed = line.trim();
|
|
35
|
+
if (trimmed.length > 0)
|
|
36
|
+
files.add(trimmed);
|
|
37
|
+
}
|
|
38
|
+
return { files: [...files], ok: true };
|
|
39
|
+
}
|
|
40
|
+
async function run(argv, cwd = process.cwd()) {
|
|
41
|
+
let args;
|
|
42
|
+
try {
|
|
43
|
+
args = (0, args_js_1.parseArgs)(argv);
|
|
44
|
+
}
|
|
45
|
+
catch (err) {
|
|
46
|
+
if (err instanceof args_js_1.ArgError) {
|
|
47
|
+
process.stderr.write(`pitcheye-check: ${err.message}\n\n${(0, args_js_1.helpText)()}`);
|
|
48
|
+
return { exitCode: 2 };
|
|
49
|
+
}
|
|
50
|
+
throw err;
|
|
51
|
+
}
|
|
52
|
+
if (args.help) {
|
|
53
|
+
process.stdout.write((0, args_js_1.helpText)());
|
|
54
|
+
return { exitCode: 0 };
|
|
55
|
+
}
|
|
56
|
+
if (args.version) {
|
|
57
|
+
process.stdout.write(`${core_1.TOOL_VERSION}\n`);
|
|
58
|
+
return { exitCode: 0 };
|
|
59
|
+
}
|
|
60
|
+
if (args.listRules) {
|
|
61
|
+
const rules = (0, core_1.catalog)();
|
|
62
|
+
if (args.format === 'json') {
|
|
63
|
+
process.stdout.write(`${JSON.stringify({ rules }, null, 2)}\n`);
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
for (const r of rules) {
|
|
67
|
+
process.stdout.write(`${r.ruleId} [${r.severity}] ${r.title}\n ${r.signal}\n`);
|
|
68
|
+
}
|
|
69
|
+
process.stdout.write(`\n${rules.length} rules registered.\n`);
|
|
70
|
+
}
|
|
71
|
+
return { exitCode: 0 };
|
|
72
|
+
}
|
|
73
|
+
let root = (0, node_path_1.resolve)(cwd, args.path);
|
|
74
|
+
let onlyFiles;
|
|
75
|
+
// `pitcheye-check some/file.ts` must analyse that FILE. Discover walks a
|
|
76
|
+
// directory tree, so a bare file path is re-rooted at its parent and pinned to
|
|
77
|
+
// the one file — otherwise the invocation silently scans nothing.
|
|
78
|
+
try {
|
|
79
|
+
if ((0, node_fs_1.statSync)(root).isFile()) {
|
|
80
|
+
onlyFiles = [(0, node_path_1.basename)(root)];
|
|
81
|
+
root = (0, node_path_1.dirname)(root);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
catch {
|
|
85
|
+
process.stderr.write(`pitcheye-check: path not found: ${root}\n`);
|
|
86
|
+
return { exitCode: 2 };
|
|
87
|
+
}
|
|
88
|
+
if (args.changedOnly) {
|
|
89
|
+
const changed = changedFiles(root);
|
|
90
|
+
if (!changed.ok) {
|
|
91
|
+
process.stderr.write('pitcheye-check: --changed-only needs a git repository (git diff failed)\n');
|
|
92
|
+
return { exitCode: 2 };
|
|
93
|
+
}
|
|
94
|
+
// An explicit file argument wins; --changed-only then narrows to that file
|
|
95
|
+
// when it happens to be in the diff, and reports nothing otherwise.
|
|
96
|
+
onlyFiles = onlyFiles ? changed.files.filter((f) => onlyFiles?.includes(f)) : changed.files;
|
|
97
|
+
if (onlyFiles.length === 0) {
|
|
98
|
+
// Nothing changed: a clean gate, and NOT a usage error — CI on a docs-only
|
|
99
|
+
// PR must not fail because git had nothing to report.
|
|
100
|
+
if (args.format === 'json') {
|
|
101
|
+
process.stdout.write(`${JSON.stringify((0, core_1.toJsonReport)({
|
|
102
|
+
root,
|
|
103
|
+
filesScanned: 0,
|
|
104
|
+
durationMs: 0,
|
|
105
|
+
findings: [],
|
|
106
|
+
summary: { error: 0, warn: 0, info: 0, total: 0, failed: false },
|
|
107
|
+
}), null, 2)}\n`);
|
|
108
|
+
}
|
|
109
|
+
else if (!args.quiet) {
|
|
110
|
+
process.stdout.write('No changed files — nothing to check.\n');
|
|
111
|
+
}
|
|
112
|
+
return { exitCode: 0 };
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
const result = await (0, core_1.scan)({
|
|
116
|
+
root,
|
|
117
|
+
packs: args.packs,
|
|
118
|
+
onlyFiles,
|
|
119
|
+
ignore: args.ignore,
|
|
120
|
+
});
|
|
121
|
+
if (args.format === 'json') {
|
|
122
|
+
const report = (0, core_1.toJsonReport)({
|
|
123
|
+
root: result.root,
|
|
124
|
+
filesScanned: result.filesScanned,
|
|
125
|
+
durationMs: result.durationMs,
|
|
126
|
+
findings: result.findings,
|
|
127
|
+
summary: result.summary,
|
|
128
|
+
});
|
|
129
|
+
process.stdout.write(`${JSON.stringify(report, null, 2)}\n`);
|
|
130
|
+
}
|
|
131
|
+
else if (args.format === 'sarif') {
|
|
132
|
+
const sarif = (0, core_1.toSarif)({
|
|
133
|
+
findings: result.findings,
|
|
134
|
+
filesScanned: result.filesScanned,
|
|
135
|
+
durationMs: result.durationMs,
|
|
136
|
+
catalog: (0, core_1.catalog)().map((r) => ({
|
|
137
|
+
ruleId: r.ruleId,
|
|
138
|
+
pack: r.pack,
|
|
139
|
+
severity: r.severity,
|
|
140
|
+
title: r.title,
|
|
141
|
+
whyItBreaks: r.whyItBreaks,
|
|
142
|
+
suggestedFix: r.suggestedFix,
|
|
143
|
+
docsUrl: r.docsUrl,
|
|
144
|
+
})),
|
|
145
|
+
});
|
|
146
|
+
process.stdout.write(`${JSON.stringify(sarif, null, 2)}\n`);
|
|
147
|
+
}
|
|
148
|
+
else if (args.quiet) {
|
|
149
|
+
const { error, warn, info, total } = result.summary;
|
|
150
|
+
process.stdout.write(`${total} findings (${error} error, ${warn} warn, ${info} info) · ${result.filesScanned} files · ${result.durationMs}ms\n`);
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
process.stdout.write(`${(0, core_1.toText)({
|
|
154
|
+
findings: result.findings,
|
|
155
|
+
filesScanned: result.filesScanned,
|
|
156
|
+
durationMs: result.durationMs,
|
|
157
|
+
summary: result.summary,
|
|
158
|
+
})}\n`);
|
|
159
|
+
}
|
|
160
|
+
return { exitCode: result.summary.failed ? 1 : 0 };
|
|
161
|
+
}
|
|
162
|
+
/** Only run when executed as a binary, not when imported by a test. */
|
|
163
|
+
function invokedDirectly() {
|
|
164
|
+
const entry = process.argv[1];
|
|
165
|
+
if (!entry)
|
|
166
|
+
return false;
|
|
167
|
+
try {
|
|
168
|
+
return (0, node_fs_1.realpathSync)(entry) === (0, node_fs_1.realpathSync)(__filename);
|
|
169
|
+
}
|
|
170
|
+
catch {
|
|
171
|
+
return false;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
if (invokedDirectly()) {
|
|
175
|
+
run(process.argv.slice(2))
|
|
176
|
+
.then(({ exitCode }) => {
|
|
177
|
+
process.exitCode = exitCode;
|
|
178
|
+
})
|
|
179
|
+
.catch((err) => {
|
|
180
|
+
process.stderr.write(`pitcheye-check: ${err.message}\n`);
|
|
181
|
+
process.exitCode = 2;
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAyBA,oCAiBC;AAED,kBAqIC;AAhLD;;;;;;GAMG;AACH,2DAAkD;AAClD,qCAAiD;AACjD,yCAAuD;AACvD,yCAQwB;AACxB,uCAA0D;AAI1D,iEAAiE;AACjE,SAAgB,YAAY,CAAC,IAAY;IACvC,MAAM,GAAG,GAAG,CAAC,IAAc,EAAiB,EAAE;QAC5C,IAAI,CAAC;YACH,OAAO,IAAA,iCAAY,EAAC,KAAK,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC;QACzG,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC,CAAC;IACF,MAA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AO,KAAK,CAAC;IACzB,IAAI,CAAC;QACH,OAAO,IAAA,sBAAY,EAAC,KAAK,CAAC,KAAK,IAAA,sBAAY,EAAC,UAAU,CAAC,CAAC;IAC1D,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC;AAED,IAAI,eAAe,EAAE,EAAE,CAAC;IACtB,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SACvB,IAAI,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;QACrB,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC9B,CAAC,CAAC;SACD,KAAK,CAAC,CAAC,GAAY,EAAE,EAAE;QACtB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,mBAAoB,GAAa,CAAC,OAAO,IAAI,CAAC,CAAC;QACpE,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;IACvB,CAAC,CAAC,CAAC;AACP,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pitcheye/check",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "PitchEye CLI — deterministic cross-stack guardrail gate for CI and coding agents.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"bin": {
|
|
9
|
+
"pitcheye-check": "dist/index.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist"
|
|
13
|
+
],
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"@pitcheye/core": "0.1.0"
|
|
16
|
+
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/travisbiegun/pitcheye.git",
|
|
23
|
+
"directory": "packages/cli"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://pitcheye.dev",
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "tsc -b",
|
|
28
|
+
"typecheck": "tsc -b --force"
|
|
29
|
+
}
|
|
6
30
|
}
|
package/README.md
DELETED