Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c45a7a9f0c | |||
| 9fff0c869a | |||
| 190c085229 | |||
| 8a825e0c9b | |||
|
|
d6b81d85d6 | ||
|
|
18a439ec1e | ||
|
|
7db4c59d56 | ||
|
|
64913de449 | ||
|
|
f1aa19f1c1 | ||
|
|
00071711ba | ||
|
|
7024ac7add | ||
|
|
2d3acaf15a | ||
|
|
05096a2c93 | ||
|
|
64e5c1cdac | ||
|
|
c2b0ec3804 | ||
|
|
f78f8c15e3 |
68
.github/workflows/buildAndRelease.yml
vendored
68
.github/workflows/buildAndRelease.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run Forge data generation
|
- name: Run Forge data generation
|
||||||
run: |
|
run: |
|
||||||
echo "=== 运行 NeoForge 数据生成 ==="
|
echo "=== 运行 Forge 数据生成 ==="
|
||||||
./gradlew runData --no-daemon
|
./gradlew runData --no-daemon
|
||||||
|
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
|
|
@ -63,14 +63,6 @@ jobs:
|
||||||
find forge/build/libs -name "*.jar" ! -name "*-sources.jar" ! -name "*-javadoc.jar" -exec cp {} release-files/ \;
|
find forge/build/libs -name "*.jar" ! -name "*-sources.jar" ! -name "*-javadoc.jar" -exec cp {} release-files/ \;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "=== 收集 neoforge 模块构建产物 ==="
|
|
||||||
if [ -d "neoforge/build/libs" ]; then
|
|
||||||
cp neoforge/build/libs/*-sources.jar release-files/ 2>/dev/null || true
|
|
||||||
cp neoforge/build/libs/*-javadoc.jar release-files/ 2>/dev/null || true
|
|
||||||
# 只复制主jar(没有sources/javadoc classifier的jar)
|
|
||||||
find neoforge/build/libs -name "*.jar" ! -name "*-sources.jar" ! -name "*-javadoc.jar" -exec cp {} release-files/ \;
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "=== 准备发布的文件 ==="
|
echo "=== 准备发布的文件 ==="
|
||||||
ls -la release-files/
|
ls -la release-files/
|
||||||
|
|
||||||
|
|
@ -174,17 +166,11 @@ jobs:
|
||||||
FORGE_MODRINTH_DEPS=$(grep "^forge_modrinth_dependencies=" gradle.properties | cut -d'=' -f2- || echo "")
|
FORGE_MODRINTH_DEPS=$(grep "^forge_modrinth_dependencies=" gradle.properties | cut -d'=' -f2- || echo "")
|
||||||
echo "forge_modrinth_dependencies=$FORGE_MODRINTH_DEPS" >> $GITHUB_OUTPUT
|
echo "forge_modrinth_dependencies=$FORGE_MODRINTH_DEPS" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
NEOFORGE_MODRINTH_DEPS=$(grep "^neoforge_modrinth_dependencies=" gradle.properties | cut -d'=' -f2- || echo "")
|
|
||||||
echo "neoforge_modrinth_dependencies=$NEOFORGE_MODRINTH_DEPS" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
FABRIC_CURSEFORGE_DEPS=$(grep "^fabric_curseforge_dependencies=" gradle.properties | cut -d'=' -f2- || echo "")
|
FABRIC_CURSEFORGE_DEPS=$(grep "^fabric_curseforge_dependencies=" gradle.properties | cut -d'=' -f2- || echo "")
|
||||||
echo "fabric_curseforge_dependencies=$FABRIC_CURSEFORGE_DEPS" >> $GITHUB_OUTPUT
|
echo "fabric_curseforge_dependencies=$FABRIC_CURSEFORGE_DEPS" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
FORGE_CURSEFORGE_DEPS=$(grep "^forge_curseforge_dependencies=" gradle.properties | cut -d'=' -f2- || echo "")
|
FORGE_CURSEFORGE_DEPS=$(grep "^forge_curseforge_dependencies=" gradle.properties | cut -d'=' -f2- || echo "")
|
||||||
echo "forge_curseforge_dependencies=$FORGE_CURSEFORGE_DEPS" >> $GITHUB_OUTPUT
|
echo "forge_curseforge_dependencies=$FORGE_CURSEFORGE_DEPS" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
NEOFORGE_CURSEFORGE_DEPS=$(grep "^neoforge_curseforge_dependencies=" gradle.properties | cut -d'=' -f2- || echo "")
|
|
||||||
echo "neoforge_curseforge_dependencies=$NEOFORGE_CURSEFORGE_DEPS" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Generate CZ-compliant changelog
|
- name: Generate CZ-compliant changelog
|
||||||
id: generate_changelog
|
id: generate_changelog
|
||||||
|
|
@ -447,54 +433,6 @@ jobs:
|
||||||
# 失败处理
|
# 失败处理
|
||||||
fail-mode: skip
|
fail-mode: skip
|
||||||
|
|
||||||
# NeoForge 发布到 Modrinth 和 CurseForge
|
|
||||||
- name: Publish NeoForge to Modrinth & CurseForge
|
|
||||||
uses: Kir-Antipov/mc-publish@v3.3
|
|
||||||
if: success() && (steps.version_info.outputs.publish_modrinth == 'true' || steps.version_info.outputs.publish_curseforge == 'true')
|
|
||||||
continue-on-error: true
|
|
||||||
with:
|
|
||||||
# 文件匹配规则 - 只匹配 forge 的文件
|
|
||||||
files: |
|
|
||||||
dist/${{ steps.version_info.outputs.mod_id }}-neoforge-${{ steps.version_info.outputs.minecraft_version }}-${{ steps.version_info.outputs.version }}.jar
|
|
||||||
dist/${{ steps.version_info.outputs.mod_id }}-neoforge-${{ steps.version_info.outputs.minecraft_version }}-${{ steps.version_info.outputs.version }}-javadoc.jar
|
|
||||||
dist/${{ steps.version_info.outputs.mod_id }}-neoforge-${{ steps.version_info.outputs.minecraft_version }}-${{ steps.version_info.outputs.version }}-sources.jar
|
|
||||||
|
|
||||||
# 版本信息
|
|
||||||
name: ${{ steps.version_info.outputs.mod_name }} ${{ steps.version_info.outputs.version }} (Forge/${{ steps.version_info.outputs.minecraft_version }})
|
|
||||||
version: "${{ steps.version_info.outputs.minecraft_version }}-neoforge-${{ steps.version_info.outputs.version }}"
|
|
||||||
|
|
||||||
# 更新日志
|
|
||||||
changelog: ${{ steps.generate_changelog.outputs.changelog }}
|
|
||||||
|
|
||||||
# 版本类型
|
|
||||||
version-type: ${{ steps.version_type.outputs.type }}
|
|
||||||
|
|
||||||
# 只指定 Forge 加载器
|
|
||||||
loaders: neoforge
|
|
||||||
|
|
||||||
# 游戏版本
|
|
||||||
game-versions: |
|
|
||||||
${{ steps.version_info.outputs.minecraft_version }}
|
|
||||||
|
|
||||||
# Java版本
|
|
||||||
java: |
|
|
||||||
${{ steps.version_info.outputs.java_versions }}
|
|
||||||
|
|
||||||
# Modrinth 配置
|
|
||||||
modrinth-id: ${{ steps.version_info.outputs.modrinth_id }}
|
|
||||||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
|
|
||||||
modrinth-featured: true
|
|
||||||
modrinth-unfeature-mode: any
|
|
||||||
modrinth-dependencies: ${{ steps.version_info.outputs.neoforge_modrinth_dependencies }}
|
|
||||||
|
|
||||||
# CurseForge 配置
|
|
||||||
curseforge-id: ${{ steps.version_info.outputs.curseforge_id }}
|
|
||||||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
|
|
||||||
curseforge-dependencies: ${{ steps.version_info.outputs.neoforge_curseforge_dependencies }}
|
|
||||||
|
|
||||||
# 失败处理
|
|
||||||
fail-mode: skip
|
|
||||||
|
|
||||||
# 发布完成后列出结果
|
# 发布完成后列出结果
|
||||||
- name: Summary
|
- name: Summary
|
||||||
if: always()
|
if: always()
|
||||||
|
|
@ -509,10 +447,8 @@ jobs:
|
||||||
echo "- 项目ID: ${{ steps.version_info.outputs.modrinth_id }}" >> $GITHUB_STEP_SUMMARY
|
echo "- 项目ID: ${{ steps.version_info.outputs.modrinth_id }}" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "- Fabric版本: ${{ steps.version_info.outputs.version }}-fabric" >> $GITHUB_STEP_SUMMARY
|
echo "- Fabric版本: ${{ steps.version_info.outputs.version }}-fabric" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "- Forge版本: ${{ steps.version_info.outputs.version }}-forge" >> $GITHUB_STEP_SUMMARY
|
echo "- Forge版本: ${{ steps.version_info.outputs.version }}-forge" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "- NeoForge版本: ${{ steps.version_info.outputs.version }}-neoforge" >> $GITHUB_STEP_SUMMARY
|
|
||||||
echo "" >> $GITHUB_STEP_SUMMARY
|
echo "" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "### CurseForge" >> $GITHUB_STEP_SUMMARY
|
echo "### CurseForge" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "- 项目ID: ${{ steps.version_info.outputs.curseforge_id }}" >> $GITHUB_STEP_SUMMARY
|
echo "- 项目ID: ${{ steps.version_info.outputs.curseforge_id }}" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "- Fabric版本: ${{ steps.version_info.outputs.version }}-fabric" >> $GITHUB_STEP_SUMMARY
|
echo "- Fabric版本: ${{ steps.version_info.outputs.version }}-fabric" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "- Forge版本: ${{ steps.version_info.outputs.version }}-forge" >> $GITHUB_STEP_SUMMARY
|
echo "- Forge版本: ${{ steps.version_info.outputs.version }}-forge" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "- NeoForge版本: ${{ steps.version_info.outputs.version }}-neoforge" >> $GITHUB_STEP_SUMMARY
|
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -5,6 +5,7 @@ bin
|
||||||
.metadata
|
.metadata
|
||||||
.classpath
|
.classpath
|
||||||
.project
|
.project
|
||||||
|
.idea
|
||||||
|
|
||||||
# idea
|
# idea
|
||||||
out
|
out
|
||||||
|
|
@ -21,4 +22,4 @@ build
|
||||||
# other
|
# other
|
||||||
eclipse
|
eclipse
|
||||||
run
|
run
|
||||||
runs
|
/.idea/
|
||||||
|
|
|
||||||
3
.idea/scopes/Fabric_sources.xml
Normal file
3
.idea/scopes/Fabric_sources.xml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<component name="DependencyValidationManager">
|
||||||
|
<scope name="Fabric sources" pattern="!ext[Gradle: cpw.mods:*:*]:*/&&!ext[Gradle: mezz.jei:*:*:*]:*/&&!ext[Gradle: net.jodah:typetools:*]:*/&&!ext[Gradle: net.minecraft:client:extra:*]:*/&&!ext[Gradle: net.minecraft:joined*:*]:*/&&!ext[Gradle: net.minecraft:mappings_official:zip:*]:*/&&!ext[Gradle: net.minecraftforge:*:*]:*/" />
|
||||||
|
</component>
|
||||||
3
.idea/scopes/Forge_sources.xml
Normal file
3
.idea/scopes/Forge_sources.xml
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<component name="DependencyValidationManager">
|
||||||
|
<scope name="Forge sources" pattern="!ext[Gradle: loom_mappings_*:*:*]:*/&&!ext[Gradle: net.fabricmc:*:*]:*/&&!ext[Gradle: net.minecraft:joined*:*]:*/&&!ext[Gradle: net.minecraft:mappings_official:zip:*]:*/&&!ext[Gradle: net.minecraft:minecraft-project-*:*]:*/" />
|
||||||
|
</component>
|
||||||
30
README.md
30
README.md
|
|
@ -1,32 +1,24 @@
|
||||||
# MultiLoader Template
|
# MultiLoader Template
|
||||||
|
|
||||||
This project provides a Gradle project template that can compile Minecraft mods for multiple modloaders using a common project for the sources. This project does not require any third party libraries or dependencies. If you have any questions or want to discuss the project, please join our [Discord](https://discord.myceliummod.network).
|
This project provides a Gradle project template that can compile mods for both Forge and Fabric using a common sourceset. This project does not require any third party libraries or dependencies. If you have any questions or want to discuss the project join our [Discord](https://discord.myceliummod.network).
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
### IntelliJ IDEA
|
## IntelliJ IDEA
|
||||||
This guide will show how to import the MultiLoader Template into IntelliJ IDEA. The setup process is roughly equivalent to setting up the modloaders independently and should be very familiar to anyone who has worked with their MDKs.
|
This guide will show how to import the MultiLoader Template into IntelliJ IDEA. The setup process is roughly equivalent to setting up Forge and Fabric independently and should be very familiar to anyone who has worked with their MDKs.
|
||||||
|
|
||||||
1. Clone or download this repository to your computer.
|
1. Clone or download this repository to your computer.
|
||||||
2. Configure the project by setting the properties in the `gradle.properties` file. You will also need to change the `rootProject.name` property in `settings.gradle`, this should match the folder name of your project, or else IDEA may complain.
|
2. Configure the project by editing the `group`, `mod_name`, `mod_author`, and `mod_id` properties in the `gradle.properties` file. You will also need to change the `rootProject.name` property in `settings.gradle`, this should match the folder name of your project, or else IDEA may complain.
|
||||||
3. Open the template's root folder as a new project in IDEA. This is the folder that contains this README.md file and the gradlew executable.
|
3. Open the template's root folder as a new project in IDEA. This is the folder that contains this README file and the gradlew executable.
|
||||||
4. If your default JVM/JDK is not Java 21 you will encounter an error when opening the project. This error is fixed by going to `File > Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JVM` and changing the value to a valid Java 21 JVM. You will also need to set the Project SDK to Java 21. This can be done by going to `File > Project Structure > Project SDK`. Once both have been set open the Gradle tab in IDEA and click the refresh button to reload the project.
|
4. If your default JVM/JDK is not Java 17 you will encounter an error when opening the project. This error is fixed by going to `File > Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JVM`and changing the value to a valid Java 17 JVM. You will also need to set the Project SDK to Java 17. This can be done by going to `File > Project Structure > Project SDK`. Once both have been set open the Gradle tab in IDEA and click the refresh button to reload the project.
|
||||||
5. Open your Run/Debug Configurations. Under the `Application` category there should now be options to run Fabric and NeoForge projects. Select one of the client options and try to run it.
|
5. Open the Gradle tab in IDEA if it has not already been opened. Navigate to `Your Project > Common > Tasks > vanilla gradle > decompile`. Run this task to decompile Minecraft.
|
||||||
6. Assuming you were able to run the game in step 5 your workspace should now be set up.
|
6. Open your Run/Debug Configurations. Under the Application category there should now be options to run Forge and Fabric projects. Select one of the client options and try to run it.
|
||||||
|
7. Assuming you were able to run the game in step 7 your workspace should now be set up.
|
||||||
|
|
||||||
### Eclipse
|
### Eclipse
|
||||||
While it is possible to use this template in Eclipse it is not recommended. During the development of this template multiple critical bugs and quirks related to Eclipse were found at nearly every level of the required build tools. While we continue to work with these tools to report and resolve issues support for projects like these are not there yet. For now Eclipse is considered unsupported by this project. The development cycle for build tools is notoriously slow so there are no ETAs available.
|
While it is possible to use this template in Eclipse it is not recommended. During the development of this template multiple critical bugs and quirks related to Eclipse were found at nearly every level of the required build tools. While we continue to work with these tools to report and resolve issues support for projects like these are not there yet. For now Eclipse is considered unsupported by this project. The development cycle for build tools is notoriously slow so there are no ETAs available.
|
||||||
|
|
||||||
## Development Guide
|
## Development Guide
|
||||||
When using this template the majority of your mod should be developed in the `common` project. The `common` project is compiled against the vanilla game and is used to hold code that is shared between the different loader-specific versions of your mod. The `common` project has no knowledge or access to ModLoader specific code, apis, or concepts. Code that requires something from a specific loader must be done through the project that is specific to that loader, such as the `fabric` or `neoforge` projects.
|
When using this template the majority of your mod is developed in the Common project. The Common project is compiled against the vanilla game and is used to hold code that is shared between the different loader-specific versions of your mod. The Common project has no knowledge or access to ModLoader specific code, apis, or concepts. Code that requires something from a specific loader must be done through the project that is specific to that loader, such as the Forge or Fabric project.
|
||||||
|
|
||||||
Loader specific projects such as the `fabric` and `neoforge` project are used to load the `common` project into the game. These projects also define code that is specific to that loader. Loader specific projects can access all the code in the `common` project. It is important to remember that the `common` project can not access code from loader specific projects.
|
Loader specific projects such as the Forge and Fabric project are used to load the Common project into the game. These projects also define code that is specific to that loader. Loader specific projects can access all of the code in the Common project. It is important to remember that the Common project can not access code from loader specific projects.
|
||||||
|
|
||||||
## Removing Platforms and Loaders
|
|
||||||
While this template has support for many modloaders, new loaders may appear in the future, and existing loaders may become less relevant.
|
|
||||||
|
|
||||||
Removing loader specific projects is as easy as deleting the folder, and removing the `include("projectname")` line from the `settings.gradle` file.
|
|
||||||
For example if you wanted to remove support for `forge` you would follow the following steps:
|
|
||||||
|
|
||||||
1. Delete the subproject folder. For example, delete `MultiLoader-Template/forge`.
|
|
||||||
2. Remove the project from `settings.gradle`. For example, remove `include("forge")`.
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,4 @@
|
||||||
plugins {
|
plugins {
|
||||||
// see https://fabricmc.net/develop/ for new versions
|
id 'fabric-loom' version '1.9-SNAPSHOT' apply(false)
|
||||||
id 'fabric-loom' version '1.8-SNAPSHOT' apply false
|
id 'net.neoforged.moddev.legacyforge' version '2.0.103' apply(false)
|
||||||
// see https://projects.neoforged.net/neoforged/moddevgradle for new versions
|
|
||||||
id 'net.neoforged.moddev' version '2.0.49-beta' apply false
|
|
||||||
}
|
}
|
||||||
|
|
@ -31,13 +31,18 @@ repositories {
|
||||||
name = 'ParchmentMC'
|
name = 'ParchmentMC'
|
||||||
url = 'https://maven.parchmentmc.org/'
|
url = 'https://maven.parchmentmc.org/'
|
||||||
},
|
},
|
||||||
maven {
|
maven { url = "https://neoforged.forgecdn.net/releases" },
|
||||||
name = "NeoForge"
|
maven { url = "https://neoforged.forgecdn.net/mojang-meta" }
|
||||||
url = 'https://maven.neoforged.net/releases'
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
filter { includeGroup('org.parchmentmc.data') }
|
filter { includeGroup('org.parchmentmc.data') }
|
||||||
}
|
}
|
||||||
|
maven { url = "https://libraries.minecraft.net/" }
|
||||||
|
|
||||||
|
|
||||||
|
maven {
|
||||||
|
url "https://cursemaven.com"
|
||||||
|
content { includeGroup "curse.maven" }
|
||||||
|
}
|
||||||
maven {
|
maven {
|
||||||
name = 'BlameJared'
|
name = 'BlameJared'
|
||||||
url = 'https://maven.blamejared.com'
|
url = 'https://maven.blamejared.com'
|
||||||
|
|
@ -48,6 +53,7 @@ repositories {
|
||||||
// Read more about capabilities here: https://docs.gradle.org/current/userguide/component_capabilities.html#sec:declaring-additional-capabilities-for-a-local-component
|
// Read more about capabilities here: https://docs.gradle.org/current/userguide/component_capabilities.html#sec:declaring-additional-capabilities-for-a-local-component
|
||||||
['apiElements', 'runtimeElements', 'sourcesElements', 'javadocElements'].each { variant ->
|
['apiElements', 'runtimeElements', 'sourcesElements', 'javadocElements'].each { variant ->
|
||||||
configurations."$variant".outgoing {
|
configurations."$variant".outgoing {
|
||||||
|
capability("$group:${project.name}:$version")
|
||||||
capability("$group:${base.archivesName.get()}:$version")
|
capability("$group:${base.archivesName.get()}:$version")
|
||||||
capability("$group:$mod_id-${project.name}-${minecraft_version}:$version")
|
capability("$group:$mod_id-${project.name}-${minecraft_version}:$version")
|
||||||
capability("$group:$mod_id:$version")
|
capability("$group:$mod_id:$version")
|
||||||
|
|
@ -94,17 +100,24 @@ processResources {
|
||||||
'mod_id' : mod_id,
|
'mod_id' : mod_id,
|
||||||
'license' : license,
|
'license' : license,
|
||||||
'description' : project.description,
|
'description' : project.description,
|
||||||
'neoforge_version' : neoforge_version,
|
"forge_version" : forge_version,
|
||||||
'neoforge_loader_version_range': neoforge_loader_version_range,
|
"forge_loader_version_range" : forge_loader_version_range,
|
||||||
"forge_version": forge_version,
|
|
||||||
"forge_loader_version_range": forge_loader_version_range,
|
|
||||||
'credits' : credits,
|
'credits' : credits,
|
||||||
'java_version' : java_version
|
'java_version' : java_version
|
||||||
]
|
]
|
||||||
|
|
||||||
filesMatching(['pack.mcmeta', 'fabric.mod.json', 'META-INF/mods.toml', 'META-INF/neoforge.mods.toml', '*.mixins.json']) {
|
var jsonExpandProps = expandProps.collectEntries {
|
||||||
|
key, value -> [(key): value instanceof String ? value.replace("\n", "\\\\n") : value]
|
||||||
|
}
|
||||||
|
|
||||||
|
filesMatching(['META-INF/mods.toml']) {
|
||||||
expand expandProps
|
expand expandProps
|
||||||
}
|
}
|
||||||
|
|
||||||
|
filesMatching(['pack.mcmeta', 'fabric.mod.json', '*.mixins.json']) {
|
||||||
|
expand jsonExpandProps
|
||||||
|
}
|
||||||
|
|
||||||
inputs.properties(expandProps)
|
inputs.properties(expandProps)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ tasks.named('javadoc', Javadoc).configure {
|
||||||
source(configurations.commonJava)
|
source(configurations.commonJava)
|
||||||
options.encoding = 'UTF-8'
|
options.encoding = 'UTF-8'
|
||||||
options.charSet = 'UTF-8'
|
options.charSet = 'UTF-8'
|
||||||
options.links("https://docs.oracle.com/en/java/javase/21/docs/api/")
|
options.links("https://docs.oracle.com/en/java/javase/17/docs/api/")
|
||||||
options.memberLevel = JavadocMemberLevel.PUBLIC
|
options.memberLevel = JavadocMemberLevel.PUBLIC
|
||||||
options.addBooleanOption('Xdoclint:none', true)
|
options.addBooleanOption('Xdoclint:none', true)
|
||||||
options.addStringOption('doctitle', "${mod_id} ${minecraft_version} ${version} Javadoc")
|
options.addStringOption('doctitle', "${mod_id} ${minecraft_version} ${version} Javadoc")
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,12 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'multiloader-common'
|
id 'multiloader-common'
|
||||||
id 'net.neoforged.moddev'
|
id 'net.neoforged.moddev.legacyforge'
|
||||||
}
|
}
|
||||||
|
|
||||||
neoForge {
|
legacyForge {
|
||||||
neoFormVersion = neo_form_version
|
mcpVersion = minecraft_version
|
||||||
// Automatically enable AccessTransformers if the file exists
|
if (file("src/main/resources/META-INF/accesstransformer.cfg").exists()) {
|
||||||
def at = file('src/main/resources/META-INF/accesstransformer.cfg')
|
accessTransformers = ["src/main/resources/META-INF/accesstransformer.cfg"]
|
||||||
if (at.exists()) {
|
|
||||||
accessTransformers.from(at.absolutePath)
|
|
||||||
}
|
}
|
||||||
parchment {
|
parchment {
|
||||||
minecraftVersion = parchment_minecraft
|
minecraftVersion = parchment_minecraft
|
||||||
|
|
@ -18,9 +16,7 @@ neoForge {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly group: 'org.spongepowered', name: 'mixin', version: '0.8.5'
|
compileOnly group: 'org.spongepowered', name: 'mixin', version: '0.8.5'
|
||||||
// fabric and neoforge both bundle mixinextras, so it is safe to use it in common
|
implementation group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.1'
|
||||||
compileOnly group: 'io.github.llamalad7', name: 'mixinextras-common', version: '0.3.5'
|
|
||||||
annotationProcessor group: 'io.github.llamalad7', name: 'mixinextras-common', version: '0.3.5'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
|
|
@ -42,4 +38,3 @@ artifacts {
|
||||||
clean {
|
clean {
|
||||||
delete 'generated'
|
delete 'generated'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ package com.example.examplemod.mixin;
|
||||||
|
|
||||||
import com.example.examplemod.Constants;
|
import com.example.examplemod.Constants;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
|
import net.minecraft.client.gui.screens.TitleScreen;
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
import org.spongepowered.asm.mixin.injection.At;
|
import org.spongepowered.asm.mixin.injection.At;
|
||||||
import org.spongepowered.asm.mixin.injection.Inject;
|
import org.spongepowered.asm.mixin.injection.Inject;
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,18 @@
|
||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"minVersion": "0.8",
|
"minVersion": "0.8",
|
||||||
"package": "com.example.examplemod.mixin",
|
"package": "com.example.examplemod.mixin",
|
||||||
"refmap": "${mod_id}.refmap.json",
|
"refmap": "${mod_id}.refmap.json",
|
||||||
"compatibilityLevel": "JAVA_18",
|
"compatibilityLevel": "JAVA_17",
|
||||||
"mixins": [],
|
"mixins": [
|
||||||
"client": [
|
],
|
||||||
"MixinMinecraft"
|
"client": [
|
||||||
],
|
"MixinMinecraft"
|
||||||
"server": [],
|
],
|
||||||
"injectors": {
|
"server": [
|
||||||
"defaultRequire": 1
|
],
|
||||||
}
|
"injectors": {
|
||||||
|
"defaultRequire": 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
import net.fabricmc.loom.task.RemapJarTask
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'multiloader-loader'
|
id 'multiloader-loader'
|
||||||
id 'fabric-loom'
|
id 'fabric-loom'
|
||||||
|
|
@ -10,7 +12,8 @@ dependencies {
|
||||||
}
|
}
|
||||||
modImplementation "net.fabricmc:fabric-loader:${fabric_loader_version}"
|
modImplementation "net.fabricmc:fabric-loader:${fabric_loader_version}"
|
||||||
modImplementation "net.fabricmc.fabric-api:fabric-api:${fabric_version}"
|
modImplementation "net.fabricmc.fabric-api:fabric-api:${fabric_version}"
|
||||||
localRuntime 'net.covers1624:DevLogin:0.1.0.5'
|
implementation group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.1'
|
||||||
|
implementation project(":common")
|
||||||
}
|
}
|
||||||
|
|
||||||
loom {
|
loom {
|
||||||
|
|
@ -29,9 +32,9 @@ loom {
|
||||||
runs {
|
runs {
|
||||||
client {
|
client {
|
||||||
client()
|
client()
|
||||||
setConfigName('Fabric Client')
|
setConfigName("Fabric Client")
|
||||||
ideConfigGenerated(true)
|
ideConfigGenerated(true)
|
||||||
runDir('runs/client')
|
runDir("run")
|
||||||
programArgs "--username", "dev"
|
programArgs "--username", "dev"
|
||||||
def args = [
|
def args = [
|
||||||
"-Dlib39.modid=${mod_id}".toString(),
|
"-Dlib39.modid=${mod_id}".toString(),
|
||||||
|
|
@ -49,11 +52,14 @@ loom {
|
||||||
"-Dmixin.debug.export=true"
|
"-Dmixin.debug.export=true"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
server()
|
server()
|
||||||
setConfigName('Fabric Server')
|
serverWithGui()
|
||||||
|
setConfigName("Fabric Server")
|
||||||
ideConfigGenerated(true)
|
ideConfigGenerated(true)
|
||||||
runDir('runs/server')
|
runDir("run")
|
||||||
|
|
||||||
def args = [
|
def args = [
|
||||||
"-Dlib39.modid=${mod_id}".toString(),
|
"-Dlib39.modid=${mod_id}".toString(),
|
||||||
"-Dlib39.output=${generatedOutput}".toString(),
|
"-Dlib39.output=${generatedOutput}".toString(),
|
||||||
|
|
@ -65,78 +71,104 @@ loom {
|
||||||
vmArgs.addAll(args)
|
vmArgs.addAll(args)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tasks.named('sourcesJar', Jar) {
|
}
|
||||||
dependsOn classes
|
tasks.named('sourcesJar', Jar) {
|
||||||
dependsOn project(':common').tasks.named('sourcesJar') // 显式依赖common的source
|
dependsOn classes
|
||||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
dependsOn project(':common').tasks.named('sourcesJar') // 显式依赖common的source
|
||||||
archiveClassifier.set('sources')
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
from sourceSets.main.allSource
|
archiveClassifier.set('sources')
|
||||||
from project(':common').sourceSets.main.allSource
|
from sourceSets.main.allSource
|
||||||
}
|
from project(':common').sourceSets.main.allSource
|
||||||
|
}
|
||||||
|
|
||||||
tasks.named('javadoc', Javadoc) {
|
// 配置javadoc任务
|
||||||
source project(':common').sourceSets.main.allJava
|
tasks.named('javadoc', Javadoc) {
|
||||||
dependsOn project(':common').tasks.named('javadoc') // 显式依赖common的javadoc
|
source project(':common').sourceSets.main.allJava
|
||||||
source sourceSets.main.allJava
|
dependsOn project(':common').tasks.named('javadoc') // 显式依赖common的javadoc
|
||||||
classpath = configurations.compileClasspath
|
source sourceSets.main.allJava
|
||||||
classpath += project(':common').sourceSets.main.compileClasspath
|
classpath = configurations.compileClasspath
|
||||||
options.encoding = 'UTF-8'
|
classpath += project(':common').sourceSets.main.compileClasspath
|
||||||
options.charSet = 'UTF-8'
|
options.encoding = 'UTF-8'
|
||||||
options.links("https://docs.oracle.com/en/java/javase/21/docs/api/")
|
options.charSet = 'UTF-8'
|
||||||
options.memberLevel = JavadocMemberLevel.PUBLIC
|
options.links("https://docs.oracle.com/en/java/javase/17/docs/api/")
|
||||||
options.addBooleanOption('Xdoclint:none', true)
|
options.memberLevel = JavadocMemberLevel.PUBLIC
|
||||||
options.addStringOption('doctitle', "${mod_id} ${minecraft_version} ${version} Javadoc")
|
options.addBooleanOption('Xdoclint:none', true)
|
||||||
}
|
options.addStringOption('doctitle', "${mod_id} ${minecraft_version} ${version} Javadoc")
|
||||||
|
}
|
||||||
|
|
||||||
tasks.named('javadocJar', Jar) {
|
// 配置javadocJar任务
|
||||||
dependsOn javadoc
|
tasks.named('javadocJar', Jar) {
|
||||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
dependsOn javadoc
|
||||||
archiveClassifier.set('javadoc')
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
from javadoc.destinationDir
|
archiveClassifier.set('javadoc')
|
||||||
from project(':common').javadoc.destinationDir
|
from javadoc.destinationDir
|
||||||
}
|
from project(':common').javadoc.destinationDir
|
||||||
|
}
|
||||||
|
|
||||||
tasks.named('build') {
|
// 确保build任务包含所有需要的jar
|
||||||
dependsOn tasks.named('sourcesJar')
|
tasks.named('build') {
|
||||||
dependsOn tasks.named('javadocJar')
|
dependsOn tasks.named('sourcesJar')
|
||||||
}
|
dependsOn tasks.named('javadocJar')
|
||||||
publishing {
|
}
|
||||||
publications {
|
|
||||||
mavenJava(MavenPublication) {
|
// 配置remap任务以包含sources和javadoc
|
||||||
// 重置artifactsId
|
remapJar {
|
||||||
artifactId = "${mod_id}-fabric-${minecraft_version}"
|
dependsOn tasks.named('sourcesJar')
|
||||||
artifacts.clear()
|
dependsOn tasks.named('javadocJar')
|
||||||
// 手动添加需要的artifacts
|
inputFile.set(tasks.named('jar').get().archiveFile)
|
||||||
artifact(remapJar) {
|
addNestedDependencies = false
|
||||||
builtBy remapJar
|
}
|
||||||
}
|
|
||||||
artifact(remapSourcesJar) {
|
remapSourcesJar {
|
||||||
builtBy remapSourcesJar
|
dependsOn tasks.named('sourcesJar')
|
||||||
classifier = 'sources'
|
inputFile.set(tasks.named('sourcesJar').get().archiveFile)
|
||||||
}
|
}
|
||||||
artifact(javadocJar) {
|
|
||||||
builtBy javadocJar
|
// 为javadocJar创建remap任务
|
||||||
classifier = 'javadoc'
|
tasks.register('remapJavadocJar', RemapJarTask) {
|
||||||
}
|
dependsOn tasks.named('javadocJar')
|
||||||
pom {
|
inputFile.set(tasks.named('javadocJar').get().archiveFile)
|
||||||
name = mod_name
|
archiveClassifier.set('javadoc')
|
||||||
description = project.description ?: "default"
|
addNestedDependencies = false
|
||||||
developers {
|
}
|
||||||
developer {
|
|
||||||
id = mod_author
|
// 将remapped artifacts添加到发布配置
|
||||||
name = mod_author
|
publishing {
|
||||||
}
|
publications {
|
||||||
|
mavenJava(MavenPublication) {
|
||||||
|
// 重置artifactsId
|
||||||
|
artifactId = "${mod_id}-fabric-${minecraft_version}"
|
||||||
|
artifacts.clear()
|
||||||
|
// 手动添加需要的artifacts
|
||||||
|
artifact(remapJar) {
|
||||||
|
builtBy remapJar
|
||||||
|
}
|
||||||
|
artifact(remapSourcesJar) {
|
||||||
|
builtBy remapSourcesJar
|
||||||
|
classifier = 'sources'
|
||||||
|
}
|
||||||
|
artifact(remapJavadocJar) {
|
||||||
|
builtBy remapJavadocJar
|
||||||
|
classifier = 'javadoc'
|
||||||
|
}
|
||||||
|
pom {
|
||||||
|
name = mod_name
|
||||||
|
description = project.description ?: "default"
|
||||||
|
developers {
|
||||||
|
developer {
|
||||||
|
id = mod_author
|
||||||
|
name = mod_author
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.named('generateMetadataFileForMavenJavaPublication') {
|
||||||
|
dependsOn tasks.named('remapJavadocJar')
|
||||||
|
dependsOn tasks.named('remapJar')
|
||||||
|
dependsOn tasks.named('remapSourcesJar')
|
||||||
|
}
|
||||||
|
|
||||||
tasks.named('generateMetadataFileForMavenJavaPublication') {
|
|
||||||
dependsOn tasks.named('remapJar')
|
|
||||||
dependsOn tasks.named('remapSourcesJar')
|
|
||||||
dependsOn tasks.named('javadocJar')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,16 +1,18 @@
|
||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"minVersion": "0.8",
|
"minVersion": "0.8",
|
||||||
"package": "com.example.examplemod.mixin",
|
"package": "com.example.examplemod.mixin",
|
||||||
"refmap": "${mod_id}.refmap.json",
|
"refmap": "${mod_id}.refmap.json",
|
||||||
"compatibilityLevel": "JAVA_21",
|
"compatibilityLevel": "JAVA_17",
|
||||||
"mixins": [],
|
"mixins": [
|
||||||
"client": [
|
],
|
||||||
"MixinTitleScreen"
|
"client": [
|
||||||
],
|
"MixinTitleScreen"
|
||||||
"server": [],
|
],
|
||||||
"injectors": {
|
"server": [
|
||||||
"defaultRequire": 1
|
],
|
||||||
|
"injectors": {
|
||||||
|
"defaultRequire": 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"schemaVersion": 1,
|
"schemaVersion": 1,
|
||||||
"id": "${mod_id}",
|
"id": "mod_id",
|
||||||
"version": "${version}",
|
"version": "${version}",
|
||||||
"name": "${mod_name}",
|
"name": "${mod_name}",
|
||||||
"description": "${description}",
|
"description": "${description}",
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
"sources": "https://github.com/FabricMC/fabric-example-mod"
|
"sources": "https://github.com/FabricMC/fabric-example-mod"
|
||||||
},
|
},
|
||||||
"license": "${license}",
|
"license": "${license}",
|
||||||
"icon": "${mod_id}.png",
|
"icon": "assets/modid/${mod_id}.png",
|
||||||
"environment": "*",
|
"environment": "*",
|
||||||
"entrypoints": {
|
"entrypoints": {
|
||||||
"main": [
|
"main": [
|
||||||
|
|
@ -24,10 +24,10 @@
|
||||||
"${mod_id}.fabric.mixins.json"
|
"${mod_id}.fabric.mixins.json"
|
||||||
],
|
],
|
||||||
"depends": {
|
"depends": {
|
||||||
"fabricloader": ">=${fabric_loader_version}",
|
"fabricloader": ">=0.14",
|
||||||
"fabric-api": "*",
|
"fabric": "*",
|
||||||
"minecraft": "${minecraft_version}",
|
"minecraft": "${minecraft_version}",
|
||||||
"java": ">=${java_version}"
|
"java": ">=17"
|
||||||
},
|
},
|
||||||
"suggests": {
|
"suggests": {
|
||||||
"another-mod": "*"
|
"another-mod": "*"
|
||||||
|
|
|
||||||
|
|
@ -1,95 +1,69 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'multiloader-loader'
|
id 'multiloader-loader'
|
||||||
id 'net.minecraftforge.gradle' version '[6.0.24,6.2)'
|
id 'net.neoforged.moddev.legacyforge'
|
||||||
id 'org.spongepowered.mixin' version '0.7-SNAPSHOT'
|
|
||||||
}
|
|
||||||
base {
|
|
||||||
archivesName = "${mod_name}-forge-${minecraft_version}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mixin {
|
mixin {
|
||||||
|
add(sourceSets.main, "${mod_id}.refmap.json")
|
||||||
|
|
||||||
config("${mod_id}.mixins.json")
|
config("${mod_id}.mixins.json")
|
||||||
config("${mod_id}.forge.mixins.json")
|
config("${mod_id}.forge.mixins.json")
|
||||||
}
|
}
|
||||||
jar {
|
def commonResources = project(':common').file('src/main/resources/').getAbsolutePath()
|
||||||
manifest {
|
def forgeResources = file('src/main/resources/').getAbsolutePath()
|
||||||
attributes["MixinConfigs"] = "${mod_id}.mixins.json,${mod_id}.forge.mixins.json"
|
def forgeBuildResources = file('build/resources/main/').getAbsolutePath()
|
||||||
}
|
def commonBuildResources = project(':common').file('build/resources/main/').getAbsolutePath()
|
||||||
}
|
def generatedOutput = project(':common').file('src/generated/resources/').getAbsolutePath()
|
||||||
|
|
||||||
minecraft {
|
legacyForge {
|
||||||
def commonResources = project(':common').file('src/main/resources/').getAbsolutePath()
|
version = "${minecraft_version}-${forge_version}"
|
||||||
def forgeResources = file('src/main/resources/').getAbsolutePath()
|
|
||||||
def forgeBuildResources = file('build/resources/main/').getAbsolutePath()
|
|
||||||
def commonBuildResources = project(':common').file('build/resources/main/').getAbsolutePath()
|
|
||||||
def generatedOutput = project(':common').file('src/generated/resources/').getAbsolutePath()
|
|
||||||
|
|
||||||
mappings channel: 'official', version: minecraft_version
|
validateAccessTransformers = true
|
||||||
|
|
||||||
copyIdeResources = true //Calls processResources when in dev
|
|
||||||
|
|
||||||
reobf = false // Forge 1.20.6+ uses official mappings at runtime, so we shouldn't reobf from official to SRG
|
|
||||||
|
|
||||||
// Automatically enable forge AccessTransformers if the file exists
|
|
||||||
// This location is hardcoded in Forge and can not be changed.
|
|
||||||
// https://github.com/MinecraftForge/MinecraftForge/blob/be1698bb1554f9c8fa2f58e32b9ab70bc4385e60/fmlloader/src/main/java/net/minecraftforge/fml/loading/moddiscovery/ModFile.java#L123
|
|
||||||
// Forge still uses SRG names during compile time, so we cannot use the common AT's
|
|
||||||
def at = project(':common').file('src/main/resources/META-INF/accesstransformer.cfg')
|
def at = project(':common').file('src/main/resources/META-INF/accesstransformer.cfg')
|
||||||
|
def generated = project(':common').file('src/generated/resources/')
|
||||||
if (at.exists()) {
|
if (at.exists()) {
|
||||||
accessTransformers = ["src/main/resources/META-INF/accesstransformer.cfg"]
|
accessTransformers = ["src/main/resources/META-INF/accesstransformer.cfg"]
|
||||||
}
|
}
|
||||||
|
parchment {
|
||||||
|
minecraftVersion = parchment_minecraft
|
||||||
|
mappingsVersion = parchment_version
|
||||||
|
}
|
||||||
runs {
|
runs {
|
||||||
client {
|
client {
|
||||||
workingDirectory file('runs/client')
|
client()
|
||||||
ideaModule "${rootProject.name}.${project.name}.main"
|
devLogin = true
|
||||||
taskName 'Client'
|
programArguments.addAll(
|
||||||
mods {
|
'--mod', project.mod_id,
|
||||||
modClientRun {
|
|
||||||
source sourceSets.main
|
|
||||||
}
|
|
||||||
}
|
|
||||||
args '--mod', project.mod_id,
|
|
||||||
'--all',
|
'--all',
|
||||||
'--existing', forgeResources,
|
'--existing', forgeResources,
|
||||||
'--existing', commonResources,
|
'--existing', commonResources,
|
||||||
'--existing', forgeBuildResources,
|
'--existing', forgeBuildResources,
|
||||||
'--existing', commonBuildResources
|
'--existing', commonBuildResources
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
|
||||||
workingDirectory file('runs/server')
|
|
||||||
ideaModule "${rootProject.name}.${project.name}.main"
|
|
||||||
taskName 'Server'
|
|
||||||
mods {
|
|
||||||
modServerRun {
|
|
||||||
source sourceSets.main
|
|
||||||
}
|
|
||||||
}
|
|
||||||
args '--mod', project.mod_id,
|
|
||||||
'--all',
|
|
||||||
'--existing', forgeResources,
|
|
||||||
'--existing', commonResources,
|
|
||||||
'--existing', forgeBuildResources,
|
|
||||||
'--existing', commonBuildResources
|
|
||||||
}
|
|
||||||
|
|
||||||
data {
|
data {
|
||||||
workingDirectory file('runs/data')
|
data()
|
||||||
ideaModule "${rootProject.name}.${project.name}.main"
|
|
||||||
args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
|
// 使用之前定义的变量
|
||||||
taskName 'Data'
|
programArguments.addAll(
|
||||||
mods {
|
'--mod', project.mod_id,
|
||||||
modDataRun {
|
|
||||||
source sourceSets.main
|
|
||||||
}
|
|
||||||
}
|
|
||||||
args '--mod', mod_id,
|
|
||||||
'--all',
|
'--all',
|
||||||
'--output', generatedOutput,
|
'--output', generatedOutput,
|
||||||
'--existing', forgeResources,
|
'--existing', forgeResources,
|
||||||
'--existing', commonResources,
|
'--existing', commonResources,
|
||||||
'--existing', forgeBuildResources,
|
'--existing', forgeBuildResources,
|
||||||
'--existing', commonBuildResources
|
'--existing', commonBuildResources
|
||||||
|
)
|
||||||
|
}
|
||||||
|
server {
|
||||||
|
server()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
mods {
|
||||||
|
"${mod_id}" {
|
||||||
|
sourceSet sourceSets.main
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -97,11 +71,15 @@ minecraft {
|
||||||
sourceSets.main.resources.srcDir project(':common').file('src/generated/resources')
|
sourceSets.main.resources.srcDir project(':common').file('src/generated/resources')
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}"
|
compileOnly project(":common")
|
||||||
annotationProcessor("org.spongepowered:mixin:0.8.5-SNAPSHOT:processor")
|
annotationProcessor("org.spongepowered:mixin:0.8.5-SNAPSHOT:processor")
|
||||||
|
}
|
||||||
|
|
||||||
// Forge's hack fix
|
jar {
|
||||||
implementation('net.sf.jopt-simple:jopt-simple:5.0.4') { version { strictly '5.0.4' } }
|
finalizedBy('reobfJar')
|
||||||
|
manifest.attributes([
|
||||||
|
"MixinConfigs": "${mod_id}.mixins.json,${mod_id}.forge.mixins.json"
|
||||||
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
// 配置sourceJar任务
|
// 配置sourceJar任务
|
||||||
|
|
@ -145,13 +123,44 @@ tasks.named('build') {
|
||||||
dependsOn tasks.named('javadocJar')
|
dependsOn tasks.named('javadocJar')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 处理reobf
|
||||||
sourceSets.each {
|
tasks.named('reobfJar') {
|
||||||
def dir = layout.buildDirectory.dir("sourcesSets/$it.name")
|
dependsOn tasks.named('sourcesJar')
|
||||||
it.output.resourcesDir = dir
|
dependsOn tasks.named('javadocJar')
|
||||||
it.java.destinationDirectory = dir
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 发布配置
|
||||||
|
publishing {
|
||||||
|
publications {
|
||||||
|
mavenJava(MavenPublication) {
|
||||||
|
artifactId = "${mod_id}-forge-${minecraft_version}"
|
||||||
|
artifacts.clear()
|
||||||
|
artifact(tasks.named('reobfJar').get()) {
|
||||||
|
builtBy tasks.named('reobfJar')
|
||||||
|
}
|
||||||
|
artifact(tasks.named('sourcesJar').get()) {
|
||||||
|
builtBy tasks.named('sourcesJar')
|
||||||
|
classifier = 'sources'
|
||||||
|
}
|
||||||
|
artifact(tasks.named('javadocJar').get()) {
|
||||||
|
builtBy tasks.named('javadocJar')
|
||||||
|
classifier = 'javadoc'
|
||||||
|
}
|
||||||
|
pom {
|
||||||
|
name = mod_name
|
||||||
|
description = project.description ?: "default"
|
||||||
|
developers {
|
||||||
|
developer {
|
||||||
|
id = mod_author
|
||||||
|
name = mod_author
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// 处理资源
|
||||||
processResources {
|
processResources {
|
||||||
from project(':common').sourceSets.main.resources
|
from project(':common').sourceSets.main.resources
|
||||||
inputs.property "version", project.version
|
inputs.property "version", project.version
|
||||||
|
|
@ -174,4 +183,4 @@ processResources {
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,16 +4,16 @@ import net.minecraftforge.fml.common.Mod;
|
||||||
|
|
||||||
@Mod(Constants.MOD_ID)
|
@Mod(Constants.MOD_ID)
|
||||||
public class ExampleMod {
|
public class ExampleMod {
|
||||||
|
|
||||||
public ExampleMod() {
|
public ExampleMod() {
|
||||||
|
|
||||||
// This method is invoked by the Forge mod loader when it is ready
|
// This method is invoked by the Forge mod loader when it is ready
|
||||||
// to load your mod. You can access Forge and Common code in this
|
// to load your mod. You can access Forge and Common code in this
|
||||||
// project.
|
// project.
|
||||||
|
|
||||||
// Use Forge to bootstrap the Common mod.
|
// Use Forge to bootstrap the Common mod.
|
||||||
Constants.LOG.info("Hello Forge world!");
|
Constants.LOG.info("Hello Forge world!");
|
||||||
CommonClass.init();
|
CommonClass.init();
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -2,15 +2,14 @@ modLoader = "javafml" #mandatory
|
||||||
loaderVersion = "${forge_loader_version_range}" #mandatory This is typically bumped every Minecraft version by Forge. See https://files.minecraftforge.net/ for a list of versions.
|
loaderVersion = "${forge_loader_version_range}" #mandatory This is typically bumped every Minecraft version by Forge. See https://files.minecraftforge.net/ for a list of versions.
|
||||||
license = "${license}" # Review your options at https://choosealicense.com/.
|
license = "${license}" # Review your options at https://choosealicense.com/.
|
||||||
#issueTrackerURL="https://change.me.to.your.issue.tracker.example.invalid/" #optional
|
#issueTrackerURL="https://change.me.to.your.issue.tracker.example.invalid/" #optional
|
||||||
#clientSideOnly=true #optional
|
|
||||||
[[mods]] #mandatory
|
[[mods]] #mandatory
|
||||||
modId = "${mod_id}" #mandatory
|
modId = "${mod_id}" #mandatory
|
||||||
version = "${version}" #mandatory
|
version = "${version}" #mandatory
|
||||||
displayName = "${mod_name}" #mandatory
|
displayName = "${mod_name}" #mandatory
|
||||||
#updateJSONURL="https://change.me.example.invalid/updates.json" #optional (see https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/)
|
#updateJSONURL="https://change.me.example.invalid/updates.json" #optional (see https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/)
|
||||||
#displayURL="https://change.me.to.your.mods.homepage.example.invalid/" #optional (displayed in the mod UI)
|
#displayURL="https://change.me.to.your.mods.homepage.example.invalid/" #optional (displayed in the mod UI)
|
||||||
logoFile = "${mod_id}.png" #optional
|
logoFile = "${mod_id}.png" #optional (needs to be in the root of your mod jar (root of your 'resources' folder))
|
||||||
credits = "${credits}" #optional
|
credits = "Thanks for this example mod goes to Java" #optional
|
||||||
authors = "${mod_author}" #optional
|
authors = "${mod_author}" #optional
|
||||||
description = '''${description}''' #mandatory (Supports multiline text)
|
description = '''${description}''' #mandatory (Supports multiline text)
|
||||||
[[dependencies.${mod_id}]] #optional
|
[[dependencies.${mod_id}]] #optional
|
||||||
|
|
@ -24,4 +23,4 @@ modId = "minecraft"
|
||||||
mandatory = true
|
mandatory = true
|
||||||
versionRange = "${minecraft_version_range}"
|
versionRange = "${minecraft_version_range}"
|
||||||
ordering = "NONE"
|
ordering = "NONE"
|
||||||
side = "BOTH"
|
side = "BOTH"
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,17 @@
|
||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"minVersion": "0.8",
|
"minVersion": "0.8",
|
||||||
"package": "com.example.examplemod.mixin",
|
"package": "com.example.examplemod.mixin",
|
||||||
"compatibilityLevel": "JAVA_18",
|
"refmap": "${mod_id}.refmap.json",
|
||||||
"mixins": [],
|
"compatibilityLevel": "JAVA_17",
|
||||||
"client": [
|
"mixins": [
|
||||||
"MixinTitleScreen"
|
],
|
||||||
],
|
"client": [
|
||||||
"server": [],
|
"MixinTitleScreen"
|
||||||
"injectors": {
|
],
|
||||||
"defaultRequire": 1
|
"server": [
|
||||||
}
|
],
|
||||||
|
"injectors": {
|
||||||
|
"defaultRequire": 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,39 +1,48 @@
|
||||||
# Important Notes:
|
# Important Notes:
|
||||||
# Every field you add must be added to the root build.gradle expandProps map.
|
# fabric.mod.json's modid field cannot be expanded, you must change it manually.
|
||||||
|
# Every field you add must be added to buildSrc/src/main/groovy/multiloader-common.gradle expandProps map.
|
||||||
|
|
||||||
# Project
|
# Project
|
||||||
version=1.0.0
|
version=1.0.0
|
||||||
group=com.example.examplemod
|
group=com.example.examplemod
|
||||||
java_version=21
|
java_version=17
|
||||||
|
|
||||||
# Common
|
# Common
|
||||||
minecraft_version=1.21.1
|
minecraft_version=1.20.1
|
||||||
mod_name=ExampleMod
|
mod_name=ExampleMod
|
||||||
mod_author=Jared
|
mod_author=Jared
|
||||||
mod_id=examplemod
|
mod_id=examplemod
|
||||||
license=CC0-1.0
|
license=CC0-1.0
|
||||||
credits=
|
credits=
|
||||||
description=The description of your mod. \nAccepts multilines.
|
description=The description of your mod. \nAccepts multilines.
|
||||||
minecraft_version_range=[1.21.1, 1.22)
|
minecraft_version_range=[1.20.1, 1.22)
|
||||||
## This is the version of minecraft that the 'common' project uses, you can find a list of all versions here
|
|
||||||
## https://projects.neoforged.net/neoforged/neoform
|
|
||||||
neo_form_version=1.21.1-20240808.144430
|
|
||||||
# The version of ParchmentMC that is used, see https://parchmentmc.org/docs/getting-started#choose-a-version for new versions
|
# The version of ParchmentMC that is used, see https://parchmentmc.org/docs/getting-started#choose-a-version for new versions
|
||||||
parchment_minecraft=1.21
|
parchment_minecraft=1.20.1
|
||||||
parchment_version=2024.11.10
|
parchment_version=2023.09.03
|
||||||
|
|
||||||
# Fabric
|
# Fabric
|
||||||
fabric_version=0.109.0+1.21.1
|
fabric_version=0.92.1+1.20.1
|
||||||
fabric_loader_version=0.16.9
|
fabric_loader_version=0.16.9
|
||||||
|
|
||||||
# Forge
|
# Forge
|
||||||
forge_version=52.0.28
|
forge_version=47.2.30
|
||||||
forge_loader_version_range=[52,)
|
forge_loader_version_range=[47,)
|
||||||
|
|
||||||
# NeoForge
|
|
||||||
neoforge_version=21.1.80
|
|
||||||
neoforge_loader_version_range=[4,)
|
|
||||||
|
|
||||||
# Gradle
|
# Gradle
|
||||||
org.gradle.jvmargs=-Xmx3G
|
org.gradle.jvmargs=-Xmx3G
|
||||||
org.gradle.daemon=false
|
org.gradle.daemon=false
|
||||||
|
|
||||||
|
# Release
|
||||||
|
publish_github=true
|
||||||
|
publish_modrinth=false
|
||||||
|
publish_curseforge=false
|
||||||
|
|
||||||
|
modrinth_id=
|
||||||
|
curseforge_id=
|
||||||
|
|
||||||
|
java_versions=
|
||||||
|
|
||||||
|
fabric_modrinth_dependencies=
|
||||||
|
forge_modrinth_dependencies=
|
||||||
|
fabric_curseforge_dependencies=
|
||||||
|
forge_curseforge_dependencies=
|
||||||
|
|
|
||||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
|
@ -1,6 +1,6 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|
|
||||||
|
|
@ -1,112 +0,0 @@
|
||||||
plugins {
|
|
||||||
id 'multiloader-loader'
|
|
||||||
id 'net.neoforged.moddev'
|
|
||||||
}
|
|
||||||
def commonResources = project(':common').file('src/main/resources/').getAbsolutePath()
|
|
||||||
def neoforgeResources = file('src/main/resources/').getAbsolutePath()
|
|
||||||
def neoforgeBuildResources = file('build/resources/main/').getAbsolutePath()
|
|
||||||
def commonBuildResources = project(':common').file('build/resources/main/').getAbsolutePath()
|
|
||||||
def generatedOutput = project(':common').file('src/generated/resources/').getAbsolutePath()
|
|
||||||
neoForge {
|
|
||||||
version = neoforge_version
|
|
||||||
// Automatically enable neoforge AccessTransformers if the file exists
|
|
||||||
def at = project(':common').file('src/main/resources/META-INF/accesstransformer.cfg')
|
|
||||||
if (at.exists()) {
|
|
||||||
accessTransformers.from(at.absolutePath)
|
|
||||||
}
|
|
||||||
parchment {
|
|
||||||
minecraftVersion = parchment_minecraft
|
|
||||||
mappingsVersion = parchment_version
|
|
||||||
}
|
|
||||||
runs {
|
|
||||||
configureEach {
|
|
||||||
systemProperty('neoforge.enabledGameTestNamespaces', mod_id)
|
|
||||||
ideName = "NeoForge ${it.name.capitalize()} (${project.path})" // Unify the run config names with fabric
|
|
||||||
}
|
|
||||||
client {
|
|
||||||
client()
|
|
||||||
programArguments.addAll(
|
|
||||||
'--mod', project.mod_id,
|
|
||||||
'--all',
|
|
||||||
'--existing', neoforgeResources,
|
|
||||||
'--existing', commonResources,
|
|
||||||
'--existing', neoforgeBuildResources,
|
|
||||||
'--existing', commonBuildResources
|
|
||||||
)
|
|
||||||
}
|
|
||||||
data {
|
|
||||||
data()
|
|
||||||
|
|
||||||
// DataGen can be run by - "./gradlew :neoforge:runData" in Terminal.
|
|
||||||
// Specify the modid for data generation, where to output the resulting resource, and where to look for existing resources.
|
|
||||||
programArguments.addAll(
|
|
||||||
'--mod', project.mod_id,
|
|
||||||
'--all',
|
|
||||||
'--output', generatedOutput,
|
|
||||||
'--existing', neoforgeResources,
|
|
||||||
'--existing', commonResources,
|
|
||||||
'--existing', neoforgeBuildResources,
|
|
||||||
'--existing', commonBuildResources
|
|
||||||
)
|
|
||||||
}
|
|
||||||
server {
|
|
||||||
server()
|
|
||||||
programArguments.addAll(
|
|
||||||
'--mod', project.mod_id,
|
|
||||||
'--all',
|
|
||||||
'--existing', neoforgeResources,
|
|
||||||
'--existing', commonResources,
|
|
||||||
'--existing', neoforgeBuildResources,
|
|
||||||
'--existing', commonBuildResources
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
mods {
|
|
||||||
"${mod_id}" {
|
|
||||||
sourceSet sourceSets.main
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 配置sourceJar任务
|
|
||||||
tasks.named('sourcesJar', Jar) {
|
|
||||||
dependsOn classes
|
|
||||||
dependsOn project(':common').tasks.named('sourcesJar') // 显式依赖common的source
|
|
||||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
||||||
archiveClassifier.set('sources')
|
|
||||||
from sourceSets.main.allSource
|
|
||||||
from project(':common').sourceSets.main.allSource
|
|
||||||
}
|
|
||||||
|
|
||||||
// 配置javadoc任务
|
|
||||||
tasks.named('javadoc', Javadoc) {
|
|
||||||
source project(':common').sourceSets.main.allJava
|
|
||||||
source sourceSets.main.allJava
|
|
||||||
classpath = configurations.compileClasspath
|
|
||||||
classpath += project(':common').sourceSets.main.compileClasspath
|
|
||||||
options.encoding = 'UTF-8'
|
|
||||||
options.charSet = 'UTF-8'
|
|
||||||
options.links("https://docs.oracle.com/en/java/javase/21/docs/api/")
|
|
||||||
options.memberLevel = JavadocMemberLevel.PUBLIC
|
|
||||||
options.addBooleanOption('Xdoclint:none', true)
|
|
||||||
options.addStringOption('doctitle', "${mod_id} ${minecraft_version} ${version} Javadoc")
|
|
||||||
}
|
|
||||||
|
|
||||||
// 配置javadocJar任务
|
|
||||||
tasks.named('javadocJar', Jar) {
|
|
||||||
dependsOn javadoc
|
|
||||||
dependsOn project(':common').tasks.named('javadoc') // 显式依赖common的javadoc
|
|
||||||
|
|
||||||
archiveClassifier.set('javadoc')
|
|
||||||
from javadoc.destinationDir
|
|
||||||
from project(':common').javadoc.destinationDir
|
|
||||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
||||||
}
|
|
||||||
|
|
||||||
// 确保build任务包含所有需要的jar
|
|
||||||
tasks.named('build') {
|
|
||||||
dependsOn tasks.named('sourcesJar')
|
|
||||||
dependsOn tasks.named('javadocJar')
|
|
||||||
}
|
|
||||||
|
|
||||||
sourceSets.main.resources.srcDir project(':common').file('src/generated/resources')
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
package com.example.examplemod;
|
|
||||||
|
|
||||||
|
|
||||||
import net.neoforged.bus.api.IEventBus;
|
|
||||||
import net.neoforged.fml.common.Mod;
|
|
||||||
|
|
||||||
@Mod(Constants.MOD_ID)
|
|
||||||
public class ExampleMod {
|
|
||||||
|
|
||||||
public ExampleMod(IEventBus eventBus) {
|
|
||||||
|
|
||||||
// This method is invoked by the NeoForge mod loader when it is ready
|
|
||||||
// to load your mod. You can access NeoForge and Common code in this
|
|
||||||
// project.
|
|
||||||
|
|
||||||
// Use NeoForge to bootstrap the Common mod.
|
|
||||||
Constants.LOG.info("Hello NeoForge world!");
|
|
||||||
CommonClass.init();
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,20 +0,0 @@
|
||||||
package com.example.examplemod.mixin;
|
|
||||||
|
|
||||||
import com.example.examplemod.Constants;
|
|
||||||
import net.minecraft.client.Minecraft;
|
|
||||||
import net.minecraft.client.gui.screens.TitleScreen;
|
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
|
||||||
import org.spongepowered.asm.mixin.injection.At;
|
|
||||||
import org.spongepowered.asm.mixin.injection.Inject;
|
|
||||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
|
||||||
|
|
||||||
@Mixin(TitleScreen.class)
|
|
||||||
public class MixinTitleScreen {
|
|
||||||
|
|
||||||
@Inject(at = @At("HEAD"), method = "init()V")
|
|
||||||
private void init(CallbackInfo info) {
|
|
||||||
|
|
||||||
Constants.LOG.info("This line is printed by an example mod mixin from NeoForge!");
|
|
||||||
Constants.LOG.info("MC Version: {}", Minecraft.getInstance().getVersionType());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
||||||
package com.example.examplemod.platform;
|
|
||||||
|
|
||||||
import com.example.examplemod.platform.services.IPlatformHelper;
|
|
||||||
import net.neoforged.fml.ModList;
|
|
||||||
import net.neoforged.fml.loading.FMLLoader;
|
|
||||||
|
|
||||||
public class NeoForgePlatformHelper implements IPlatformHelper {
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getPlatformName() {
|
|
||||||
|
|
||||||
return "NeoForge";
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isModLoaded(String modId) {
|
|
||||||
|
|
||||||
return ModList.get().isLoaded(modId);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isDevelopmentEnvironment() {
|
|
||||||
|
|
||||||
return !FMLLoader.isProduction();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,36 +0,0 @@
|
||||||
modLoader = "javafml" #mandatory
|
|
||||||
loaderVersion = "${neoforge_loader_version_range}" #mandatory
|
|
||||||
license = "${license}" # Review your options at https://choosealicense.com/.
|
|
||||||
#issueTrackerURL="https://change.me.to.your.issue.tracker.example.invalid/" #optional
|
|
||||||
[[mods]] #mandatory
|
|
||||||
modId = "${mod_id}" #mandatory
|
|
||||||
version = "${version}" #mandatory
|
|
||||||
displayName = "${mod_name}" #mandatory
|
|
||||||
#updateJSONURL="https://change.me.example.invalid/updates.json" #optional (see https://docs.neoforged.net/docs/misc/updatechecker/)
|
|
||||||
#displayURL="https://change.me.to.your.mods.homepage.example.invalid/" #optional (displayed in the mod UI)
|
|
||||||
logoFile="${mod_id}.png" #optional
|
|
||||||
credits="${credits}" #optional
|
|
||||||
authors = "${mod_author}" #optional
|
|
||||||
description = '''${description}''' #mandatory (Supports multiline text)
|
|
||||||
[[mixins]]
|
|
||||||
config = "${mod_id}.mixins.json"
|
|
||||||
[[mixins]]
|
|
||||||
config = "${mod_id}.neoforge.mixins.json"
|
|
||||||
[[dependencies.${mod_id}]] #optional
|
|
||||||
modId = "neoforge" #mandatory
|
|
||||||
type="required" #mandatory (Can be one of "required", "optional", "incompatible" or "discouraged")
|
|
||||||
versionRange = "[${neoforge_version},)" #mandatory
|
|
||||||
ordering = "NONE" # The order that this dependency should load in relation to your mod, required to be either 'BEFORE' or 'AFTER' if the dependency is not mandatory
|
|
||||||
side = "BOTH" # Side this dependency is applied on - 'BOTH', 'CLIENT' or 'SERVER'
|
|
||||||
[[dependencies.${mod_id}]]
|
|
||||||
modId = "minecraft"
|
|
||||||
type="required" #mandatory (Can be one of "required", "optional", "incompatible" or "discouraged")
|
|
||||||
versionRange = "${minecraft_version_range}"
|
|
||||||
ordering = "NONE"
|
|
||||||
side = "BOTH"
|
|
||||||
|
|
||||||
# Features are specific properties of the game environment, that you may want to declare you require. This example declares
|
|
||||||
# that your mod requires GL version 3.2 or higher. Other features will be added. They are side aware so declaring this won't
|
|
||||||
# stop your mod loading on the server for example.
|
|
||||||
#[features.${mod_id}]
|
|
||||||
#openGLVersion="[3.2,)"
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
com.example.examplemod.platform.NeoForgePlatformHelper
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
{
|
|
||||||
"required": true,
|
|
||||||
"minVersion": "0.8",
|
|
||||||
"package": "com.example.examplemod.mixin",
|
|
||||||
"compatibilityLevel": "JAVA_21",
|
|
||||||
"mixins": [],
|
|
||||||
"client": [
|
|
||||||
"MixinTitleScreen"
|
|
||||||
],
|
|
||||||
"server": [],
|
|
||||||
"injectors": {
|
|
||||||
"defaultRequire": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
0
node_modules/cz-conventional-changelog/node_modules/.bin/cz → node_modules/.bin/cz
generated
vendored
0
node_modules/cz-conventional-changelog/node_modules/.bin/cz → node_modules/.bin/cz
generated
vendored
0
node_modules/@commitlint/load/node_modules/.bin/js-yaml → node_modules/.bin/js-yaml
generated
vendored
0
node_modules/@commitlint/load/node_modules/.bin/js-yaml → node_modules/.bin/js-yaml
generated
vendored
0
node_modules/@commitlint/load/node_modules/.bin/tsc → node_modules/.bin/tsc
generated
vendored
0
node_modules/@commitlint/load/node_modules/.bin/tsc → node_modules/.bin/tsc
generated
vendored
0
node_modules/@commitlint/load/node_modules/.bin/tsc.cmd → node_modules/.bin/tsc.cmd
generated
vendored
0
node_modules/@commitlint/load/node_modules/.bin/tsc.cmd → node_modules/.bin/tsc.cmd
generated
vendored
0
node_modules/@commitlint/load/node_modules/.bin/tsc.ps1 → node_modules/.bin/tsc.ps1
generated
vendored
0
node_modules/@commitlint/load/node_modules/.bin/tsc.ps1 → node_modules/.bin/tsc.ps1
generated
vendored
0
node_modules/global-prefix/node_modules/.bin/which → node_modules/.bin/which
generated
vendored
0
node_modules/global-prefix/node_modules/.bin/which → node_modules/.bin/which
generated
vendored
0
node_modules/global-prefix/node_modules/.bin/which.cmd → node_modules/.bin/which.cmd
generated
vendored
0
node_modules/global-prefix/node_modules/.bin/which.cmd → node_modules/.bin/which.cmd
generated
vendored
0
node_modules/global-prefix/node_modules/.bin/which.ps1 → node_modules/.bin/which.ps1
generated
vendored
0
node_modules/global-prefix/node_modules/.bin/which.ps1 → node_modules/.bin/which.ps1
generated
vendored
470
node_modules/.package-lock.json
generated
vendored
470
node_modules/.package-lock.json
generated
vendored
|
|
@ -31,14 +31,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@commitlint/config-validator": {
|
"node_modules/@commitlint/config-validator": {
|
||||||
"version": "20.5.0",
|
"version": "20.4.3",
|
||||||
"resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-20.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/@commitlint/config-validator/-/config-validator-20.4.3.tgz",
|
||||||
"integrity": "sha512-T/Uh6iJUzyx7j35GmHWdIiGRQB+ouZDk0pwAaYq4SXgB54KZhFdJ0vYmxiW6AMYICTIWuyMxDBl1jK74oFp/Gw==",
|
"integrity": "sha512-jCZpZFkcSL3ZEdL5zgUzFRdytv3xPo8iukTe9VA+QGus/BGhpp1xXSVu2B006GLLb2gYUAEGEqv64kTlpZNgmA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@commitlint/types": "^20.5.0",
|
"@commitlint/types": "^20.4.3",
|
||||||
"ajv": "^8.11.0"
|
"ajv": "^8.11.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
@ -57,117 +57,40 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@commitlint/load": {
|
"node_modules/@commitlint/load": {
|
||||||
"version": "20.5.3",
|
"version": "20.4.3",
|
||||||
"resolved": "https://registry.npmjs.org/@commitlint/load/-/load-20.5.3.tgz",
|
"resolved": "https://registry.npmjs.org/@commitlint/load/-/load-20.4.3.tgz",
|
||||||
"integrity": "sha512-1FDZWuKyu98Myb8i7Tp31jPU2rZpOwAdYRyJcy2KoGg7Xk2A+bgHN8smhMaaNSNkmE8fwt53BokywZq8Gv/5XQ==",
|
"integrity": "sha512-3cdJOUVP+VcgHa7bhJoWS+Z8mBNXB5aLWMBu7Q7uX8PSeWDzdbrBlR33J1MGGf7r1PZDp+mPPiFktk031PgdRw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@commitlint/config-validator": "^20.5.0",
|
"@commitlint/config-validator": "^20.4.3",
|
||||||
"@commitlint/execute-rule": "^20.0.0",
|
"@commitlint/execute-rule": "^20.0.0",
|
||||||
"@commitlint/resolve-extends": "^20.5.3",
|
"@commitlint/resolve-extends": "^20.4.3",
|
||||||
"@commitlint/types": "^20.5.0",
|
"@commitlint/types": "^20.4.3",
|
||||||
"cosmiconfig": "^9.0.1",
|
"cosmiconfig": "^9.0.1",
|
||||||
"cosmiconfig-typescript-loader": "^6.1.0",
|
"cosmiconfig-typescript-loader": "^6.1.0",
|
||||||
"es-toolkit": "^1.46.0",
|
|
||||||
"is-plain-obj": "^4.1.0",
|
"is-plain-obj": "^4.1.0",
|
||||||
|
"lodash.mergewith": "^4.6.2",
|
||||||
"picocolors": "^1.1.1"
|
"picocolors": "^1.1.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=v18"
|
"node": ">=v18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@commitlint/load/node_modules/cosmiconfig": {
|
|
||||||
"version": "9.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.1.tgz",
|
|
||||||
"integrity": "sha512-hr4ihw+DBqcvrsEDioRO31Z17x71pUYoNe/4h6Z0wB72p7MU7/9gH8Q3s12NFhHPfYBBOV3qyfUxmr/Yn3shnQ==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"dependencies": {
|
|
||||||
"env-paths": "^2.2.1",
|
|
||||||
"import-fresh": "^3.3.0",
|
|
||||||
"js-yaml": "^4.1.0",
|
|
||||||
"parse-json": "^5.2.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=14"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/d-fischer"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"typescript": ">=4.9.5"
|
|
||||||
},
|
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"typescript": {
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@commitlint/load/node_modules/cosmiconfig-typescript-loader": {
|
|
||||||
"version": "6.3.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-6.3.0.tgz",
|
|
||||||
"integrity": "sha512-Akr82WH1Wfqatyiqpj8HDkO2o2KmJRu1FhKfSNJP3K4IdXwHfEyL7MOb62i1AGQVLtIQM+iCE9CGOtrfhR+mmA==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"dependencies": {
|
|
||||||
"jiti": "2.6.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=v18"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"@types/node": "*",
|
|
||||||
"cosmiconfig": ">=9",
|
|
||||||
"typescript": ">=5"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@commitlint/load/node_modules/js-yaml": {
|
|
||||||
"version": "4.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
|
|
||||||
"integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"dependencies": {
|
|
||||||
"argparse": "^2.0.1"
|
|
||||||
},
|
|
||||||
"bin": {
|
|
||||||
"js-yaml": "bin/js-yaml.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@commitlint/load/node_modules/typescript": {
|
|
||||||
"version": "6.0.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
|
|
||||||
"integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "Apache-2.0",
|
|
||||||
"optional": true,
|
|
||||||
"peer": true,
|
|
||||||
"bin": {
|
|
||||||
"tsc": "bin/tsc",
|
|
||||||
"tsserver": "bin/tsserver"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=14.17"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@commitlint/resolve-extends": {
|
"node_modules/@commitlint/resolve-extends": {
|
||||||
"version": "20.5.3",
|
"version": "20.4.3",
|
||||||
"resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-20.5.3.tgz",
|
"resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-20.4.3.tgz",
|
||||||
"integrity": "sha512-+ogW9v/u9JqpvAgTrLra/YTFo0KkjU6iNblF89pPsj4NebNc+DAWctsludwezI8YnsjBmfHpApSwcXprN/f/ew==",
|
"integrity": "sha512-QucxcOy+00FhS9s4Uy0OyS5HeUV+hbC6OLqkTSIm6fwMdKva+OEavaCDuLtgd9akZZlsUo//XzSmPP3sLKBPog==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@commitlint/config-validator": "^20.5.0",
|
"@commitlint/config-validator": "^20.4.3",
|
||||||
"@commitlint/types": "^20.5.0",
|
"@commitlint/types": "^20.4.3",
|
||||||
"es-toolkit": "^1.46.0",
|
"global-directory": "^4.0.1",
|
||||||
"global-directory": "^5.0.0",
|
|
||||||
"import-meta-resolve": "^4.0.0",
|
"import-meta-resolve": "^4.0.0",
|
||||||
|
"lodash.mergewith": "^4.6.2",
|
||||||
"resolve-from": "^5.0.0"
|
"resolve-from": "^5.0.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
@ -175,9 +98,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@commitlint/types": {
|
"node_modules/@commitlint/types": {
|
||||||
"version": "20.5.0",
|
"version": "20.4.3",
|
||||||
"resolved": "https://registry.npmjs.org/@commitlint/types/-/types-20.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/@commitlint/types/-/types-20.4.3.tgz",
|
||||||
"integrity": "sha512-ZJoS8oSq2CAZEpc/YI9SulLrdiIyXeHb/OGqGrkUP6Q7YV+0ouNAa7GjqRdXeQPncHQIDz/jbCTlHScvYvO/gA==",
|
"integrity": "sha512-51OWa1Gi6ODOasPmfJPq6js4pZoomima4XLZZCrkldaH2V5Nb3bVhNXPeT6XV0gubbainSpTw4zi68NqAeCNCg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
|
|
@ -204,21 +127,21 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@types/node": {
|
"node_modules/@types/node": {
|
||||||
"version": "25.6.0",
|
"version": "25.3.5",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-25.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-25.3.5.tgz",
|
||||||
"integrity": "sha512-+qIYRKdNYJwY3vRCZMdJbPLJAtGjQBudzZzdzwQYkEPQd+PJGixUL5QfvCLDaULoLv+RhT3LDkwEfKaAkgSmNQ==",
|
"integrity": "sha512-oX8xrhvpiyRCQkG1MFchB09f+cXftgIXb3a7UUa4Y3wpmZPw5tyZGTLWhlESOLq1Rq6oDlc8npVU2/9xiCuXMA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"peer": true,
|
"peer": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"undici-types": "~7.19.0"
|
"undici-types": "~7.18.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ajv": {
|
"node_modules/ajv": {
|
||||||
"version": "8.20.0",
|
"version": "8.18.0",
|
||||||
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz",
|
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz",
|
||||||
"integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==",
|
"integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
|
|
@ -331,9 +254,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/brace-expansion": {
|
"node_modules/brace-expansion": {
|
||||||
"version": "1.1.14",
|
"version": "1.1.12",
|
||||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz",
|
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
|
||||||
"integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==",
|
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
@ -458,6 +381,16 @@
|
||||||
"node": ">= 10"
|
"node": ">= 10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/clone": {
|
||||||
|
"version": "1.0.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
|
||||||
|
"integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=0.8"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/color-convert": {
|
"node_modules/color-convert": {
|
||||||
"version": "1.9.3",
|
"version": "1.9.3",
|
||||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
|
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
|
||||||
|
|
@ -475,74 +408,7 @@
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/concat-map": {
|
"node_modules/commitizen": {
|
||||||
"version": "0.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
|
||||||
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT"
|
|
||||||
},
|
|
||||||
"node_modules/conventional-commit-types": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/conventional-commit-types/-/conventional-commit-types-3.0.0.tgz",
|
|
||||||
"integrity": "sha512-SmmCYnOniSsAa9GqWOeLqc179lfr5TRu5b4QFDkbsrJ5TZjPJx85wtOr3zn+1dbeNiXDKGPbZ72IKbPhLXh/Lg==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "ISC"
|
|
||||||
},
|
|
||||||
"node_modules/conventional-commits-parser": {
|
|
||||||
"version": "6.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-6.4.0.tgz",
|
|
||||||
"integrity": "sha512-tvRg7FIBNlyPzjdG8wWRlPHQJJHI7DylhtRGeU9Lq+JuoPh5BKpPRX83ZdLrvXuOSu5Eo/e7SzOQhU4Hd2Miuw==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"dependencies": {
|
|
||||||
"@simple-libs/stream-utils": "^1.2.0",
|
|
||||||
"meow": "^13.0.0"
|
|
||||||
},
|
|
||||||
"bin": {
|
|
||||||
"conventional-commits-parser": "dist/cli/index.js"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=18"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/conventional-commits-parser/node_modules/meow": {
|
|
||||||
"version": "13.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz",
|
|
||||||
"integrity": "sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"engines": {
|
|
||||||
"node": ">=18"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/sindresorhus"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/cz-conventional-changelog": {
|
|
||||||
"version": "3.3.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz",
|
|
||||||
"integrity": "sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"chalk": "^2.4.1",
|
|
||||||
"commitizen": "^4.0.3",
|
|
||||||
"conventional-commit-types": "^3.0.0",
|
|
||||||
"lodash.map": "^4.5.1",
|
|
||||||
"longest": "^2.0.1",
|
|
||||||
"word-wrap": "^1.0.3"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
},
|
|
||||||
"optionalDependencies": {
|
|
||||||
"@commitlint/load": ">6.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/cz-conventional-changelog/node_modules/commitizen": {
|
|
||||||
"version": "4.3.1",
|
"version": "4.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/commitizen/-/commitizen-4.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/commitizen/-/commitizen-4.3.1.tgz",
|
||||||
"integrity": "sha512-gwAPAVTy/j5YcOOebcCRIijn+mSjWJC+IYKivTu6aG8Ei/scoXgfsMRnuAk6b0GRste2J4NGxVdMN3ZpfNaVaw==",
|
"integrity": "sha512-gwAPAVTy/j5YcOOebcCRIijn+mSjWJC+IYKivTu6aG8Ei/scoXgfsMRnuAk6b0GRste2J4NGxVdMN3ZpfNaVaw==",
|
||||||
|
|
@ -573,6 +439,106 @@
|
||||||
"node": ">= 12"
|
"node": ">= 12"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/concat-map": {
|
||||||
|
"version": "0.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
||||||
|
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
|
"node_modules/conventional-commit-types": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/conventional-commit-types/-/conventional-commit-types-3.0.0.tgz",
|
||||||
|
"integrity": "sha512-SmmCYnOniSsAa9GqWOeLqc179lfr5TRu5b4QFDkbsrJ5TZjPJx85wtOr3zn+1dbeNiXDKGPbZ72IKbPhLXh/Lg==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "ISC"
|
||||||
|
},
|
||||||
|
"node_modules/conventional-commits-parser": {
|
||||||
|
"version": "6.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-6.3.0.tgz",
|
||||||
|
"integrity": "sha512-RfOq/Cqy9xV9bOA8N+ZH6DlrDR+5S3Mi0B5kACEjESpE+AviIpAptx9a9cFpWCCvgRtWT+0BbUw+e1BZfts9jg==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"dependencies": {
|
||||||
|
"@simple-libs/stream-utils": "^1.2.0",
|
||||||
|
"meow": "^13.0.0"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"conventional-commits-parser": "dist/cli/index.js"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/cosmiconfig": {
|
||||||
|
"version": "9.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.1.tgz",
|
||||||
|
"integrity": "sha512-hr4ihw+DBqcvrsEDioRO31Z17x71pUYoNe/4h6Z0wB72p7MU7/9gH8Q3s12NFhHPfYBBOV3qyfUxmr/Yn3shnQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"dependencies": {
|
||||||
|
"env-paths": "^2.2.1",
|
||||||
|
"import-fresh": "^3.3.0",
|
||||||
|
"js-yaml": "^4.1.0",
|
||||||
|
"parse-json": "^5.2.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/d-fischer"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"typescript": ">=4.9.5"
|
||||||
|
},
|
||||||
|
"peerDependenciesMeta": {
|
||||||
|
"typescript": {
|
||||||
|
"optional": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/cosmiconfig-typescript-loader": {
|
||||||
|
"version": "6.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-6.2.0.tgz",
|
||||||
|
"integrity": "sha512-GEN39v7TgdxgIoNcdkRE3uiAzQt3UXLyHbRHD6YoL048XAeOomyxaP+Hh/+2C6C2wYjxJ2onhJcsQp+L4YEkVQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"dependencies": {
|
||||||
|
"jiti": "^2.6.1"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=v18"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"@types/node": "*",
|
||||||
|
"cosmiconfig": ">=9",
|
||||||
|
"typescript": ">=5"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/cz-conventional-changelog": {
|
||||||
|
"version": "3.3.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz",
|
||||||
|
"integrity": "sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"chalk": "^2.4.1",
|
||||||
|
"commitizen": "^4.0.3",
|
||||||
|
"conventional-commit-types": "^3.0.0",
|
||||||
|
"lodash.map": "^4.5.1",
|
||||||
|
"longest": "^2.0.1",
|
||||||
|
"word-wrap": "^1.0.3"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 10"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"@commitlint/load": ">6.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/dedent": {
|
"node_modules/dedent": {
|
||||||
"version": "0.7.0",
|
"version": "0.7.0",
|
||||||
"resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz",
|
||||||
|
|
@ -593,16 +559,6 @@
|
||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/defaults/node_modules/clone": {
|
|
||||||
"version": "1.0.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
|
|
||||||
"integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/detect-file": {
|
"node_modules/detect-file": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz",
|
||||||
|
|
@ -652,18 +608,6 @@
|
||||||
"is-arrayish": "^0.2.1"
|
"is-arrayish": "^0.2.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/es-toolkit": {
|
|
||||||
"version": "1.46.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/es-toolkit/-/es-toolkit-1.46.1.tgz",
|
|
||||||
"integrity": "sha512-5eNtXOs3tbfxXOj04tjjseeWkRWaoCjdEI+96DgwzZoe6c9juL49pXlzAFTI72aWC9Y8p7168g6XIKjh7k6pyQ==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true,
|
|
||||||
"workspaces": [
|
|
||||||
"docs",
|
|
||||||
"benchmarks"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"node_modules/escape-string-regexp": {
|
"node_modules/escape-string-regexp": {
|
||||||
"version": "1.0.5",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
|
||||||
|
|
@ -837,17 +781,17 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/global-directory": {
|
"node_modules/global-directory": {
|
||||||
"version": "5.0.0",
|
"version": "4.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/global-directory/-/global-directory-5.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/global-directory/-/global-directory-4.0.1.tgz",
|
||||||
"integrity": "sha512-1pgFdhK3J2LeM+dVf2Pd424yHx2ou338lC0ErNP2hPx4j8eW1Sp0XqSjNxtk6Tc4Kr5wlWtSvz8cn2yb7/SG/w==",
|
"integrity": "sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ini": "6.0.0"
|
"ini": "4.1.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20"
|
"node": ">=18"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
|
|
@ -892,19 +836,6 @@
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "ISC"
|
"license": "ISC"
|
||||||
},
|
},
|
||||||
"node_modules/global-prefix/node_modules/which": {
|
|
||||||
"version": "1.3.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
|
|
||||||
"integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "ISC",
|
|
||||||
"dependencies": {
|
|
||||||
"isexe": "^2.0.0"
|
|
||||||
},
|
|
||||||
"bin": {
|
|
||||||
"which": "bin/which"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/graceful-fs": {
|
"node_modules/graceful-fs": {
|
||||||
"version": "4.2.11",
|
"version": "4.2.11",
|
||||||
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
||||||
|
|
@ -1030,14 +961,14 @@
|
||||||
"license": "ISC"
|
"license": "ISC"
|
||||||
},
|
},
|
||||||
"node_modules/ini": {
|
"node_modules/ini": {
|
||||||
"version": "6.0.0",
|
"version": "4.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/ini/-/ini-6.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz",
|
||||||
"integrity": "sha512-IBTdIkzZNOpqm7q3dRqJvMaldXjDHWkEDfrwGEQTs5eaQMWV+djAhR+wahyNNMAa+qpbDUhBMVt4ZKNwpPm7xQ==",
|
"integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^20.17.0 || >=22.9.0"
|
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/inquirer": {
|
"node_modules/inquirer": {
|
||||||
|
|
@ -1274,6 +1205,20 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
|
"node_modules/js-yaml": {
|
||||||
|
"version": "4.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
|
||||||
|
"integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"dependencies": {
|
||||||
|
"argparse": "^2.0.1"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"js-yaml": "bin/js-yaml.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/json-parse-even-better-errors": {
|
"node_modules/json-parse-even-better-errors": {
|
||||||
"version": "2.3.1",
|
"version": "2.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
|
||||||
|
|
@ -1291,9 +1236,9 @@
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
"node_modules/jsonfile": {
|
"node_modules/jsonfile": {
|
||||||
"version": "6.2.1",
|
"version": "6.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.0.tgz",
|
||||||
"integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==",
|
"integrity": "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
@ -1303,6 +1248,14 @@
|
||||||
"graceful-fs": "^4.1.6"
|
"graceful-fs": "^4.1.6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/lines-and-columns": {
|
||||||
|
"version": "1.2.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
|
||||||
|
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
"node_modules/lodash": {
|
"node_modules/lodash": {
|
||||||
"version": "4.17.21",
|
"version": "4.17.21",
|
||||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
|
||||||
|
|
@ -1317,6 +1270,14 @@
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
|
"node_modules/lodash.mergewith": {
|
||||||
|
"version": "4.6.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz",
|
||||||
|
"integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
"node_modules/log-symbols": {
|
"node_modules/log-symbols": {
|
||||||
"version": "4.1.0",
|
"version": "4.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz",
|
||||||
|
|
@ -1420,6 +1381,20 @@
|
||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/meow": {
|
||||||
|
"version": "13.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/meow/-/meow-13.2.0.tgz",
|
||||||
|
"integrity": "sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/merge": {
|
"node_modules/merge": {
|
||||||
"version": "2.1.1",
|
"version": "2.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/merge/-/merge-2.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/merge/-/merge-2.1.1.tgz",
|
||||||
|
|
@ -1651,14 +1626,6 @@
|
||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/parse-json/node_modules/lines-and-columns": {
|
|
||||||
"version": "1.2.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
|
|
||||||
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"node_modules/parse-passwd": {
|
"node_modules/parse-passwd": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz",
|
||||||
|
|
@ -1688,9 +1655,9 @@
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
"node_modules/picomatch": {
|
"node_modules/picomatch": {
|
||||||
"version": "2.3.2",
|
"version": "2.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
|
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
||||||
"integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
|
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
@ -1947,10 +1914,26 @@
|
||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/typescript": {
|
||||||
|
"version": "5.9.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
|
||||||
|
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"optional": true,
|
||||||
|
"peer": true,
|
||||||
|
"bin": {
|
||||||
|
"tsc": "bin/tsc",
|
||||||
|
"tsserver": "bin/tsserver"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14.17"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/undici-types": {
|
"node_modules/undici-types": {
|
||||||
"version": "7.19.2",
|
"version": "7.18.2",
|
||||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.19.2.tgz",
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
|
||||||
"integrity": "sha512-qYVnV5OEm2AW8cJMCpdV20CDyaN3g0AjDlOGf1OW4iaDEx8MwdtChUp4zu4H0VP3nDRF/8RKWH+IPp9uW0YGZg==",
|
"integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
|
|
@ -1983,6 +1966,19 @@
|
||||||
"defaults": "^1.0.3"
|
"defaults": "^1.0.3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/which": {
|
||||||
|
"version": "1.3.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
|
||||||
|
"integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "ISC",
|
||||||
|
"dependencies": {
|
||||||
|
"isexe": "^2.0.0"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"which": "bin/which"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/word-wrap": {
|
"node_modules/word-wrap": {
|
||||||
"version": "1.2.5",
|
"version": "1.2.5",
|
||||||
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
|
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
|
||||||
|
|
|
||||||
6
node_modules/@commitlint/config-validator/package.json
generated
vendored
6
node_modules/@commitlint/config-validator/package.json
generated
vendored
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@commitlint/config-validator",
|
"name": "@commitlint/config-validator",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "20.5.0",
|
"version": "20.4.3",
|
||||||
"description": "config validator for commitlint.config.js",
|
"description": "config validator for commitlint.config.js",
|
||||||
"main": "lib/validate.js",
|
"main": "lib/validate.js",
|
||||||
"types": "lib/validate.d.ts",
|
"types": "lib/validate.d.ts",
|
||||||
|
|
@ -39,8 +39,8 @@
|
||||||
"@commitlint/utils": "^20.0.0"
|
"@commitlint/utils": "^20.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@commitlint/types": "^20.5.0",
|
"@commitlint/types": "^20.4.3",
|
||||||
"ajv": "^8.11.0"
|
"ajv": "^8.11.0"
|
||||||
},
|
},
|
||||||
"gitHead": "a7918e9cf70f822505cb4422c03150a86f802627"
|
"gitHead": "a7469817974796a6e89f55911bb66b7bffa44099"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
node_modules/@commitlint/load/lib/load.d.ts.map
generated
vendored
2
node_modules/@commitlint/load/lib/load.d.ts.map
generated
vendored
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"load.d.ts","sourceRoot":"","sources":["../src/load.ts"],"names":[],"mappings":"AAIA,OAAuB,EACtB,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EAEnB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACN,WAAW,EAEX,eAAe,EAEf,UAAU,EACV,MAAM,mBAAmB,CAAC;AAmB3B,wBAA8B,IAAI,CACjC,IAAI,GAAE,UAAe,EACrB,OAAO,GAAE,WAAgB,GACvB,OAAO,CAAC,eAAe,CAAC,CAsG1B;AAED,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,CAAC"}
|
{"version":3,"file":"load.d.ts","sourceRoot":"","sources":["../src/load.ts"],"names":[],"mappings":"AAIA,OAAuB,EACtB,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EAEnB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACN,WAAW,EAEX,eAAe,EAEf,UAAU,EACV,MAAM,mBAAmB,CAAC;AAmB3B,wBAA8B,IAAI,CACjC,IAAI,GAAE,UAAe,EACrB,OAAO,GAAE,WAAgB,GACvB,OAAO,CAAC,eAAe,CAAC,CAkG1B;AAED,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,CAAC"}
|
||||||
11
node_modules/@commitlint/load/lib/load.js
generated
vendored
11
node_modules/@commitlint/load/lib/load.js
generated
vendored
|
|
@ -3,7 +3,7 @@ import { validateConfig } from "@commitlint/config-validator";
|
||||||
import executeRule from "@commitlint/execute-rule";
|
import executeRule from "@commitlint/execute-rule";
|
||||||
import resolveExtends, { resolveFrom, resolveFromSilent, resolveGlobalSilent, loadParserPreset, } from "@commitlint/resolve-extends";
|
import resolveExtends, { resolveFrom, resolveFromSilent, resolveGlobalSilent, loadParserPreset, } from "@commitlint/resolve-extends";
|
||||||
import isPlainObject from "is-plain-obj";
|
import isPlainObject from "is-plain-obj";
|
||||||
import { merge } from "es-toolkit/compat";
|
import mergeWith from "lodash.mergewith";
|
||||||
import { loadConfig } from "./utils/load-config.js";
|
import { loadConfig } from "./utils/load-config.js";
|
||||||
import { loadParserOpts } from "./utils/load-parser-opts.js";
|
import { loadParserOpts } from "./utils/load-parser-opts.js";
|
||||||
import loadPlugin from "./utils/load-plugin.js";
|
import loadPlugin from "./utils/load-plugin.js";
|
||||||
|
|
@ -25,14 +25,11 @@ export default async function load(seed = {}, options = {}) {
|
||||||
const configFilePath = loaded?.filepath;
|
const configFilePath = loaded?.filepath;
|
||||||
let config = {};
|
let config = {};
|
||||||
if (loaded) {
|
if (loaded) {
|
||||||
const resolvedConfig = typeof loaded.config === "function"
|
validateConfig(loaded.filepath || "", loaded.config);
|
||||||
? await loaded.config()
|
config = loaded.config;
|
||||||
: await loaded.config;
|
|
||||||
validateConfig(loaded.filepath || "", resolvedConfig);
|
|
||||||
config = resolvedConfig;
|
|
||||||
}
|
}
|
||||||
// Merge passed config with file based options
|
// Merge passed config with file based options
|
||||||
config = merge({
|
config = mergeWith({
|
||||||
extends: [],
|
extends: [],
|
||||||
plugins: [],
|
plugins: [],
|
||||||
rules: {},
|
rules: {},
|
||||||
|
|
|
||||||
2
node_modules/@commitlint/load/lib/load.js.map
generated
vendored
2
node_modules/@commitlint/load/lib/load.js.map
generated
vendored
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"load.js","sourceRoot":"","sources":["../src/load.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,cAAc,EAAE,EACtB,WAAW,EACX,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,GAChB,MAAM,6BAA6B,CAAC;AAQrC,OAAO,aAAa,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE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O;QAClB,CAAC,CAAC,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ;YACnC,CAAC,CAAC,MAAM,CAAC,OAAO;YAChB,CAAC,CAAC,0EAA0E,CAAC;IAEhF,MAAM,MAAM,GACX,QAAQ,CAAC,MAAM,IAAI,aAAa,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IAE1E,OAAO;QACN,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC;YACvC,CAAC,CAAC,QAAQ,CAAC,OAAO;YAClB,CAAC,CAAC,OAAO,QAAQ,CAAC,OAAO,KAAK,QAAQ;gBACrC,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC;gBACpB,CAAC,CAAC,EAAE;QACN,2CAA2C;QAC3C,SAAS,EAAE,gBAAgB,CAAC,QAAQ,CAAC,SAAS,EAAE,cAAc,CAAC;QAC/D,kCAAkC;QAClC,YAAY,EAAE,MAAM,cAAc,CAAC,QAAQ,CAAC,YAAY,CAAC;QACzD,OAAO,EAAE,QAAQ,CAAC,OAAO;QACzB,cAAc,EAAE,QAAQ,CAAC,cAAc;QACvC,OAAO,EAAE,OAAO;QAChB,KAAK,EAAE,KAAK;QACZ,OAAO,EAAE,OAAO;QAChB,MAAM;KACN,CAAC;AACH,CAAC;AAED,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,CAAC"}
|
||||||
2
node_modules/@commitlint/load/lib/utils/load-parser-opts.d.ts.map
generated
vendored
2
node_modules/@commitlint/load/lib/utils/load-parser-opts.d.ts.map
generated
vendored
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"load-parser-opts.d.ts","sourceRoot":"","sources":["../../src/utils/load-parser-opts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,KAAK,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;AAgBvC,wBAAsB,cAAc,CACnC,aAAa,EACV,MAAM,GACN,SAAS,CAAC,YAAY,CAAC,GACvB,CAAC,MAAM,SAAS,CAAC,YAAY,CAAC,CAAC,GAC/B,SAAS,GACV,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAiEnC"}
|
{"version":3,"file":"load-parser-opts.d.ts","sourceRoot":"","sources":["../../src/utils/load-parser-opts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,KAAK,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC;AAgBvC,wBAAsB,cAAc,CACnC,aAAa,EACV,MAAM,GACN,SAAS,CAAC,YAAY,CAAC,GACvB,CAAC,MAAM,SAAS,CAAC,YAAY,CAAC,CAAC,GAC/B,SAAS,GACV,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CA0DnC"}
|
||||||
6
node_modules/@commitlint/load/lib/utils/load-parser-opts.js
generated
vendored
6
node_modules/@commitlint/load/lib/utils/load-parser-opts.js
generated
vendored
|
|
@ -23,11 +23,7 @@ export async function loadParserOpts(pendingParser) {
|
||||||
parser.parserOpts = await parser.parserOpts;
|
parser.parserOpts = await parser.parserOpts;
|
||||||
if (isObjectLike(parser.parserOpts) &&
|
if (isObjectLike(parser.parserOpts) &&
|
||||||
isObjectLike(parser.parserOpts.parserOpts)) {
|
isObjectLike(parser.parserOpts.parserOpts)) {
|
||||||
// Preserve any user-provided properties (e.g. issuePrefixes) that
|
parser.parserOpts = parser.parserOpts.parserOpts;
|
||||||
// were merged at the outer parserOpts level during config resolution,
|
|
||||||
// while unwrapping the inner module-provided parserOpts (#4640).
|
|
||||||
const { parserOpts: inner, ...rest } = parser.parserOpts;
|
|
||||||
parser.parserOpts = { ...inner, ...rest };
|
|
||||||
}
|
}
|
||||||
return parser;
|
return parser;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
node_modules/@commitlint/load/lib/utils/load-parser-opts.js.map
generated
vendored
2
node_modules/@commitlint/load/lib/utils/load-parser-opts.js.map
generated
vendored
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"load-parser-opts.js","sourceRoot":"","sources":["../../src/utils/load-parser-opts.ts"],"names":[],"mappings":"AAIA,SAAS,YAAY,CAAC,GAAY;IACjC,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,2BAA2B;AAC5E,CAAC;AAED,SAAS,oBAAoB,CAC5B,GAAM;IAMN,OAAO,OAAO,GAAG,CAAC,UAAU,KAAK,UAAU,CAAC;AAC7C,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,cAAc,CACnC,aAIY;IAEZ,IAAI,OAAO,aAAa,KAAK,UAAU,EAAE,CAAC;QACzC,OAAO,cAAc,CAAC,aAAa,EAAE,CAAC,CAAC;IACxC,CAAC;IAED,IAAI,CAAC,aAAa,IAAI,OAAO,aAAa,KAAK,QAAQ,EAAE,CAAC;QACzD,OAAO,SAAS,CAAC;IAClB,CAAC;IACD,4CAA4C;IAC5C,MAAM,MAAM,GAAG,MAAM,aAAa,CAAC;IAEnC,iCAAiC;IACjC,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC;QACxB,OAAO,MAAM,CAAC;IACf,CAAC;IAED,mFAAmF;IACnF,IAAI,OAAO,MAAM,CAAC,UAAU,KAAK,QAAQ,EAAE,CAAC;QAC3C,kCAAkC;QAClC,MAAM,CAAC,UAAU,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC;QAC5C,IACC,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC;YAC/B,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC,UAAU,CAAC,EACzC,CAAC;YACF,kEAAkE;YAClE,sEAAsE;YACtE,iEAAiE;YACjE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,GAAG,IA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CAAC;YACJ,CAAC,CAAC,CAAC;YAEH,2EAA2E;YAC3E,0GAA0G;YAC1G,IAAI,MAAM,EAAE,CAAC;gBACZ,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE;oBACrC,OAAO,CAAC;wBACP,GAAG,MAAM;wBACT,UAAU,EAAE,IAAI,EAAE,UAAU,IAAI,IAAI,EAAE,MAAM;qBAC5C,CAAC,CAAC;gBACJ,CAAC,CAAC,CAAC;YACJ,CAAC;YACD,OAAO;QACR,CAAC,CAAC,CAAC;IACJ,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC"}
|
||||||
18
node_modules/@commitlint/load/node_modules/typescript/lib/lib.dom.asynciterable.d.ts
generated
vendored
18
node_modules/@commitlint/load/node_modules/typescript/lib/lib.dom.asynciterable.d.ts
generated
vendored
|
|
@ -1,18 +0,0 @@
|
||||||
/*! *****************************************************************************
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
||||||
MERCHANTABILITY OR NON-INFRINGEMENT.
|
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
|
||||||
and limitations under the License.
|
|
||||||
***************************************************************************** */
|
|
||||||
|
|
||||||
|
|
||||||
// This file's contents are now included in the main types file.
|
|
||||||
// The file has been left for backward compatibility.
|
|
||||||
18
node_modules/@commitlint/load/node_modules/typescript/lib/lib.dom.iterable.d.ts
generated
vendored
18
node_modules/@commitlint/load/node_modules/typescript/lib/lib.dom.iterable.d.ts
generated
vendored
|
|
@ -1,18 +0,0 @@
|
||||||
/*! *****************************************************************************
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
||||||
MERCHANTABILITY OR NON-INFRINGEMENT.
|
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
|
||||||
and limitations under the License.
|
|
||||||
***************************************************************************** */
|
|
||||||
|
|
||||||
|
|
||||||
// This file's contents are now included in the main types file.
|
|
||||||
// The file has been left for backward compatibility.
|
|
||||||
23
node_modules/@commitlint/load/node_modules/typescript/lib/lib.es2025.d.ts
generated
vendored
23
node_modules/@commitlint/load/node_modules/typescript/lib/lib.es2025.d.ts
generated
vendored
|
|
@ -1,23 +0,0 @@
|
||||||
/*! *****************************************************************************
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
||||||
MERCHANTABILITY OR NON-INFRINGEMENT.
|
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
|
||||||
and limitations under the License.
|
|
||||||
***************************************************************************** */
|
|
||||||
|
|
||||||
|
|
||||||
/// <reference lib="es2024" />
|
|
||||||
/// <reference lib="es2025.collection" />
|
|
||||||
/// <reference lib="es2025.float16" />
|
|
||||||
/// <reference lib="es2025.intl" />
|
|
||||||
/// <reference lib="es2025.iterator" />
|
|
||||||
/// <reference lib="es2025.promise" />
|
|
||||||
/// <reference lib="es2025.regexp" />
|
|
||||||
22
node_modules/@commitlint/load/node_modules/typescript/lib/lib.es2025.full.d.ts
generated
vendored
22
node_modules/@commitlint/load/node_modules/typescript/lib/lib.es2025.full.d.ts
generated
vendored
|
|
@ -1,22 +0,0 @@
|
||||||
/*! *****************************************************************************
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
||||||
MERCHANTABILITY OR NON-INFRINGEMENT.
|
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
|
||||||
and limitations under the License.
|
|
||||||
***************************************************************************** */
|
|
||||||
|
|
||||||
|
|
||||||
/// <reference lib="es2025" />
|
|
||||||
/// <reference lib="dom" />
|
|
||||||
/// <reference lib="webworker.importscripts" />
|
|
||||||
/// <reference lib="scripthost" />
|
|
||||||
/// <reference lib="dom.iterable" />
|
|
||||||
/// <reference lib="dom.asynciterable" />
|
|
||||||
200
node_modules/@commitlint/load/node_modules/typescript/lib/lib.es2025.intl.d.ts
generated
vendored
200
node_modules/@commitlint/load/node_modules/typescript/lib/lib.es2025.intl.d.ts
generated
vendored
|
|
@ -1,200 +0,0 @@
|
||||||
/*! *****************************************************************************
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
||||||
MERCHANTABILITY OR NON-INFRINGEMENT.
|
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
|
||||||
and limitations under the License.
|
|
||||||
***************************************************************************** */
|
|
||||||
|
|
||||||
|
|
||||||
/// <reference lib="es2018.intl" />
|
|
||||||
|
|
||||||
declare namespace Intl {
|
|
||||||
/**
|
|
||||||
* The locale matching algorithm to use.
|
|
||||||
*
|
|
||||||
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).
|
|
||||||
*/
|
|
||||||
type DurationFormatLocaleMatcher = "lookup" | "best fit";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The style of the formatted duration.
|
|
||||||
*
|
|
||||||
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/DurationFormat#style).
|
|
||||||
*/
|
|
||||||
type DurationFormatStyle = "long" | "short" | "narrow" | "digital";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Whether to always display a unit, or only if it is non-zero.
|
|
||||||
*
|
|
||||||
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/DurationFormat#display).
|
|
||||||
*/
|
|
||||||
type DurationFormatDisplayOption = "always" | "auto";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Value of the `unit` property in duration objects
|
|
||||||
*
|
|
||||||
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/format#duration).
|
|
||||||
*/
|
|
||||||
type DurationFormatUnit =
|
|
||||||
| "years"
|
|
||||||
| "months"
|
|
||||||
| "weeks"
|
|
||||||
| "days"
|
|
||||||
| "hours"
|
|
||||||
| "minutes"
|
|
||||||
| "seconds"
|
|
||||||
| "milliseconds"
|
|
||||||
| "microseconds"
|
|
||||||
| "nanoseconds";
|
|
||||||
|
|
||||||
type DurationFormatUnitSingular =
|
|
||||||
| "year"
|
|
||||||
| "month"
|
|
||||||
| "week"
|
|
||||||
| "day"
|
|
||||||
| "hour"
|
|
||||||
| "minute"
|
|
||||||
| "second"
|
|
||||||
| "millisecond"
|
|
||||||
| "microsecond"
|
|
||||||
| "nanosecond";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* An object representing the relative time format in parts
|
|
||||||
* that can be used for custom locale-aware formatting.
|
|
||||||
*
|
|
||||||
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/formatToParts).
|
|
||||||
*/
|
|
||||||
type DurationFormatPart =
|
|
||||||
| {
|
|
||||||
type: "literal";
|
|
||||||
value: string;
|
|
||||||
unit?: DurationFormatUnitSingular;
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: Exclude<NumberFormatPartTypes, "literal">;
|
|
||||||
value: string;
|
|
||||||
unit: DurationFormatUnitSingular;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* An object with some or all properties of the `Intl.DurationFormat` constructor `options` parameter.
|
|
||||||
*
|
|
||||||
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/DurationFormat#parameters)
|
|
||||||
*/
|
|
||||||
interface DurationFormatOptions {
|
|
||||||
localeMatcher?: DurationFormatLocaleMatcher | undefined;
|
|
||||||
numberingSystem?: string | undefined;
|
|
||||||
style?: DurationFormatStyle | undefined;
|
|
||||||
years?: "long" | "short" | "narrow" | undefined;
|
|
||||||
yearsDisplay?: DurationFormatDisplayOption | undefined;
|
|
||||||
months?: "long" | "short" | "narrow" | undefined;
|
|
||||||
monthsDisplay?: DurationFormatDisplayOption | undefined;
|
|
||||||
weeks?: "long" | "short" | "narrow" | undefined;
|
|
||||||
weeksDisplay?: DurationFormatDisplayOption | undefined;
|
|
||||||
days?: "long" | "short" | "narrow" | undefined;
|
|
||||||
daysDisplay?: DurationFormatDisplayOption | undefined;
|
|
||||||
hours?: "long" | "short" | "narrow" | "numeric" | "2-digit" | undefined;
|
|
||||||
hoursDisplay?: DurationFormatDisplayOption | undefined;
|
|
||||||
minutes?: "long" | "short" | "narrow" | "numeric" | "2-digit" | undefined;
|
|
||||||
minutesDisplay?: DurationFormatDisplayOption | undefined;
|
|
||||||
seconds?: "long" | "short" | "narrow" | "numeric" | "2-digit" | undefined;
|
|
||||||
secondsDisplay?: DurationFormatDisplayOption | undefined;
|
|
||||||
milliseconds?: "long" | "short" | "narrow" | "numeric" | undefined;
|
|
||||||
millisecondsDisplay?: DurationFormatDisplayOption | undefined;
|
|
||||||
microseconds?: "long" | "short" | "narrow" | "numeric" | undefined;
|
|
||||||
microsecondsDisplay?: DurationFormatDisplayOption | undefined;
|
|
||||||
nanoseconds?: "long" | "short" | "narrow" | "numeric" | undefined;
|
|
||||||
nanosecondsDisplay?: DurationFormatDisplayOption | undefined;
|
|
||||||
fractionalDigits?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The Intl.DurationFormat object enables language-sensitive duration formatting.
|
|
||||||
*
|
|
||||||
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat)
|
|
||||||
*/
|
|
||||||
interface DurationFormat {
|
|
||||||
/**
|
|
||||||
* @param duration The duration object to be formatted. It should include some or all of the following properties: months, weeks, days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds.
|
|
||||||
*
|
|
||||||
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/format).
|
|
||||||
*/
|
|
||||||
format(duration: Partial<Record<DurationFormatUnit, number>>): string;
|
|
||||||
/**
|
|
||||||
* @param duration The duration object to be formatted. It should include some or all of the following properties: months, weeks, days, hours, minutes, seconds, milliseconds, microseconds, nanoseconds.
|
|
||||||
*
|
|
||||||
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/formatToParts).
|
|
||||||
*/
|
|
||||||
formatToParts(duration: Partial<Record<DurationFormatUnit, number>>): DurationFormatPart[];
|
|
||||||
/**
|
|
||||||
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/resolvedOptions).
|
|
||||||
*/
|
|
||||||
resolvedOptions(): ResolvedDurationFormatOptions;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface ResolvedDurationFormatOptions {
|
|
||||||
locale: UnicodeBCP47LocaleIdentifier;
|
|
||||||
numberingSystem: string;
|
|
||||||
style: DurationFormatStyle;
|
|
||||||
years: "long" | "short" | "narrow";
|
|
||||||
yearsDisplay: DurationFormatDisplayOption;
|
|
||||||
months: "long" | "short" | "narrow";
|
|
||||||
monthsDisplay: DurationFormatDisplayOption;
|
|
||||||
weeks: "long" | "short" | "narrow";
|
|
||||||
weeksDisplay: DurationFormatDisplayOption;
|
|
||||||
days: "long" | "short" | "narrow";
|
|
||||||
daysDisplay: DurationFormatDisplayOption;
|
|
||||||
hours: "long" | "short" | "narrow" | "numeric" | "2-digit";
|
|
||||||
hoursDisplay: DurationFormatDisplayOption;
|
|
||||||
minutes: "long" | "short" | "narrow" | "numeric" | "2-digit";
|
|
||||||
minutesDisplay: DurationFormatDisplayOption;
|
|
||||||
seconds: "long" | "short" | "narrow" | "numeric" | "2-digit";
|
|
||||||
secondsDisplay: DurationFormatDisplayOption;
|
|
||||||
milliseconds: "long" | "short" | "narrow" | "numeric";
|
|
||||||
millisecondsDisplay: DurationFormatDisplayOption;
|
|
||||||
microseconds: "long" | "short" | "narrow" | "numeric";
|
|
||||||
microsecondsDisplay: DurationFormatDisplayOption;
|
|
||||||
nanoseconds: "long" | "short" | "narrow" | "numeric";
|
|
||||||
nanosecondsDisplay: DurationFormatDisplayOption;
|
|
||||||
fractionalDigits?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
|
||||||
}
|
|
||||||
|
|
||||||
const DurationFormat: {
|
|
||||||
prototype: DurationFormat;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param locales A string with a BCP 47 language tag, or an array of such strings.
|
|
||||||
* For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)
|
|
||||||
* page.
|
|
||||||
*
|
|
||||||
* @param options An object for setting up a duration format.
|
|
||||||
*
|
|
||||||
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/DurationFormat).
|
|
||||||
*/
|
|
||||||
new (locales?: LocalesArgument, options?: DurationFormatOptions): DurationFormat;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns an array containing those of the provided locales that are supported in display names without having to fall back to the runtime's default locale.
|
|
||||||
*
|
|
||||||
* @param locales A string with a BCP 47 language tag, or an array of such strings.
|
|
||||||
* For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)
|
|
||||||
* page.
|
|
||||||
*
|
|
||||||
* @param options An object with a locale matcher.
|
|
||||||
*
|
|
||||||
* @returns An array of strings representing a subset of the given locale tags that are supported in display names without having to fall back to the runtime's default locale.
|
|
||||||
*
|
|
||||||
* [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat/supportedLocalesOf).
|
|
||||||
*/
|
|
||||||
supportedLocalesOf(locales?: LocalesArgument, options?: { localeMatcher?: DurationFormatLocaleMatcher; }): UnicodeBCP47LocaleIdentifier[];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
30
node_modules/@commitlint/load/node_modules/typescript/lib/lib.es2025.regexp.d.ts
generated
vendored
30
node_modules/@commitlint/load/node_modules/typescript/lib/lib.es2025.regexp.d.ts
generated
vendored
|
|
@ -1,30 +0,0 @@
|
||||||
/*! *****************************************************************************
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
||||||
MERCHANTABILITY OR NON-INFRINGEMENT.
|
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
|
||||||
and limitations under the License.
|
|
||||||
***************************************************************************** */
|
|
||||||
|
|
||||||
|
|
||||||
interface RegExpConstructor {
|
|
||||||
/**
|
|
||||||
* Escapes any RegExp syntax characters in the input string, returning a
|
|
||||||
* new string that can be safely interpolated into a RegExp as a literal
|
|
||||||
* string to match.
|
|
||||||
* @example
|
|
||||||
* ```ts
|
|
||||||
* const regExp = new RegExp(RegExp.escape("foo.bar"));
|
|
||||||
* regExp.test("foo.bar"); // true
|
|
||||||
* regExp.test("foo!bar"); // false
|
|
||||||
* ```
|
|
||||||
*/
|
|
||||||
escape(string: string): string;
|
|
||||||
}
|
|
||||||
47
node_modules/@commitlint/load/node_modules/typescript/lib/lib.esnext.collection.d.ts
generated
vendored
47
node_modules/@commitlint/load/node_modules/typescript/lib/lib.esnext.collection.d.ts
generated
vendored
|
|
@ -1,47 +0,0 @@
|
||||||
/*! *****************************************************************************
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
||||||
MERCHANTABILITY OR NON-INFRINGEMENT.
|
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
|
||||||
and limitations under the License.
|
|
||||||
***************************************************************************** */
|
|
||||||
|
|
||||||
|
|
||||||
/// <reference lib="es2025.collection" />
|
|
||||||
|
|
||||||
interface Map<K, V> {
|
|
||||||
/**
|
|
||||||
* Returns a specified element from the Map object.
|
|
||||||
* If no element is associated with the specified key, a new element with the value `defaultValue` will be inserted into the Map and returned.
|
|
||||||
* @returns The element associated with the specified key, which will be `defaultValue` if no element previously existed.
|
|
||||||
*/
|
|
||||||
getOrInsert(key: K, defaultValue: V): V;
|
|
||||||
/**
|
|
||||||
* Returns a specified element from the Map object.
|
|
||||||
* If no element is associated with the specified key, the result of passing the specified key to the `callback` function will be inserted into the Map and returned.
|
|
||||||
* @returns The element associated with the specific key, which will be the newly computed value if no element previously existed.
|
|
||||||
*/
|
|
||||||
getOrInsertComputed(key: K, callback: (key: K) => V): V;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface WeakMap<K extends WeakKey, V> {
|
|
||||||
/**
|
|
||||||
* Returns a specified element from the WeakMap object.
|
|
||||||
* If no element is associated with the specified key, a new element with the value `defaultValue` will be inserted into the WeakMap and returned.
|
|
||||||
* @returns The element associated with the specified key, which will be `defaultValue` if no element previously existed.
|
|
||||||
*/
|
|
||||||
getOrInsert(key: K, defaultValue: V): V;
|
|
||||||
/**
|
|
||||||
* Returns a specified element from the WeakMap object.
|
|
||||||
* If no element is associated with the specified key, the result of passing the specified key to the `callback` function will be inserted into the WeakMap and returned.
|
|
||||||
* @returns The element associated with the specific key, which will be the newly computed value if no element previously existed.
|
|
||||||
*/
|
|
||||||
getOrInsertComputed(key: K, callback: (key: K) => V): V;
|
|
||||||
}
|
|
||||||
107
node_modules/@commitlint/load/node_modules/typescript/lib/lib.esnext.intl.d.ts
generated
vendored
107
node_modules/@commitlint/load/node_modules/typescript/lib/lib.esnext.intl.d.ts
generated
vendored
|
|
@ -1,107 +0,0 @@
|
||||||
/*! *****************************************************************************
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
||||||
MERCHANTABILITY OR NON-INFRINGEMENT.
|
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
|
||||||
and limitations under the License.
|
|
||||||
***************************************************************************** */
|
|
||||||
|
|
||||||
|
|
||||||
/// <reference lib="esnext.temporal" />
|
|
||||||
|
|
||||||
declare namespace Intl {
|
|
||||||
type FormattableTemporalObject = Temporal.PlainDate | Temporal.PlainYearMonth | Temporal.PlainMonthDay | Temporal.PlainTime | Temporal.PlainDateTime | Temporal.Instant;
|
|
||||||
|
|
||||||
interface DateTimeFormat {
|
|
||||||
format(date?: FormattableTemporalObject | Date | number): string;
|
|
||||||
formatToParts(date?: FormattableTemporalObject | Date | number): DateTimeFormatPart[];
|
|
||||||
formatRange(startDate: FormattableTemporalObject | Date | number, endDate: FormattableTemporalObject | Date | number): string;
|
|
||||||
formatRangeToParts(startDate: FormattableTemporalObject | Date | number, endDate: FormattableTemporalObject | Date | number): DateTimeRangeFormatPart[];
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Locale {
|
|
||||||
/**
|
|
||||||
* Returns a list of one or more unique calendar identifiers for this locale.
|
|
||||||
*
|
|
||||||
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getCalendars)
|
|
||||||
*/
|
|
||||||
getCalendars(): string[];
|
|
||||||
/**
|
|
||||||
* Returns a list of one or more collation types for this locale.
|
|
||||||
*
|
|
||||||
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getCollations)
|
|
||||||
*/
|
|
||||||
getCollations(): string[];
|
|
||||||
/**
|
|
||||||
* Returns a list of one or more unique hour cycle identifiers for this locale.
|
|
||||||
*
|
|
||||||
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getHourCycles)
|
|
||||||
*/
|
|
||||||
getHourCycles(): string[];
|
|
||||||
/**
|
|
||||||
* Returns a list of one or more unique numbering system identifiers for this locale.
|
|
||||||
*
|
|
||||||
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getNumberingSystems)
|
|
||||||
*/
|
|
||||||
getNumberingSystems(): string[];
|
|
||||||
/**
|
|
||||||
* Returns the ordering of characters indicated by either ltr (left-to-right) or by rtl (right-to-left) for this locale.
|
|
||||||
*
|
|
||||||
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo)
|
|
||||||
*/
|
|
||||||
getTextInfo(): TextInfo;
|
|
||||||
/**
|
|
||||||
* Returns a list of supported time zones for this locale.
|
|
||||||
*
|
|
||||||
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTimeZones)
|
|
||||||
*/
|
|
||||||
getTimeZones(): string[] | undefined;
|
|
||||||
/**
|
|
||||||
* Returns a `WeekInfo` object with the properties `firstDay`, `weekend` and `minimalDays` for this locale.
|
|
||||||
*
|
|
||||||
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo)
|
|
||||||
*/
|
|
||||||
getWeekInfo(): WeekInfo;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* An object representing text typesetting information associated with the Locale data specified in UTS 35's Layouts Elements.
|
|
||||||
*
|
|
||||||
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo#return_value)
|
|
||||||
*/
|
|
||||||
interface TextInfo {
|
|
||||||
/**
|
|
||||||
* A string indicating the direction of text for the locale. Can be either "ltr" (left-to-right) or "rtl" (right-to-left).
|
|
||||||
*
|
|
||||||
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo#direction)
|
|
||||||
*/
|
|
||||||
direction?: "ltr" | "rtl";
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* An object representing week information associated with the Locale data specified in UTS 35's Week Elements.
|
|
||||||
*
|
|
||||||
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo#return_value)
|
|
||||||
*/
|
|
||||||
interface WeekInfo {
|
|
||||||
/**
|
|
||||||
* An integer between 1 (Monday) and 7 (Sunday) indicating the first day of the week for the locale. Commonly 1, 5, 6, or 7.
|
|
||||||
*
|
|
||||||
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo#firstday)
|
|
||||||
*/
|
|
||||||
firstDay: number;
|
|
||||||
/**
|
|
||||||
* An array of integers between 1 and 7 indicating the weekend days for the locale.
|
|
||||||
*
|
|
||||||
* [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo#weekend)
|
|
||||||
*/
|
|
||||||
weekend: number[];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
485
node_modules/@commitlint/load/node_modules/typescript/lib/lib.esnext.temporal.d.ts
generated
vendored
485
node_modules/@commitlint/load/node_modules/typescript/lib/lib.esnext.temporal.d.ts
generated
vendored
|
|
@ -1,485 +0,0 @@
|
||||||
/*! *****************************************************************************
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
||||||
MERCHANTABILITY OR NON-INFRINGEMENT.
|
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
|
||||||
and limitations under the License.
|
|
||||||
***************************************************************************** */
|
|
||||||
|
|
||||||
|
|
||||||
/// <reference lib="es2015.symbol.wellknown" />
|
|
||||||
/// <reference lib="es2020.intl" />
|
|
||||||
/// <reference lib="es2025.intl" />
|
|
||||||
|
|
||||||
declare namespace Temporal {
|
|
||||||
type CalendarLike = PlainDate | PlainDateTime | PlainMonthDay | PlainYearMonth | ZonedDateTime | string;
|
|
||||||
type DurationLike = Duration | DurationLikeObject | string;
|
|
||||||
type InstantLike = Instant | ZonedDateTime | string;
|
|
||||||
type PlainDateLike = PlainDate | ZonedDateTime | PlainDateTime | DateLikeObject | string;
|
|
||||||
type PlainDateTimeLike = PlainDateTime | ZonedDateTime | PlainDate | DateTimeLikeObject | string;
|
|
||||||
type PlainMonthDayLike = PlainMonthDay | DateLikeObject | string;
|
|
||||||
type PlainTimeLike = PlainTime | PlainDateTime | ZonedDateTime | TimeLikeObject | string;
|
|
||||||
type PlainYearMonthLike = PlainYearMonth | YearMonthLikeObject | string;
|
|
||||||
type TimeZoneLike = ZonedDateTime | string;
|
|
||||||
type ZonedDateTimeLike = ZonedDateTime | ZonedDateTimeLikeObject | string;
|
|
||||||
|
|
||||||
type PartialTemporalLike<T extends object> = {
|
|
||||||
[P in Exclude<keyof T, "calendar" | "timeZone">]?: T[P] | undefined;
|
|
||||||
};
|
|
||||||
|
|
||||||
interface DateLikeObject {
|
|
||||||
year?: number | undefined;
|
|
||||||
era?: string | undefined;
|
|
||||||
eraYear?: number | undefined;
|
|
||||||
month?: number | undefined;
|
|
||||||
monthCode?: string | undefined;
|
|
||||||
day: number;
|
|
||||||
calendar?: string | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface DateTimeLikeObject extends DateLikeObject, TimeLikeObject {}
|
|
||||||
|
|
||||||
interface DurationLikeObject {
|
|
||||||
years?: number | undefined;
|
|
||||||
months?: number | undefined;
|
|
||||||
weeks?: number | undefined;
|
|
||||||
days?: number | undefined;
|
|
||||||
hours?: number | undefined;
|
|
||||||
minutes?: number | undefined;
|
|
||||||
seconds?: number | undefined;
|
|
||||||
milliseconds?: number | undefined;
|
|
||||||
microseconds?: number | undefined;
|
|
||||||
nanoseconds?: number | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface TimeLikeObject {
|
|
||||||
hour?: number | undefined;
|
|
||||||
minute?: number | undefined;
|
|
||||||
second?: number | undefined;
|
|
||||||
millisecond?: number | undefined;
|
|
||||||
microsecond?: number | undefined;
|
|
||||||
nanosecond?: number | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface YearMonthLikeObject extends Omit<DateLikeObject, "day"> {}
|
|
||||||
|
|
||||||
interface ZonedDateTimeLikeObject extends DateTimeLikeObject {
|
|
||||||
timeZone: TimeZoneLike;
|
|
||||||
offset?: string | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
type DateUnit = "year" | "month" | "week" | "day";
|
|
||||||
type TimeUnit = "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond";
|
|
||||||
type PluralizeUnit<T extends DateUnit | TimeUnit> =
|
|
||||||
| T
|
|
||||||
| {
|
|
||||||
year: "years";
|
|
||||||
month: "months";
|
|
||||||
week: "weeks";
|
|
||||||
day: "days";
|
|
||||||
hour: "hours";
|
|
||||||
minute: "minutes";
|
|
||||||
second: "seconds";
|
|
||||||
millisecond: "milliseconds";
|
|
||||||
microsecond: "microseconds";
|
|
||||||
nanosecond: "nanoseconds";
|
|
||||||
}[T];
|
|
||||||
|
|
||||||
interface DisambiguationOptions {
|
|
||||||
disambiguation?: "compatible" | "earlier" | "later" | "reject" | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface OverflowOptions {
|
|
||||||
overflow?: "constrain" | "reject" | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface TransitionOptions {
|
|
||||||
direction: "next" | "previous";
|
|
||||||
}
|
|
||||||
|
|
||||||
interface RoundingOptions<Units extends DateUnit | TimeUnit> {
|
|
||||||
smallestUnit?: PluralizeUnit<Units> | undefined;
|
|
||||||
roundingIncrement?: number | undefined;
|
|
||||||
roundingMode?: "ceil" | "floor" | "expand" | "trunc" | "halfCeil" | "halfFloor" | "halfExpand" | "halfTrunc" | "halfEven" | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface RoundingOptionsWithLargestUnit<Units extends DateUnit | TimeUnit> extends RoundingOptions<Units> {
|
|
||||||
largestUnit?: "auto" | PluralizeUnit<Units> | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface ToStringRoundingOptions<Units extends DateUnit | TimeUnit> extends Pick<RoundingOptions<Units>, "smallestUnit" | "roundingMode"> {}
|
|
||||||
|
|
||||||
interface ToStringRoundingOptionsWithFractionalSeconds<Units extends DateUnit | TimeUnit> extends ToStringRoundingOptions<Units> {
|
|
||||||
fractionalSecondDigits?: "auto" | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace Now {
|
|
||||||
function timeZoneId(): string;
|
|
||||||
function instant(): Instant;
|
|
||||||
function plainDateTimeISO(timeZone?: TimeZoneLike): PlainDateTime;
|
|
||||||
function zonedDateTimeISO(timeZone?: TimeZoneLike): ZonedDateTime;
|
|
||||||
function plainDateISO(timeZone?: TimeZoneLike): PlainDate;
|
|
||||||
function plainTimeISO(timeZone?: TimeZoneLike): PlainTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PlainDateToStringOptions {
|
|
||||||
calendarName?: "auto" | "always" | "never" | "critical" | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PlainDateToZonedDateTimeOptions {
|
|
||||||
plainTime?: PlainTimeLike | undefined;
|
|
||||||
timeZone: TimeZoneLike;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PlainDate {
|
|
||||||
readonly calendarId: string;
|
|
||||||
readonly era: string | undefined;
|
|
||||||
readonly eraYear: number | undefined;
|
|
||||||
readonly year: number;
|
|
||||||
readonly month: number;
|
|
||||||
readonly monthCode: string;
|
|
||||||
readonly day: number;
|
|
||||||
readonly dayOfWeek: number;
|
|
||||||
readonly dayOfYear: number;
|
|
||||||
readonly weekOfYear: number | undefined;
|
|
||||||
readonly yearOfWeek: number | undefined;
|
|
||||||
readonly daysInWeek: number;
|
|
||||||
readonly daysInMonth: number;
|
|
||||||
readonly daysInYear: number;
|
|
||||||
readonly monthsInYear: number;
|
|
||||||
readonly inLeapYear: boolean;
|
|
||||||
toPlainYearMonth(): PlainYearMonth;
|
|
||||||
toPlainMonthDay(): PlainMonthDay;
|
|
||||||
add(duration: DurationLike, options?: OverflowOptions): PlainDate;
|
|
||||||
subtract(duration: DurationLike, options?: OverflowOptions): PlainDate;
|
|
||||||
with(dateLike: PartialTemporalLike<DateLikeObject>, options?: OverflowOptions): PlainDate;
|
|
||||||
withCalendar(calendarLike: CalendarLike): PlainDate;
|
|
||||||
until(other: PlainDateLike, options?: RoundingOptionsWithLargestUnit<DateUnit>): Duration;
|
|
||||||
since(other: PlainDateLike, options?: RoundingOptionsWithLargestUnit<DateUnit>): Duration;
|
|
||||||
equals(other: PlainDateLike): boolean;
|
|
||||||
toPlainDateTime(time?: PlainTimeLike): PlainDateTime;
|
|
||||||
toZonedDateTime(timeZone: TimeZoneLike): ZonedDateTime;
|
|
||||||
toZonedDateTime(item: PlainDateToZonedDateTimeOptions): ZonedDateTime;
|
|
||||||
toString(options?: PlainDateToStringOptions): string;
|
|
||||||
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
||||||
toJSON(): string;
|
|
||||||
valueOf(): never;
|
|
||||||
readonly [Symbol.toStringTag]: "Temporal.PlainDate";
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PlainDateConstructor {
|
|
||||||
new (isoYear: number, isoMonth: number, isoDay: number, calendar?: string): PlainDate;
|
|
||||||
readonly prototype: PlainDate;
|
|
||||||
from(item: PlainDateLike, options?: OverflowOptions): PlainDate;
|
|
||||||
compare(one: PlainDateLike, two: PlainDateLike): number;
|
|
||||||
}
|
|
||||||
var PlainDate: PlainDateConstructor;
|
|
||||||
|
|
||||||
interface PlainTimeToStringOptions extends ToStringRoundingOptionsWithFractionalSeconds<Exclude<TimeUnit, "hour">> {}
|
|
||||||
|
|
||||||
interface PlainTime {
|
|
||||||
readonly hour: number;
|
|
||||||
readonly minute: number;
|
|
||||||
readonly second: number;
|
|
||||||
readonly millisecond: number;
|
|
||||||
readonly microsecond: number;
|
|
||||||
readonly nanosecond: number;
|
|
||||||
add(duration: DurationLike): PlainTime;
|
|
||||||
subtract(duration: DurationLike): PlainTime;
|
|
||||||
with(timeLike: PartialTemporalLike<TimeLikeObject>, options?: OverflowOptions): PlainTime;
|
|
||||||
until(other: PlainTimeLike, options?: RoundingOptionsWithLargestUnit<TimeUnit>): Duration;
|
|
||||||
since(other: PlainTimeLike, options?: RoundingOptionsWithLargestUnit<TimeUnit>): Duration;
|
|
||||||
equals(other: PlainTimeLike): boolean;
|
|
||||||
round(roundTo: PluralizeUnit<TimeUnit>): PlainTime;
|
|
||||||
round(roundTo: RoundingOptions<TimeUnit>): PlainTime;
|
|
||||||
toString(options?: PlainTimeToStringOptions): string;
|
|
||||||
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
||||||
toJSON(): string;
|
|
||||||
valueOf(): never;
|
|
||||||
readonly [Symbol.toStringTag]: "Temporal.PlainTime";
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PlainTimeConstructor {
|
|
||||||
new (hour?: number, minute?: number, second?: number, millisecond?: number, microsecond?: number, nanosecond?: number): PlainTime;
|
|
||||||
readonly prototype: PlainTime;
|
|
||||||
from(item: PlainTimeLike, options?: OverflowOptions): PlainTime;
|
|
||||||
compare(one: PlainTimeLike, two: PlainTimeLike): number;
|
|
||||||
}
|
|
||||||
var PlainTime: PlainTimeConstructor;
|
|
||||||
|
|
||||||
interface PlainDateTimeToStringOptions extends PlainDateToStringOptions, PlainTimeToStringOptions {}
|
|
||||||
|
|
||||||
interface PlainDateTime {
|
|
||||||
readonly calendarId: string;
|
|
||||||
readonly era: string | undefined;
|
|
||||||
readonly eraYear: number | undefined;
|
|
||||||
readonly year: number;
|
|
||||||
readonly month: number;
|
|
||||||
readonly monthCode: string;
|
|
||||||
readonly day: number;
|
|
||||||
readonly hour: number;
|
|
||||||
readonly minute: number;
|
|
||||||
readonly second: number;
|
|
||||||
readonly millisecond: number;
|
|
||||||
readonly microsecond: number;
|
|
||||||
readonly nanosecond: number;
|
|
||||||
readonly dayOfWeek: number;
|
|
||||||
readonly dayOfYear: number;
|
|
||||||
readonly weekOfYear: number | undefined;
|
|
||||||
readonly yearOfWeek: number | undefined;
|
|
||||||
readonly daysInWeek: number;
|
|
||||||
readonly daysInMonth: number;
|
|
||||||
readonly daysInYear: number;
|
|
||||||
readonly monthsInYear: number;
|
|
||||||
readonly inLeapYear: boolean;
|
|
||||||
with(dateTimeLike: PartialTemporalLike<DateTimeLikeObject>, options?: OverflowOptions): PlainDateTime;
|
|
||||||
withPlainTime(plainTime?: PlainTimeLike): PlainDateTime;
|
|
||||||
withCalendar(calendar: CalendarLike): PlainDateTime;
|
|
||||||
add(duration: DurationLike, options?: OverflowOptions): PlainDateTime;
|
|
||||||
subtract(duration: DurationLike, options?: OverflowOptions): PlainDateTime;
|
|
||||||
until(other: PlainDateTimeLike, options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>): Duration;
|
|
||||||
since(other: PlainDateTimeLike, options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>): Duration;
|
|
||||||
round(roundTo: PluralizeUnit<"day" | TimeUnit>): PlainDateTime;
|
|
||||||
round(roundTo: RoundingOptions<"day" | TimeUnit>): PlainDateTime;
|
|
||||||
equals(other: PlainDateTimeLike): boolean;
|
|
||||||
toString(options?: PlainDateTimeToStringOptions): string;
|
|
||||||
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
||||||
toJSON(): string;
|
|
||||||
valueOf(): never;
|
|
||||||
toZonedDateTime(timeZone: TimeZoneLike, options?: DisambiguationOptions): ZonedDateTime;
|
|
||||||
toPlainDate(): PlainDate;
|
|
||||||
toPlainTime(): PlainTime;
|
|
||||||
readonly [Symbol.toStringTag]: "Temporal.PlainDateTime";
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PlainDateTimeConstructor {
|
|
||||||
new (isoYear: number, isoMonth: number, isoDay: number, hour?: number, minute?: number, second?: number, millisecond?: number, microsecond?: number, nanosecond?: number, calendar?: string): PlainDateTime;
|
|
||||||
readonly prototype: PlainDateTime;
|
|
||||||
from(item: PlainDateTimeLike, options?: OverflowOptions): PlainDateTime;
|
|
||||||
compare(one: PlainDateTimeLike, two: PlainDateTimeLike): number;
|
|
||||||
}
|
|
||||||
var PlainDateTime: PlainDateTimeConstructor;
|
|
||||||
|
|
||||||
interface ZonedDateTimeToStringOptions extends PlainDateTimeToStringOptions {
|
|
||||||
offset?: "auto" | "never" | undefined;
|
|
||||||
timeZoneName?: "auto" | "never" | "critical" | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface ZonedDateTimeFromOptions extends OverflowOptions, DisambiguationOptions {
|
|
||||||
offset?: "use" | "ignore" | "prefer" | "reject" | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface ZonedDateTime {
|
|
||||||
readonly calendarId: string;
|
|
||||||
readonly timeZoneId: string;
|
|
||||||
readonly era: string | undefined;
|
|
||||||
readonly eraYear: number | undefined;
|
|
||||||
readonly year: number;
|
|
||||||
readonly month: number;
|
|
||||||
readonly monthCode: string;
|
|
||||||
readonly day: number;
|
|
||||||
readonly hour: number;
|
|
||||||
readonly minute: number;
|
|
||||||
readonly second: number;
|
|
||||||
readonly millisecond: number;
|
|
||||||
readonly microsecond: number;
|
|
||||||
readonly nanosecond: number;
|
|
||||||
readonly epochMilliseconds: number;
|
|
||||||
readonly epochNanoseconds: bigint;
|
|
||||||
readonly dayOfWeek: number;
|
|
||||||
readonly dayOfYear: number;
|
|
||||||
readonly weekOfYear: number | undefined;
|
|
||||||
readonly yearOfWeek: number | undefined;
|
|
||||||
readonly hoursInDay: number;
|
|
||||||
readonly daysInWeek: number;
|
|
||||||
readonly daysInMonth: number;
|
|
||||||
readonly daysInYear: number;
|
|
||||||
readonly monthsInYear: number;
|
|
||||||
readonly inLeapYear: boolean;
|
|
||||||
readonly offsetNanoseconds: number;
|
|
||||||
readonly offset: string;
|
|
||||||
with(zonedDateTimeLike: PartialTemporalLike<ZonedDateTimeLikeObject>, options?: ZonedDateTimeFromOptions): ZonedDateTime;
|
|
||||||
withPlainTime(plainTime?: PlainTimeLike): ZonedDateTime;
|
|
||||||
withTimeZone(timeZone: TimeZoneLike): ZonedDateTime;
|
|
||||||
withCalendar(calendar: CalendarLike): ZonedDateTime;
|
|
||||||
add(duration: DurationLike, options?: OverflowOptions): ZonedDateTime;
|
|
||||||
subtract(duration: DurationLike, options?: OverflowOptions): ZonedDateTime;
|
|
||||||
until(other: ZonedDateTimeLike, options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>): Duration;
|
|
||||||
since(other: ZonedDateTimeLike, options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>): Duration;
|
|
||||||
round(roundTo: PluralizeUnit<"day" | TimeUnit>): ZonedDateTime;
|
|
||||||
round(roundTo: RoundingOptions<"day" | TimeUnit>): ZonedDateTime;
|
|
||||||
equals(other: ZonedDateTimeLike): boolean;
|
|
||||||
toString(options?: ZonedDateTimeToStringOptions): string;
|
|
||||||
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
||||||
toJSON(): string;
|
|
||||||
valueOf(): never;
|
|
||||||
startOfDay(): ZonedDateTime;
|
|
||||||
getTimeZoneTransition(direction: "next" | "previous"): ZonedDateTime | null;
|
|
||||||
getTimeZoneTransition(direction: TransitionOptions): ZonedDateTime | null;
|
|
||||||
toInstant(): Instant;
|
|
||||||
toPlainDate(): PlainDate;
|
|
||||||
toPlainTime(): PlainTime;
|
|
||||||
toPlainDateTime(): PlainDateTime;
|
|
||||||
readonly [Symbol.toStringTag]: "Temporal.ZonedDateTime";
|
|
||||||
}
|
|
||||||
|
|
||||||
interface ZonedDateTimeConstructor {
|
|
||||||
new (epochNanoseconds: bigint, timeZone: string, calendar?: string): ZonedDateTime;
|
|
||||||
readonly prototype: ZonedDateTime;
|
|
||||||
from(item: ZonedDateTimeLike, options?: ZonedDateTimeFromOptions): ZonedDateTime;
|
|
||||||
compare(one: ZonedDateTimeLike, two: ZonedDateTimeLike): number;
|
|
||||||
}
|
|
||||||
var ZonedDateTime: ZonedDateTimeConstructor;
|
|
||||||
|
|
||||||
interface DurationRelativeToOptions {
|
|
||||||
relativeTo?: ZonedDateTimeLike | PlainDateLike | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface DurationRoundingOptions extends DurationRelativeToOptions, RoundingOptionsWithLargestUnit<DateUnit | TimeUnit> {}
|
|
||||||
|
|
||||||
interface DurationToStringOptions extends ToStringRoundingOptionsWithFractionalSeconds<Exclude<TimeUnit, "hour" | "minute">> {}
|
|
||||||
|
|
||||||
interface DurationTotalOptions extends DurationRelativeToOptions {
|
|
||||||
unit: PluralizeUnit<DateUnit | TimeUnit>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Duration {
|
|
||||||
readonly years: number;
|
|
||||||
readonly months: number;
|
|
||||||
readonly weeks: number;
|
|
||||||
readonly days: number;
|
|
||||||
readonly hours: number;
|
|
||||||
readonly minutes: number;
|
|
||||||
readonly seconds: number;
|
|
||||||
readonly milliseconds: number;
|
|
||||||
readonly microseconds: number;
|
|
||||||
readonly nanoseconds: number;
|
|
||||||
readonly sign: number;
|
|
||||||
readonly blank: boolean;
|
|
||||||
with(durationLike: PartialTemporalLike<DurationLikeObject>): Duration;
|
|
||||||
negated(): Duration;
|
|
||||||
abs(): Duration;
|
|
||||||
add(other: DurationLike): Duration;
|
|
||||||
subtract(other: DurationLike): Duration;
|
|
||||||
round(roundTo: PluralizeUnit<"day" | TimeUnit>): Duration;
|
|
||||||
round(roundTo: DurationRoundingOptions): Duration;
|
|
||||||
total(totalOf: PluralizeUnit<"day" | TimeUnit>): number;
|
|
||||||
total(totalOf: DurationTotalOptions): number;
|
|
||||||
toString(options?: DurationToStringOptions): string;
|
|
||||||
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DurationFormatOptions): string;
|
|
||||||
toJSON(): string;
|
|
||||||
valueOf(): never;
|
|
||||||
readonly [Symbol.toStringTag]: "Temporal.Duration";
|
|
||||||
}
|
|
||||||
|
|
||||||
interface DurationConstructor {
|
|
||||||
new (years?: number, months?: number, weeks?: number, days?: number, hours?: number, minutes?: number, seconds?: number, milliseconds?: number, microseconds?: number, nanoseconds?: number): Duration;
|
|
||||||
readonly prototype: Duration;
|
|
||||||
from(item: DurationLike): Duration;
|
|
||||||
compare(one: DurationLike, two: DurationLike, options?: DurationRelativeToOptions): number;
|
|
||||||
}
|
|
||||||
var Duration: DurationConstructor;
|
|
||||||
|
|
||||||
interface InstantToStringOptions extends PlainTimeToStringOptions {
|
|
||||||
timeZone?: TimeZoneLike | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Instant {
|
|
||||||
readonly epochMilliseconds: number;
|
|
||||||
readonly epochNanoseconds: bigint;
|
|
||||||
add(duration: DurationLike): Instant;
|
|
||||||
subtract(duration: DurationLike): Instant;
|
|
||||||
until(other: InstantLike, options?: RoundingOptionsWithLargestUnit<TimeUnit>): Duration;
|
|
||||||
since(other: InstantLike, options?: RoundingOptionsWithLargestUnit<TimeUnit>): Duration;
|
|
||||||
round(roundTo: PluralizeUnit<TimeUnit>): Instant;
|
|
||||||
round(roundTo: RoundingOptions<TimeUnit>): Instant;
|
|
||||||
equals(other: InstantLike): boolean;
|
|
||||||
toString(options?: InstantToStringOptions): string;
|
|
||||||
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
||||||
toJSON(): string;
|
|
||||||
valueOf(): never;
|
|
||||||
toZonedDateTimeISO(timeZone: TimeZoneLike): ZonedDateTime;
|
|
||||||
readonly [Symbol.toStringTag]: "Temporal.Instant";
|
|
||||||
}
|
|
||||||
|
|
||||||
interface InstantConstructor {
|
|
||||||
new (epochNanoseconds: bigint): Instant;
|
|
||||||
readonly prototype: Instant;
|
|
||||||
from(item: InstantLike): Instant;
|
|
||||||
fromEpochMilliseconds(epochMilliseconds: number): Instant;
|
|
||||||
fromEpochNanoseconds(epochNanoseconds: bigint): Instant;
|
|
||||||
compare(one: InstantLike, two: InstantLike): number;
|
|
||||||
}
|
|
||||||
var Instant: InstantConstructor;
|
|
||||||
|
|
||||||
interface PlainYearMonthToPlainDateOptions {
|
|
||||||
day: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PlainYearMonth {
|
|
||||||
readonly calendarId: string;
|
|
||||||
readonly era: string | undefined;
|
|
||||||
readonly eraYear: number | undefined;
|
|
||||||
readonly year: number;
|
|
||||||
readonly month: number;
|
|
||||||
readonly monthCode: string;
|
|
||||||
readonly daysInYear: number;
|
|
||||||
readonly daysInMonth: number;
|
|
||||||
readonly monthsInYear: number;
|
|
||||||
readonly inLeapYear: boolean;
|
|
||||||
with(yearMonthLike: PartialTemporalLike<YearMonthLikeObject>, options?: OverflowOptions): PlainYearMonth;
|
|
||||||
add(duration: DurationLike, options?: OverflowOptions): PlainYearMonth;
|
|
||||||
subtract(duration: DurationLike, options?: OverflowOptions): PlainYearMonth;
|
|
||||||
until(other: PlainYearMonthLike, options?: RoundingOptionsWithLargestUnit<"year" | "month">): Duration;
|
|
||||||
since(other: PlainYearMonthLike, options?: RoundingOptionsWithLargestUnit<"year" | "month">): Duration;
|
|
||||||
equals(other: PlainYearMonthLike): boolean;
|
|
||||||
toString(options?: PlainDateToStringOptions): string;
|
|
||||||
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
||||||
toJSON(): string;
|
|
||||||
valueOf(): never;
|
|
||||||
toPlainDate(item: PlainYearMonthToPlainDateOptions): PlainDate;
|
|
||||||
readonly [Symbol.toStringTag]: "Temporal.PlainYearMonth";
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PlainYearMonthConstructor {
|
|
||||||
new (isoYear: number, isoMonth: number, calendar?: string, referenceISODay?: number): PlainYearMonth;
|
|
||||||
readonly prototype: PlainYearMonth;
|
|
||||||
from(item: PlainYearMonthLike, options?: OverflowOptions): PlainYearMonth;
|
|
||||||
compare(one: PlainYearMonthLike, two: PlainYearMonthLike): number;
|
|
||||||
}
|
|
||||||
var PlainYearMonth: PlainYearMonthConstructor;
|
|
||||||
|
|
||||||
interface PlainMonthDayToPlainDateOptions {
|
|
||||||
era?: string | undefined;
|
|
||||||
eraYear?: number | undefined;
|
|
||||||
year?: number | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PlainMonthDay {
|
|
||||||
readonly calendarId: string;
|
|
||||||
readonly monthCode: string;
|
|
||||||
readonly day: number;
|
|
||||||
with(monthDayLike: PartialTemporalLike<DateLikeObject>, options?: OverflowOptions): PlainMonthDay;
|
|
||||||
equals(other: PlainMonthDayLike): boolean;
|
|
||||||
toString(options?: PlainDateToStringOptions): string;
|
|
||||||
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
|
|
||||||
toJSON(): string;
|
|
||||||
valueOf(): never;
|
|
||||||
toPlainDate(item: PlainMonthDayToPlainDateOptions): PlainDate;
|
|
||||||
readonly [Symbol.toStringTag]: "Temporal.PlainMonthDay";
|
|
||||||
}
|
|
||||||
|
|
||||||
interface PlainMonthDayConstructor {
|
|
||||||
new (isoMonth: number, isoDay: number, calendar?: string, referenceISOYear?: number): PlainMonthDay;
|
|
||||||
readonly prototype: PlainMonthDay;
|
|
||||||
from(item: PlainMonthDayLike, options?: OverflowOptions): PlainMonthDay;
|
|
||||||
}
|
|
||||||
var PlainMonthDay: PlainMonthDayConstructor;
|
|
||||||
}
|
|
||||||
90
node_modules/@commitlint/load/node_modules/typescript/lib/lib.esnext.typedarrays.d.ts
generated
vendored
90
node_modules/@commitlint/load/node_modules/typescript/lib/lib.esnext.typedarrays.d.ts
generated
vendored
|
|
@ -1,90 +0,0 @@
|
||||||
/*! *****************************************************************************
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
||||||
MERCHANTABILITY OR NON-INFRINGEMENT.
|
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
|
||||||
and limitations under the License.
|
|
||||||
***************************************************************************** */
|
|
||||||
|
|
||||||
|
|
||||||
interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {
|
|
||||||
/**
|
|
||||||
* Converts the `Uint8Array` to a base64-encoded string.
|
|
||||||
* @param options If provided, sets the alphabet and padding behavior used.
|
|
||||||
* @returns A base64-encoded string.
|
|
||||||
*/
|
|
||||||
toBase64(
|
|
||||||
options?: {
|
|
||||||
alphabet?: "base64" | "base64url" | undefined;
|
|
||||||
omitPadding?: boolean | undefined;
|
|
||||||
},
|
|
||||||
): string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the `Uint8Array` from a base64-encoded string.
|
|
||||||
* @param string The base64-encoded string.
|
|
||||||
* @param options If provided, specifies the alphabet and handling of the last chunk.
|
|
||||||
* @returns An object containing the number of bytes read and written.
|
|
||||||
* @throws {SyntaxError} If the input string contains characters outside the specified alphabet, or if the last
|
|
||||||
* chunk is inconsistent with the `lastChunkHandling` option.
|
|
||||||
*/
|
|
||||||
setFromBase64(
|
|
||||||
string: string,
|
|
||||||
options?: {
|
|
||||||
alphabet?: "base64" | "base64url" | undefined;
|
|
||||||
lastChunkHandling?: "loose" | "strict" | "stop-before-partial" | undefined;
|
|
||||||
},
|
|
||||||
): {
|
|
||||||
read: number;
|
|
||||||
written: number;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Converts the `Uint8Array` to a base16-encoded string.
|
|
||||||
* @returns A base16-encoded string.
|
|
||||||
*/
|
|
||||||
toHex(): string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Sets the `Uint8Array` from a base16-encoded string.
|
|
||||||
* @param string The base16-encoded string.
|
|
||||||
* @returns An object containing the number of bytes read and written.
|
|
||||||
*/
|
|
||||||
setFromHex(string: string): {
|
|
||||||
read: number;
|
|
||||||
written: number;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Uint8ArrayConstructor {
|
|
||||||
/**
|
|
||||||
* Creates a new `Uint8Array` from a base64-encoded string.
|
|
||||||
* @param string The base64-encoded string.
|
|
||||||
* @param options If provided, specifies the alphabet and handling of the last chunk.
|
|
||||||
* @returns A new `Uint8Array` instance.
|
|
||||||
* @throws {SyntaxError} If the input string contains characters outside the specified alphabet, or if the last
|
|
||||||
* chunk is inconsistent with the `lastChunkHandling` option.
|
|
||||||
*/
|
|
||||||
fromBase64(
|
|
||||||
string: string,
|
|
||||||
options?: {
|
|
||||||
alphabet?: "base64" | "base64url" | undefined;
|
|
||||||
lastChunkHandling?: "loose" | "strict" | "stop-before-partial" | undefined;
|
|
||||||
},
|
|
||||||
): Uint8Array<ArrayBuffer>;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a new `Uint8Array` from a base16-encoded string.
|
|
||||||
* @returns A new `Uint8Array` instance.
|
|
||||||
*/
|
|
||||||
fromHex(
|
|
||||||
string: string,
|
|
||||||
): Uint8Array<ArrayBuffer>;
|
|
||||||
}
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
/*! *****************************************************************************
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
||||||
MERCHANTABILITY OR NON-INFRINGEMENT.
|
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
|
||||||
and limitations under the License.
|
|
||||||
***************************************************************************** */
|
|
||||||
|
|
||||||
|
|
||||||
// This file's contents are now included in the main types file.
|
|
||||||
// The file has been left for backward compatibility.
|
|
||||||
18
node_modules/@commitlint/load/node_modules/typescript/lib/lib.webworker.iterable.d.ts
generated
vendored
18
node_modules/@commitlint/load/node_modules/typescript/lib/lib.webworker.iterable.d.ts
generated
vendored
|
|
@ -1,18 +0,0 @@
|
||||||
/*! *****************************************************************************
|
|
||||||
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
||||||
this file except in compliance with the License. You may obtain a copy of the
|
|
||||||
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
||||||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
||||||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
||||||
MERCHANTABILITY OR NON-INFRINGEMENT.
|
|
||||||
|
|
||||||
See the Apache Version 2.0 License for specific language governing permissions
|
|
||||||
and limitations under the License.
|
|
||||||
***************************************************************************** */
|
|
||||||
|
|
||||||
|
|
||||||
// This file's contents are now included in the main types file.
|
|
||||||
// The file has been left for backward compatibility.
|
|
||||||
15
node_modules/@commitlint/load/package.json
generated
vendored
15
node_modules/@commitlint/load/package.json
generated
vendored
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@commitlint/load",
|
"name": "@commitlint/load",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "20.5.3",
|
"version": "20.4.3",
|
||||||
"description": "Load shared commitlint configuration",
|
"description": "Load shared commitlint configuration",
|
||||||
"main": "lib/load.js",
|
"main": "lib/load.js",
|
||||||
"types": "lib/load.d.ts",
|
"types": "lib/load.d.ts",
|
||||||
|
|
@ -37,20 +37,21 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/test": "^20.4.3",
|
"@commitlint/test": "^20.4.3",
|
||||||
|
"@types/lodash.mergewith": "^4.6.8",
|
||||||
"@types/node": "^18.19.17",
|
"@types/node": "^18.19.17",
|
||||||
"conventional-changelog-atom": "^5.0.0",
|
"conventional-changelog-atom": "^5.0.0",
|
||||||
"typescript": "^6.0.0"
|
"typescript": "^5.2.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@commitlint/config-validator": "^20.5.0",
|
"@commitlint/config-validator": "^20.4.3",
|
||||||
"@commitlint/execute-rule": "^20.0.0",
|
"@commitlint/execute-rule": "^20.0.0",
|
||||||
"@commitlint/resolve-extends": "^20.5.3",
|
"@commitlint/resolve-extends": "^20.4.3",
|
||||||
"@commitlint/types": "^20.5.0",
|
"@commitlint/types": "^20.4.3",
|
||||||
"cosmiconfig": "^9.0.1",
|
"cosmiconfig": "^9.0.1",
|
||||||
"cosmiconfig-typescript-loader": "^6.1.0",
|
"cosmiconfig-typescript-loader": "^6.1.0",
|
||||||
"es-toolkit": "^1.46.0",
|
|
||||||
"is-plain-obj": "^4.1.0",
|
"is-plain-obj": "^4.1.0",
|
||||||
|
"lodash.mergewith": "^4.6.2",
|
||||||
"picocolors": "^1.1.1"
|
"picocolors": "^1.1.1"
|
||||||
},
|
},
|
||||||
"gitHead": "31e959a3d17d4403f1142f825c43cccf2e0f7dc4"
|
"gitHead": "a7469817974796a6e89f55911bb66b7bffa44099"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
node_modules/@commitlint/resolve-extends/lib/index.d.ts.map
generated
vendored
2
node_modules/@commitlint/resolve-extends/lib/index.d.ts.map
generated
vendored
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AA2BlE;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,QAAQ,MAAM,EAAE,SAAS,MAAM,KAAG,MAuC7D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAC5B,sBAAsB,MAAM,KAC1B,OAAO,CAAC,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,YAAY,CAAC,CASnD,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,CAAC;IACtE,aAAa,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;IACvC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,MA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AE,EAAE,EAAE,MAAM,GAAG,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;CAC9C;AAED,wBAA8B,cAAc,CAC3C,MAAM,GAAE,UAAe,EACvB,OAAO,GAAE,qBAA0B,GACjC,OAAO,CAAC,UAAU,CAAC,CAiBrB;AAiGD,wBAAgB,iBAAiB,CAChC,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,GACZ,MAAM,GAAG,SAAS,CAIpB;AAqED;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAazE;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAkBzE"}
|
||||||
19
node_modules/@commitlint/resolve-extends/lib/index.js
generated
vendored
19
node_modules/@commitlint/resolve-extends/lib/index.js
generated
vendored
|
|
@ -5,7 +5,7 @@ import path from "node:path";
|
||||||
import { pathToFileURL, fileURLToPath } from "node:url";
|
import { pathToFileURL, fileURLToPath } from "node:url";
|
||||||
import globalDirectory from "global-directory";
|
import globalDirectory from "global-directory";
|
||||||
import { moduleResolve } from "import-meta-resolve";
|
import { moduleResolve } from "import-meta-resolve";
|
||||||
import { mergeWith } from "es-toolkit/compat";
|
import mergeWith from "lodash.mergewith";
|
||||||
import resolveFrom_ from "resolve-from";
|
import resolveFrom_ from "resolve-from";
|
||||||
import { validateConfig } from "@commitlint/config-validator";
|
import { validateConfig } from "@commitlint/config-validator";
|
||||||
const require = createRequire(import.meta.url);
|
const require = createRequire(import.meta.url);
|
||||||
|
|
@ -97,25 +97,20 @@ async function loadExtends(config = {}, context = {}) {
|
||||||
const ext = e ? (Array.isArray(e) ? e : [e]) : [];
|
const ext = e ? (Array.isArray(e) ? e : [e]) : [];
|
||||||
return await ext.reduce(async (configs, raw) => {
|
return await ext.reduce(async (configs, raw) => {
|
||||||
const resolved = resolveConfig(raw, context);
|
const resolved = resolveConfig(raw, context);
|
||||||
// Shallow-copy so we never mutate an ESM namespace object (#4647).
|
const c = await (context.dynamicImport || dynamicImport)(resolved);
|
||||||
const c = {
|
|
||||||
...(await (context.dynamicImport || dynamicImport)(resolved)),
|
|
||||||
};
|
|
||||||
const cwd = path.dirname(resolved);
|
const cwd = path.dirname(resolved);
|
||||||
const ctx = { ...context, cwd };
|
const ctx = { ...context, cwd };
|
||||||
// Always resolve string parser presets from extended configs so that
|
// Resolve parser preset if none was present before
|
||||||
// their parserOpts (headerPattern, etc.) are available for merging.
|
if (!context.parserPreset &&
|
||||||
// Previously this was skipped when the user provided any parserPreset,
|
typeof c === "object" &&
|
||||||
// which caused partial user overrides (e.g. just issuePrefixes) to
|
typeof c.parserPreset === "string") {
|
||||||
// lose the extended preset's headerPattern (see #4640).
|
|
||||||
if (typeof c === "object" && typeof c.parserPreset === "string") {
|
|
||||||
const resolvedParserPreset = resolveFrom(c.parserPreset, cwd);
|
const resolvedParserPreset = resolveFrom(c.parserPreset, cwd);
|
||||||
const parserPreset = {
|
const parserPreset = {
|
||||||
name: c.parserPreset,
|
name: c.parserPreset,
|
||||||
...(await loadParserPreset(resolvedParserPreset)),
|
...(await loadParserPreset(resolvedParserPreset)),
|
||||||
};
|
};
|
||||||
ctx.parserPreset = parserPreset;
|
ctx.parserPreset = parserPreset;
|
||||||
c.parserPreset = parserPreset;
|
config.parserPreset = parserPreset;
|
||||||
}
|
}
|
||||||
validateConfig(resolved, config);
|
validateConfig(resolved, config);
|
||||||
return [...(await configs), ...(await loadExtends(c, ctx)), c];
|
return [...(await configs), ...(await loadExtends(c, ctx)), c];
|
||||||
|
|
|
||||||
2
node_modules/@commitlint/resolve-extends/lib/index.js.map
generated
vendored
2
node_modules/@commitlint/resolve-extends/lib/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
15
node_modules/@commitlint/resolve-extends/package.json
generated
vendored
15
node_modules/@commitlint/resolve-extends/package.json
generated
vendored
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@commitlint/resolve-extends",
|
"name": "@commitlint/resolve-extends",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "20.5.3",
|
"version": "20.4.3",
|
||||||
"description": "Lint your commit messages",
|
"description": "Lint your commit messages",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
|
@ -36,15 +36,16 @@
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/utils": "^20.0.0"
|
"@commitlint/utils": "^20.0.0",
|
||||||
|
"@types/lodash.mergewith": "^4.6.8"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@commitlint/config-validator": "^20.5.0",
|
"@commitlint/config-validator": "^20.4.3",
|
||||||
"@commitlint/types": "^20.5.0",
|
"@commitlint/types": "^20.4.3",
|
||||||
"es-toolkit": "^1.46.0",
|
"global-directory": "^4.0.1",
|
||||||
"global-directory": "^5.0.0",
|
|
||||||
"import-meta-resolve": "^4.0.0",
|
"import-meta-resolve": "^4.0.0",
|
||||||
|
"lodash.mergewith": "^4.6.2",
|
||||||
"resolve-from": "^5.0.0"
|
"resolve-from": "^5.0.0"
|
||||||
},
|
},
|
||||||
"gitHead": "31e959a3d17d4403f1142f825c43cccf2e0f7dc4"
|
"gitHead": "a7469817974796a6e89f55911bb66b7bffa44099"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1
node_modules/@commitlint/types/lib/prompt.d.ts
generated
vendored
1
node_modules/@commitlint/types/lib/prompt.d.ts
generated
vendored
|
|
@ -4,7 +4,6 @@ export type PromptConfig = {
|
||||||
settings: {
|
settings: {
|
||||||
scopeEnumSeparator: string;
|
scopeEnumSeparator: string;
|
||||||
enableMultipleScopes: boolean;
|
enableMultipleScopes: boolean;
|
||||||
useExclamationMark: boolean;
|
|
||||||
};
|
};
|
||||||
messages: PromptMessages;
|
messages: PromptMessages;
|
||||||
questions: Partial<Record<PromptName, {
|
questions: Partial<Record<PromptName, {
|
||||||
|
|
|
||||||
2
node_modules/@commitlint/types/lib/prompt.d.ts.map
generated
vendored
2
node_modules/@commitlint/types/lib/prompt.d.ts.map
generated
vendored
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"prompt.d.ts","sourceRoot":"","sources":["../src/prompt.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAClB,QAAQ,GACR,MAAM,GACN,OAAO,GACP,SAAS,GACT,MAAM,GACN,QAAQ,CAAC;AAEZ,MAAM,MAAM,UAAU,GACnB,SAAS,GACT,YAAY,GACZ,cAAc,GACd,UAAU,GACV,iBAAiB,GACjB,YAAY,GACZ,QAAQ,CAAC;AAEZ,MAAM,MAAM,YAAY,GAAG;IAC1B,QAAQ,EAAE;QACT,kBAAkB,EAAE,MAAM,CAAC;QAC3B,oBAAoB,EAAE,OAAO,CAAC;QAC9B,kBAAkB,EAAE,OAAO,CAAC;KAC5B,CAAC;IACF,QAAQ,EAAE,cAAc,CAAC;IACzB,SAAS,EAAE,OAAO,CACjB,MAAM,CACL,UAAU,EACV;QACC,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE;YAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;SAAE,CAAC;QACnC,IAAI,CAAC,EAAE;YACN,CAAC,QAAQ,EAAE,MAAM,GAAG;gBACnB,WAAW,CAAC,EAAE,MAAM,CAAC;gBACrB,KAAK,CAAC,EAAE,MAAM,CAAC;gBACf,KAAK,CAAC,EAAE,MAAM,CAAC;aACf,CAAC;SACF,CAAC;QACF,aAAa,CAAC,EAAE,OAAO,CAAC;KACxB,CACD,CACD,CAAC;CACF,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;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,CAAC;QACF,aAAa,CAAC,EAAE,OAAO,CAAC;KACxB,CACD,CACD,CAAC;CACF,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC;AAEzD,KAAK,WAAW,CAAC,CAAC,IAAI;KACpB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE;SACf,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAC3B;CACD,CAAC"}
|
||||||
5
node_modules/@commitlint/types/lib/rules.d.ts
generated
vendored
5
node_modules/@commitlint/types/lib/rules.d.ts
generated
vendored
|
|
@ -38,10 +38,7 @@ export declare enum RuleConfigQuality {
|
||||||
User = 0,
|
User = 0,
|
||||||
Qualified = 1
|
Qualified = 1
|
||||||
}
|
}
|
||||||
export interface RuleConfigContext {
|
export type QualifiedRuleConfig<T> = (() => RuleConfigTuple<T>) | (() => Promise<RuleConfigTuple<T>>) | RuleConfigTuple<T>;
|
||||||
cwd?: string;
|
|
||||||
}
|
|
||||||
export type QualifiedRuleConfig<T> = ((ctx?: RuleConfigContext) => RuleConfigTuple<T>) | ((ctx?: RuleConfigContext) => Promise<RuleConfigTuple<T>>) | RuleConfigTuple<T>;
|
|
||||||
export type RuleConfig<V = RuleConfigQuality.Qualified, T = void> = V extends RuleConfigQuality.Qualified ? RuleConfigTuple<T> : QualifiedRuleConfig<T>;
|
export type RuleConfig<V = RuleConfigQuality.Qualified, T = void> = V extends RuleConfigQuality.Qualified ? RuleConfigTuple<T> : QualifiedRuleConfig<T>;
|
||||||
export type CaseRuleConfig<V = RuleConfigQuality.User> = RuleConfig<V, TargetCaseType | readonly TargetCaseType[]>;
|
export type CaseRuleConfig<V = RuleConfigQuality.User> = RuleConfig<V, TargetCaseType | readonly TargetCaseType[]>;
|
||||||
export type LengthRuleConfig<V = RuleConfigQuality.User> = RuleConfig<V, number>;
|
export type LengthRuleConfig<V = RuleConfigQuality.User> = RuleConfig<V, number>;
|
||||||
|
|
|
||||||
2
node_modules/@commitlint/types/lib/rules.d.ts.map
generated
vendored
2
node_modules/@commitlint/types/lib/rules.d.ts.map
generated
vendored
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../src/rules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE7C;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;AAEvD;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEnD,MAAM,MAAM,QAAQ,CAAC,KAAK,GAAG,KAAK,EAAE,IAAI,SAAS,QAAQ,GAAG,QAAQ,IAAI,CACvE,MAAM,EAAE,MAAM,EACd,IAAI,CAAC,EAAE,mBAAmB,EAC1B,KAAK,CAAC,EAAE,KAAK,KACT,IAAI,SAAS,QAAQ,GACvB,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC,GAClC,IAAI,SAAS,OAAO,GACnB,OAAO,CAAC,WAAW,CAAC,GACpB,IAAI,SAAS,MAAM,GAClB,WAAW,GACX,KAAK,CAAC;AAEX,MAAM,MAAM,IAAI,CAAC,KAAK,GAAG,KAAK,IAAI,QAAQ,CAAC,KAAK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AAC,CAAC,EAAE,MAAM,CAAC,CAAC;IAC3C,oBAAoB,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;IAC1C,oBAAoB,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;IAC1C,gBAAgB,EAAE,UAAU,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;IACxC,WAAW,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;IAC/B,YAAY,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;IAC5B,WAAW,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;IAC/B,iBAAiB,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;IACvC,iBAAiB,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;IAEvC,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,EAAE,OAAO,CAAC,GAAG,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC"}
|
||||||
4
node_modules/@commitlint/types/package.json
generated
vendored
4
node_modules/@commitlint/types/package.json
generated
vendored
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@commitlint/types",
|
"name": "@commitlint/types",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "20.5.0",
|
"version": "20.4.3",
|
||||||
"description": "Shared types for commitlint packages",
|
"description": "Shared types for commitlint packages",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
|
@ -36,5 +36,5 @@
|
||||||
"@commitlint/utils": "^20.0.0",
|
"@commitlint/utils": "^20.0.0",
|
||||||
"@types/conventional-commits-parser": "^5.0.2"
|
"@types/conventional-commits-parser": "^5.0.2"
|
||||||
},
|
},
|
||||||
"gitHead": "a7918e9cf70f822505cb4422c03150a86f802627"
|
"gitHead": "a7469817974796a6e89f55911bb66b7bffa44099"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
node_modules/@types/node/README.md
generated
vendored
2
node_modules/@types/node/README.md
generated
vendored
|
|
@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
||||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
||||||
|
|
||||||
### Additional Details
|
### Additional Details
|
||||||
* Last updated: Fri, 10 Apr 2026 03:39:58 GMT
|
* Last updated: Fri, 06 Mar 2026 00:57:44 GMT
|
||||||
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
||||||
|
|
||||||
# Credits
|
# Credits
|
||||||
|
|
|
||||||
9
node_modules/@types/node/assert.d.ts
generated
vendored
9
node_modules/@types/node/assert.d.ts
generated
vendored
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* The `node:assert` module provides a set of assertion functions for verifying
|
||||||
|
* invariants.
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/assert.js)
|
||||||
|
*/
|
||||||
declare module "node:assert" {
|
declare module "node:assert" {
|
||||||
import strict = require("node:assert/strict");
|
import strict = require("node:assert/strict");
|
||||||
/**
|
/**
|
||||||
|
|
@ -248,10 +253,10 @@ declare module "node:assert" {
|
||||||
* import assert from 'node:assert/strict';
|
* import assert from 'node:assert/strict';
|
||||||
*
|
*
|
||||||
* // Using `assert()` works the same:
|
* // Using `assert()` works the same:
|
||||||
* assert(2 + 2 > 5);;
|
* assert(0);
|
||||||
* // AssertionError: The expression evaluated to a falsy value:
|
* // AssertionError: The expression evaluated to a falsy value:
|
||||||
* //
|
* //
|
||||||
* // assert(2 + 2 > 5)
|
* // assert(0)
|
||||||
* ```
|
* ```
|
||||||
* @since v0.1.21
|
* @since v0.1.21
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
46
node_modules/@types/node/assert/strict.d.ts
generated
vendored
46
node_modules/@types/node/assert/strict.d.ts
generated
vendored
|
|
@ -1,3 +1,49 @@
|
||||||
|
/**
|
||||||
|
* In strict assertion mode, non-strict methods behave like their corresponding
|
||||||
|
* strict methods. For example, `assert.deepEqual()` will behave like
|
||||||
|
* `assert.deepStrictEqual()`.
|
||||||
|
*
|
||||||
|
* In strict assertion mode, error messages for objects display a diff. In legacy
|
||||||
|
* assertion mode, error messages for objects display the objects, often truncated.
|
||||||
|
*
|
||||||
|
* To use strict assertion mode:
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import { strict as assert } from 'node:assert';
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import assert from 'node:assert/strict';
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* Example error diff:
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import { strict as assert } from 'node:assert';
|
||||||
|
*
|
||||||
|
* assert.deepEqual([[[1, 2, 3]], 4, 5], [[[1, 2, '3']], 4, 5]);
|
||||||
|
* // AssertionError: Expected inputs to be strictly deep-equal:
|
||||||
|
* // + actual - expected ... Lines skipped
|
||||||
|
* //
|
||||||
|
* // [
|
||||||
|
* // [
|
||||||
|
* // ...
|
||||||
|
* // 2,
|
||||||
|
* // + 3
|
||||||
|
* // - '3'
|
||||||
|
* // ],
|
||||||
|
* // ...
|
||||||
|
* // 5
|
||||||
|
* // ]
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* To deactivate the colors, use the `NO_COLOR` or `NODE_DISABLE_COLORS`
|
||||||
|
* environment variables. This will also deactivate the colors in the REPL. For
|
||||||
|
* more on color support in terminal environments, read the tty
|
||||||
|
* [`getColorDepth()`](https://nodejs.org/docs/latest-v25.x/api/tty.html#writestreamgetcolordepthenv) documentation.
|
||||||
|
* @since v15.0.0
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/assert/strict.js)
|
||||||
|
*/
|
||||||
declare module "node:assert/strict" {
|
declare module "node:assert/strict" {
|
||||||
import {
|
import {
|
||||||
Assert,
|
Assert,
|
||||||
|
|
|
||||||
56
node_modules/@types/node/async_hooks.d.ts
generated
vendored
56
node_modules/@types/node/async_hooks.d.ts
generated
vendored
|
|
@ -1,3 +1,19 @@
|
||||||
|
/**
|
||||||
|
* We strongly discourage the use of the `async_hooks` API.
|
||||||
|
* Other APIs that can cover most of its use cases include:
|
||||||
|
*
|
||||||
|
* * [`AsyncLocalStorage`](https://nodejs.org/docs/latest-v25.x/api/async_context.html#class-asynclocalstorage) tracks async context
|
||||||
|
* * [`process.getActiveResourcesInfo()`](https://nodejs.org/docs/latest-v25.x/api/process.html#processgetactiveresourcesinfo) tracks active resources
|
||||||
|
*
|
||||||
|
* The `node:async_hooks` module provides an API to track asynchronous resources.
|
||||||
|
* It can be accessed using:
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import async_hooks from 'node:async_hooks';
|
||||||
|
* ```
|
||||||
|
* @experimental
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/async_hooks.js)
|
||||||
|
*/
|
||||||
declare module "node:async_hooks" {
|
declare module "node:async_hooks" {
|
||||||
/**
|
/**
|
||||||
* ```js
|
* ```js
|
||||||
|
|
@ -107,31 +123,37 @@ declare module "node:async_hooks" {
|
||||||
function triggerAsyncId(): number;
|
function triggerAsyncId(): number;
|
||||||
interface HookCallbacks {
|
interface HookCallbacks {
|
||||||
/**
|
/**
|
||||||
* The [`init` callback](https://nodejs.org/docs/latest-v25.x/api/async_hooks.html#initasyncid-type-triggerasyncid-resource).
|
* Called when a class is constructed that has the possibility to emit an asynchronous event.
|
||||||
|
* @param asyncId A unique ID for the async resource
|
||||||
|
* @param type The type of the async resource
|
||||||
|
* @param triggerAsyncId The unique ID of the async resource in whose execution context this async resource was created
|
||||||
|
* @param resource Reference to the resource representing the async operation, needs to be released during destroy
|
||||||
*/
|
*/
|
||||||
init?(asyncId: number, type: string, triggerAsyncId: number, resource: object): void;
|
init?(asyncId: number, type: string, triggerAsyncId: number, resource: object): void;
|
||||||
/**
|
/**
|
||||||
* The [`before` callback](https://nodejs.org/docs/latest-v25.x/api/async_hooks.html#beforeasyncid).
|
* When an asynchronous operation is initiated or completes a callback is called to notify the user.
|
||||||
|
* The before callback is called just before said callback is executed.
|
||||||
|
* @param asyncId the unique identifier assigned to the resource about to execute the callback.
|
||||||
*/
|
*/
|
||||||
before?(asyncId: number): void;
|
before?(asyncId: number): void;
|
||||||
/**
|
/**
|
||||||
* The [`after` callback](https://nodejs.org/docs/latest-v25.x/api/async_hooks.html#afterasyncid).
|
* Called immediately after the callback specified in `before` is completed.
|
||||||
|
*
|
||||||
|
* If an uncaught exception occurs during execution of the callback, then `after` will run after the `'uncaughtException'` event is emitted or a `domain`'s handler runs.
|
||||||
|
* @param asyncId the unique identifier assigned to the resource which has executed the callback.
|
||||||
*/
|
*/
|
||||||
after?(asyncId: number): void;
|
after?(asyncId: number): void;
|
||||||
/**
|
/**
|
||||||
* The [`promiseResolve` callback](https://nodejs.org/docs/latest-v25.x/api/async_hooks.html#promiseresolveasyncid).
|
* Called when a promise has resolve() called. This may not be in the same execution id
|
||||||
|
* as the promise itself.
|
||||||
|
* @param asyncId the unique id for the promise that was resolve()d.
|
||||||
*/
|
*/
|
||||||
promiseResolve?(asyncId: number): void;
|
promiseResolve?(asyncId: number): void;
|
||||||
/**
|
/**
|
||||||
* The [`destroy` callback](https://nodejs.org/docs/latest-v25.x/api/async_hooks.html#destroyasyncid).
|
* Called after the resource corresponding to asyncId is destroyed
|
||||||
|
* @param asyncId a unique ID for the async resource
|
||||||
*/
|
*/
|
||||||
destroy?(asyncId: number): void;
|
destroy?(asyncId: number): void;
|
||||||
/**
|
|
||||||
* Whether the hook should track `Promise`s. Cannot be `false` if
|
|
||||||
* `promiseResolve` is set.
|
|
||||||
* @default true
|
|
||||||
*/
|
|
||||||
trackPromises?: boolean | undefined;
|
|
||||||
}
|
}
|
||||||
interface AsyncHook {
|
interface AsyncHook {
|
||||||
/**
|
/**
|
||||||
|
|
@ -152,8 +174,7 @@ declare module "node:async_hooks" {
|
||||||
*
|
*
|
||||||
* All callbacks are optional. For example, if only resource cleanup needs to
|
* All callbacks are optional. For example, if only resource cleanup needs to
|
||||||
* be tracked, then only the `destroy` callback needs to be passed. The
|
* be tracked, then only the `destroy` callback needs to be passed. The
|
||||||
* specifics of all functions that can be passed to `callbacks` is in the
|
* specifics of all functions that can be passed to `callbacks` is in the `Hook Callbacks` section.
|
||||||
* [Hook Callbacks](https://nodejs.org/docs/latest-v25.x/api/async_hooks.html#hook-callbacks) section.
|
|
||||||
*
|
*
|
||||||
* ```js
|
* ```js
|
||||||
* import { createHook } from 'node:async_hooks';
|
* import { createHook } from 'node:async_hooks';
|
||||||
|
|
@ -181,13 +202,12 @@ declare module "node:async_hooks" {
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* Because promises are asynchronous resources whose lifecycle is tracked
|
* Because promises are asynchronous resources whose lifecycle is tracked
|
||||||
* via the async hooks mechanism, the `init()`, `before()`, `after()`, and
|
* via the async hooks mechanism, the `init()`, `before()`, `after()`, and`destroy()` callbacks _must not_ be async functions that return promises.
|
||||||
* `destroy()` callbacks _must not_ be async functions that return promises.
|
|
||||||
* @since v8.1.0
|
* @since v8.1.0
|
||||||
* @param options The [Hook Callbacks](https://nodejs.org/docs/latest-v25.x/api/async_hooks.html#hook-callbacks) to register
|
* @param callbacks The `Hook Callbacks` to register
|
||||||
* @returns Instance used for disabling and enabling hooks
|
* @return Instance used for disabling and enabling hooks
|
||||||
*/
|
*/
|
||||||
function createHook(options: HookCallbacks): AsyncHook;
|
function createHook(callbacks: HookCallbacks): AsyncHook;
|
||||||
interface AsyncResourceOptions {
|
interface AsyncResourceOptions {
|
||||||
/**
|
/**
|
||||||
* The ID of the execution context that created this async event.
|
* The ID of the execution context that created this async event.
|
||||||
|
|
|
||||||
2
node_modules/@types/node/buffer.buffer.d.ts
generated
vendored
2
node_modules/@types/node/buffer.buffer.d.ts
generated
vendored
|
|
@ -174,7 +174,7 @@ declare module "node:buffer" {
|
||||||
* If `totalLength` is not provided, it is calculated from the `Buffer` instances
|
* If `totalLength` is not provided, it is calculated from the `Buffer` instances
|
||||||
* in `list` by adding their lengths.
|
* in `list` by adding their lengths.
|
||||||
*
|
*
|
||||||
* If `totalLength` is provided, it must be an unsigned integer. If the
|
* If `totalLength` is provided, it is coerced to an unsigned integer. If the
|
||||||
* combined length of the `Buffer`s in `list` exceeds `totalLength`, the result is
|
* combined length of the `Buffer`s in `list` exceeds `totalLength`, the result is
|
||||||
* truncated to `totalLength`. If the combined length of the `Buffer`s in `list` is
|
* truncated to `totalLength`. If the combined length of the `Buffer`s in `list` is
|
||||||
* less than `totalLength`, the remaining space is filled with zeros.
|
* less than `totalLength`, the remaining space is filled with zeros.
|
||||||
|
|
|
||||||
45
node_modules/@types/node/buffer.d.ts
generated
vendored
45
node_modules/@types/node/buffer.d.ts
generated
vendored
|
|
@ -1,3 +1,48 @@
|
||||||
|
/**
|
||||||
|
* `Buffer` objects are used to represent a fixed-length sequence of bytes. Many
|
||||||
|
* Node.js APIs support `Buffer`s.
|
||||||
|
*
|
||||||
|
* The `Buffer` class is a subclass of JavaScript's [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) class and
|
||||||
|
* extends it with methods that cover additional use cases. Node.js APIs accept
|
||||||
|
* plain [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) s wherever `Buffer`s are supported as well.
|
||||||
|
*
|
||||||
|
* While the `Buffer` class is available within the global scope, it is still
|
||||||
|
* recommended to explicitly reference it via an import or require statement.
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import { Buffer } from 'node:buffer';
|
||||||
|
*
|
||||||
|
* // Creates a zero-filled Buffer of length 10.
|
||||||
|
* const buf1 = Buffer.alloc(10);
|
||||||
|
*
|
||||||
|
* // Creates a Buffer of length 10,
|
||||||
|
* // filled with bytes which all have the value `1`.
|
||||||
|
* const buf2 = Buffer.alloc(10, 1);
|
||||||
|
*
|
||||||
|
* // Creates an uninitialized buffer of length 10.
|
||||||
|
* // This is faster than calling Buffer.alloc() but the returned
|
||||||
|
* // Buffer instance might contain old data that needs to be
|
||||||
|
* // overwritten using fill(), write(), or other functions that fill the Buffer's
|
||||||
|
* // contents.
|
||||||
|
* const buf3 = Buffer.allocUnsafe(10);
|
||||||
|
*
|
||||||
|
* // Creates a Buffer containing the bytes [1, 2, 3].
|
||||||
|
* const buf4 = Buffer.from([1, 2, 3]);
|
||||||
|
*
|
||||||
|
* // Creates a Buffer containing the bytes [1, 1, 1, 1] – the entries
|
||||||
|
* // are all truncated using `(value & 255)` to fit into the range 0–255.
|
||||||
|
* const buf5 = Buffer.from([257, 257.5, -255, '1']);
|
||||||
|
*
|
||||||
|
* // Creates a Buffer containing the UTF-8-encoded bytes for the string 'tést':
|
||||||
|
* // [0x74, 0xc3, 0xa9, 0x73, 0x74] (in hexadecimal notation)
|
||||||
|
* // [116, 195, 169, 115, 116] (in decimal notation)
|
||||||
|
* const buf6 = Buffer.from('tést');
|
||||||
|
*
|
||||||
|
* // Creates a Buffer containing the Latin-1 bytes [0x74, 0xe9, 0x73, 0x74].
|
||||||
|
* const buf7 = Buffer.from('tést', 'latin1');
|
||||||
|
* ```
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/buffer.js)
|
||||||
|
*/
|
||||||
declare module "node:buffer" {
|
declare module "node:buffer" {
|
||||||
import { ReadableStream } from "node:stream/web";
|
import { ReadableStream } from "node:stream/web";
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
72
node_modules/@types/node/child_process.d.ts
generated
vendored
72
node_modules/@types/node/child_process.d.ts
generated
vendored
|
|
@ -1,3 +1,70 @@
|
||||||
|
/**
|
||||||
|
* The `node:child_process` module provides the ability to spawn subprocesses in
|
||||||
|
* a manner that is similar, but not identical, to [`popen(3)`](http://man7.org/linux/man-pages/man3/popen.3.html). This capability
|
||||||
|
* is primarily provided by the {@link spawn} function:
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import { spawn } from 'node:child_process';
|
||||||
|
* import { once } from 'node:events';
|
||||||
|
* const ls = spawn('ls', ['-lh', '/usr']);
|
||||||
|
*
|
||||||
|
* ls.stdout.on('data', (data) => {
|
||||||
|
* console.log(`stdout: ${data}`);
|
||||||
|
* });
|
||||||
|
*
|
||||||
|
* ls.stderr.on('data', (data) => {
|
||||||
|
* console.error(`stderr: ${data}`);
|
||||||
|
* });
|
||||||
|
*
|
||||||
|
* const [code] = await once(ls, 'close');
|
||||||
|
* console.log(`child process exited with code ${code}`);
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* By default, pipes for `stdin`, `stdout`, and `stderr` are established between
|
||||||
|
* the parent Node.js process and the spawned subprocess. These pipes have
|
||||||
|
* limited (and platform-specific) capacity. If the subprocess writes to
|
||||||
|
* stdout in excess of that limit without the output being captured, the
|
||||||
|
* subprocess blocks, waiting for the pipe buffer to accept more data. This is
|
||||||
|
* identical to the behavior of pipes in the shell. Use the `{ stdio: 'ignore' }` option if the output will not be consumed.
|
||||||
|
*
|
||||||
|
* The command lookup is performed using the `options.env.PATH` environment
|
||||||
|
* variable if `env` is in the `options` object. Otherwise, `process.env.PATH` is
|
||||||
|
* used. If `options.env` is set without `PATH`, lookup on Unix is performed
|
||||||
|
* on a default search path search of `/usr/bin:/bin` (see your operating system's
|
||||||
|
* manual for execvpe/execvp), on Windows the current processes environment
|
||||||
|
* variable `PATH` is used.
|
||||||
|
*
|
||||||
|
* On Windows, environment variables are case-insensitive. Node.js
|
||||||
|
* lexicographically sorts the `env` keys and uses the first one that
|
||||||
|
* case-insensitively matches. Only first (in lexicographic order) entry will be
|
||||||
|
* passed to the subprocess. This might lead to issues on Windows when passing
|
||||||
|
* objects to the `env` option that have multiple variants of the same key, such as `PATH` and `Path`.
|
||||||
|
*
|
||||||
|
* The {@link spawn} method spawns the child process asynchronously,
|
||||||
|
* without blocking the Node.js event loop. The {@link spawnSync} function provides equivalent functionality in a synchronous manner that blocks
|
||||||
|
* the event loop until the spawned process either exits or is terminated.
|
||||||
|
*
|
||||||
|
* For convenience, the `node:child_process` module provides a handful of
|
||||||
|
* synchronous and asynchronous alternatives to {@link spawn} and {@link spawnSync}. Each of these alternatives are implemented on
|
||||||
|
* top of {@link spawn} or {@link spawnSync}.
|
||||||
|
*
|
||||||
|
* * {@link exec}: spawns a shell and runs a command within that
|
||||||
|
* shell, passing the `stdout` and `stderr` to a callback function when
|
||||||
|
* complete.
|
||||||
|
* * {@link execFile}: similar to {@link exec} except
|
||||||
|
* that it spawns the command directly without first spawning a shell by
|
||||||
|
* default.
|
||||||
|
* * {@link fork}: spawns a new Node.js process and invokes a
|
||||||
|
* specified module with an IPC communication channel established that allows
|
||||||
|
* sending messages between parent and child.
|
||||||
|
* * {@link execSync}: a synchronous version of {@link exec} that will block the Node.js event loop.
|
||||||
|
* * {@link execFileSync}: a synchronous version of {@link execFile} that will block the Node.js event loop.
|
||||||
|
*
|
||||||
|
* For certain use cases, such as automating shell scripts, the `synchronous counterparts` may be more convenient. In many cases, however,
|
||||||
|
* the synchronous methods can have significant impact on performance due to
|
||||||
|
* stalling the event loop while spawned processes complete.
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/child_process.js)
|
||||||
|
*/
|
||||||
declare module "node:child_process" {
|
declare module "node:child_process" {
|
||||||
import { NonSharedBuffer } from "node:buffer";
|
import { NonSharedBuffer } from "node:buffer";
|
||||||
import * as dgram from "node:dgram";
|
import * as dgram from "node:dgram";
|
||||||
|
|
@ -161,11 +228,6 @@ declare module "node:child_process" {
|
||||||
/**
|
/**
|
||||||
* The `subprocess.exitCode` property indicates the exit code of the child process.
|
* The `subprocess.exitCode` property indicates the exit code of the child process.
|
||||||
* If the child process is still running, the field will be `null`.
|
* If the child process is still running, the field will be `null`.
|
||||||
*
|
|
||||||
* When the child process is terminated by a signal, `subprocess.exitCode` will be
|
|
||||||
* `null` and `subprocess.signalCode` will be set. To get the corresponding
|
|
||||||
* POSIX exit code, use
|
|
||||||
* `util.convertProcessSignalToExitCode(subprocess.signalCode)`.
|
|
||||||
*/
|
*/
|
||||||
readonly exitCode: number | null;
|
readonly exitCode: number | null;
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
54
node_modules/@types/node/cluster.d.ts
generated
vendored
54
node_modules/@types/node/cluster.d.ts
generated
vendored
|
|
@ -1,3 +1,57 @@
|
||||||
|
/**
|
||||||
|
* Clusters of Node.js processes can be used to run multiple instances of Node.js
|
||||||
|
* that can distribute workloads among their application threads. When process isolation
|
||||||
|
* is not needed, use the [`worker_threads`](https://nodejs.org/docs/latest-v25.x/api/worker_threads.html)
|
||||||
|
* module instead, which allows running multiple application threads within a single Node.js instance.
|
||||||
|
*
|
||||||
|
* The cluster module allows easy creation of child processes that all share
|
||||||
|
* server ports.
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import cluster from 'node:cluster';
|
||||||
|
* import http from 'node:http';
|
||||||
|
* import { availableParallelism } from 'node:os';
|
||||||
|
* import process from 'node:process';
|
||||||
|
*
|
||||||
|
* const numCPUs = availableParallelism();
|
||||||
|
*
|
||||||
|
* if (cluster.isPrimary) {
|
||||||
|
* console.log(`Primary ${process.pid} is running`);
|
||||||
|
*
|
||||||
|
* // Fork workers.
|
||||||
|
* for (let i = 0; i < numCPUs; i++) {
|
||||||
|
* cluster.fork();
|
||||||
|
* }
|
||||||
|
*
|
||||||
|
* cluster.on('exit', (worker, code, signal) => {
|
||||||
|
* console.log(`worker ${worker.process.pid} died`);
|
||||||
|
* });
|
||||||
|
* } else {
|
||||||
|
* // Workers can share any TCP connection
|
||||||
|
* // In this case it is an HTTP server
|
||||||
|
* http.createServer((req, res) => {
|
||||||
|
* res.writeHead(200);
|
||||||
|
* res.end('hello world\n');
|
||||||
|
* }).listen(8000);
|
||||||
|
*
|
||||||
|
* console.log(`Worker ${process.pid} started`);
|
||||||
|
* }
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* Running Node.js will now share port 8000 between the workers:
|
||||||
|
*
|
||||||
|
* ```console
|
||||||
|
* $ node server.js
|
||||||
|
* Primary 3596 is running
|
||||||
|
* Worker 4324 started
|
||||||
|
* Worker 4520 started
|
||||||
|
* Worker 6056 started
|
||||||
|
* Worker 5644 started
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* On Windows, it is not yet possible to set up a named pipe server in a worker.
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/cluster.js)
|
||||||
|
*/
|
||||||
declare module "node:cluster" {
|
declare module "node:cluster" {
|
||||||
import * as child_process from "node:child_process";
|
import * as child_process from "node:child_process";
|
||||||
import { EventEmitter, InternalEventEmitter } from "node:events";
|
import { EventEmitter, InternalEventEmitter } from "node:events";
|
||||||
|
|
|
||||||
58
node_modules/@types/node/console.d.ts
generated
vendored
58
node_modules/@types/node/console.d.ts
generated
vendored
|
|
@ -1,3 +1,61 @@
|
||||||
|
/**
|
||||||
|
* The `node:console` module provides a simple debugging console that is similar to
|
||||||
|
* the JavaScript console mechanism provided by web browsers.
|
||||||
|
*
|
||||||
|
* The module exports two specific components:
|
||||||
|
*
|
||||||
|
* * A `Console` class with methods such as `console.log()`, `console.error()`, and `console.warn()` that can be used to write to any Node.js stream.
|
||||||
|
* * A global `console` instance configured to write to [`process.stdout`](https://nodejs.org/docs/latest-v25.x/api/process.html#processstdout) and
|
||||||
|
* [`process.stderr`](https://nodejs.org/docs/latest-v25.x/api/process.html#processstderr). The global `console` can be used without importing the `node:console` module.
|
||||||
|
*
|
||||||
|
* _**Warning**_: The global console object's methods are neither consistently
|
||||||
|
* synchronous like the browser APIs they resemble, nor are they consistently
|
||||||
|
* asynchronous like all other Node.js streams. See the [`note on process I/O`](https://nodejs.org/docs/latest-v25.x/api/process.html#a-note-on-process-io) for
|
||||||
|
* more information.
|
||||||
|
*
|
||||||
|
* Example using the global `console`:
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* console.log('hello world');
|
||||||
|
* // Prints: hello world, to stdout
|
||||||
|
* console.log('hello %s', 'world');
|
||||||
|
* // Prints: hello world, to stdout
|
||||||
|
* console.error(new Error('Whoops, something bad happened'));
|
||||||
|
* // Prints error message and stack trace to stderr:
|
||||||
|
* // Error: Whoops, something bad happened
|
||||||
|
* // at [eval]:5:15
|
||||||
|
* // at Script.runInThisContext (node:vm:132:18)
|
||||||
|
* // at Object.runInThisContext (node:vm:309:38)
|
||||||
|
* // at node:internal/process/execution:77:19
|
||||||
|
* // at [eval]-wrapper:6:22
|
||||||
|
* // at evalScript (node:internal/process/execution:76:60)
|
||||||
|
* // at node:internal/main/eval_string:23:3
|
||||||
|
*
|
||||||
|
* const name = 'Will Robinson';
|
||||||
|
* console.warn(`Danger ${name}! Danger!`);
|
||||||
|
* // Prints: Danger Will Robinson! Danger!, to stderr
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* Example using the `Console` class:
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* const out = getStreamSomehow();
|
||||||
|
* const err = getStreamSomehow();
|
||||||
|
* const myConsole = new console.Console(out, err);
|
||||||
|
*
|
||||||
|
* myConsole.log('hello world');
|
||||||
|
* // Prints: hello world, to out
|
||||||
|
* myConsole.log('hello %s', 'world');
|
||||||
|
* // Prints: hello world, to out
|
||||||
|
* myConsole.error(new Error('Whoops, something bad happened'));
|
||||||
|
* // Prints: [Error: Whoops, something bad happened], to err
|
||||||
|
*
|
||||||
|
* const name = 'Will Robinson';
|
||||||
|
* myConsole.warn(`Danger ${name}! Danger!`);
|
||||||
|
* // Prints: Danger Will Robinson! Danger!, to err
|
||||||
|
* ```
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/console.js)
|
||||||
|
*/
|
||||||
declare module "node:console" {
|
declare module "node:console" {
|
||||||
import { InspectOptions } from "node:util";
|
import { InspectOptions } from "node:util";
|
||||||
namespace console {
|
namespace console {
|
||||||
|
|
|
||||||
6
node_modules/@types/node/constants.d.ts
generated
vendored
6
node_modules/@types/node/constants.d.ts
generated
vendored
|
|
@ -1,3 +1,9 @@
|
||||||
|
/**
|
||||||
|
* @deprecated The `node:constants` module is deprecated. When requiring access to constants
|
||||||
|
* relevant to specific Node.js builtin modules, developers should instead refer
|
||||||
|
* to the `constants` property exposed by the relevant module. For instance,
|
||||||
|
* `require('node:fs').constants` and `require('node:os').constants`.
|
||||||
|
*/
|
||||||
declare module "node:constants" {
|
declare module "node:constants" {
|
||||||
const constants:
|
const constants:
|
||||||
& typeof import("node:os").constants.dlopen
|
& typeof import("node:os").constants.dlopen
|
||||||
|
|
|
||||||
18
node_modules/@types/node/crypto.d.ts
generated
vendored
18
node_modules/@types/node/crypto.d.ts
generated
vendored
|
|
@ -1,3 +1,21 @@
|
||||||
|
/**
|
||||||
|
* The `node:crypto` module provides cryptographic functionality that includes a
|
||||||
|
* set of wrappers for OpenSSL's hash, HMAC, cipher, decipher, sign, and verify
|
||||||
|
* functions.
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* const { createHmac } = await import('node:crypto');
|
||||||
|
*
|
||||||
|
* const secret = 'abcdefg';
|
||||||
|
* const hash = createHmac('sha256', secret)
|
||||||
|
* .update('I love cupcakes')
|
||||||
|
* .digest('hex');
|
||||||
|
* console.log(hash);
|
||||||
|
* // Prints:
|
||||||
|
* // c0fa1bc00531bd78ef38c628449c5102aeabd49b5dc3a2a516ea6ea959d6658e
|
||||||
|
* ```
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/crypto.js)
|
||||||
|
*/
|
||||||
declare module "node:crypto" {
|
declare module "node:crypto" {
|
||||||
import { NonSharedBuffer } from "node:buffer";
|
import { NonSharedBuffer } from "node:buffer";
|
||||||
import * as stream from "node:stream";
|
import * as stream from "node:stream";
|
||||||
|
|
|
||||||
27
node_modules/@types/node/dgram.d.ts
generated
vendored
27
node_modules/@types/node/dgram.d.ts
generated
vendored
|
|
@ -1,3 +1,30 @@
|
||||||
|
/**
|
||||||
|
* The `node:dgram` module provides an implementation of UDP datagram sockets.
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import dgram from 'node:dgram';
|
||||||
|
*
|
||||||
|
* const server = dgram.createSocket('udp4');
|
||||||
|
*
|
||||||
|
* server.on('error', (err) => {
|
||||||
|
* console.error(`server error:\n${err.stack}`);
|
||||||
|
* server.close();
|
||||||
|
* });
|
||||||
|
*
|
||||||
|
* server.on('message', (msg, rinfo) => {
|
||||||
|
* console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`);
|
||||||
|
* });
|
||||||
|
*
|
||||||
|
* server.on('listening', () => {
|
||||||
|
* const address = server.address();
|
||||||
|
* console.log(`server listening ${address.address}:${address.port}`);
|
||||||
|
* });
|
||||||
|
*
|
||||||
|
* server.bind(41234);
|
||||||
|
* // Prints: server listening 0.0.0.0:41234
|
||||||
|
* ```
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/dgram.js)
|
||||||
|
*/
|
||||||
declare module "node:dgram" {
|
declare module "node:dgram" {
|
||||||
import { NonSharedBuffer } from "node:buffer";
|
import { NonSharedBuffer } from "node:buffer";
|
||||||
import * as dns from "node:dns";
|
import * as dns from "node:dns";
|
||||||
|
|
|
||||||
24
node_modules/@types/node/diagnostics_channel.d.ts
generated
vendored
24
node_modules/@types/node/diagnostics_channel.d.ts
generated
vendored
|
|
@ -1,3 +1,27 @@
|
||||||
|
/**
|
||||||
|
* The `node:diagnostics_channel` module provides an API to create named channels
|
||||||
|
* to report arbitrary message data for diagnostics purposes.
|
||||||
|
*
|
||||||
|
* It can be accessed using:
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import diagnostics_channel from 'node:diagnostics_channel';
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* It is intended that a module writer wanting to report diagnostics messages
|
||||||
|
* will create one or many top-level channels to report messages through.
|
||||||
|
* Channels may also be acquired at runtime but it is not encouraged
|
||||||
|
* due to the additional overhead of doing so. Channels may be exported for
|
||||||
|
* convenience, but as long as the name is known it can be acquired anywhere.
|
||||||
|
*
|
||||||
|
* If you intend for your module to produce diagnostics data for others to
|
||||||
|
* consume it is recommended that you include documentation of what named
|
||||||
|
* channels are used along with the shape of the message data. Channel names
|
||||||
|
* should generally include the module name to avoid collisions with data from
|
||||||
|
* other modules.
|
||||||
|
* @since v15.1.0, v14.17.0
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/diagnostics_channel.js)
|
||||||
|
*/
|
||||||
declare module "node:diagnostics_channel" {
|
declare module "node:diagnostics_channel" {
|
||||||
import { AsyncLocalStorage } from "node:async_hooks";
|
import { AsyncLocalStorage } from "node:async_hooks";
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
46
node_modules/@types/node/dns.d.ts
generated
vendored
46
node_modules/@types/node/dns.d.ts
generated
vendored
|
|
@ -1,3 +1,49 @@
|
||||||
|
/**
|
||||||
|
* The `node:dns` module enables name resolution. For example, use it to look up IP
|
||||||
|
* addresses of host names.
|
||||||
|
*
|
||||||
|
* Although named for the [Domain Name System (DNS)](https://en.wikipedia.org/wiki/Domain_Name_System), it does not always use the
|
||||||
|
* DNS protocol for lookups. {@link lookup} uses the operating system
|
||||||
|
* facilities to perform name resolution. It may not need to perform any network
|
||||||
|
* communication. To perform name resolution the way other applications on the same
|
||||||
|
* system do, use {@link lookup}.
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import dns from 'node:dns';
|
||||||
|
*
|
||||||
|
* dns.lookup('example.org', (err, address, family) => {
|
||||||
|
* console.log('address: %j family: IPv%s', address, family);
|
||||||
|
* });
|
||||||
|
* // address: "93.184.216.34" family: IPv4
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* All other functions in the `node:dns` module connect to an actual DNS server to
|
||||||
|
* perform name resolution. They will always use the network to perform DNS
|
||||||
|
* queries. These functions do not use the same set of configuration files used by {@link lookup} (e.g. `/etc/hosts`). Use these functions to always perform
|
||||||
|
* DNS queries, bypassing other name-resolution facilities.
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import dns from 'node:dns';
|
||||||
|
*
|
||||||
|
* dns.resolve4('archive.org', (err, addresses) => {
|
||||||
|
* if (err) throw err;
|
||||||
|
*
|
||||||
|
* console.log(`addresses: ${JSON.stringify(addresses)}`);
|
||||||
|
*
|
||||||
|
* addresses.forEach((a) => {
|
||||||
|
* dns.reverse(a, (err, hostnames) => {
|
||||||
|
* if (err) {
|
||||||
|
* throw err;
|
||||||
|
* }
|
||||||
|
* console.log(`reverse for ${a}: ${JSON.stringify(hostnames)}`);
|
||||||
|
* });
|
||||||
|
* });
|
||||||
|
* });
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* See the [Implementation considerations section](https://nodejs.org/docs/latest-v25.x/api/dns.html#implementation-considerations) for more information.
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/dns.js)
|
||||||
|
*/
|
||||||
declare module "node:dns" {
|
declare module "node:dns" {
|
||||||
// Supported getaddrinfo flags.
|
// Supported getaddrinfo flags.
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
6
node_modules/@types/node/dns/promises.d.ts
generated
vendored
6
node_modules/@types/node/dns/promises.d.ts
generated
vendored
|
|
@ -1,3 +1,9 @@
|
||||||
|
/**
|
||||||
|
* The `dns.promises` API provides an alternative set of asynchronous DNS methods
|
||||||
|
* that return `Promise` objects rather than using callbacks. The API is accessible
|
||||||
|
* via `import { promises as dnsPromises } from 'node:dns'` or `import dnsPromises from 'node:dns/promises'`.
|
||||||
|
* @since v10.6.0
|
||||||
|
*/
|
||||||
declare module "node:dns/promises" {
|
declare module "node:dns/promises" {
|
||||||
import {
|
import {
|
||||||
AnyRecord,
|
AnyRecord,
|
||||||
|
|
|
||||||
16
node_modules/@types/node/domain.d.ts
generated
vendored
16
node_modules/@types/node/domain.d.ts
generated
vendored
|
|
@ -1,3 +1,19 @@
|
||||||
|
/**
|
||||||
|
* **This module is pending deprecation.** Once a replacement API has been
|
||||||
|
* finalized, this module will be fully deprecated. Most developers should
|
||||||
|
* **not** have cause to use this module. Users who absolutely must have
|
||||||
|
* the functionality that domains provide may rely on it for the time being
|
||||||
|
* but should expect to have to migrate to a different solution
|
||||||
|
* in the future.
|
||||||
|
*
|
||||||
|
* Domains provide a way to handle multiple different IO operations as a
|
||||||
|
* single group. If any of the event emitters or callbacks registered to a
|
||||||
|
* domain emit an `'error'` event, or throw an error, then the domain object
|
||||||
|
* will be notified, rather than losing the context of the error in the `process.on('uncaughtException')` handler, or causing the program to
|
||||||
|
* exit immediately with an error code.
|
||||||
|
* @deprecated Since v1.4.2 - Deprecated
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/domain.js)
|
||||||
|
*/
|
||||||
declare module "node:domain" {
|
declare module "node:domain" {
|
||||||
import { EventEmitter } from "node:events";
|
import { EventEmitter } from "node:events";
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
55
node_modules/@types/node/events.d.ts
generated
vendored
55
node_modules/@types/node/events.d.ts
generated
vendored
|
|
@ -1,3 +1,39 @@
|
||||||
|
/**
|
||||||
|
* Much of the Node.js core API is built around an idiomatic asynchronous
|
||||||
|
* event-driven architecture in which certain kinds of objects (called "emitters")
|
||||||
|
* emit named events that cause `Function` objects ("listeners") to be called.
|
||||||
|
*
|
||||||
|
* For instance: a `net.Server` object emits an event each time a peer
|
||||||
|
* connects to it; a `fs.ReadStream` emits an event when the file is opened;
|
||||||
|
* a `stream` emits an event whenever data is available to be read.
|
||||||
|
*
|
||||||
|
* All objects that emit events are instances of the `EventEmitter` class. These
|
||||||
|
* objects expose an `eventEmitter.on()` function that allows one or more
|
||||||
|
* functions to be attached to named events emitted by the object. Typically,
|
||||||
|
* event names are camel-cased strings but any valid JavaScript property key
|
||||||
|
* can be used.
|
||||||
|
*
|
||||||
|
* When the `EventEmitter` object emits an event, all of the functions attached
|
||||||
|
* to that specific event are called _synchronously_. Any values returned by the
|
||||||
|
* called listeners are _ignored_ and discarded.
|
||||||
|
*
|
||||||
|
* The following example shows a simple `EventEmitter` instance with a single
|
||||||
|
* listener. The `eventEmitter.on()` method is used to register listeners, while
|
||||||
|
* the `eventEmitter.emit()` method is used to trigger the event.
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import { EventEmitter } from 'node:events';
|
||||||
|
*
|
||||||
|
* class MyEmitter extends EventEmitter {}
|
||||||
|
*
|
||||||
|
* const myEmitter = new MyEmitter();
|
||||||
|
* myEmitter.on('event', () => {
|
||||||
|
* console.log('an event occurred!');
|
||||||
|
* });
|
||||||
|
* myEmitter.emit('event');
|
||||||
|
* ```
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/events.js)
|
||||||
|
*/
|
||||||
declare module "node:events" {
|
declare module "node:events" {
|
||||||
import { AsyncResource, AsyncResourceOptions } from "node:async_hooks";
|
import { AsyncResource, AsyncResourceOptions } from "node:async_hooks";
|
||||||
// #region Event map helpers
|
// #region Event map helpers
|
||||||
|
|
@ -602,17 +638,24 @@ declare module "node:events" {
|
||||||
*/
|
*/
|
||||||
function getMaxListeners(emitter: EventEmitter | EventTarget): number;
|
function getMaxListeners(emitter: EventEmitter | EventTarget): number;
|
||||||
/**
|
/**
|
||||||
* Returns the number of registered listeners for the event named `eventName`.
|
* A class method that returns the number of listeners for the given `eventName`
|
||||||
|
* registered on the given `emitter`.
|
||||||
*
|
*
|
||||||
* For `EventEmitter`s this behaves exactly the same as calling `.listenerCount`
|
* ```js
|
||||||
* on the emitter.
|
* import { EventEmitter, listenerCount } from 'node:events';
|
||||||
*
|
*
|
||||||
* For `EventTarget`s this is the only way to obtain the listener count. This can
|
* const myEmitter = new EventEmitter();
|
||||||
* be useful for debugging and diagnostic purposes.
|
* myEmitter.on('event', () => {});
|
||||||
|
* myEmitter.on('event', () => {});
|
||||||
|
* console.log(listenerCount(myEmitter, 'event'));
|
||||||
|
* // Prints: 2
|
||||||
|
* ```
|
||||||
* @since v0.9.12
|
* @since v0.9.12
|
||||||
|
* @deprecated Use `emitter.listenerCount()` instead.
|
||||||
|
* @param emitter The emitter to query
|
||||||
|
* @param eventName The event name
|
||||||
*/
|
*/
|
||||||
function listenerCount(emitter: EventEmitter, eventName: string | symbol): number;
|
function listenerCount(emitter: EventEmitter, eventName: string | symbol): number;
|
||||||
function listenerCount(emitter: EventTarget, eventName: string): number;
|
|
||||||
interface OnOptions extends Abortable {
|
interface OnOptions extends Abortable {
|
||||||
/**
|
/**
|
||||||
* Names of events that will end the iteration.
|
* Names of events that will end the iteration.
|
||||||
|
|
|
||||||
22
node_modules/@types/node/fs.d.ts
generated
vendored
22
node_modules/@types/node/fs.d.ts
generated
vendored
|
|
@ -1,3 +1,23 @@
|
||||||
|
/**
|
||||||
|
* The `node:fs` module enables interacting with the file system in a
|
||||||
|
* way modeled on standard POSIX functions.
|
||||||
|
*
|
||||||
|
* To use the promise-based APIs:
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import * as fs from 'node:fs/promises';
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* To use the callback and sync APIs:
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import * as fs from 'node:fs';
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* All file system operations have synchronous, callback, and promise-based
|
||||||
|
* forms, and are accessible using both CommonJS syntax and ES6 Modules (ESM).
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/fs.js)
|
||||||
|
*/
|
||||||
declare module "node:fs" {
|
declare module "node:fs" {
|
||||||
import { NonSharedBuffer } from "node:buffer";
|
import { NonSharedBuffer } from "node:buffer";
|
||||||
import { Abortable, EventEmitter, InternalEventEmitter } from "node:events";
|
import { Abortable, EventEmitter, InternalEventEmitter } from "node:events";
|
||||||
|
|
@ -3533,12 +3553,10 @@ declare module "node:fs" {
|
||||||
*/
|
*/
|
||||||
function unwatchFile(filename: PathLike, listener?: StatsListener): void;
|
function unwatchFile(filename: PathLike, listener?: StatsListener): void;
|
||||||
function unwatchFile(filename: PathLike, listener?: BigIntStatsListener): void;
|
function unwatchFile(filename: PathLike, listener?: BigIntStatsListener): void;
|
||||||
type WatchIgnorePredicate = string | RegExp | ((filename: string) => boolean);
|
|
||||||
interface WatchOptions extends Abortable {
|
interface WatchOptions extends Abortable {
|
||||||
encoding?: BufferEncoding | "buffer" | undefined;
|
encoding?: BufferEncoding | "buffer" | undefined;
|
||||||
persistent?: boolean | undefined;
|
persistent?: boolean | undefined;
|
||||||
recursive?: boolean | undefined;
|
recursive?: boolean | undefined;
|
||||||
ignore?: WatchIgnorePredicate | readonly WatchIgnorePredicate[] | undefined;
|
|
||||||
}
|
}
|
||||||
interface WatchOptionsWithBufferEncoding extends WatchOptions {
|
interface WatchOptionsWithBufferEncoding extends WatchOptions {
|
||||||
encoding: "buffer";
|
encoding: "buffer";
|
||||||
|
|
|
||||||
10
node_modules/@types/node/fs/promises.d.ts
generated
vendored
10
node_modules/@types/node/fs/promises.d.ts
generated
vendored
|
|
@ -1,3 +1,13 @@
|
||||||
|
/**
|
||||||
|
* The `fs/promises` API provides asynchronous file system methods that return
|
||||||
|
* promises.
|
||||||
|
*
|
||||||
|
* The promise APIs use the underlying Node.js threadpool to perform file
|
||||||
|
* system operations off the event loop thread. These operations are not
|
||||||
|
* synchronized or threadsafe. Care must be taken when performing multiple
|
||||||
|
* concurrent modifications on the same file or data corruption may occur.
|
||||||
|
* @since v10.0.0
|
||||||
|
*/
|
||||||
declare module "node:fs/promises" {
|
declare module "node:fs/promises" {
|
||||||
import { NonSharedBuffer } from "node:buffer";
|
import { NonSharedBuffer } from "node:buffer";
|
||||||
import { Abortable } from "node:events";
|
import { Abortable } from "node:events";
|
||||||
|
|
|
||||||
62
node_modules/@types/node/http.d.ts
generated
vendored
62
node_modules/@types/node/http.d.ts
generated
vendored
|
|
@ -1,3 +1,44 @@
|
||||||
|
/**
|
||||||
|
* To use the HTTP server and client one must import the `node:http` module.
|
||||||
|
*
|
||||||
|
* The HTTP interfaces in Node.js are designed to support many features
|
||||||
|
* of the protocol which have been traditionally difficult to use.
|
||||||
|
* In particular, large, possibly chunk-encoded, messages. The interface is
|
||||||
|
* careful to never buffer entire requests or responses, so the
|
||||||
|
* user is able to stream data.
|
||||||
|
*
|
||||||
|
* HTTP message headers are represented by an object like this:
|
||||||
|
*
|
||||||
|
* ```json
|
||||||
|
* { "content-length": "123",
|
||||||
|
* "content-type": "text/plain",
|
||||||
|
* "connection": "keep-alive",
|
||||||
|
* "host": "example.com",
|
||||||
|
* "accept": "*" }
|
||||||
|
* ```
|
||||||
|
*
|
||||||
|
* Keys are lowercased. Values are not modified.
|
||||||
|
*
|
||||||
|
* In order to support the full spectrum of possible HTTP applications, the Node.js
|
||||||
|
* HTTP API is very low-level. It deals with stream handling and message
|
||||||
|
* parsing only. It parses a message into headers and body but it does not
|
||||||
|
* parse the actual headers or the body.
|
||||||
|
*
|
||||||
|
* See `message.headers` for details on how duplicate headers are handled.
|
||||||
|
*
|
||||||
|
* The raw headers as they were received are retained in the `rawHeaders` property, which is an array of `[key, value, key2, value2, ...]`. For
|
||||||
|
* example, the previous message header object might have a `rawHeaders` list like the following:
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* [ 'ConTent-Length', '123456',
|
||||||
|
* 'content-LENGTH', '123',
|
||||||
|
* 'content-type', 'text/plain',
|
||||||
|
* 'CONNECTION', 'keep-alive',
|
||||||
|
* 'Host', 'example.com',
|
||||||
|
* 'accepT', '*' ]
|
||||||
|
* ```
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/http.js)
|
||||||
|
*/
|
||||||
declare module "node:http" {
|
declare module "node:http" {
|
||||||
import { NonSharedBuffer } from "node:buffer";
|
import { NonSharedBuffer } from "node:buffer";
|
||||||
import { LookupOptions } from "node:dns";
|
import { LookupOptions } from "node:dns";
|
||||||
|
|
@ -2095,27 +2136,6 @@ declare module "node:http" {
|
||||||
* @param [max=1000]
|
* @param [max=1000]
|
||||||
*/
|
*/
|
||||||
function setMaxIdleHTTPParsers(max: number): void;
|
function setMaxIdleHTTPParsers(max: number): void;
|
||||||
/**
|
|
||||||
* Dynamically resets the global configurations to enable built-in proxy support for
|
|
||||||
* `fetch()` and `http.request()`/`https.request()` at runtime, as an alternative
|
|
||||||
* to using the `--use-env-proxy` flag or `NODE_USE_ENV_PROXY` environment variable.
|
|
||||||
* It can also be used to override settings configured from the environment variables.
|
|
||||||
*
|
|
||||||
* As this function resets the global configurations, any previously configured
|
|
||||||
* `http.globalAgent`, `https.globalAgent` or undici global dispatcher would be
|
|
||||||
* overridden after this function is invoked. It's recommended to invoke it before any
|
|
||||||
* requests are made and avoid invoking it in the middle of any requests.
|
|
||||||
*
|
|
||||||
* See [Built-in Proxy Support](https://nodejs.org/docs/latest-v25.x/api/http.html#built-in-proxy-support) for details on proxy URL formats and `NO_PROXY`
|
|
||||||
* syntax.
|
|
||||||
* @since v25.4.0
|
|
||||||
* @param proxyEnv An object containing proxy configuration. This accepts the
|
|
||||||
* same options as the `proxyEnv` option accepted by {@link Agent}. **Default:**
|
|
||||||
* `process.env`.
|
|
||||||
* @returns A function that restores the original agent and dispatcher
|
|
||||||
* settings to the state before this `http.setGlobalProxyFromEnv()` is invoked.
|
|
||||||
*/
|
|
||||||
function setGlobalProxyFromEnv(proxyEnv?: ProxyEnv): () => void;
|
|
||||||
/**
|
/**
|
||||||
* Global instance of `Agent` which is used as the default for all HTTP client
|
* Global instance of `Agent` which is used as the default for all HTTP client
|
||||||
* requests. Diverges from a default `Agent` configuration by having `keepAlive`
|
* requests. Diverges from a default `Agent` configuration by having `keepAlive`
|
||||||
|
|
|
||||||
10
node_modules/@types/node/http2.d.ts
generated
vendored
10
node_modules/@types/node/http2.d.ts
generated
vendored
|
|
@ -1,3 +1,13 @@
|
||||||
|
/**
|
||||||
|
* The `node:http2` module provides an implementation of the [HTTP/2](https://tools.ietf.org/html/rfc7540) protocol.
|
||||||
|
* It can be accessed using:
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* import http2 from 'node:http2';
|
||||||
|
* ```
|
||||||
|
* @since v8.4.0
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/http2.js)
|
||||||
|
*/
|
||||||
declare module "node:http2" {
|
declare module "node:http2" {
|
||||||
import { NonSharedBuffer } from "node:buffer";
|
import { NonSharedBuffer } from "node:buffer";
|
||||||
import { InternalEventEmitter } from "node:events";
|
import { InternalEventEmitter } from "node:events";
|
||||||
|
|
|
||||||
5
node_modules/@types/node/https.d.ts
generated
vendored
5
node_modules/@types/node/https.d.ts
generated
vendored
|
|
@ -1,3 +1,8 @@
|
||||||
|
/**
|
||||||
|
* HTTPS is the HTTP protocol over TLS/SSL. In Node.js this is implemented as a
|
||||||
|
* separate module.
|
||||||
|
* @see [source](https://github.com/nodejs/node/blob/v25.x/lib/https.js)
|
||||||
|
*/
|
||||||
declare module "node:https" {
|
declare module "node:https" {
|
||||||
import * as http from "node:http";
|
import * as http from "node:http";
|
||||||
import { Duplex } from "node:stream";
|
import { Duplex } from "node:stream";
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user