From 8b2c9b23196f6c6534fb4e6bac3502abcc5fb967 Mon Sep 17 00:00:00 2001 From: Josh Vlk Date: Mon, 3 Aug 2026 16:36:08 -0400 Subject: [PATCH] refactor: establish Crypto folder feature --- rescript.json | 5 +++-- src/{WebCrypto => crypto}/Crypto.res | 0 src/{WebCrypto => crypto}/SubtleCrypto.res | 0 src/{WebCrypto => crypto}/WebCryptoTypes.res | 0 4 files changed, 3 insertions(+), 2 deletions(-) rename src/{WebCrypto => crypto}/Crypto.res (100%) rename src/{WebCrypto => crypto}/SubtleCrypto.res (100%) rename src/{WebCrypto => crypto}/WebCryptoTypes.res (100%) diff --git a/rescript.json b/rescript.json index b89e79d4..eb43c1ac 100644 --- a/rescript.json +++ b/rescript.json @@ -8,6 +8,7 @@ "WebAPI.File": ["WebAPI.Event", "File"], "WebAPI.URL": ["WebAPI.DOM", "URL"], "WebAPI.Fetch": ["WebAPI.Event", "WebAPI.File", "WebAPI.URL", "Fetch"], + "WebAPI.Crypto": ["WebAPI.DOM", "Crypto"], "WebAPI.Performance": ["WebAPI.Event", "Performance"], "WebAPI.ViewTransitions": ["WebAPI.Event", "ViewTransitions"] }, @@ -536,9 +537,9 @@ ] }, { - "dir": "src/WebCrypto", + "dir": "src/crypto", "subdirs": true, - "feature": "WebAPI.WebCrypto", + "feature": "Crypto", "public": [ "Crypto", "SubtleCrypto" diff --git a/src/WebCrypto/Crypto.res b/src/crypto/Crypto.res similarity index 100% rename from src/WebCrypto/Crypto.res rename to src/crypto/Crypto.res diff --git a/src/WebCrypto/SubtleCrypto.res b/src/crypto/SubtleCrypto.res similarity index 100% rename from src/WebCrypto/SubtleCrypto.res rename to src/crypto/SubtleCrypto.res diff --git a/src/WebCrypto/WebCryptoTypes.res b/src/crypto/WebCryptoTypes.res similarity index 100% rename from src/WebCrypto/WebCryptoTypes.res rename to src/crypto/WebCryptoTypes.res