@stryke/env 0.20.37 → 0.20.39
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/CHANGELOG.md +18 -0
- package/dist/_virtual/rolldown_runtime.cjs +1 -0
- package/dist/ci-checks.cjs +1 -1
- package/dist/ci-checks.d.cts +19 -2
- package/dist/ci-checks.d.cts.map +1 -0
- package/dist/ci-checks.d.mts +19 -2
- package/dist/ci-checks.d.mts.map +1 -0
- package/dist/ci-checks.mjs +2 -1
- package/dist/ci-checks.mjs.map +1 -0
- package/dist/convert/src/to-array.cjs +1 -0
- package/dist/convert/src/to-array.mjs +2 -0
- package/dist/convert/src/to-array.mjs.map +1 -0
- package/dist/environment-checks.cjs +1 -1
- package/dist/environment-checks.d.cts +59 -2
- package/dist/environment-checks.d.cts.map +1 -0
- package/dist/environment-checks.d.mts +59 -2
- package/dist/environment-checks.d.mts.map +1 -0
- package/dist/environment-checks.mjs +2 -1
- package/dist/environment-checks.mjs.map +1 -0
- package/dist/fs/src/exists.cjs +1 -0
- package/dist/fs/src/exists.mjs +2 -0
- package/dist/fs/src/exists.mjs.map +1 -0
- package/dist/fs/src/read-file.cjs +1 -0
- package/dist/fs/src/read-file.mjs +2 -0
- package/dist/fs/src/read-file.mjs.map +1 -0
- package/dist/get-env-paths.cjs +1 -1
- package/dist/get-env-paths.d.cts +64 -2
- package/dist/get-env-paths.d.cts.map +1 -0
- package/dist/get-env-paths.d.mts +64 -2
- package/dist/get-env-paths.d.mts.map +1 -0
- package/dist/get-env-paths.mjs +2 -1
- package/dist/get-env-paths.mjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +1 -1
- package/dist/load-env.cjs +1 -1
- package/dist/load-env.d.cts +61 -2
- package/dist/load-env.d.cts.map +1 -0
- package/dist/load-env.d.mts +61 -2
- package/dist/load-env.d.mts.map +1 -0
- package/dist/load-env.mjs +2 -1
- package/dist/load-env.mjs.map +1 -0
- package/dist/path/src/is-type.cjs +1 -0
- package/dist/path/src/is-type.mjs +2 -0
- package/dist/path/src/is-type.mjs.map +1 -0
- package/dist/path/src/join-paths.cjs +1 -0
- package/dist/path/src/join-paths.mjs +2 -0
- package/dist/path/src/join-paths.mjs.map +1 -0
- package/dist/path/src/regex.cjs +1 -0
- package/dist/path/src/regex.mjs +2 -0
- package/dist/path/src/regex.mjs.map +1 -0
- package/dist/path/src/slash.cjs +1 -0
- package/dist/path/src/slash.mjs +2 -0
- package/dist/path/src/slash.mjs.map +1 -0
- package/dist/providers.cjs +1 -1
- package/dist/providers.d.cts +13 -2
- package/dist/providers.d.cts.map +1 -0
- package/dist/providers.d.mts +13 -2
- package/dist/providers.d.mts.map +1 -0
- package/dist/providers.mjs +2 -1
- package/dist/providers.mjs.map +1 -0
- package/dist/runtime-checks.cjs +1 -1
- package/dist/runtime-checks.d.cts +51 -2
- package/dist/runtime-checks.d.cts.map +1 -0
- package/dist/runtime-checks.d.mts +51 -2
- package/dist/runtime-checks.d.mts.map +1 -0
- package/dist/runtime-checks.mjs +2 -1
- package/dist/runtime-checks.mjs.map +1 -0
- package/dist/string-format/src/acronyms.cjs +1 -0
- package/dist/string-format/src/acronyms.mjs +2 -0
- package/dist/string-format/src/acronyms.mjs.map +1 -0
- package/dist/string-format/src/articles.cjs +1 -0
- package/dist/string-format/src/articles.mjs +2 -0
- package/dist/string-format/src/articles.mjs.map +1 -0
- package/dist/string-format/src/combine.cjs +1 -0
- package/dist/string-format/src/combine.mjs +2 -0
- package/dist/string-format/src/combine.mjs.map +1 -0
- package/dist/string-format/src/conjunctions.cjs +1 -0
- package/dist/string-format/src/conjunctions.mjs +2 -0
- package/dist/string-format/src/conjunctions.mjs.map +1 -0
- package/dist/string-format/src/decamelize.cjs +1 -0
- package/dist/string-format/src/decamelize.mjs +2 -0
- package/dist/string-format/src/decamelize.mjs.map +1 -0
- package/dist/string-format/src/format-special-cases.cjs +1 -0
- package/dist/string-format/src/format-special-cases.mjs +2 -0
- package/dist/string-format/src/format-special-cases.mjs.map +1 -0
- package/dist/string-format/src/prepositions.cjs +1 -0
- package/dist/string-format/src/prepositions.mjs +2 -0
- package/dist/string-format/src/prepositions.mjs.map +1 -0
- package/dist/string-format/src/special-cases.cjs +1 -0
- package/dist/string-format/src/special-cases.mjs +2 -0
- package/dist/string-format/src/special-cases.mjs.map +1 -0
- package/dist/string-format/src/title-case.cjs +1 -0
- package/dist/string-format/src/title-case.mjs +2 -0
- package/dist/string-format/src/title-case.mjs.map +1 -0
- package/dist/string-format/src/upper-case-first.cjs +1 -0
- package/dist/string-format/src/upper-case-first.mjs +2 -0
- package/dist/string-format/src/upper-case-first.mjs.map +1 -0
- package/dist/types.cjs +1 -1
- package/dist/types.d.cts +8 -2
- package/dist/types.d.cts.map +1 -0
- package/dist/types.d.mts +8 -2
- package/dist/types.d.mts.map +1 -0
- package/dist/types.mjs +2 -1
- package/dist/types.mjs.map +1 -0
- package/package.json +7 -7
- package/dist/ci-checks-5v7fZL3R.mjs +0 -2
- package/dist/ci-checks-5v7fZL3R.mjs.map +0 -1
- package/dist/ci-checks-BFAxtIMg.d.mts +0 -19
- package/dist/ci-checks-BFAxtIMg.d.mts.map +0 -1
- package/dist/ci-checks-ByUPPNOk.d.cts +0 -19
- package/dist/ci-checks-ByUPPNOk.d.cts.map +0 -1
- package/dist/ci-checks-DRWFr2UM.cjs +0 -1
- package/dist/environment-checks-BvXEMk0w.d.mts +0 -59
- package/dist/environment-checks-BvXEMk0w.d.mts.map +0 -1
- package/dist/environment-checks-CNP6SBWs.mjs +0 -2
- package/dist/environment-checks-CNP6SBWs.mjs.map +0 -1
- package/dist/environment-checks-TkDPh8QD.d.cts +0 -59
- package/dist/environment-checks-TkDPh8QD.d.cts.map +0 -1
- package/dist/environment-checks-ghgIrof1.cjs +0 -1
- package/dist/get-env-paths-CRQWNX3i.cjs +0 -1
- package/dist/get-env-paths-DReLbhw5.d.cts +0 -64
- package/dist/get-env-paths-DReLbhw5.d.cts.map +0 -1
- package/dist/get-env-paths-DUHBXxwb.mjs +0 -2
- package/dist/get-env-paths-DUHBXxwb.mjs.map +0 -1
- package/dist/get-env-paths-KTCEsWqe.d.mts +0 -64
- package/dist/get-env-paths-KTCEsWqe.d.mts.map +0 -1
- package/dist/join-paths-BMFGURJb.cjs +0 -1
- package/dist/join-paths-DoUrclq3.mjs +0 -2
- package/dist/join-paths-DoUrclq3.mjs.map +0 -1
- package/dist/load-env-B_Q4iLSZ.d.mts +0 -61
- package/dist/load-env-B_Q4iLSZ.d.mts.map +0 -1
- package/dist/load-env-COR_EMlB.cjs +0 -1
- package/dist/load-env-DPtGxfd9.d.cts +0 -61
- package/dist/load-env-DPtGxfd9.d.cts.map +0 -1
- package/dist/load-env-DUjj4KN6.mjs +0 -2
- package/dist/load-env-DUjj4KN6.mjs.map +0 -1
- package/dist/providers-B2d_hJW2.d.mts +0 -13
- package/dist/providers-B2d_hJW2.d.mts.map +0 -1
- package/dist/providers-B9xVKxf9.cjs +0 -1
- package/dist/providers-BUdbSP8f.mjs +0 -2
- package/dist/providers-BUdbSP8f.mjs.map +0 -1
- package/dist/providers-YKl7K1Ek.d.cts +0 -13
- package/dist/providers-YKl7K1Ek.d.cts.map +0 -1
- package/dist/runtime-checks-Bka6c_Kr.d.mts +0 -51
- package/dist/runtime-checks-Bka6c_Kr.d.mts.map +0 -1
- package/dist/runtime-checks-DGhXcN9g.mjs +0 -2
- package/dist/runtime-checks-DGhXcN9g.mjs.map +0 -1
- package/dist/runtime-checks-Dc2IKXYE.d.cts +0 -51
- package/dist/runtime-checks-Dc2IKXYE.d.cts.map +0 -1
- package/dist/runtime-checks-NIf4Bpj9.cjs +0 -1
- package/dist/types-2O6mBvGZ.cjs +0 -1
- package/dist/types-D7S9q0_s.d.mts +0 -8
- package/dist/types-D7S9q0_s.d.mts.map +0 -1
- package/dist/types-DJpwQAko.d.cts +0 -8
- package/dist/types-DJpwQAko.d.cts.map +0 -1
- package/dist/types-ULysAnV9.mjs +0 -2
- package/dist/types-ULysAnV9.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acronyms.mjs","names":["ACRONYMS: Record<\n string,\n { description: string; display?: string }\n>","ACRONYM_DISPLAY: Record<string, string>","ACRONYM_DESCRIPTION: Record<string, string>","ACRONYM_LIST: string[]"],"sources":["../../../../string-format/src/acronyms.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/**\n * A running list of common acronyms and their meanings.\n *\n * @remarks\n * This list is not exhaustive and may be updated over time.\n */\nexport const ACRONYMS: Record<\n string,\n { description: string; display?: string }\n> = {\n \"2D\": { description: \"Two-Dimensional\", display: \"2d\" },\n \"3D\": { description: \"Three-Dimensional\", display: \"3d\" },\n \"4D\": { description: \"Four-Dimensional\", display: \"4d\" },\n \"5G\": { description: \"Fifth Generation (mobile networks)\" },\n \"6G\": { description: \"Sixth Generation (mobile networks)\" },\n \"7G\": { description: \"Seventh Generation (mobile networks)\" },\n \"8G\": { description: \"Eighth Generation (mobile networks)\" },\n \"ACID\": { description: \"Atomicity, Consistency, Isolation, Durability\" },\n \"AITA\": { description: \"Am I The Asshole\" },\n \"AES\": { description: \"Advanced Encryption Standard\" },\n \"AI\": { description: \"Artificial Intelligence\" },\n \"AJAX\": { description: \"Asynchronous JavaScript and XML\" },\n \"API\": { description: \"Application Programming Interface\" },\n \"AR\": { description: \"Augmented Reality\" },\n \"ASCII\": {\n description: \"American Standard Code for Information Interchange\"\n },\n \"ATF\": { description: \"Bureau of Alcohol, Tobacco, Firearms and Explosives\" },\n \"ATM\": { description: \"Automated Teller Machine\" },\n \"B2B\": { description: \"Business to Business\" },\n \"B2C\": { description: \"Business to Consumer\" },\n \"BATFE\": {\n description: \"Bureau of Alcohol, Tobacco, Firearms and Explosives\"\n },\n \"BFF\": { description: \"Best Friends Forever\" },\n \"BFFS\": { description: \"Best Friends Forever (plural)\" },\n \"BI\": { description: \"Business Intelligence\" },\n \"BIOS\": { description: \"Basic Input/Output System\" },\n \"BGP\": { description: \"Border Gateway Protocol\" },\n \"BOM\": { description: \"Bill of Materials / Byte Order Mark\" },\n \"BSON\": { description: \"Binary JSON\" },\n \"BYOD\": { description: \"Bring Your Own Device\" },\n \"C2C\": { description: \"Consumer to Consumer\" },\n \"CAGR\": { description: \"Compound Annual Growth Rate\" },\n \"CAPTCHA\": {\n description:\n \"Completely Automated Public Turing test to tell Computers and Humans Apart\"\n },\n \"CCTV\": { description: \"Closed-Circuit Television\" },\n \"CD\": { description: \"Continuous Delivery / Compact Disc\" },\n \"CDN\": { description: \"Content Delivery Network\" },\n \"CDP\": { description: \"Customer Data Platform\" },\n \"CDT\": { description: \"Central Daylight Time\" },\n \"CIA\": { description: \"Central Intelligence Agency\" },\n \"CI\": { description: \"Continuous Integration\" },\n \"CI/CD\": { description: \"Continuous Integration/Continuous Delivery\" },\n \"CIAM\": { description: \"Customer Identity and Access Management\" },\n \"CICD\": {\n description: \"Continuous Integration Continuous Delivery\",\n display: \"CI/CD\"\n },\n \"CLI\": { description: \"Command Line Interface\" },\n \"CMDB\": { description: \"Configuration Management Database\" },\n \"CORS\": { description: \"Cross-Origin Resource Sharing\" },\n \"CPA\": { description: \"Certified Public Accountant\" },\n \"CPU\": { description: \"Central Processing Unit\" },\n \"CRUD\": { description: \"Create, Read, Update, Delete\" },\n \"CSR\": {\n description: \"Certificate Signing Request / Corporate Social Responsibility\"\n },\n \"CSS\": { description: \"Cascading Style Sheets\" },\n \"CST\": { description: \"Central Standard Time\" },\n \"CTA\": { description: \"Call To Action\" },\n \"CWD\": { description: \"Current Working Directory\" },\n \"CX\": { description: \"Customer Experience\" },\n \"DAG\": { description: \"Directed Acyclic Graph\" },\n \"DBMS\": { description: \"Database Management System\" },\n \"DDOS\": { description: \"Distributed Denial of Service\", display: \"DDoS\" },\n \"DEA\": { description: \"Drug Enforcement Administration\" },\n \"DEVENV\": { description: \"Devenv\", display: \"Devenv\" },\n \"DEVOPS\": { description: \"Development Operations\", display: \"DevOps\" },\n \"DHS\": { description: \"Department of Homeland Security\" },\n \"DIRENV\": { description: \"DirEnv\", display: \"DirEnv\" },\n \"DNC\": { description: \"Democratic National Committee / Do Not Call\" },\n \"DNS\": { description: \"Domain Name System\" },\n \"DNSSEC\": { description: \"Domain Name System Security Extensions\" },\n \"DOD\": { description: \"Department of Defense\", display: \"DoD\" },\n \"DOJ\": { description: \"Department of Justice\", display: \"DoJ\" },\n \"DOM\": { description: \"Document Object Model\" },\n \"DOT\": { description: \"Department of Transportation\", display: \"DoT\" },\n \"DOTENV\": { description: \"Dotenv (.env)\", display: \"Dotenv\" },\n \"DR\": { description: \"Disaster Recovery\" },\n \"DRM\": { description: \"Digital Rights Management\" },\n \"DSN\": { description: \"Data Source Name\" },\n \"DWH\": { description: \"Data Warehouse\" },\n \"E2E\": { description: \"End to End\" },\n \"EAI\": { description: \"Enterprise Application Integration\" },\n \"EDT\": { description: \"Eastern Daylight Time\" },\n \"EEA\": { description: \"European Economic Area\" },\n \"EKS\": { description: \"Elastic Kubernetes Service\" },\n \"EOF\": { description: \"End Of File\" },\n \"EOD\": { description: \"End Of Day / Explosive Ordnance Disposal\" },\n \"EPA\": { description: \"Environmental Protection Agency\" },\n \"ER\": { description: \"Emergency Room / Entity Relationship\" },\n \"EST\": { description: \"Eastern Standard Time\" },\n \"ETC\": { description: \"Et Cetera\" },\n \"ETL\": { description: \"Extract, Transform, Load\" },\n \"EULA\": { description: \"End User License Agreement\" },\n \"FAAS\": { description: \"Function as a Service\", display: \"FaaS\" },\n \"FAQ\": { description: \"Frequently Asked Questions\", display: \"FAQs\" },\n \"FAQS\": { description: \"Frequently Asked Questions\" },\n \"FBI\": { description: \"Federal Bureau of Investigation\" },\n \"FCC\": { description: \"Federal Communications Commission\" },\n \"FDA\": { description: \"Food and Drug Administration\" },\n \"FIDO\": { description: \"Fast IDentity Online\" },\n \"FLOTUS\": { description: \"First Lady of the United States\" },\n \"FQDN\": { description: \"Fully Qualified Domain Name\" },\n \"FTC\": { description: \"Federal Trade Commission\" },\n \"FTP\": { description: \"File Transfer Protocol\" },\n \"GC\": { description: \"Garbage Collection\" },\n \"GCP\": { description: \"Google Cloud Platform\" },\n \"GDPR\": { description: \"General Data Protection Regulation\" },\n \"GMT\": { description: \"Greenwich Mean Time\" },\n \"GOP\": { description: \"Grand Old Party\" },\n \"GPU\": { description: \"Graphics Processing Unit\" },\n \"GUID\": { description: \"Globally Unique Identifier\" },\n \"GUI\": { description: \"Graphical User Interface\" },\n \"GZIP\": { description: \"GNU Zip\" },\n \"HCI\": {\n description: \"Human Computer Interaction / Hyper-Converged Infrastructure\"\n },\n \"HDD\": { description: \"Hard Disk Drive\" },\n \"HDFS\": { description: \"Hadoop Distributed File System\" },\n \"HHS\": { description: \"Health and Human Services\" },\n \"HIPAA\": {\n description: \"Health Insurance Portability and Accountability Act\"\n },\n \"HMAC\": { description: \"Hash-based Message Authentication Code\" },\n \"HOTP\": { description: \"HMAC-based One-Time Password\" },\n \"HSM\": { description: \"Hardware Security Module\" },\n \"HTML\": { description: \"HyperText Markup Language\" },\n \"HTTP\": { description: \"HyperText Transfer Protocol (HTTP)\" },\n \"HTTP/2\": { description: \"HyperText Transfer Protocol Version 2 (HTTP/2)\" },\n \"HTTP/2.0\": {\n description: \"HyperText Transfer Protocol Version 2 (HTTP/2)\",\n display: \"HTTP2\"\n },\n \"HTTP/3\": { description: \"HyperText Transfer Protocol Version 3 (HTTP/3)\" },\n \"HTTP/3.0\": {\n description: \"HyperText Transfer Protocol Version 3 (HTTP/3)\",\n display: \"HTTP3\"\n },\n \"HTTP2\": {\n description: \"HyperText Transfer Protocol Version 2 (HTTP/2)\",\n display: \"HTTP2\"\n },\n \"HTTP2.0\": {\n description: \"HyperText Transfer Protocol Version 2 (HTTP/2)\",\n display: \"HTTP2\"\n },\n \"HTTP3\": {\n description: \"HyperText Transfer Protocol Version 3 (HTTP/3)\",\n display: \"HTTP3\"\n },\n \"HTTP3.0\": {\n description: \"HyperText Transfer Protocol Version 3 (HTTP/3)\",\n display: \"HTTP3\"\n },\n \"HTTPS\": { description: \"HyperText Transfer Protocol Secure (HTTPS)\" },\n \"HTTPS/2\": {\n description: \"HyperText Transfer Protocol Secure Version 2 (HTTPS/2)\"\n },\n \"HTTPS/2.0\": {\n description: \"HyperText Transfer Protocol Secure Version 2 (HTTPS/2)\",\n display: \"HTTPS2\"\n },\n \"HTTPS/3\": {\n description: \"HyperText Transfer Protocol Secure Version 3 (HTTPS/3)\"\n },\n \"HTTPS/3.0\": {\n description: \"HyperText Transfer Protocol Secure Version 3 (HTTPS/3)\",\n display: \"HTTPS3\"\n },\n \"HTTPS2\": {\n description: \"HyperText Transfer Protocol Secure Version 2 (HTTPS/2)\",\n display: \"HTTPS2\"\n },\n \"HTTPS2.0\": {\n description: \"HyperText Transfer Protocol Secure Version 2 (HTTPS/2)\",\n display: \"HTTPS2\"\n },\n \"HTTPS3\": {\n description: \"HyperText Transfer Protocol Secure Version 3 (HTTPS/3)\",\n display: \"HTTPS3\"\n },\n \"HTTPS3.0\": {\n description: \"HyperText Transfer Protocol Secure Version 3 (HTTPS/3)\",\n display: \"HTTPS3\"\n },\n \"IAAS\": { description: \"Infrastructure as a Service\", display: \"IaaS\" },\n \"IAM\": { description: \"Identity and Access Management\" },\n \"IAMM\": { description: \"Identity and Access Management and Monitoring\" },\n \"IAMT\": { description: \"Identity and Access Management Tool\" },\n \"ID\": { description: \"Identifier\", display: \"Id\" },\n \"IFTTT\": { description: \"If This Then That\" },\n \"IMAP\": { description: \"Internet Message Access Protocol\" },\n \"IO\": { description: \"Input/Output\" },\n \"IP\": { description: \"Internet Protocol\" },\n \"IPFS\": { description: \"InterPlanetary File System\" },\n \"IPS\": { description: \"Intrusion Prevention System\" },\n \"ISO\": { description: \"International Organization for Standardization\" },\n \"IQ\": { description: \"Intelligence Quotient\", display: \"IQ\" },\n \"IOT\": { description: \"Internet of Things\", display: \"IoT\" },\n \"JSON\": { description: \"JavaScript Object Notation\" },\n \"JSONP\": { description: \"JSON with Padding\" },\n \"JWT\": { description: \"JSON Web Token\" },\n \"K8S\": { description: \"Kubernetes\", display: \"K8s\" },\n \"KMS\": { description: \"Key Management Service\" },\n \"KPI\": { description: \"Key Performance Indicator\" },\n \"KV\": { description: \"Key Value\" },\n \"LAN\": { description: \"Local Area Network\" },\n \"LHS\": { description: \"Left Hand Side\" },\n \"LPGA\": { description: \"Ladies Professional Golf Association\" },\n \"LXC\": { description: \"Linux Containers\" },\n \"MDT\": { description: \"Mountain Daylight Time\" },\n \"MFA\": { description: \"Multi-Factor Authentication\" },\n \"ML\": { description: \"Machine Learning\" },\n \"MLB\": { description: \"Major League Baseball\" },\n \"MLOps\": { description: \"Machine Learning Operations\" },\n \"MPA\": { description: \"Multi-Page Application\" },\n \"MST\": { description: \"Mountain Standard Time\" },\n \"MVC\": { description: \"Model View Controller\" },\n \"MVP\": { description: \"Minimum Viable Product / Most Valuable Player\" },\n \"NAIA\": { description: \"National Association of Intercollegiate Athletics\" },\n \"NAS\": { description: \"Network Attached Storage\" },\n \"NASA\": { description: \"National Aeronautics and Space Administration\" },\n \"NASCAR\": { description: \"National Association for Stock Car Auto Racing\" },\n \"NAT\": { description: \"Network Address Translation\" },\n \"NBA\": { description: \"National Basketball Association\" },\n \"NCAA\": { description: \"National Collegiate Athletic Association\" },\n \"NDA\": { description: \"Non-Disclosure Agreement\" },\n \"NFS\": { description: \"Network File System\" },\n \"NHL\": { description: \"National Hockey League\" },\n \"NIST\": { description: \"National Institute of Standards and Technology\" },\n \"NLP\": { description: \"Natural Language Processing\" },\n \"NPS\": { description: \"Net Promoter Score\" },\n \"NRA\": { description: \"National Rifle Association\" },\n \"NSFW\": { description: \"Not Safe For Work\" },\n \"NX\": { description: \"Nx\", display: \"Nx\" },\n \"OCR\": { description: \"Optical Character Recognition\" },\n \"OEM\": { description: \"Original Equipment Manufacturer\" },\n \"OKR\": { description: \"Objectives and Key Results\" },\n \"OLAP\": { description: \"Online Analytical Processing\" },\n \"OLTP\": { description: \"Online Transaction Processing\" },\n \"OOP\": { description: \"Object Oriented Programming\" },\n \"ORM\": { description: \"Object Relational Mapping\" },\n \"OS\": { description: \"Operating System\" },\n \"OSINT\": { description: \"Open Source Intelligence\" },\n \"OSS\": { description: \"Open Source Software\" },\n \"OTP\": { description: \"One-Time Password\" },\n \"P2P\": { description: \"Peer to Peer\" },\n \"PAAS\": { description: \"Platform as a Service\", display: \"PaaS\" },\n \"PCI\": { description: \"Payment Card Industry\" },\n \"PDP\": { description: \"Policy Decision Point / Product Detail Page\" },\n \"PDT\": { description: \"Pacific Daylight Time\" },\n \"PGA\": { description: \"Professional Golfers' Association\" },\n \"POTUS\": { description: \"President of the United States\" },\n \"PP\": { description: \"Pages / PayPal / Percentage Points\" },\n \"PST\": { description: \"Pacific Standard Time\" },\n \"PTO\": { description: \"Paid Time Off / Power Take-Off\" },\n \"PKI\": { description: \"Public Key Infrastructure\" },\n \"PWA\": { description: \"Progressive Web App\" },\n \"PX\": { description: \"Pixel\" },\n \"QA\": { description: \"Quality Assurance\" },\n \"R2\": { description: \"R2\" },\n \"RAID\": { description: \"Redundant Array of Independent Disks\" },\n \"RAM\": { description: \"Random Access Memory\" },\n \"RDS\": { description: \"Relational Database Service\" },\n \"REST\": { description: \"Representational State Transfer\" },\n \"RHS\": { description: \"Right Hand Side\" },\n \"ROI\": { description: \"Return on Investment\" },\n \"RPC\": { description: \"Remote Procedure Call\" },\n \"RPA\": { description: \"Robotic Process Automation\" },\n \"RSC\": { description: \"React Server Components\" },\n \"RSS\": { description: \"Really Simple Syndication\" },\n \"RUM\": { description: \"Real User Monitoring\" },\n \"S3\": { description: \"Simple Storage Service (S3)\" },\n \"SAN\": { description: \"Storage Area Network\" },\n \"SASE\": { description: \"Secure Access Service Edge\" },\n \"SCOTUS\": { description: \"Supreme Court of the United States\" },\n \"SDLC\": { description: \"Software Development Life Cycle\" },\n \"SDK\": { description: \"Software Development Kit\" },\n \"SEC\": { description: \"Securities and Exchange Commission\" },\n \"SEO\": { description: \"Search Engine Optimization\" },\n \"SFTP\": {\n description: \"SSH File Transfer Protocol / Secure File Transfer Protocol\"\n },\n \"SIEM\": { description: \"Security Information and Event Management\" },\n \"SLA\": { description: \"Service Level Agreement\" },\n \"SMB\": { description: \"Server Message Block / Small and Medium Business\" },\n \"SMTP\": { description: \"Simple Mail Transfer Protocol\" },\n \"SOAP\": { description: \"Simple Object Access Protocol\" },\n \"SOA\": { description: \"Service Oriented Architecture\" },\n \"SOC\": { description: \"Security Operations Center / System on Chip\" },\n \"SPA\": { description: \"Single Page Application\" },\n \"SPDY\": { description: 'Speedy (pronounced \"SPeeDY\")' },\n \"SPF\": { description: \"Sender Policy Framework\" },\n \"SQL\": { description: \"Structured Query Language\" },\n \"SRV\": { description: \"Service\" },\n \"SRE\": { description: \"Site Reliability Engineering\" },\n \"SSH\": { description: \"Secure Shell\" },\n \"SSDL\": { description: \"Secure Software Development Lifecycle\" },\n \"SSG\": { description: \"Static Site Generation\" },\n \"SSR\": { description: \"Server Side Rendering\" },\n \"SSO\": { description: \"Single Sign-On\" },\n \"SSL\": { description: \"Secure Sockets Layer\" },\n \"TDD\": { description: \"Test Driven Development\" },\n \"TLD\": { description: \"Top Level Domain\" },\n \"TLS\": { description: \"Transport Layer Security\" },\n \"TLS1.3\": { description: \"Transport Layer Security 1.3\" },\n \"TOR\": { description: \"The Onion Router\" },\n \"TOTP\": { description: \"Time-based One-Time Password\" },\n \"TRPC\": { description: \"TypeScript Remote Procedure Call\" },\n \"TSA\": { description: \"Transportation Security Administration\" },\n \"TTL\": { description: \"Time To Live\" },\n \"UDP\": { description: \"User Datagram Protocol\" },\n \"UI\": { description: \"User Interface\" },\n \"UID\": { description: \"Unique Identifier\" },\n \"URI\": { description: \"Uniform Resource Identifier\" },\n \"URL\": { description: \"Uniform Resource Locator\" },\n \"USOPC\": { description: \"United States Olympic & Paralympic Committee\" },\n \"USPS\": { description: \"United States Postal Service\" },\n \"USTA\": { description: \"United States Tennis Association\" },\n \"UTF\": { description: \"Unicode Transformation Format\" },\n \"UTC\": { description: \"Coordinated Universal Time\" },\n \"UUID\": { description: \"Universally Unique Identifier\" },\n \"UX\": { description: \"User Experience\" },\n \"VM\": { description: \"Virtual Machine\" },\n \"VLAN\": { description: \"Virtual Local Area Network\" },\n \"VPN\": { description: \"Virtual Private Network\" },\n \"VPPA\": { description: \"Video Privacy Protection Act\" },\n \"VR\": { description: \"Virtual Reality\" },\n \"WAF\": { description: \"Web Application Firewall\" },\n \"WAN\": { description: \"Wide Area Network\" },\n \"WNBA\": { description: \"Women's National Basketball Association\" },\n \"WLAN\": { description: \"Wireless Local Area Network\" },\n \"WPA\": { description: \"Wi-Fi Protected Access\" },\n \"WPA2\": { description: \"Wi-Fi Protected Access II\" },\n \"WPA3\": { description: \"Wi-Fi Protected Access III\" },\n \"WWW\": { description: \"World Wide Web\" },\n \"WYSIWYG\": { description: \"What You See Is What You Get\" },\n \"XACML\": { description: \"eXtensible Access Control Markup Language\" },\n \"XDG\": { description: \"Cross-Desktop Group\" },\n \"XML\": { description: \"eXtensible Markup Language\" },\n \"XSRF\": { description: \"Cross-Site Request Forgery\" },\n \"XSS\": { description: \"Cross-Site Scripting\" },\n \"XR\": { description: \"Extended Reality\" },\n \"YAML\": { description: \"YAML Ain't Markup Language\" },\n \"YMCA\": { description: \"Young Men's Christian Association\" },\n \"YWCA\": { description: \"Young Women's Christian Association\" },\n \"ZTA\": { description: \"Zero Trust Architecture\" }\n} as const;\n\nexport const ACRONYM_DISPLAY: Record<string, string> = Object.fromEntries(\n Object.entries(ACRONYMS).map(([key, value]) => [key, value.display ?? key])\n);\n\nexport const ACRONYM_DESCRIPTION: Record<string, string> = Object.fromEntries(\n Object.entries(ACRONYMS).map(([key, value]) => [key, value.description])\n);\n\nexport const ACRONYM_LIST: string[] = Object.keys(ACRONYMS);\n"],"mappings":"AAwBA,MAAaA,EAGT,CACF,KAAM,CAAE,YAAa,kBAAmB,QAAS,KAAM,CACvD,KAAM,CAAE,YAAa,oBAAqB,QAAS,KAAM,CACzD,KAAM,CAAE,YAAa,mBAAoB,QAAS,KAAM,CACxD,KAAM,CAAE,YAAa,qCAAsC,CAC3D,KAAM,CAAE,YAAa,qCAAsC,CAC3D,KAAM,CAAE,YAAa,uCAAwC,CAC7D,KAAM,CAAE,YAAa,sCAAuC,CAC5D,KAAQ,CAAE,YAAa,gDAAiD,CACxE,KAAQ,CAAE,YAAa,mBAAoB,CAC3C,IAAO,CAAE,YAAa,+BAAgC,CACtD,GAAM,CAAE,YAAa,0BAA2B,CAChD,KAAQ,CAAE,YAAa,kCAAmC,CAC1D,IAAO,CAAE,YAAa,oCAAqC,CAC3D,GAAM,CAAE,YAAa,oBAAqB,CAC1C,MAAS,CACP,YAAa,qDACd,CACD,IAAO,CAAE,YAAa,sDAAuD,CAC7E,IAAO,CAAE,YAAa,2BAA4B,CAClD,IAAO,CAAE,YAAa,uBAAwB,CAC9C,IAAO,CAAE,YAAa,uBAAwB,CAC9C,MAAS,CACP,YAAa,sDACd,CACD,IAAO,CAAE,YAAa,uBAAwB,CAC9C,KAAQ,CAAE,YAAa,gCAAiC,CACxD,GAAM,CAAE,YAAa,wBAAyB,CAC9C,KAAQ,CAAE,YAAa,4BAA6B,CACpD,IAAO,CAAE,YAAa,0BAA2B,CACjD,IAAO,CAAE,YAAa,sCAAuC,CAC7D,KAAQ,CAAE,YAAa,cAAe,CACtC,KAAQ,CAAE,YAAa,wBAAyB,CAChD,IAAO,CAAE,YAAa,uBAAwB,CA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AgC,CAC1D,MAAS,CAAE,YAAa,4CAA6C,CACrE,IAAO,CAAE,YAAa,sBAAuB,CAC7C,IAAO,CAAE,YAAa,6BAA8B,CACpD,KAAQ,CAAE,YAAa,6BAA8B,CACrD,IAAO,CAAE,YAAa,uBAAwB,CAC9C,GAAM,CAAE,YAAa,mBAAoB,CACzC,KAAQ,CAAE,YAAa,6BAA8B,CACrD,KAAQ,CAAE,YAAa,oCAAqC,CAC5D,KAAQ,CAAE,YAAa,sCAAuC,CAC9D,IAAO,CAAE,YAAa,0BAA2B,CAClD,CAEsD,OAAO,YAC5D,OAAO,QAAQ,EAAS,CAAC,KAAK,CAAC,EAAK,KAAW,CAAC,EAAK,EAAM,SAAW,EAAI,CAAC,CAC5E,CAE0D,OAAO,YAChE,OAAO,QAAQ,EAAS,CAAC,KAAK,CAAC,EAAK,KAAW,CAAC,EAAK,EAAM,YAAY,CAAC,CACzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=[`a`,`an`,`the`];exports.ARTICLES=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"articles.mjs","names":[],"sources":["../../../../string-format/src/articles.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const ARTICLES = [\"a\", \"an\", \"the\"];\n"],"mappings":"AAkBA,MAAa,EAAW,CAAC,IAAK,KAAM,MAAM"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t){return`${e} ${t}`}exports.combine=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combine.mjs","names":[],"sources":["../../../../string-format/src/combine.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/**\n * Combine two strings with a space in between.\n *\n * @param acc - The accumulated string.\n * @param str - The string to add.\n * @returns The combined string.\n */\nexport function combine(acc: string, str: string): string {\n return `${acc} ${str}`;\n}\n"],"mappings":"AAyBA,SAAgB,EAAQ,EAAa,EAAqB,CACxD,MAAO,GAAG,EAAI,GAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=[`and`,`that`,`but`,`or`,`as`,`if`,`when`,`than`,`because`,`while`,`where`,`after`,`so`,`though`,`since`,`until`,`whether`,`before`,`although`,`nor`,`like`,`once`,`unless`,`now`,`except`];exports.CONJUNCTIONS=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conjunctions.mjs","names":[],"sources":["../../../../string-format/src/conjunctions.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const CONJUNCTIONS = [\n \"and\",\n \"that\",\n \"but\",\n \"or\",\n \"as\",\n \"if\",\n \"when\",\n \"than\",\n \"because\",\n \"while\",\n \"where\",\n \"after\",\n \"so\",\n \"though\",\n \"since\",\n \"until\",\n \"whether\",\n \"before\",\n \"although\",\n \"nor\",\n \"like\",\n \"once\",\n \"unless\",\n \"now\",\n \"except\"\n];\n"],"mappings":"AAkBA,MAAa,EAAe,CAC1B,MACA,OACA,MACA,KACA,KACA,KACA,OACA,OACA,UACA,QACA,QACA,QACA,KACA,SACA,QACA,QACA,UACA,SACA,WACA,MACA,OACA,OACA,SACA,MACA,SACD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e){return e.replace(/([a-z\d])([A-Z])/g,`$1_$2`).replace(/([A-Z]+)([A-Z][a-z\d]+)/g,`$1_$2`).toLowerCase()}exports.decamelize=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decamelize.mjs","names":[],"sources":["../../../../string-format/src/decamelize.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/**\n * Convert a camelCase or PascalCase string to a snake_case string.\n *\n * @param value - The camelCase or PascalCase string to convert.\n * @returns The converted snake_case string.\n */\nexport function decamelize(value: string): string {\n return value\n .replace(/([a-z\\d])([A-Z])/g, \"$1_$2\")\n .replace(/([A-Z]+)([A-Z][a-z\\d]+)/g, \"$1_$2\")\n .toLowerCase();\n}\n"],"mappings":"AAwBA,SAAgB,EAAW,EAAuB,CAChD,OAAO,EACJ,QAAQ,oBAAqB,QAAQ,CACrC,QAAQ,2BAA4B,QAAQ,CAC5C,aAAa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./acronyms.cjs`),t=require(`./articles.cjs`),n=require(`./conjunctions.cjs`),r=require(`./prepositions.cjs`),i=require(`./special-cases.cjs`);function a(a,o,s,c){let l=a.toLowerCase(),u=a.toUpperCase();for(let e of i.SPECIAL_CASES)if(e.toLowerCase()===l)return e;return e.ACRONYMS[u]?c?.useDescriptions===!1?e.ACRONYMS[u].display||u:e.ACRONYMS[u].description:o===0||o===s.length-1||a.length>=4?a:r.PREPOSITIONS.includes(l)||n.CONJUNCTIONS.includes(l)||t.ARTICLES.includes(l)?l:a}exports.formatSpecialCases=a;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ACRONYMS as e}from"./acronyms.mjs";import{ARTICLES as t}from"./articles.mjs";import{CONJUNCTIONS as n}from"./conjunctions.mjs";import{PREPOSITIONS as r}from"./prepositions.mjs";import{SPECIAL_CASES as i}from"./special-cases.mjs";function a(a,o,s,c){let l=a.toLowerCase(),u=a.toUpperCase();for(let e of i)if(e.toLowerCase()===l)return e;return e[u]?c?.useDescriptions===!1?e[u].display||u:e[u].description:o===0||o===s.length-1||a.length>=4?a:r.includes(l)||n.includes(l)||t.includes(l)?l:a}export{a as formatSpecialCases};
|
|
2
|
+
//# sourceMappingURL=format-special-cases.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format-special-cases.mjs","names":[],"sources":["../../../../string-format/src/format-special-cases.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { ACRONYMS } from \"./acronyms\";\nimport { ARTICLES } from \"./articles\";\nimport { CONJUNCTIONS } from \"./conjunctions\";\nimport { PREPOSITIONS } from \"./prepositions\";\nimport { SPECIAL_CASES } from \"./special-cases\";\n\nexport interface FormatSpecialCasesOptions {\n /**\n * If true, use the descriptions from the acronym list instead of the display names.\n *\n * @defaultValue true\n */\n useDescriptions?: boolean;\n}\n\n/**\n * Handle special words in a title.\n *\n * @see https://apastyle.apa.org/style-grammar-guidelines/capitalization/title-case\n *\n * @param value - The word to handle\n * @param index - The index of the word in the title\n * @param words - The full title as an array of words\n * @returns The formatted word\n */\nexport function formatSpecialCases(\n value: string,\n index: number,\n words: string[],\n options?: FormatSpecialCasesOptions\n): string {\n const lowercaseStr = value.toLowerCase();\n const uppercaseStr = value.toUpperCase();\n\n for (const special of SPECIAL_CASES) {\n if (special.toLowerCase() === lowercaseStr) {\n return special;\n }\n }\n\n if (ACRONYMS[uppercaseStr]) {\n return options?.useDescriptions !== false\n ? ACRONYMS[uppercaseStr].description\n : ACRONYMS[uppercaseStr].display || uppercaseStr;\n }\n\n // If the word is the first word in the sentence, but it's not a specially\n // cased word or an acronym, return the capitalized string\n if (index === 0) {\n return value;\n }\n\n // If the word is the last word in the sentence, but it's not a specially\n // cased word or an acronym, return the capitalized string\n if (index === words.length - 1) {\n return value;\n }\n\n // Return the word capitalized if it's 4 characters or more\n if (value.length >= 4) {\n return value;\n }\n\n if (PREPOSITIONS.includes(lowercaseStr)) {\n return lowercaseStr;\n }\n if (CONJUNCTIONS.includes(lowercaseStr)) {\n return lowercaseStr;\n }\n if (ARTICLES.includes(lowercaseStr)) {\n return lowercaseStr;\n }\n\n return value;\n}\n"],"mappings":"4OA2CA,SAAgB,EACd,EACA,EACA,EACA,EACQ,CACR,IAAM,EAAe,EAAM,aAAa,CAClC,EAAe,EAAM,aAAa,CAExC,IAAK,IAAM,KAAW,EACpB,GAAI,EAAQ,aAAa,GAAK,EAC5B,OAAO,EAqCX,OAjCI,EAAS,GACJ,GAAS,kBAAoB,GAEhC,EAAS,GAAc,SAAW,EADlC,EAAS,GAAc,YAMzB,IAAU,GAMV,IAAU,EAAM,OAAS,GAKzB,EAAM,QAAU,EACX,EAGL,EAAa,SAAS,EAAa,EAGnC,EAAa,SAAS,EAAa,EAGnC,EAAS,SAAS,EAAa,CAC1B,EAGF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=`about.above.across.after.against.along.among.around.at.because of.before.behind.below.beneath.beside.besides.between.beyond.but.by.concerning.despite.down.during.except.excepting.for.from.in.in front of.inside.in spite of.instead of.into.like.near.of.off.on.onto.out.outside.over.past.regarding.since.through.throughout.to.toward.under.underneath.until.up.upon.up to.with.within.without.with regard to.with respect to`.split(`.`);exports.PREPOSITIONS=e;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=`about.above.across.after.against.along.among.around.at.because of.before.behind.below.beneath.beside.besides.between.beyond.but.by.concerning.despite.down.during.except.excepting.for.from.in.in front of.inside.in spite of.instead of.into.like.near.of.off.on.onto.out.outside.over.past.regarding.since.through.throughout.to.toward.under.underneath.until.up.upon.up to.with.within.without.with regard to.with respect to`.split(`.`);export{e as PREPOSITIONS};
|
|
2
|
+
//# sourceMappingURL=prepositions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prepositions.mjs","names":[],"sources":["../../../../string-format/src/prepositions.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const PREPOSITIONS = [\n \"about\",\n \"above\",\n \"across\",\n \"after\",\n \"against\",\n \"along\",\n \"among\",\n \"around\",\n \"at\",\n \"because of\",\n \"before\",\n \"behind\",\n \"below\",\n \"beneath\",\n \"beside\",\n \"besides\",\n \"between\",\n \"beyond\",\n \"but\",\n \"by\",\n \"concerning\",\n \"despite\",\n \"down\",\n \"during\",\n \"except\",\n \"excepting\",\n \"for\",\n \"from\",\n \"in\",\n \"in front of\",\n \"inside\",\n \"in spite of\",\n \"instead of\",\n \"into\",\n \"like\",\n \"near\",\n \"of\",\n \"off\",\n \"on\",\n \"onto\",\n \"out\",\n \"outside\",\n \"over\",\n \"past\",\n \"regarding\",\n \"since\",\n \"through\",\n \"throughout\",\n \"to\",\n \"toward\",\n \"under\",\n \"underneath\",\n \"until\",\n \"up\",\n \"upon\",\n \"up to\",\n \"with\",\n \"within\",\n \"without\",\n \"with regard to\",\n \"with respect to\"\n];\n"],"mappings":"AAkBA,MAAa,EAAe,8aA8D3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=`2FA.4K.5K.8K.AGI.BI.ChatGPT.CTA.DateTime.FMS.GitHub.GPT.HD.IBMid.IDs.iMac.IMAX.iOS.iPad.iPhone.iPod.LDAP.LinkedIn.LLM.macOS.McDonalds.MCP.ML.MySQL.NLG.NLP.NLU.OpenAI.PDFs.PIM.PEFT.pH.PostgreSQL.SEO.TTS.UHD.UUID.XSS.YouTube.CSpell.ESLint`.split(`.`);exports.SPECIAL_CASES=e;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=`2FA.4K.5K.8K.AGI.BI.ChatGPT.CTA.DateTime.FMS.GitHub.GPT.HD.IBMid.IDs.iMac.IMAX.iOS.iPad.iPhone.iPod.LDAP.LinkedIn.LLM.macOS.McDonalds.MCP.ML.MySQL.NLG.NLP.NLU.OpenAI.PDFs.PIM.PEFT.pH.PostgreSQL.SEO.TTS.UHD.UUID.XSS.YouTube.CSpell.ESLint`.split(`.`);export{e as SPECIAL_CASES};
|
|
2
|
+
//# sourceMappingURL=special-cases.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"special-cases.mjs","names":[],"sources":["../../../../string-format/src/special-cases.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const SPECIAL_CASES = [\n \"2FA\",\n \"4K\",\n \"5K\",\n \"8K\",\n \"AGI\",\n \"BI\",\n \"ChatGPT\",\n \"CTA\",\n \"DateTime\",\n \"FMS\",\n \"GitHub\",\n \"GPT\",\n \"HD\",\n \"IBMid\",\n \"IDs\",\n \"iMac\",\n \"IMAX\",\n \"iOS\",\n \"iPad\",\n \"iPhone\",\n \"iPod\",\n \"LDAP\",\n \"LinkedIn\",\n \"LLM\",\n \"macOS\",\n \"McDonalds\",\n \"MCP\",\n \"ML\",\n \"MySQL\",\n \"NLG\",\n \"NLP\",\n \"NLU\",\n \"OpenAI\",\n \"PDFs\",\n \"PIM\",\n \"PEFT\",\n \"pH\",\n \"PostgreSQL\",\n \"SEO\",\n \"TTS\",\n \"UHD\",\n \"UUID\",\n \"XSS\",\n \"YouTube\",\n \"CSpell\",\n \"ESLint\"\n];\n"],"mappings":"AAkBA,MAAa,EAAgB,yPA+C5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./combine.cjs`),t=require(`./decamelize.cjs`),n=require(`./format-special-cases.cjs`),r=require(`./upper-case-first.cjs`);function i(i,a){return i?.split(/\s+-\s+/).map(i=>t.decamelize(i).split(/[\s\-_]/).map(r.upperCaseFirst).map((e,t,r)=>n.formatSpecialCases(e,t,r,a)).reduce(e.combine)).join(` - `)}exports.titleCase=i;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{combine as e}from"./combine.mjs";import{decamelize as t}from"./decamelize.mjs";import{formatSpecialCases as n}from"./format-special-cases.mjs";import{upperCaseFirst as r}from"./upper-case-first.mjs";function i(i,a){return i?.split(/\s+-\s+/).map(i=>t(i).split(/[\s\-_]/).map(r).map((e,t,r)=>n(e,t,r,a)).reduce(e)).join(` - `)}export{i as titleCase};
|
|
2
|
+
//# sourceMappingURL=title-case.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"title-case.mjs","names":[],"sources":["../../../../string-format/src/title-case.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { combine } from \"./combine\";\nimport { decamelize } from \"./decamelize\";\nimport type { FormatSpecialCasesOptions } from \"./format-special-cases\";\nimport { formatSpecialCases } from \"./format-special-cases\";\nimport { upperCaseFirst } from \"./upper-case-first\";\n\n/**\n * Convert a string to title case.\n *\n * @param input - The input string to convert.\n * @param options - Options for formatting special cases.\n * @returns The title cased string.\n */\nexport function titleCase<T extends string | undefined>(\n input: T,\n options?: FormatSpecialCasesOptions\n): T {\n return input\n ?.split(/\\s+-\\s+/)\n .map(segment =>\n decamelize(segment)\n .split(/[\\s\\-_]/)\n .map(upperCaseFirst)\n .map((value: string, index: number, array: string[]) =>\n formatSpecialCases(value, index, array, options)\n )\n .reduce(combine)\n )\n .join(\" - \") as T;\n}\n"],"mappings":"8MA+BA,SAAgB,EACd,EACA,EACG,CACH,OAAO,GACH,MAAM,UAAU,CACjB,IAAI,GACH,EAAW,EAAQ,CAChB,MAAM,UAAU,CAChB,IAAI,EAAe,CACnB,KAAK,EAAe,EAAe,IAClC,EAAmB,EAAO,EAAO,EAAO,EAAQ,CACjD,CACA,OAAO,EAAQ,CACnB,CACA,KAAK,MAAM"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e){return e&&e.charAt(0).toUpperCase()+e.slice(1)}exports.upperCaseFirst=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upper-case-first.mjs","names":[],"sources":["../../../../string-format/src/upper-case-first.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/**\n * Upper case the first character of an input string.\n *\n * @remarks\n * \"Thisisanexample\"\n *\n * @param input - The input string.\n * @returns The capitalized string.\n */\nexport function upperCaseFirst<T extends string | undefined>(input?: T): T {\n return (input ? input.charAt(0).toUpperCase() + input.slice(1) : input) as T;\n}\n"],"mappings":"AA2BA,SAAgB,EAA6C,EAAc,CACzE,OAAQ,GAAQ,EAAM,OAAO,EAAE,CAAC,aAAa,CAAG,EAAM,MAAM,EAAE"}
|
package/dist/types.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=
|
|
1
|
+
const e=[`VITE_`,`ONE_`,`STORM_`,`STORM_STACK_`,`NEXT_`,`VERCEL_`];exports.ENV_PREFIXES=e;
|
package/dist/types.d.cts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/types.d.ts
|
|
2
|
+
declare const ENV_PREFIXES: string[];
|
|
3
|
+
interface DotenvParseOutput {
|
|
4
|
+
[name: string]: string | undefined;
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { DotenvParseOutput, ENV_PREFIXES };
|
|
8
|
+
//# sourceMappingURL=types.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":[],"sources":["../src/types.ts"],"sourcesContent":[],"mappings":";cAkBa;AAAA,UASI,iBAAA,CAFhB;EAEgB,CAAA,IAAA,EAAA,MAAA,CAAA,EAAA,MAAiB,GAAA,SAAA"}
|
package/dist/types.d.mts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
//#region src/types.d.ts
|
|
2
|
+
declare const ENV_PREFIXES: string[];
|
|
3
|
+
interface DotenvParseOutput {
|
|
4
|
+
[name: string]: string | undefined;
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { DotenvParseOutput, ENV_PREFIXES };
|
|
8
|
+
//# sourceMappingURL=types.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.mts","names":[],"sources":["../src/types.ts"],"sourcesContent":[],"mappings":";cAkBa;AAAA,UASI,iBAAA,CAFhB;EAEgB,CAAA,IAAA,EAAA,MAAA,CAAA,EAAA,MAAiB,GAAA,SAAA"}
|
package/dist/types.mjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
const e=[`VITE_`,`ONE_`,`STORM_`,`STORM_STACK_`,`NEXT_`,`VERCEL_`];export{e as ENV_PREFIXES};
|
|
2
|
+
//# sourceMappingURL=types.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.mjs","names":[],"sources":["../src/types.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport const ENV_PREFIXES = [\n \"VITE_\",\n \"ONE_\",\n \"STORM_\",\n \"STORM_STACK_\",\n \"NEXT_\",\n \"VERCEL_\"\n];\n\nexport interface DotenvParseOutput {\n [name: string]: string | undefined;\n}\n"],"mappings":"AAkBA,MAAa,EAAe,CAC1B,QACA,OACA,SACA,eACA,QACA,UACD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stryke/env",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.39",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing utility functions to handle environment specific processes",
|
|
6
6
|
"repository": {
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
"types": "./dist/index.d.cts",
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@dotenvx/dotenvx": "1.35.0",
|
|
46
|
-
"@stryke/convert": "^0.6.
|
|
47
|
-
"@stryke/fs": "^0.33.
|
|
48
|
-
"@stryke/path": "^0.22.
|
|
49
|
-
"@stryke/string-format": "^0.12.
|
|
46
|
+
"@stryke/convert": "^0.6.26",
|
|
47
|
+
"@stryke/fs": "^0.33.22",
|
|
48
|
+
"@stryke/path": "^0.22.13",
|
|
49
|
+
"@stryke/string-format": "^0.12.26",
|
|
50
50
|
"defu": "^6.1.4"
|
|
51
51
|
},
|
|
52
|
-
"devDependencies": { "@types/node": "^24.10.
|
|
52
|
+
"devDependencies": { "@types/node": "^24.10.4", "tsdown": "^0.17.2" },
|
|
53
53
|
"publishConfig": { "access": "public" },
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "afcd140cfb0555b3dacd5ece701909f66c174068"
|
|
55
55
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=(e=process.env)=>!!(e.STORM_CI||e.CI||e.CONTINUOUS_INTEGRATION||e.BUILD_NUMBER||e.RUN_ID||e.AGOLA_GIT_REF||e.AC_APPCIRCLE||e.APPVEYOR||e.CODEBUILD||e.TF_BUILD||e.bamboo_planKey||e.BITBUCKET_COMMIT||e.BITRISE_IO||e.BUDDY_WORKSPACE_ID||e.BUILDKITE||e.CIRCLECI||e.CIRRUS_CI||e.CF_BUILD_ID||e.CM_BUILD_ID||e.CI_NAME||e.DRONE||e.DSARI||e.EARTHLY_CI||e.EAS_BUILD||e.GERRIT_PROJECT||e.GITEA_ACTIONS||e.GITHUB_ACTIONS||e.GITLAB_CI||e.GOCD||e.BUILDER_OUTPUT||e.HARNESS_BUILD_ID||e.JENKINS_URL||e.BUILD_ID||e.LAYERCI||e.MAGNUM||e.NETLIFY||e.NEVERCODE||e.PROW_JOB_ID||e.RELEASE_BUILD_ID||e.RENDER||e.SAILCI||e.HUDSON||e.JENKINS_URL||e.BUILD_ID||e.SCREWDRIVER||e.SEMAPHORE||e.SOURCEHUT||e.STRIDER||e.TASK_ID||e.RUN_ID||e.TEAMCITY_VERSION||e.TRAVIS||e.VELA||e.NOW_BUILDER||e.APPCENTER_BUILD_ID||e.CI_XCODE_PROJECT||e.XCS),t=(e=process.stdin)=>!!(e?.isTTY&&process.env.TERM!==`dumb`);export{t as n,e as t};
|
|
2
|
-
//# sourceMappingURL=ci-checks-5v7fZL3R.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ci-checks-5v7fZL3R.mjs","names":[],"sources":["../src/ci-checks.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/**\n * Returns true if the current environment is a CI environment.\n *\n * @returns True if the current environment is a CI environment.\n */\nexport const isCI = (\n env: Record<string, string | undefined> = process.env\n): boolean => {\n // From https://github.com/watson/ci-info/blob/44e98cebcdf4403f162195fbcf90b1f69fc6e047/index.js#L54-L61\n // Evaluating at runtime makes it possible to change the values in our tests\n // This list is probably not exhaustive though `process.env.CI` should be enough\n // but since we were using this utility in the past, we want to keep the same behavior\n return Boolean(\n env.STORM_CI || // Custom CI\n env.CI || // Travis CI, CircleCI, Cirrus CI, GitLab CI, Appveyor, CodeShip, dsari\n env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI\n env.BUILD_NUMBER || // Jenkins, TeamCity\n env.RUN_ID || // TaskCluster, dsari\n // From `env` from v4.0.0 https://github.com/watson/ci-info/blob/3e1488e98680f1f776785fe8708a157b7f00e568/vendors.json\n env.AGOLA_GIT_REF ||\n env.AC_APPCIRCLE ||\n env.APPVEYOR ||\n env.CODEBUILD ||\n env.TF_BUILD ||\n env.bamboo_planKey ||\n env.BITBUCKET_COMMIT ||\n env.BITRISE_IO ||\n env.BUDDY_WORKSPACE_ID ||\n env.BUILDKITE ||\n env.CIRCLECI ||\n env.CIRRUS_CI ||\n env.CF_BUILD_ID ||\n env.CM_BUILD_ID ||\n env.CI_NAME ||\n env.DRONE ||\n env.DSARI ||\n env.EARTHLY_CI ||\n env.EAS_BUILD ||\n env.GERRIT_PROJECT ||\n env.GITEA_ACTIONS ||\n env.GITHUB_ACTIONS ||\n env.GITLAB_CI ||\n env.GOCD ||\n env.BUILDER_OUTPUT ||\n env.HARNESS_BUILD_ID ||\n env.JENKINS_URL ||\n env.BUILD_ID ||\n env.LAYERCI ||\n env.MAGNUM ||\n env.NETLIFY ||\n env.NEVERCODE ||\n env.PROW_JOB_ID ||\n env.RELEASE_BUILD_ID ||\n env.RENDER ||\n env.SAILCI ||\n env.HUDSON ||\n env.JENKINS_URL ||\n env.BUILD_ID ||\n env.SCREWDRIVER ||\n env.SEMAPHORE ||\n env.SOURCEHUT ||\n env.STRIDER ||\n env.TASK_ID ||\n env.RUN_ID ||\n env.TEAMCITY_VERSION ||\n env.TRAVIS ||\n env.VELA ||\n env.NOW_BUILDER ||\n // See https://github.com/prisma/prisma/issues/22380 for why we commented it out\n // Users deploying on Vercel might have this env var set in the local dev env\n // env.VERCEL ||\n env.APPCENTER_BUILD_ID ||\n env.CI_XCODE_PROJECT ||\n env.XCS ||\n false\n );\n};\n\n// Same logic as https://github.com/sindresorhus/is-interactive/blob/dc8037ae1a61d828cfb42761c345404055b1e036/index.js\n// But defaults to check `stdin` for our prompts\n// It checks that the stream is TTY, not a dumb terminal\n\n/**\n * Check if the current process is interactive\n *\n * @param stream - The stream to check\n * @returns True if the current process is interactive\n */\nexport const isInteractive = (stream = process.stdin): boolean => {\n return Boolean(stream?.isTTY && process.env.TERM !== \"dumb\");\n};\n"],"mappings":"AAuBA,MAAa,GACX,EAA0C,QAAQ,MAM3C,GACL,EAAI,UACJ,EAAI,IACJ,EAAI,wBACJ,EAAI,cACJ,EAAI,QAEJ,EAAI,eACJ,EAAI,cACJ,EAAI,UACJ,EAAI,WACJ,EAAI,UACJ,EAAI,gBACJ,EAAI,kBACJ,EAAI,YACJ,EAAI,oBACJ,EAAI,WACJ,EAAI,UACJ,EAAI,WACJ,EAAI,aACJ,EAAI,aACJ,EAAI,SACJ,EAAI,OACJ,EAAI,OACJ,EAAI,YACJ,EAAI,WACJ,EAAI,gBACJ,EAAI,eACJ,EAAI,gBACJ,EAAI,WACJ,EAAI,MACJ,EAAI,gBACJ,EAAI,kBACJ,EAAI,aACJ,EAAI,UACJ,EAAI,SACJ,EAAI,QACJ,EAAI,SACJ,EAAI,WACJ,EAAI,aACJ,EAAI,kBACJ,EAAI,QACJ,EAAI,QACJ,EAAI,QACJ,EAAI,aACJ,EAAI,UACJ,EAAI,aACJ,EAAI,WACJ,EAAI,WACJ,EAAI,SACJ,EAAI,SACJ,EAAI,QACJ,EAAI,kBACJ,EAAI,QACJ,EAAI,MACJ,EAAI,aAIJ,EAAI,oBACJ,EAAI,kBACJ,EAAI,KAeK,GAAiB,EAAS,QAAQ,QACtC,GAAQ,GAAQ,OAAS,QAAQ,IAAI,OAAS"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
//#region src/ci-checks.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Returns true if the current environment is a CI environment.
|
|
4
|
-
*
|
|
5
|
-
* @returns True if the current environment is a CI environment.
|
|
6
|
-
*/
|
|
7
|
-
declare const isCI: (env?: Record<string, string | undefined>) => boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Check if the current process is interactive
|
|
10
|
-
*
|
|
11
|
-
* @param stream - The stream to check
|
|
12
|
-
* @returns True if the current process is interactive
|
|
13
|
-
*/
|
|
14
|
-
declare const isInteractive: (stream?: NodeJS.ReadStream & {
|
|
15
|
-
fd: 0;
|
|
16
|
-
}) => boolean;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { isInteractive as n, isCI as t };
|
|
19
|
-
//# sourceMappingURL=ci-checks-BFAxtIMg.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ci-checks-BFAxtIMg.d.mts","names":[],"sources":["../src/ci-checks.ts"],"sourcesContent":[],"mappings":";;AAuBA;AAmFA;;;cAnFa,aACN;;;;;;;cAkFM,yBAAiB,MAAA,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
//#region src/ci-checks.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* Returns true if the current environment is a CI environment.
|
|
4
|
-
*
|
|
5
|
-
* @returns True if the current environment is a CI environment.
|
|
6
|
-
*/
|
|
7
|
-
declare const isCI: (env?: Record<string, string | undefined>) => boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Check if the current process is interactive
|
|
10
|
-
*
|
|
11
|
-
* @param stream - The stream to check
|
|
12
|
-
* @returns True if the current process is interactive
|
|
13
|
-
*/
|
|
14
|
-
declare const isInteractive: (stream?: NodeJS.ReadStream & {
|
|
15
|
-
fd: 0;
|
|
16
|
-
}) => boolean;
|
|
17
|
-
//#endregion
|
|
18
|
-
export { isInteractive as n, isCI as t };
|
|
19
|
-
//# sourceMappingURL=ci-checks-ByUPPNOk.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ci-checks-ByUPPNOk.d.cts","names":[],"sources":["../src/ci-checks.ts"],"sourcesContent":[],"mappings":";;AAuBA;AAmFA;;;cAnFa,aACN;;;;;;;cAkFM,yBAAiB,MAAA,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=(e=process.env)=>!!(e.STORM_CI||e.CI||e.CONTINUOUS_INTEGRATION||e.BUILD_NUMBER||e.RUN_ID||e.AGOLA_GIT_REF||e.AC_APPCIRCLE||e.APPVEYOR||e.CODEBUILD||e.TF_BUILD||e.bamboo_planKey||e.BITBUCKET_COMMIT||e.BITRISE_IO||e.BUDDY_WORKSPACE_ID||e.BUILDKITE||e.CIRCLECI||e.CIRRUS_CI||e.CF_BUILD_ID||e.CM_BUILD_ID||e.CI_NAME||e.DRONE||e.DSARI||e.EARTHLY_CI||e.EAS_BUILD||e.GERRIT_PROJECT||e.GITEA_ACTIONS||e.GITHUB_ACTIONS||e.GITLAB_CI||e.GOCD||e.BUILDER_OUTPUT||e.HARNESS_BUILD_ID||e.JENKINS_URL||e.BUILD_ID||e.LAYERCI||e.MAGNUM||e.NETLIFY||e.NEVERCODE||e.PROW_JOB_ID||e.RELEASE_BUILD_ID||e.RENDER||e.SAILCI||e.HUDSON||e.JENKINS_URL||e.BUILD_ID||e.SCREWDRIVER||e.SEMAPHORE||e.SOURCEHUT||e.STRIDER||e.TASK_ID||e.RUN_ID||e.TEAMCITY_VERSION||e.TRAVIS||e.VELA||e.NOW_BUILDER||e.APPCENTER_BUILD_ID||e.CI_XCODE_PROJECT||e.XCS),t=(e=process.stdin)=>!!(e?.isTTY&&process.env.TERM!==`dumb`);Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return e}});
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
//#region src/environment-checks.d.ts
|
|
2
|
-
/** Value of process.platform */
|
|
3
|
-
declare const platform: NodeJS.Platform;
|
|
4
|
-
/** Detect if stdout.TTY is available */
|
|
5
|
-
declare const hasTTY: boolean;
|
|
6
|
-
/** Detect if `DEBUG` environment variable is set */
|
|
7
|
-
declare const isDebug: boolean;
|
|
8
|
-
/** Detect if the application is running in a staging environment */
|
|
9
|
-
declare const isStaging: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Check if the current environment is production.
|
|
12
|
-
*
|
|
13
|
-
* @param mode - The mode string to check.
|
|
14
|
-
* @returns Whether the environment is production
|
|
15
|
-
*/
|
|
16
|
-
declare function isProductionMode(mode: string): boolean;
|
|
17
|
-
/** Detect if `NODE_ENV` environment variable is `production` */
|
|
18
|
-
declare const isProduction: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Check if the current environment is test.
|
|
21
|
-
*
|
|
22
|
-
* @param mode - The mode string to check.
|
|
23
|
-
* @returns Whether the environment is test
|
|
24
|
-
*/
|
|
25
|
-
declare function isTestMode(mode: string): boolean;
|
|
26
|
-
/** Detect if `NODE_ENV` environment variable is `test` */
|
|
27
|
-
declare const isTest: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Check if the current environment is development.
|
|
30
|
-
*
|
|
31
|
-
* @param mode - The mode string to check.
|
|
32
|
-
* @returns Whether the environment is development
|
|
33
|
-
*/
|
|
34
|
-
declare function isDevelopmentMode(mode: string): boolean;
|
|
35
|
-
/** Detect if `NODE_ENV` environment variable is `dev` or `development` */
|
|
36
|
-
declare const isDevelopment: boolean;
|
|
37
|
-
/** Detect if MINIMAL environment variable is set, running in CI or test or TTY is unavailable */
|
|
38
|
-
declare const isMinimal: boolean;
|
|
39
|
-
/** Detect if process.platform is Windows */
|
|
40
|
-
declare const isWindows: boolean;
|
|
41
|
-
/** Detect if process.platform is Linux */
|
|
42
|
-
declare const isLinux: boolean;
|
|
43
|
-
/** Detect if process.platform is macOS (darwin kernel) */
|
|
44
|
-
declare const isMacOS: boolean;
|
|
45
|
-
/** Color Support */
|
|
46
|
-
declare const isColorSupported: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Check if the current environment supports hyperlinks in the terminal.
|
|
49
|
-
*
|
|
50
|
-
* @param stream - The stream to check for TTY support (default: process.stdout)
|
|
51
|
-
* @returns Whether hyperlinks are supported
|
|
52
|
-
*/
|
|
53
|
-
declare function isHyperlinkSupported(stream?: NodeJS.WriteStream): boolean;
|
|
54
|
-
/** Node.js versions */
|
|
55
|
-
declare const nodeVersion: string | null;
|
|
56
|
-
declare const nodeMajorVersion: number | null;
|
|
57
|
-
//#endregion
|
|
58
|
-
export { nodeVersion as _, isDevelopmentMode as a, isMacOS as c, isProductionMode as d, isStaging as f, nodeMajorVersion as g, isWindows as h, isDevelopment as i, isMinimal as l, isTestMode as m, isColorSupported as n, isHyperlinkSupported as o, isTest as p, isDebug as r, isLinux as s, hasTTY as t, isProduction as u, platform as v };
|
|
59
|
-
//# sourceMappingURL=environment-checks-BvXEMk0w.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"environment-checks-BvXEMk0w.d.mts","names":[],"sources":["../src/environment-checks.ts"],"sourcesContent":[],"mappings":";;AAqBa,cAAA,QAAQ,EAAA,MAAA,CAAA,QAA0B;AAG/C;AAGa,cAHA,MAGoC,EAAA,OAAA;AAUjD;AAUgB,cApBH,OAoBmB,EAAA,OAAA;AAchC;AAQgB,cAhCH,SAgCa,EAAA,OAAA;AAe1B;AASA;AAOA;AAGA;AAIA;AAGA;AAGa,iBAlEG,gBAAA,CAkEgC,IAAA,EAAA,MAAA,CAAA,EAAA,OAAA;AAGhD;AAkCgB,cAzFH,YAyFuB,EAAA,OAC1B;AA8EV;AAGA;;;;;iBAnKgB,UAAA;;cAeH;;;;;;;iBASG,iBAAA;;cAOH;;cAGA;;cAIA;;cAGA;;cAGA;;cAGA;;;;;;;iBAkCG,oBAAA,UACN,MAAA,CAAO;;cA8EJ;cAGA"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./ci-checks-5v7fZL3R.mjs";const t=process?.platform||``,n=!!(process?.stdout&&process?.stdout.isTTY),r=!!process.env.DEBUG,i=process.env.STORM_MODE||process.env.NEXT_PUBLIC_VERCEL_ENV||process.env.NODE_ENV||`production`,a=[`stg`,`stage`,`staging`].includes(i?.toLowerCase());function o(e){return[`prd`,`prod`,`production`,`preprod`,`preproduction`,`uat`].includes(e?.toLowerCase()?.replace(/[\s\-_]/g,``))}const s=o(i);function c(e){return[`tst`,`test`,`testing`,`stg`,`stage`,`staging`,`qa`,`qualityassurance`].includes(e?.toLowerCase()?.replace(/[\s\-_]/g,``))}const l=c(i)||a||!!process.env.TEST;function u(e){return[`dev`,`development`,`int`,`integration`].includes(e?.toLowerCase()?.replace(/[\s\-_]/g,``))}const d=u(i)||r,f=!!process.env.MINIMAL||e()||l||!n,p=/^win/i.test(t),m=/^linux/i.test(t),h=/^darwin/i.test(t),g=!process.env.NO_COLOR&&(!!process.env.FORCE_COLOR||(n||p)&&process.env.TERM!==`dumb`||e());function _(e=``){if(/^\d{3,4}$/.test(e)){let t=/(\d{1,2})(\d{2})/.exec(e)??[];return{major:0,minor:Number.parseInt(t[1],10),patch:Number.parseInt(t[2],10)}}let t=(e??``).split(`.`).map(e=>Number.parseInt(e,10));return{major:t[0],minor:t[1],patch:t[2]}}function v(t=process.stdout){if(process.env.FORCE_HYPERLINK)return!(process.env.FORCE_HYPERLINK.length>0&&Number.parseInt(process.env.FORCE_HYPERLINK,10)===0);if(process.env.NETLIFY)return!0;if(g){if(t&&!t.isTTY)return!1;if(`WT_SESSION`in process.env)return!0;if(process.platform===`win32`||e()||process.env.TEAMCITY_VERSION)return!1;if(process.env.TERM_PROGRAM){let e=_(process.env.TERM_PROGRAM_VERSION);switch(process.env.TERM_PROGRAM){case`iTerm.app`:return e.major===3?e.minor!==void 0&&e.minor>=1:e.major!==void 0&&e.major>3;case`WezTerm`:return e.major!==void 0&&e.major>=20200620;case`vscode`:return process.env.CURSOR_TRACE_ID?!0:e.minor!==void 0&&e.major!==void 0&&(e.major>1||e.major===1&&e.minor>=72);case`ghostty`:return!0}}}else return!1;if(process.env.VTE_VERSION){if(process.env.VTE_VERSION===`0.50.0`)return!1;let e=_(process.env.VTE_VERSION);return e.major!==void 0&&e.major>0||e.minor!==void 0&&e.minor>=50}return process.env.TERM===`alacritty`}const y=(process?.versions?.node||``).replace(/^v/,``)||null,b=Number(y?.split(`.`)[0])||null;export{y as _,u as a,h as c,o as d,a as f,b as g,p as h,d as i,f as l,c as m,g as n,v as o,l as p,r,m as s,n as t,s as u,t as v};
|
|
2
|
-
//# sourceMappingURL=environment-checks-CNP6SBWs.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"environment-checks-CNP6SBWs.mjs","names":["mode"],"sources":["../src/environment-checks.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { isCI } from \"./ci-checks\";\n\n/** Value of process.platform */\nexport const platform = process?.platform || \"\";\n\n/** Detect if stdout.TTY is available */\nexport const hasTTY = Boolean(process?.stdout && process?.stdout.isTTY);\n\n/** Detect if `DEBUG` environment variable is set */\nexport const isDebug = Boolean(process.env.DEBUG);\n\n/** Detect the `NODE_ENV` environment variable */\nconst mode =\n process.env.STORM_MODE ||\n process.env.NEXT_PUBLIC_VERCEL_ENV ||\n process.env.NODE_ENV ||\n \"production\";\n\n/** Detect if the application is running in a staging environment */\nexport const isStaging = [\"stg\", \"stage\", \"staging\"].includes(\n mode?.toLowerCase()\n);\n\n/**\n * Check if the current environment is production.\n *\n * @param mode - The mode string to check.\n * @returns Whether the environment is production\n */\nexport function isProductionMode(mode: string) {\n return [\n \"prd\",\n \"prod\",\n \"production\",\n // eslint-disable-next-line @cspell/spellchecker\n \"preprod\",\n // eslint-disable-next-line @cspell/spellchecker\n \"preproduction\",\n \"uat\"\n ].includes(mode?.toLowerCase()?.replace(/[\\s\\-_]/g, \"\"));\n}\n\n/** Detect if `NODE_ENV` environment variable is `production` */\nexport const isProduction = isProductionMode(mode);\n\n/**\n * Check if the current environment is test.\n *\n * @param mode - The mode string to check.\n * @returns Whether the environment is test\n */\nexport function isTestMode(mode: string) {\n return [\n \"tst\",\n \"test\",\n \"testing\",\n \"stg\",\n \"stage\",\n \"staging\",\n \"qa\",\n // eslint-disable-next-line @cspell/spellchecker\n \"qualityassurance\"\n ].includes(mode?.toLowerCase()?.replace(/[\\s\\-_]/g, \"\"));\n}\n\n/** Detect if `NODE_ENV` environment variable is `test` */\nexport const isTest =\n isTestMode(mode) || isStaging || Boolean(process.env.TEST);\n\n/**\n * Check if the current environment is development.\n *\n * @param mode - The mode string to check.\n * @returns Whether the environment is development\n */\nexport function isDevelopmentMode(mode: string) {\n return [\"dev\", \"development\", \"int\", \"integration\"].includes(\n mode?.toLowerCase()?.replace(/[\\s\\-_]/g, \"\")\n );\n}\n\n/** Detect if `NODE_ENV` environment variable is `dev` or `development` */\nexport const isDevelopment = isDevelopmentMode(mode) || isDebug;\n\n/** Detect if MINIMAL environment variable is set, running in CI or test or TTY is unavailable */\nexport const isMinimal =\n Boolean(process.env.MINIMAL) || isCI() || isTest || !hasTTY;\n\n/** Detect if process.platform is Windows */\nexport const isWindows = /^win/i.test(platform);\n\n/** Detect if process.platform is Linux */\nexport const isLinux = /^linux/i.test(platform);\n\n/** Detect if process.platform is macOS (darwin kernel) */\nexport const isMacOS = /^darwin/i.test(platform);\n\n/** Color Support */\nexport const isColorSupported =\n !process.env.NO_COLOR &&\n (Boolean(process.env.FORCE_COLOR) ||\n ((hasTTY || isWindows) && process.env.TERM !== \"dumb\") ||\n isCI());\n\nfunction parseVersion(versionString = \"\") {\n if (/^\\d{3,4}$/.test(versionString)) {\n const match = /(\\d{1,2})(\\d{2})/.exec(versionString) ?? [];\n\n return {\n major: 0,\n minor: Number.parseInt(match[1]!, 10),\n patch: Number.parseInt(match[2]!, 10)\n };\n }\n\n const versions = (versionString ?? \"\")\n .split(\".\")\n .map(n => Number.parseInt(n, 10));\n\n return {\n major: versions[0],\n minor: versions[1],\n patch: versions[2]\n };\n}\n\n/**\n * Check if the current environment supports hyperlinks in the terminal.\n *\n * @param stream - The stream to check for TTY support (default: process.stdout)\n * @returns Whether hyperlinks are supported\n */\nexport function isHyperlinkSupported(\n stream: NodeJS.WriteStream = process.stdout\n): boolean {\n if (process.env.FORCE_HYPERLINK) {\n return !(\n process.env.FORCE_HYPERLINK.length > 0 &&\n Number.parseInt(process.env.FORCE_HYPERLINK, 10) === 0\n );\n }\n\n // Netlify does not run a TTY, it does not need `supportsColor` check\n if (process.env.NETLIFY) {\n return true;\n } else if (!isColorSupported) {\n return false;\n } else if (stream && !stream.isTTY) {\n return false;\n } else if (\"WT_SESSION\" in process.env) {\n return true;\n } else if (process.platform === \"win32\") {\n return false;\n } else if (isCI()) {\n return false;\n } else if (process.env.TEAMCITY_VERSION) {\n return false;\n } else if (process.env.TERM_PROGRAM) {\n const version = parseVersion(process.env.TERM_PROGRAM_VERSION);\n\n switch (process.env.TERM_PROGRAM) {\n case \"iTerm.app\": {\n if (version.major === 3) {\n return version.minor !== undefined && version.minor >= 1;\n }\n\n return version.major !== undefined && version.major > 3;\n }\n case \"WezTerm\": {\n return version.major !== undefined && version.major >= 20_200_620;\n }\n case \"vscode\": {\n // Cursor forked VS Code and supports hyperlinks in 0.x.x\n if (process.env.CURSOR_TRACE_ID) {\n return true;\n }\n\n return (\n version.minor !== undefined &&\n version.major !== undefined &&\n (version.major > 1 || (version.major === 1 && version.minor >= 72))\n );\n }\n case \"ghostty\": {\n return true;\n }\n }\n }\n\n if (process.env.VTE_VERSION) {\n // 0.50.0 was supposed to support hyperlinks, but throws a segfault\n if (process.env.VTE_VERSION === \"0.50.0\") {\n return false;\n }\n\n const version = parseVersion(process.env.VTE_VERSION);\n\n return (\n (version.major !== undefined && version.major > 0) ||\n (version.minor !== undefined && version.minor >= 50)\n );\n }\n\n if (process.env.TERM === \"alacritty\") {\n return true;\n }\n\n return false;\n}\n\n/** Node.js versions */\nexport const nodeVersion =\n (process?.versions?.node || \"\").replace(/^v/, \"\") || null;\n\nexport const nodeMajorVersion = Number(nodeVersion?.split(\".\")[0]) || null;\n"],"mappings":"6CAqBA,MAAa,EAAW,SAAS,UAAY,GAGhC,EAAS,GAAQ,SAAS,QAAU,SAAS,OAAO,OAGpD,EAAU,EAAQ,QAAQ,IAAI,MAGrC,EACJ,QAAQ,IAAI,YACZ,QAAQ,IAAI,wBACZ,QAAQ,IAAI,UACZ,aAGW,EAAY,CAAC,MAAO,QAAS,UAAU,CAAC,SACnD,GAAM,aAAa,CACpB,CAQD,SAAgB,EAAiB,EAAc,CAC7C,MAAO,CACL,MACA,OACA,aAEA,UAEA,gBACA,MACD,CAAC,SAASA,GAAM,aAAa,EAAE,QAAQ,WAAY,GAAG,CAAC,CAI1D,MAAa,EAAe,EAAiB,EAAK,CAQlD,SAAgB,EAAW,EAAc,C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,MAAO,MACE,eAAgB,QAAQ,IACjC,MAAO,MACE,QAAQ,WAAa,SAErB,GAAM,EAEN,QAAQ,IAAI,iBACrB,MAAO,MACE,QAAQ,IAAI,aAAc,CACnC,IAAM,EAAU,EAAa,QAAQ,IAAI,qBAAqB,CAE9D,OAAQ,QAAQ,IAAI,aAApB,CACE,IAAK,YAKH,OAJI,EAAQ,QAAU,EACb,EAAQ,QAAU,IAAA,IAAa,EAAQ,OAAS,EAGlD,EAAQ,QAAU,IAAA,IAAa,EAAQ,MAAQ,EAExD,IAAK,UACH,OAAO,EAAQ,QAAU,IAAA,IAAa,EAAQ,OAAS,SAEzD,IAAK,SAMH,OAJI,QAAQ,IAAI,gBACP,GAIP,EAAQ,QAAU,IAAA,IAClB,EAAQ,QAAU,IAAA,KACjB,EAAQ,MAAQ,GAAM,EAAQ,QAAU,GAAK,EAAQ,OAAS,IAGnE,IAAK,UACH,MAAO,UAtCX,MAAO,GA2CT,GAAI,QAAQ,IAAI,YAAa,CAE3B,GAAI,QAAQ,IAAI,cAAgB,SAC9B,MAAO,GAGT,IAAM,EAAU,EAAa,QAAQ,IAAI,YAAY,CAErD,OACG,EAAQ,QAAU,IAAA,IAAa,EAAQ,MAAQ,GAC/C,EAAQ,QAAU,IAAA,IAAa,EAAQ,OAAS,GAQrD,OAJI,QAAQ,IAAI,OAAS,YAQ3B,MAAa,GACV,SAAS,UAAU,MAAQ,IAAI,QAAQ,KAAM,GAAG,EAAI,KAE1C,EAAmB,OAAO,GAAa,MAAM,IAAI,CAAC,GAAG,EAAI"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
//#region src/environment-checks.d.ts
|
|
2
|
-
/** Value of process.platform */
|
|
3
|
-
declare const platform: NodeJS.Platform;
|
|
4
|
-
/** Detect if stdout.TTY is available */
|
|
5
|
-
declare const hasTTY: boolean;
|
|
6
|
-
/** Detect if `DEBUG` environment variable is set */
|
|
7
|
-
declare const isDebug: boolean;
|
|
8
|
-
/** Detect if the application is running in a staging environment */
|
|
9
|
-
declare const isStaging: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Check if the current environment is production.
|
|
12
|
-
*
|
|
13
|
-
* @param mode - The mode string to check.
|
|
14
|
-
* @returns Whether the environment is production
|
|
15
|
-
*/
|
|
16
|
-
declare function isProductionMode(mode: string): boolean;
|
|
17
|
-
/** Detect if `NODE_ENV` environment variable is `production` */
|
|
18
|
-
declare const isProduction: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Check if the current environment is test.
|
|
21
|
-
*
|
|
22
|
-
* @param mode - The mode string to check.
|
|
23
|
-
* @returns Whether the environment is test
|
|
24
|
-
*/
|
|
25
|
-
declare function isTestMode(mode: string): boolean;
|
|
26
|
-
/** Detect if `NODE_ENV` environment variable is `test` */
|
|
27
|
-
declare const isTest: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Check if the current environment is development.
|
|
30
|
-
*
|
|
31
|
-
* @param mode - The mode string to check.
|
|
32
|
-
* @returns Whether the environment is development
|
|
33
|
-
*/
|
|
34
|
-
declare function isDevelopmentMode(mode: string): boolean;
|
|
35
|
-
/** Detect if `NODE_ENV` environment variable is `dev` or `development` */
|
|
36
|
-
declare const isDevelopment: boolean;
|
|
37
|
-
/** Detect if MINIMAL environment variable is set, running in CI or test or TTY is unavailable */
|
|
38
|
-
declare const isMinimal: boolean;
|
|
39
|
-
/** Detect if process.platform is Windows */
|
|
40
|
-
declare const isWindows: boolean;
|
|
41
|
-
/** Detect if process.platform is Linux */
|
|
42
|
-
declare const isLinux: boolean;
|
|
43
|
-
/** Detect if process.platform is macOS (darwin kernel) */
|
|
44
|
-
declare const isMacOS: boolean;
|
|
45
|
-
/** Color Support */
|
|
46
|
-
declare const isColorSupported: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Check if the current environment supports hyperlinks in the terminal.
|
|
49
|
-
*
|
|
50
|
-
* @param stream - The stream to check for TTY support (default: process.stdout)
|
|
51
|
-
* @returns Whether hyperlinks are supported
|
|
52
|
-
*/
|
|
53
|
-
declare function isHyperlinkSupported(stream?: NodeJS.WriteStream): boolean;
|
|
54
|
-
/** Node.js versions */
|
|
55
|
-
declare const nodeVersion: string | null;
|
|
56
|
-
declare const nodeMajorVersion: number | null;
|
|
57
|
-
//#endregion
|
|
58
|
-
export { nodeVersion as _, isDevelopmentMode as a, isMacOS as c, isProductionMode as d, isStaging as f, nodeMajorVersion as g, isWindows as h, isDevelopment as i, isMinimal as l, isTestMode as m, isColorSupported as n, isHyperlinkSupported as o, isTest as p, isDebug as r, isLinux as s, hasTTY as t, isProduction as u, platform as v };
|
|
59
|
-
//# sourceMappingURL=environment-checks-TkDPh8QD.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"environment-checks-TkDPh8QD.d.cts","names":[],"sources":["../src/environment-checks.ts"],"sourcesContent":[],"mappings":";;AAqBa,cAAA,QAAQ,EAAA,MAAA,CAAA,QAA0B;AAG/C;AAGa,cAHA,MAGoC,EAAA,OAAA;AAUjD;AAUgB,cApBH,OAoBmB,EAAA,OAAA;AAchC;AAQgB,cAhCH,SAgCa,EAAA,OAAA;AAe1B;AASA;AAOA;AAGA;AAIA;AAGA;AAGa,iBAlEG,gBAAA,CAkEgC,IAAA,EAAA,MAAA,CAAA,EAAA,OAAA;AAGhD;AAkCgB,cAzFH,YAyFuB,EAAA,OAC1B;AA8EV;AAGA;;;;;iBAnKgB,UAAA;;cAeH;;;;;;;iBASG,iBAAA;;cAOH;;cAGA;;cAIA;;cAGA;;cAGA;;cAGA;;;;;;;iBAkCG,oBAAA,UACN,MAAA,CAAO;;cA8EJ;cAGA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./ci-checks-DRWFr2UM.cjs`),t=process?.platform||``,n=!!(process?.stdout&&process?.stdout.isTTY),r=!!process.env.DEBUG,i=process.env.STORM_MODE||process.env.NEXT_PUBLIC_VERCEL_ENV||process.env.NODE_ENV||`production`,a=[`stg`,`stage`,`staging`].includes(i?.toLowerCase());function o(e){return[`prd`,`prod`,`production`,`preprod`,`preproduction`,`uat`].includes(e?.toLowerCase()?.replace(/[\s\-_]/g,``))}const s=o(i);function c(e){return[`tst`,`test`,`testing`,`stg`,`stage`,`staging`,`qa`,`qualityassurance`].includes(e?.toLowerCase()?.replace(/[\s\-_]/g,``))}const l=c(i)||a||!!process.env.TEST;function u(e){return[`dev`,`development`,`int`,`integration`].includes(e?.toLowerCase()?.replace(/[\s\-_]/g,``))}const d=u(i)||r,f=!!process.env.MINIMAL||e.t()||l||!n,p=/^win/i.test(t),m=/^linux/i.test(t),h=/^darwin/i.test(t),g=!process.env.NO_COLOR&&(!!process.env.FORCE_COLOR||(n||p)&&process.env.TERM!==`dumb`||e.t());function _(e=``){if(/^\d{3,4}$/.test(e)){let t=/(\d{1,2})(\d{2})/.exec(e)??[];return{major:0,minor:Number.parseInt(t[1],10),patch:Number.parseInt(t[2],10)}}let t=(e??``).split(`.`).map(e=>Number.parseInt(e,10));return{major:t[0],minor:t[1],patch:t[2]}}function v(t=process.stdout){if(process.env.FORCE_HYPERLINK)return!(process.env.FORCE_HYPERLINK.length>0&&Number.parseInt(process.env.FORCE_HYPERLINK,10)===0);if(process.env.NETLIFY)return!0;if(g){if(t&&!t.isTTY)return!1;if(`WT_SESSION`in process.env)return!0;if(process.platform===`win32`||e.t()||process.env.TEAMCITY_VERSION)return!1;if(process.env.TERM_PROGRAM){let e=_(process.env.TERM_PROGRAM_VERSION);switch(process.env.TERM_PROGRAM){case`iTerm.app`:return e.major===3?e.minor!==void 0&&e.minor>=1:e.major!==void 0&&e.major>3;case`WezTerm`:return e.major!==void 0&&e.major>=20200620;case`vscode`:return process.env.CURSOR_TRACE_ID?!0:e.minor!==void 0&&e.major!==void 0&&(e.major>1||e.major===1&&e.minor>=72);case`ghostty`:return!0}}}else return!1;if(process.env.VTE_VERSION){if(process.env.VTE_VERSION===`0.50.0`)return!1;let e=_(process.env.VTE_VERSION);return e.major!==void 0&&e.major>0||e.minor!==void 0&&e.minor>=50}return process.env.TERM===`alacritty`}const y=(process?.versions?.node||``).replace(/^v/,``)||null,b=Number(y?.split(`.`)[0])||null;Object.defineProperty(exports,`_`,{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,`d`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`f`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`g`,{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,`h`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return d}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`m`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,`p`,{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`v`,{enumerable:!0,get:function(){return t}});
|