create-leo-app 0.7.2 → 0.7.3
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/package.json +10 -2
- package/template-extension/README.md +4 -0
- package/template-extension/package.json +15 -0
- package/template-extension/rollup.config.js +21 -0
- package/template-extension/src/offscreen.js +1 -0
- package/template-extension/src/service_worker.js +20 -0
- package/template-extension/src/worker.js +34 -0
- package/template-extension/static/manifest.json +16 -0
- package/template-extension/static/offscreen.html +9 -0
- package/template-nextjs-ts/README.md +19 -0
- package/template-nextjs-ts/_gitignore +35 -0
- package/template-nextjs-ts/next-env.d.ts +5 -0
- package/template-nextjs-ts/next.config.js +32 -0
- package/template-nextjs-ts/node_modules/@types/node/LICENSE +21 -0
- package/template-nextjs-ts/node_modules/@types/node/README.md +15 -0
- package/template-nextjs-ts/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/template-nextjs-ts/node_modules/@types/node/assert.d.ts +1040 -0
- package/template-nextjs-ts/node_modules/@types/node/async_hooks.d.ts +541 -0
- package/template-nextjs-ts/node_modules/@types/node/buffer.d.ts +2301 -0
- package/template-nextjs-ts/node_modules/@types/node/child_process.d.ts +1544 -0
- package/template-nextjs-ts/node_modules/@types/node/cluster.d.ts +578 -0
- package/template-nextjs-ts/node_modules/@types/node/console.d.ts +452 -0
- package/template-nextjs-ts/node_modules/@types/node/constants.d.ts +19 -0
- package/template-nextjs-ts/node_modules/@types/node/crypto.d.ts +4524 -0
- package/template-nextjs-ts/node_modules/@types/node/dgram.d.ts +596 -0
- package/template-nextjs-ts/node_modules/@types/node/diagnostics_channel.d.ts +554 -0
- package/template-nextjs-ts/node_modules/@types/node/dns/promises.d.ts +476 -0
- package/template-nextjs-ts/node_modules/@types/node/dns.d.ts +864 -0
- package/template-nextjs-ts/node_modules/@types/node/dom-events.d.ts +124 -0
- package/template-nextjs-ts/node_modules/@types/node/domain.d.ts +170 -0
- package/template-nextjs-ts/node_modules/@types/node/events.d.ts +931 -0
- package/template-nextjs-ts/node_modules/@types/node/fs/promises.d.ts +1245 -0
- package/template-nextjs-ts/node_modules/@types/node/fs.d.ts +4317 -0
- package/template-nextjs-ts/node_modules/@types/node/globals.d.ts +503 -0
- package/template-nextjs-ts/node_modules/@types/node/globals.global.d.ts +1 -0
- package/template-nextjs-ts/node_modules/@types/node/http.d.ts +1908 -0
- package/template-nextjs-ts/node_modules/@types/node/http2.d.ts +2418 -0
- package/template-nextjs-ts/node_modules/@types/node/https.d.ts +550 -0
- package/template-nextjs-ts/node_modules/@types/node/index.d.ts +89 -0
- package/template-nextjs-ts/node_modules/@types/node/inspector.d.ts +3696 -0
- package/template-nextjs-ts/node_modules/@types/node/module.d.ts +315 -0
- package/template-nextjs-ts/node_modules/@types/node/net.d.ts +999 -0
- package/template-nextjs-ts/node_modules/@types/node/os.d.ts +495 -0
- package/template-nextjs-ts/node_modules/@types/node/package.json +217 -0
- package/template-nextjs-ts/node_modules/@types/node/path.d.ts +191 -0
- package/template-nextjs-ts/node_modules/@types/node/perf_hooks.d.ts +934 -0
- package/template-nextjs-ts/node_modules/@types/node/process.d.ts +1879 -0
- package/template-nextjs-ts/node_modules/@types/node/punycode.d.ts +117 -0
- package/template-nextjs-ts/node_modules/@types/node/querystring.d.ts +153 -0
- package/template-nextjs-ts/node_modules/@types/node/readline/promises.d.ts +150 -0
- package/template-nextjs-ts/node_modules/@types/node/readline.d.ts +540 -0
- package/template-nextjs-ts/node_modules/@types/node/repl.d.ts +430 -0
- package/template-nextjs-ts/node_modules/@types/node/sea.d.ts +153 -0
- package/template-nextjs-ts/node_modules/@types/node/stream/consumers.d.ts +12 -0
- package/template-nextjs-ts/node_modules/@types/node/stream/promises.d.ts +83 -0
- package/template-nextjs-ts/node_modules/@types/node/stream/web.d.ts +521 -0
- package/template-nextjs-ts/node_modules/@types/node/stream.d.ts +1707 -0
- package/template-nextjs-ts/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/template-nextjs-ts/node_modules/@types/node/test.d.ts +1874 -0
- package/template-nextjs-ts/node_modules/@types/node/timers/promises.d.ts +97 -0
- package/template-nextjs-ts/node_modules/@types/node/timers.d.ts +240 -0
- package/template-nextjs-ts/node_modules/@types/node/tls.d.ts +1217 -0
- package/template-nextjs-ts/node_modules/@types/node/trace_events.d.ts +197 -0
- package/template-nextjs-ts/node_modules/@types/node/tty.d.ts +208 -0
- package/template-nextjs-ts/node_modules/@types/node/url.d.ts +952 -0
- package/template-nextjs-ts/node_modules/@types/node/util.d.ts +2298 -0
- package/template-nextjs-ts/node_modules/@types/node/v8.d.ts +808 -0
- package/template-nextjs-ts/node_modules/@types/node/vm.d.ts +924 -0
- package/template-nextjs-ts/node_modules/@types/node/wasi.d.ts +181 -0
- package/template-nextjs-ts/node_modules/@types/node/worker_threads.d.ts +694 -0
- package/template-nextjs-ts/node_modules/@types/node/zlib.d.ts +539 -0
- package/template-nextjs-ts/package.json +24 -0
- package/template-nextjs-ts/public/aleo.svg +8 -0
- package/template-nextjs-ts/public/next.svg +1 -0
- package/template-nextjs-ts/src/app/favicon.ico +0 -0
- package/template-nextjs-ts/src/app/globals.css +126 -0
- package/template-nextjs-ts/src/app/layout.tsx +22 -0
- package/template-nextjs-ts/src/app/page.module.css +160 -0
- package/template-nextjs-ts/src/app/page.tsx +94 -0
- package/template-nextjs-ts/src/app/worker.ts +47 -0
- package/template-nextjs-ts/tsconfig.json +27 -0
- package/template-node/README.md +5 -0
- package/template-node/_gitignore +24 -0
- package/template-node/package.json +12 -0
- package/template-node-ts/README.md +5 -0
- package/template-node-ts/_gitignore +24 -0
- package/template-node-ts/package.json +19 -0
- package/template-node-ts/rollup.config.js +19 -0
- package/template-node-ts/src/index.ts +65 -0
- package/template-node-ts/tsconfig.json +15 -0
- package/template-offline-public-transaction-ts/README.md +52 -0
- package/template-offline-public-transaction-ts/_gitignore +24 -0
- package/template-offline-public-transaction-ts/package.json +19 -0
- package/template-offline-public-transaction-ts/rollup.config.js +19 -0
- package/template-offline-public-transaction-ts/src/helpers.ts +70 -0
- package/template-offline-public-transaction-ts/src/index.ts +171 -0
- package/template-offline-public-transaction-ts/tsconfig.json +15 -0
- package/template-react-leo/.babelrc +6 -0
- package/template-react-leo/.eslintrc.cjs +20 -0
- package/template-react-leo/README.md +90 -0
- package/template-react-leo/_gitignore +24 -0
- package/template-react-leo/_headers +3 -0
- package/template-react-leo/helloworld/.env.example +2 -0
- package/template-react-leo/helloworld/README.md +13 -0
- package/template-react-leo/helloworld/build/main.aleo +7 -0
- package/template-react-leo/helloworld/build/program.json +6 -0
- package/template-react-leo/helloworld/inputs/helloworld.in +4 -0
- package/template-react-leo/helloworld/program.json +6 -0
- package/template-react-leo/helloworld/src/main.leo +7 -0
- package/template-react-leo/index.html +88 -0
- package/template-react-leo/install.sh +30 -0
- package/template-react-leo/package.json +44 -0
- package/template-react-leo/public/favicon.ico +0 -0
- package/template-react-leo/src/App.css +42 -0
- package/template-react-leo/src/App.jsx +103 -0
- package/template-react-leo/src/assets/aleo.svg +5 -0
- package/template-react-leo/src/assets/react.svg +1 -0
- package/template-react-leo/src/index.css +69 -0
- package/template-react-leo/src/main.jsx +10 -0
- package/template-react-leo/src/workers/AleoWorker.js +20 -0
- package/template-react-leo/src/workers/worker.js +72 -0
- package/template-react-leo/vite.config.js +16 -0
- package/template-react-leo/webpack.config.js +102 -0
- package/template-react-managed-worker/.babelrc +6 -0
- package/template-react-managed-worker/.eslintrc.cjs +20 -0
- package/template-react-managed-worker/README.md +8 -0
- package/template-react-managed-worker/_gitignore +24 -0
- package/template-react-managed-worker/index.html +88 -0
- package/template-react-managed-worker/package.json +41 -0
- package/template-react-managed-worker/public/favicon.ico +0 -0
- package/template-react-managed-worker/src/App.css +42 -0
- package/template-react-managed-worker/src/App.jsx +78 -0
- package/template-react-managed-worker/src/assets/aleo.png +0 -0
- package/template-react-managed-worker/src/assets/react.svg +1 -0
- package/template-react-managed-worker/src/index.css +69 -0
- package/template-react-managed-worker/src/main.jsx +10 -0
- package/template-react-managed-worker/vite.config.js +20 -0
- package/template-react-managed-worker/webpack.config.js +90 -0
- package/template-react-ts/.babelrc +7 -0
- package/template-react-ts/.eslintrc.cjs +20 -0
- package/template-react-ts/README.md +90 -0
- package/template-react-ts/_gitignore +24 -0
- package/template-react-ts/_headers +3 -0
- package/template-react-ts/helloworld/.env.example +2 -0
- package/template-react-ts/helloworld/README.md +13 -0
- package/template-react-ts/helloworld/build/main.aleo +7 -0
- package/template-react-ts/helloworld/build/program.json +6 -0
- package/template-react-ts/helloworld/inputs/helloworld.in +4 -0
- package/template-react-ts/helloworld/program.json +6 -0
- package/template-react-ts/helloworld/src/main.leo +7 -0
- package/template-react-ts/index.html +88 -0
- package/template-react-ts/install.sh +30 -0
- package/template-react-ts/node_modules/@types/node/LICENSE +21 -0
- package/template-react-ts/node_modules/@types/node/README.md +15 -0
- package/template-react-ts/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/template-react-ts/node_modules/@types/node/assert.d.ts +1040 -0
- package/template-react-ts/node_modules/@types/node/async_hooks.d.ts +541 -0
- package/template-react-ts/node_modules/@types/node/buffer.d.ts +2301 -0
- package/template-react-ts/node_modules/@types/node/child_process.d.ts +1544 -0
- package/template-react-ts/node_modules/@types/node/cluster.d.ts +578 -0
- package/template-react-ts/node_modules/@types/node/console.d.ts +452 -0
- package/template-react-ts/node_modules/@types/node/constants.d.ts +19 -0
- package/template-react-ts/node_modules/@types/node/crypto.d.ts +4524 -0
- package/template-react-ts/node_modules/@types/node/dgram.d.ts +596 -0
- package/template-react-ts/node_modules/@types/node/diagnostics_channel.d.ts +554 -0
- package/template-react-ts/node_modules/@types/node/dns/promises.d.ts +476 -0
- package/template-react-ts/node_modules/@types/node/dns.d.ts +864 -0
- package/template-react-ts/node_modules/@types/node/dom-events.d.ts +124 -0
- package/template-react-ts/node_modules/@types/node/domain.d.ts +170 -0
- package/template-react-ts/node_modules/@types/node/events.d.ts +931 -0
- package/template-react-ts/node_modules/@types/node/fs/promises.d.ts +1245 -0
- package/template-react-ts/node_modules/@types/node/fs.d.ts +4317 -0
- package/template-react-ts/node_modules/@types/node/globals.d.ts +503 -0
- package/template-react-ts/node_modules/@types/node/globals.global.d.ts +1 -0
- package/template-react-ts/node_modules/@types/node/http.d.ts +1908 -0
- package/template-react-ts/node_modules/@types/node/http2.d.ts +2418 -0
- package/template-react-ts/node_modules/@types/node/https.d.ts +550 -0
- package/template-react-ts/node_modules/@types/node/index.d.ts +89 -0
- package/template-react-ts/node_modules/@types/node/inspector.d.ts +3696 -0
- package/template-react-ts/node_modules/@types/node/module.d.ts +315 -0
- package/template-react-ts/node_modules/@types/node/net.d.ts +999 -0
- package/template-react-ts/node_modules/@types/node/os.d.ts +495 -0
- package/template-react-ts/node_modules/@types/node/package.json +217 -0
- package/template-react-ts/node_modules/@types/node/path.d.ts +191 -0
- package/template-react-ts/node_modules/@types/node/perf_hooks.d.ts +934 -0
- package/template-react-ts/node_modules/@types/node/process.d.ts +1879 -0
- package/template-react-ts/node_modules/@types/node/punycode.d.ts +117 -0
- package/template-react-ts/node_modules/@types/node/querystring.d.ts +153 -0
- package/template-react-ts/node_modules/@types/node/readline/promises.d.ts +150 -0
- package/template-react-ts/node_modules/@types/node/readline.d.ts +540 -0
- package/template-react-ts/node_modules/@types/node/repl.d.ts +430 -0
- package/template-react-ts/node_modules/@types/node/sea.d.ts +153 -0
- package/template-react-ts/node_modules/@types/node/stream/consumers.d.ts +12 -0
- package/template-react-ts/node_modules/@types/node/stream/promises.d.ts +83 -0
- package/template-react-ts/node_modules/@types/node/stream/web.d.ts +521 -0
- package/template-react-ts/node_modules/@types/node/stream.d.ts +1707 -0
- package/template-react-ts/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/template-react-ts/node_modules/@types/node/test.d.ts +1874 -0
- package/template-react-ts/node_modules/@types/node/timers/promises.d.ts +97 -0
- package/template-react-ts/node_modules/@types/node/timers.d.ts +240 -0
- package/template-react-ts/node_modules/@types/node/tls.d.ts +1217 -0
- package/template-react-ts/node_modules/@types/node/trace_events.d.ts +197 -0
- package/template-react-ts/node_modules/@types/node/tty.d.ts +208 -0
- package/template-react-ts/node_modules/@types/node/url.d.ts +952 -0
- package/template-react-ts/node_modules/@types/node/util.d.ts +2298 -0
- package/template-react-ts/node_modules/@types/node/v8.d.ts +808 -0
- package/template-react-ts/node_modules/@types/node/vm.d.ts +924 -0
- package/template-react-ts/node_modules/@types/node/wasi.d.ts +181 -0
- package/template-react-ts/node_modules/@types/node/worker_threads.d.ts +694 -0
- package/template-react-ts/node_modules/@types/node/zlib.d.ts +539 -0
- package/template-react-ts/node_modules/diff/CONTRIBUTING.md +39 -0
- package/template-react-ts/node_modules/diff/LICENSE +31 -0
- package/template-react-ts/node_modules/diff/README.md +207 -0
- package/template-react-ts/node_modules/diff/dist/diff.js +1585 -0
- package/template-react-ts/node_modules/diff/dist/diff.min.js +38 -0
- package/template-react-ts/node_modules/diff/lib/convert/dmp.js +32 -0
- package/template-react-ts/node_modules/diff/lib/convert/xml.js +42 -0
- package/template-react-ts/node_modules/diff/lib/diff/array.js +45 -0
- package/template-react-ts/node_modules/diff/lib/diff/base.js +304 -0
- package/template-react-ts/node_modules/diff/lib/diff/character.js +37 -0
- package/template-react-ts/node_modules/diff/lib/diff/css.js +41 -0
- package/template-react-ts/node_modules/diff/lib/diff/json.js +163 -0
- package/template-react-ts/node_modules/diff/lib/diff/line.js +89 -0
- package/template-react-ts/node_modules/diff/lib/diff/sentence.js +41 -0
- package/template-react-ts/node_modules/diff/lib/diff/word.js +107 -0
- package/template-react-ts/node_modules/diff/lib/index.es6.js +1519 -0
- package/template-react-ts/node_modules/diff/lib/index.js +216 -0
- package/template-react-ts/node_modules/diff/lib/patch/apply.js +243 -0
- package/template-react-ts/node_modules/diff/lib/patch/create.js +247 -0
- package/template-react-ts/node_modules/diff/lib/patch/merge.js +609 -0
- package/template-react-ts/node_modules/diff/lib/patch/parse.js +156 -0
- package/template-react-ts/node_modules/diff/lib/util/array.js +32 -0
- package/template-react-ts/node_modules/diff/lib/util/distance-iterator.js +57 -0
- package/template-react-ts/node_modules/diff/lib/util/params.js +24 -0
- package/template-react-ts/node_modules/diff/package.json +73 -0
- package/template-react-ts/node_modules/diff/release-notes.md +261 -0
- package/template-react-ts/node_modules/diff/runtime.js +3 -0
- package/template-react-ts/node_modules/ts-node/LICENSE +21 -0
- package/template-react-ts/node_modules/ts-node/README.md +1442 -0
- package/template-react-ts/node_modules/ts-node/child-loader.mjs +8 -0
- package/template-react-ts/node_modules/ts-node/dist/bin-cwd.d.ts +2 -0
- package/template-react-ts/node_modules/ts-node/dist/bin-cwd.js +6 -0
- package/template-react-ts/node_modules/ts-node/dist/bin-cwd.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/bin-esm.d.ts +2 -0
- package/template-react-ts/node_modules/ts-node/dist/bin-esm.js +6 -0
- package/template-react-ts/node_modules/ts-node/dist/bin-esm.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/bin-script-deprecated.d.ts +2 -0
- package/template-react-ts/node_modules/ts-node/dist/bin-script-deprecated.js +7 -0
- package/template-react-ts/node_modules/ts-node/dist/bin-script-deprecated.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/bin-script.d.ts +2 -0
- package/template-react-ts/node_modules/ts-node/dist/bin-script.js +6 -0
- package/template-react-ts/node_modules/ts-node/dist/bin-script.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/bin-transpile.d.ts +2 -0
- package/template-react-ts/node_modules/ts-node/dist/bin-transpile.js +6 -0
- package/template-react-ts/node_modules/ts-node/dist/bin-transpile.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/bin.d.ts +11 -0
- package/template-react-ts/node_modules/ts-node/dist/bin.js +581 -0
- package/template-react-ts/node_modules/ts-node/dist/bin.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/child/argv-payload.d.ts +1 -0
- package/template-react-ts/node_modules/ts-node/dist/child/argv-payload.js +19 -0
- package/template-react-ts/node_modules/ts-node/dist/child/argv-payload.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/child/child-entrypoint.d.ts +1 -0
- package/template-react-ts/node_modules/ts-node/dist/child/child-entrypoint.js +24 -0
- package/template-react-ts/node_modules/ts-node/dist/child/child-entrypoint.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/child/child-loader.d.ts +1 -0
- package/template-react-ts/node_modules/ts-node/dist/child/child-loader.js +32 -0
- package/template-react-ts/node_modules/ts-node/dist/child/child-loader.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/child/child-require.d.ts +7 -0
- package/template-react-ts/node_modules/ts-node/dist/child/child-require.js +22 -0
- package/template-react-ts/node_modules/ts-node/dist/child/child-require.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/child/spawn-child.d.ts +1 -0
- package/template-react-ts/node_modules/ts-node/dist/child/spawn-child.js +49 -0
- package/template-react-ts/node_modules/ts-node/dist/child/spawn-child.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/cjs-resolve-hooks.d.ts +1 -0
- package/template-react-ts/node_modules/ts-node/dist/cjs-resolve-hooks.js +29 -0
- package/template-react-ts/node_modules/ts-node/dist/cjs-resolve-hooks.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/configuration.d.ts +1 -0
- package/template-react-ts/node_modules/ts-node/dist/configuration.js +308 -0
- package/template-react-ts/node_modules/ts-node/dist/configuration.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/esm.d.ts +53 -0
- package/template-react-ts/node_modules/ts-node/dist/esm.js +228 -0
- package/template-react-ts/node_modules/ts-node/dist/esm.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/file-extensions.d.ts +1 -0
- package/template-react-ts/node_modules/ts-node/dist/file-extensions.js +133 -0
- package/template-react-ts/node_modules/ts-node/dist/file-extensions.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/index.d.ts +332 -0
- package/template-react-ts/node_modules/ts-node/dist/index.js +953 -0
- package/template-react-ts/node_modules/ts-node/dist/index.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/module-type-classifier.d.ts +1 -0
- package/template-react-ts/node_modules/ts-node/dist/module-type-classifier.js +64 -0
- package/template-react-ts/node_modules/ts-node/dist/module-type-classifier.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/node-module-type-classifier.d.ts +1 -0
- package/template-react-ts/node_modules/ts-node/dist/node-module-type-classifier.js +39 -0
- package/template-react-ts/node_modules/ts-node/dist/node-module-type-classifier.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/repl.d.ts +78 -0
- package/template-react-ts/node_modules/ts-node/dist/repl.js +561 -0
- package/template-react-ts/node_modules/ts-node/dist/repl.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/resolver-functions.d.ts +1 -0
- package/template-react-ts/node_modules/ts-node/dist/resolver-functions.js +143 -0
- package/template-react-ts/node_modules/ts-node/dist/resolver-functions.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/transpilers/swc.d.ts +11 -0
- package/template-react-ts/node_modules/ts-node/dist/transpilers/swc.js +218 -0
- package/template-react-ts/node_modules/ts-node/dist/transpilers/swc.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/transpilers/types.d.ts +35 -0
- package/template-react-ts/node_modules/ts-node/dist/transpilers/types.js +3 -0
- package/template-react-ts/node_modules/ts-node/dist/transpilers/types.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/ts-compiler-types.d.ts +63 -0
- package/template-react-ts/node_modules/ts-node/dist/ts-compiler-types.js +3 -0
- package/template-react-ts/node_modules/ts-node/dist/ts-compiler-types.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/ts-internals.d.ts +6 -0
- package/template-react-ts/node_modules/ts-node/dist/ts-internals.js +321 -0
- package/template-react-ts/node_modules/ts-node/dist/ts-internals.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/ts-transpile-module.d.ts +1 -0
- package/template-react-ts/node_modules/ts-node/dist/ts-transpile-module.js +100 -0
- package/template-react-ts/node_modules/ts-node/dist/ts-transpile-module.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/tsconfig-schema.d.ts +13 -0
- package/template-react-ts/node_modules/ts-node/dist/tsconfig-schema.js +3 -0
- package/template-react-ts/node_modules/ts-node/dist/tsconfig-schema.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/tsconfigs.d.ts +1 -0
- package/template-react-ts/node_modules/ts-node/dist/tsconfigs.js +36 -0
- package/template-react-ts/node_modules/ts-node/dist/tsconfigs.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist/util.d.ts +4 -0
- package/template-react-ts/node_modules/ts-node/dist/util.js +175 -0
- package/template-react-ts/node_modules/ts-node/dist/util.js.map +1 -0
- package/template-react-ts/node_modules/ts-node/dist-raw/NODE-LICENSE.md +24 -0
- package/template-react-ts/node_modules/ts-node/dist-raw/README.md +36 -0
- package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-constants.js +4 -0
- package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-errors.js +82 -0
- package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-modules-cjs-helpers.js +89 -0
- package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-modules-cjs-loader.js +593 -0
- package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-modules-esm-get_format.js +106 -0
- package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js +962 -0
- package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-modules-package_json_reader.js +44 -0
- package/template-react-ts/node_modules/ts-node/dist-raw/node-internal-repl-await.js +254 -0
- package/template-react-ts/node_modules/ts-node/dist-raw/node-internalBinding-fs.js +58 -0
- package/template-react-ts/node_modules/ts-node/dist-raw/node-nativemodule.js +9 -0
- package/template-react-ts/node_modules/ts-node/dist-raw/node-options.js +103 -0
- package/template-react-ts/node_modules/ts-node/dist-raw/node-primordials.js +37 -0
- package/template-react-ts/node_modules/ts-node/dist-raw/runmain-hack.js +9 -0
- package/template-react-ts/node_modules/ts-node/esm/transpile-only.mjs +8 -0
- package/template-react-ts/node_modules/ts-node/esm.mjs +8 -0
- package/template-react-ts/node_modules/ts-node/node10/tsconfig.json +3 -0
- package/template-react-ts/node_modules/ts-node/node12/tsconfig.json +3 -0
- package/template-react-ts/node_modules/ts-node/node14/tsconfig.json +3 -0
- package/template-react-ts/node_modules/ts-node/node16/tsconfig.json +3 -0
- package/template-react-ts/node_modules/ts-node/package.json +182 -0
- package/template-react-ts/node_modules/ts-node/register/files.js +3 -0
- package/template-react-ts/node_modules/ts-node/register/index.js +1 -0
- package/template-react-ts/node_modules/ts-node/register/transpile-only.js +3 -0
- package/template-react-ts/node_modules/ts-node/register/type-check.js +3 -0
- package/template-react-ts/node_modules/ts-node/transpilers/swc-experimental.js +1 -0
- package/template-react-ts/node_modules/ts-node/transpilers/swc.js +1 -0
- package/template-react-ts/node_modules/ts-node/tsconfig.schema.json +183 -0
- package/template-react-ts/node_modules/ts-node/tsconfig.schemastore-schema.json +1326 -0
- package/template-react-ts/package.json +49 -0
- package/template-react-ts/public/favicon.ico +0 -0
- package/template-react-ts/src/App.css +42 -0
- package/template-react-ts/src/App.tsx +103 -0
- package/template-react-ts/src/assets/aleo.svg +5 -0
- package/template-react-ts/src/assets/react.svg +1 -0
- package/template-react-ts/src/custom.d.ts +16 -0
- package/template-react-ts/src/index.css +69 -0
- package/template-react-ts/src/main.tsx +10 -0
- package/template-react-ts/src/workers/AleoWorker.ts +21 -0
- package/template-react-ts/src/workers/worker.ts +73 -0
- package/template-react-ts/tsconfig.json +16 -0
- package/template-react-ts/vite.config.ts +16 -0
- package/template-react-ts/webpack.config.ts +112 -0
- package/template-vanilla/_gitignore +24 -0
- package/template-vanilla/_headers +3 -0
- package/template-vanilla/index.html +13 -0
- package/template-vanilla/javascript.svg +1 -0
- package/template-vanilla/main.js +48 -0
- package/template-vanilla/package.json +16 -0
- package/template-vanilla/public/aleo.svg +76 -0
- package/template-vanilla/public/vite.svg +1 -0
- package/template-vanilla/style.css +97 -0
- package/template-vanilla/vite.config.js +12 -0
- package/template-vanilla/worker.js +95 -0
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ts-node",
|
|
3
|
+
"version": "10.9.2",
|
|
4
|
+
"description": "TypeScript execution environment and REPL for node.js, with source map support",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": "./dist/index.js",
|
|
8
|
+
"./package": "./package.json",
|
|
9
|
+
"./package.json": "./package.json",
|
|
10
|
+
"./dist/bin": "./dist/bin.js",
|
|
11
|
+
"./dist/bin.js": "./dist/bin.js",
|
|
12
|
+
"./dist/bin-transpile": "./dist/bin-transpile.js",
|
|
13
|
+
"./dist/bin-transpile.js": "./dist/bin-transpile.js",
|
|
14
|
+
"./dist/bin-script": "./dist/bin-script.js",
|
|
15
|
+
"./dist/bin-script.js": "./dist/bin-script.js",
|
|
16
|
+
"./dist/bin-cwd": "./dist/bin-cwd.js",
|
|
17
|
+
"./dist/bin-cwd.js": "./dist/bin-cwd.js",
|
|
18
|
+
"./dist/bin-esm": "./dist/bin-esm.js",
|
|
19
|
+
"./dist/bin-esm.js": "./dist/bin-esm.js",
|
|
20
|
+
"./register": "./register/index.js",
|
|
21
|
+
"./register/files": "./register/files.js",
|
|
22
|
+
"./register/transpile-only": "./register/transpile-only.js",
|
|
23
|
+
"./register/type-check": "./register/type-check.js",
|
|
24
|
+
"./esm": "./esm.mjs",
|
|
25
|
+
"./esm.mjs": "./esm.mjs",
|
|
26
|
+
"./esm/transpile-only": "./esm/transpile-only.mjs",
|
|
27
|
+
"./esm/transpile-only.mjs": "./esm/transpile-only.mjs",
|
|
28
|
+
"./child-loader.mjs": "./child-loader.mjs",
|
|
29
|
+
"./transpilers/swc": "./transpilers/swc.js",
|
|
30
|
+
"./transpilers/swc-experimental": "./transpilers/swc-experimental.js",
|
|
31
|
+
"./node10/tsconfig.json": "./node10/tsconfig.json",
|
|
32
|
+
"./node12/tsconfig.json": "./node12/tsconfig.json",
|
|
33
|
+
"./node14/tsconfig.json": "./node14/tsconfig.json",
|
|
34
|
+
"./node16/tsconfig.json": "./node16/tsconfig.json"
|
|
35
|
+
},
|
|
36
|
+
"types": "dist/index.d.ts",
|
|
37
|
+
"bin": {
|
|
38
|
+
"ts-node": "dist/bin.js",
|
|
39
|
+
"ts-node-cwd": "dist/bin-cwd.js",
|
|
40
|
+
"ts-node-esm": "dist/bin-esm.js",
|
|
41
|
+
"ts-node-script": "dist/bin-script.js",
|
|
42
|
+
"ts-node-transpile-only": "dist/bin-transpile.js",
|
|
43
|
+
"ts-script": "dist/bin-script-deprecated.js"
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"/transpilers/",
|
|
47
|
+
"/dist/",
|
|
48
|
+
"!/dist/test",
|
|
49
|
+
"/dist-raw/NODE-LICENSE.md",
|
|
50
|
+
"/dist-raw/**.js",
|
|
51
|
+
"/register/",
|
|
52
|
+
"/esm/",
|
|
53
|
+
"/esm.mjs",
|
|
54
|
+
"/child-loader.mjs",
|
|
55
|
+
"/LICENSE",
|
|
56
|
+
"/tsconfig.schema.json",
|
|
57
|
+
"/tsconfig.schemastore-schema.json",
|
|
58
|
+
"/node10/",
|
|
59
|
+
"/node12/",
|
|
60
|
+
"/node14/",
|
|
61
|
+
"/node16/"
|
|
62
|
+
],
|
|
63
|
+
"scripts": {
|
|
64
|
+
"lint": "dprint check",
|
|
65
|
+
"lint-fix": "dprint fmt",
|
|
66
|
+
"clean": "rimraf temp dist tsconfig.schema.json tsconfig.schemastore-schema.json tsconfig.tsbuildinfo tests/ts-node-packed.tgz tests/node_modules tests/tmp",
|
|
67
|
+
"rebuild": "npm run clean && npm run build",
|
|
68
|
+
"build": "npm run build-nopack && npm run build-pack",
|
|
69
|
+
"build-nopack": "npm run build-tsc && npm run build-configSchema",
|
|
70
|
+
"build-tsc": "tsc -b ./tsconfig.build-dist.json",
|
|
71
|
+
"build-configSchema": "typescript-json-schema --topRef --refs --validationKeywords allOf --out tsconfig.schema.json tsconfig.build-schema.json TsConfigSchema && node --require ./register ./scripts/create-merged-schema",
|
|
72
|
+
"build-pack": "node ./scripts/build-pack.js",
|
|
73
|
+
"test-spec": "ava",
|
|
74
|
+
"test-cov": "nyc ava",
|
|
75
|
+
"test": "npm run build && npm run lint && npm run test-cov --",
|
|
76
|
+
"test-local": "npm run lint-fix && npm run build-tsc && npm run build-pack && npm run test-spec --",
|
|
77
|
+
"pre-debug": "npm run build-tsc && npm run build-pack",
|
|
78
|
+
"coverage-report": "nyc report --reporter=lcov",
|
|
79
|
+
"prepare": "npm run clean && npm run build-nopack",
|
|
80
|
+
"api-extractor": "api-extractor run --local --verbose",
|
|
81
|
+
"esm-usage-example": "npm run build-tsc && cd esm-usage-example && node --experimental-specifier-resolution node --loader ../esm.mjs ./index",
|
|
82
|
+
"esm-usage-example2": "npm run build-tsc && cd tests && TS_NODE_PROJECT=./module-types/override-to-cjs/tsconfig.json node --loader ../esm.mjs ./module-types/override-to-cjs/test.cjs"
|
|
83
|
+
},
|
|
84
|
+
"repository": {
|
|
85
|
+
"type": "git",
|
|
86
|
+
"url": "git://github.com/TypeStrong/ts-node.git"
|
|
87
|
+
},
|
|
88
|
+
"keywords": [
|
|
89
|
+
"typescript",
|
|
90
|
+
"node",
|
|
91
|
+
"runtime",
|
|
92
|
+
"environment",
|
|
93
|
+
"ts",
|
|
94
|
+
"compiler"
|
|
95
|
+
],
|
|
96
|
+
"author": {
|
|
97
|
+
"name": "Blake Embrey",
|
|
98
|
+
"email": "hello@blakeembrey.com",
|
|
99
|
+
"url": "http://blakeembrey.me"
|
|
100
|
+
},
|
|
101
|
+
"contributors": [
|
|
102
|
+
{
|
|
103
|
+
"name": "Andrew Bradley",
|
|
104
|
+
"email": "cspotcode@gmail.com",
|
|
105
|
+
"url": "https://github.com/cspotcode"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"license": "MIT",
|
|
109
|
+
"bugs": {
|
|
110
|
+
"url": "https://github.com/TypeStrong/ts-node/issues"
|
|
111
|
+
},
|
|
112
|
+
"homepage": "https://typestrong.org/ts-node",
|
|
113
|
+
"devDependencies": {
|
|
114
|
+
"@microsoft/api-extractor": "^7.19.4",
|
|
115
|
+
"@swc/core": "^1.3.100",
|
|
116
|
+
"@swc/wasm": "^1.3.100",
|
|
117
|
+
"@types/diff": "^4.0.2",
|
|
118
|
+
"@types/lodash": "^4.14.151",
|
|
119
|
+
"@types/node": "13.13.5",
|
|
120
|
+
"@types/proper-lockfile": "^4.1.2",
|
|
121
|
+
"@types/proxyquire": "^1.3.28",
|
|
122
|
+
"@types/react": "^16.14.19",
|
|
123
|
+
"@types/rimraf": "^3.0.0",
|
|
124
|
+
"@types/semver": "^7.1.0",
|
|
125
|
+
"@yarnpkg/fslib": "^2.4.0",
|
|
126
|
+
"ava": "^3.15.0",
|
|
127
|
+
"axios": "^0.21.1",
|
|
128
|
+
"dprint": "^0.25.0",
|
|
129
|
+
"expect": "^27.0.2",
|
|
130
|
+
"get-stream": "^6.0.0",
|
|
131
|
+
"lodash": "^4.17.15",
|
|
132
|
+
"ntypescript": "^1.201507091536.1",
|
|
133
|
+
"nyc": "^15.0.1",
|
|
134
|
+
"outdent": "^0.8.0",
|
|
135
|
+
"proper-lockfile": "^4.1.2",
|
|
136
|
+
"proxyquire": "^2.0.0",
|
|
137
|
+
"react": "^16.14.0",
|
|
138
|
+
"rimraf": "^3.0.0",
|
|
139
|
+
"semver": "^7.1.3",
|
|
140
|
+
"throat": "^6.0.1",
|
|
141
|
+
"typedoc": "^0.22.10",
|
|
142
|
+
"typescript": "4.7.4",
|
|
143
|
+
"typescript-json-schema": "^0.53.0",
|
|
144
|
+
"util.promisify": "^1.0.1"
|
|
145
|
+
},
|
|
146
|
+
"peerDependencies": {
|
|
147
|
+
"@swc/core": ">=1.2.50",
|
|
148
|
+
"@swc/wasm": ">=1.2.50",
|
|
149
|
+
"@types/node": "*",
|
|
150
|
+
"typescript": ">=2.7"
|
|
151
|
+
},
|
|
152
|
+
"peerDependenciesMeta": {
|
|
153
|
+
"@swc/core": {
|
|
154
|
+
"optional": true
|
|
155
|
+
},
|
|
156
|
+
"@swc/wasm": {
|
|
157
|
+
"optional": true
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"dependencies": {
|
|
161
|
+
"@cspotcode/source-map-support": "^0.8.0",
|
|
162
|
+
"@tsconfig/node10": "^1.0.7",
|
|
163
|
+
"@tsconfig/node12": "^1.0.7",
|
|
164
|
+
"@tsconfig/node14": "^1.0.0",
|
|
165
|
+
"@tsconfig/node16": "^1.0.2",
|
|
166
|
+
"acorn": "^8.4.1",
|
|
167
|
+
"acorn-walk": "^8.1.1",
|
|
168
|
+
"arg": "^4.1.0",
|
|
169
|
+
"create-require": "^1.1.0",
|
|
170
|
+
"diff": "^4.0.1",
|
|
171
|
+
"make-error": "^1.1.1",
|
|
172
|
+
"v8-compile-cache-lib": "^3.0.1",
|
|
173
|
+
"yn": "3.1.1"
|
|
174
|
+
},
|
|
175
|
+
"prettier": {
|
|
176
|
+
"singleQuote": true
|
|
177
|
+
},
|
|
178
|
+
"volta": {
|
|
179
|
+
"node": "18.1.0",
|
|
180
|
+
"npm": "6.14.15"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('../').register();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/transpilers/swc')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/transpilers/swc')
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/TsConfigSchema",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"ModuleTypes": {
|
|
6
|
+
"type": "object"
|
|
7
|
+
},
|
|
8
|
+
"TsConfigOptions": {
|
|
9
|
+
"description": "Must be an interface to support `typescript-json-schema`.",
|
|
10
|
+
"properties": {
|
|
11
|
+
"compiler": {
|
|
12
|
+
"default": "typescript",
|
|
13
|
+
"description": "Specify a custom TypeScript compiler.",
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"compilerHost": {
|
|
17
|
+
"default": false,
|
|
18
|
+
"description": "Use TypeScript's compiler host API instead of the language service API.",
|
|
19
|
+
"type": "boolean"
|
|
20
|
+
},
|
|
21
|
+
"compilerOptions": {
|
|
22
|
+
"additionalProperties": true,
|
|
23
|
+
"allOf": [
|
|
24
|
+
{
|
|
25
|
+
"$ref": "https://schemastore.azurewebsites.net/schemas/json/tsconfig.json#definitions/compilerOptionsDefinition/properties/compilerOptions"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"description": "JSON object to merge with TypeScript `compilerOptions`.",
|
|
29
|
+
"properties": {},
|
|
30
|
+
"type": "object"
|
|
31
|
+
},
|
|
32
|
+
"emit": {
|
|
33
|
+
"default": false,
|
|
34
|
+
"description": "Emit output files into `.ts-node` directory.",
|
|
35
|
+
"type": "boolean"
|
|
36
|
+
},
|
|
37
|
+
"esm": {
|
|
38
|
+
"description": "Enable native ESM support.\n\nFor details, see https://typestrong.org/ts-node/docs/imports#native-ecmascript-modules",
|
|
39
|
+
"type": "boolean"
|
|
40
|
+
},
|
|
41
|
+
"experimentalReplAwait": {
|
|
42
|
+
"description": "Allows the usage of top level await in REPL.\n\nUses node's implementation which accomplishes this with an AST syntax transformation.\n\nEnabled by default when tsconfig target is es2018 or above. Set to false to disable.\n\n**Note**: setting to `true` when tsconfig target is too low will throw an Error. Leave as `undefined`\nto get default, automatic behavior.",
|
|
43
|
+
"type": "boolean"
|
|
44
|
+
},
|
|
45
|
+
"experimentalResolver": {
|
|
46
|
+
"description": "Enable experimental features that re-map imports and require calls to support:\n`baseUrl`, `paths`, `rootDirs`, `.js` to `.ts` file extension mappings,\n`outDir` to `rootDir` mappings for composite projects and monorepos.\n\nFor details, see https://github.com/TypeStrong/ts-node/issues/1514",
|
|
47
|
+
"type": "boolean"
|
|
48
|
+
},
|
|
49
|
+
"experimentalSpecifierResolution": {
|
|
50
|
+
"description": "Like node's `--experimental-specifier-resolution`, , but can also be set in your `tsconfig.json` for convenience.\n\nFor details, see https://nodejs.org/dist/latest-v18.x/docs/api/esm.html#customizing-esm-specifier-resolution-algorithm",
|
|
51
|
+
"enum": [
|
|
52
|
+
"explicit",
|
|
53
|
+
"node"
|
|
54
|
+
],
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
"experimentalTsImportSpecifiers": {
|
|
58
|
+
"description": "Allow using voluntary `.ts` file extension in import specifiers.\n\nTypically, in ESM projects, import specifiers must have an emit extension, `.js`, `.cjs`, or `.mjs`,\nand we automatically map to the corresponding `.ts`, `.cts`, or `.mts` source file. This is the\nrecommended approach.\n\nHowever, if you really want to use `.ts` in import specifiers, and are aware that this may\nbreak tooling, you can enable this flag.",
|
|
59
|
+
"type": "boolean"
|
|
60
|
+
},
|
|
61
|
+
"files": {
|
|
62
|
+
"default": false,
|
|
63
|
+
"description": "Load \"files\" and \"include\" from `tsconfig.json` on startup.\n\nDefault is to override `tsconfig.json` \"files\" and \"include\" to only include the entrypoint script.",
|
|
64
|
+
"type": "boolean"
|
|
65
|
+
},
|
|
66
|
+
"ignore": {
|
|
67
|
+
"default": [
|
|
68
|
+
"(?:^|/)node_modules/"
|
|
69
|
+
],
|
|
70
|
+
"description": "Paths which should not be compiled.\n\nEach string in the array is converted to a regular expression via `new RegExp()` and tested against source paths prior to compilation.\n\nSource paths are normalized to posix-style separators, relative to the directory containing `tsconfig.json` or to cwd if no `tsconfig.json` is loaded.\n\nDefault is to ignore all node_modules subdirectories.",
|
|
71
|
+
"items": {
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
"type": "array"
|
|
75
|
+
},
|
|
76
|
+
"ignoreDiagnostics": {
|
|
77
|
+
"description": "Ignore TypeScript warnings by diagnostic code.",
|
|
78
|
+
"items": {
|
|
79
|
+
"type": [
|
|
80
|
+
"string",
|
|
81
|
+
"number"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"type": "array"
|
|
85
|
+
},
|
|
86
|
+
"logError": {
|
|
87
|
+
"default": false,
|
|
88
|
+
"description": "Logs TypeScript errors to stderr instead of throwing exceptions.",
|
|
89
|
+
"type": "boolean"
|
|
90
|
+
},
|
|
91
|
+
"moduleTypes": {
|
|
92
|
+
"$ref": "#/definitions/ModuleTypes",
|
|
93
|
+
"description": "Override certain paths to be compiled and executed as CommonJS or ECMAScript modules.\nWhen overridden, the tsconfig \"module\" and package.json \"type\" fields are overridden, and\nthe file extension is ignored.\nThis is useful if you cannot use .mts, .cts, .mjs, or .cjs file extensions;\nit achieves the same effect.\n\nEach key is a glob pattern following the same rules as tsconfig's \"include\" array.\nWhen multiple patterns match the same file, the last pattern takes precedence.\n\n`cjs` overrides matches files to compile and execute as CommonJS.\n`esm` overrides matches files to compile and execute as native ECMAScript modules.\n`package` overrides either of the above to default behavior, which obeys package.json \"type\" and\ntsconfig.json \"module\" options."
|
|
94
|
+
},
|
|
95
|
+
"preferTsExts": {
|
|
96
|
+
"default": false,
|
|
97
|
+
"description": "Re-order file extensions so that TypeScript imports are preferred.\n\nFor example, when both `index.js` and `index.ts` exist, enabling this option causes `require('./index')` to resolve to `index.ts` instead of `index.js`",
|
|
98
|
+
"type": "boolean"
|
|
99
|
+
},
|
|
100
|
+
"pretty": {
|
|
101
|
+
"default": false,
|
|
102
|
+
"description": "Use pretty diagnostic formatter.",
|
|
103
|
+
"type": "boolean"
|
|
104
|
+
},
|
|
105
|
+
"require": {
|
|
106
|
+
"description": "Modules to require, like node's `--require` flag.\n\nIf specified in `tsconfig.json`, the modules will be resolved relative to the `tsconfig.json` file.\n\nIf specified programmatically, each input string should be pre-resolved to an absolute path for\nbest results.",
|
|
107
|
+
"items": {
|
|
108
|
+
"type": "string"
|
|
109
|
+
},
|
|
110
|
+
"type": "array"
|
|
111
|
+
},
|
|
112
|
+
"scope": {
|
|
113
|
+
"default": false,
|
|
114
|
+
"description": "Scope compiler to files within `scopeDir`.",
|
|
115
|
+
"type": "boolean"
|
|
116
|
+
},
|
|
117
|
+
"scopeDir": {
|
|
118
|
+
"default": "First of: `tsconfig.json` \"rootDir\" if specified, directory containing `tsconfig.json`, or cwd if no `tsconfig.json` is loaded.",
|
|
119
|
+
"type": "string"
|
|
120
|
+
},
|
|
121
|
+
"skipIgnore": {
|
|
122
|
+
"default": false,
|
|
123
|
+
"description": "Skip ignore check, so that compilation will be attempted for all files with matching extensions.",
|
|
124
|
+
"type": "boolean"
|
|
125
|
+
},
|
|
126
|
+
"swc": {
|
|
127
|
+
"description": "Transpile with swc instead of the TypeScript compiler, and skip typechecking.\n\nEquivalent to setting both `transpileOnly: true` and `transpiler: 'ts-node/transpilers/swc'`\n\nFor complete instructions: https://typestrong.org/ts-node/docs/transpilers",
|
|
128
|
+
"type": "boolean"
|
|
129
|
+
},
|
|
130
|
+
"transpileOnly": {
|
|
131
|
+
"default": false,
|
|
132
|
+
"description": "Use TypeScript's faster `transpileModule`.",
|
|
133
|
+
"type": "boolean"
|
|
134
|
+
},
|
|
135
|
+
"transpiler": {
|
|
136
|
+
"anyOf": [
|
|
137
|
+
{
|
|
138
|
+
"items": [
|
|
139
|
+
{
|
|
140
|
+
"type": "string"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"additionalProperties": true,
|
|
144
|
+
"properties": {},
|
|
145
|
+
"type": "object"
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"maxItems": 2,
|
|
149
|
+
"minItems": 2,
|
|
150
|
+
"type": "array"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "string"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"description": "Specify a custom transpiler for use with transpileOnly"
|
|
157
|
+
},
|
|
158
|
+
"typeCheck": {
|
|
159
|
+
"default": true,
|
|
160
|
+
"description": "**DEPRECATED** Specify type-check is enabled (e.g. `transpileOnly == false`).",
|
|
161
|
+
"type": "boolean"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"type": "object"
|
|
165
|
+
},
|
|
166
|
+
"TsConfigSchema": {
|
|
167
|
+
"allOf": [
|
|
168
|
+
{
|
|
169
|
+
"$ref": "https://schemastore.azurewebsites.net/schemas/json/tsconfig.json"
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"description": "tsconfig schema which includes \"ts-node\" options.",
|
|
173
|
+
"properties": {
|
|
174
|
+
"ts-node": {
|
|
175
|
+
"$ref": "#/definitions/TsConfigOptions",
|
|
176
|
+
"description": "ts-node options. See also: https://typestrong.org/ts-node/docs/configuration\n\nts-node offers TypeScript execution and REPL for node.js, with source map support."
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"type": "object"
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|