@emulsify/cli 2.0.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +131 -12
- package/dist/handlers/componentInstall.js +65 -4
- package/dist/index.js +2 -0
- package/dist/node_modules/.package-lock.json +6 -216
- package/dist/node_modules/@types/node/README.md +1 -1
- package/dist/node_modules/@types/node/http2.d.ts +1 -0
- package/dist/node_modules/@types/node/package.json +2 -2
- package/dist/package-lock.json +61 -42
- package/dist/package.json +5 -6
- package/dist/schemas/emulsifyProjectConfig.json +80 -0
- package/dist/util/fs/executeScript.js +10 -4
- package/dist/util/fs/loadJsonFile.js +14 -4
- package/dist/util/fs/safeResolveWithin.js +22 -0
- package/dist/util/getRepositoryLatestTag.js +96 -13
- package/dist/util/project/buildComponentDependencyList.js +35 -10
- package/dist/util/project/generateComponent.js +52 -23
- package/dist/util/project/getEmulsifyConfig.js +35 -1
- package/dist/util/project/installComponentFromCache.js +3 -2
- package/dist/util/project/installGeneralAssetsFromCache.js +4 -2
- package/dist/util/system/getAvailableSystems.js +0 -5
- package/package.json +5 -6
- package/dist/node_modules/@babel/code-frame/LICENSE +0 -22
- package/dist/node_modules/@babel/code-frame/README.md +0 -19
- package/dist/node_modules/@babel/code-frame/lib/index.js +0 -217
- package/dist/node_modules/@babel/code-frame/lib/index.js.map +0 -1
- package/dist/node_modules/@babel/code-frame/package.json +0 -32
- package/dist/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
- package/dist/node_modules/@babel/helper-validator-identifier/README.md +0 -19
- package/dist/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
- package/dist/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
- package/dist/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
- package/dist/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
- package/dist/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
- package/dist/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
- package/dist/node_modules/@babel/helper-validator-identifier/package.json +0 -31
- package/dist/node_modules/@types/progress/LICENSE +0 -21
- package/dist/node_modules/@types/progress/README.md +0 -15
- package/dist/node_modules/@types/progress/index.d.ts +0 -143
- package/dist/node_modules/@types/progress/package.json +0 -27
- package/dist/node_modules/argparse/CHANGELOG.md +0 -216
- package/dist/node_modules/argparse/LICENSE +0 -254
- package/dist/node_modules/argparse/README.md +0 -84
- package/dist/node_modules/argparse/argparse.js +0 -3707
- package/dist/node_modules/argparse/lib/sub.js +0 -67
- package/dist/node_modules/argparse/lib/textwrap.js +0 -440
- package/dist/node_modules/argparse/package.json +0 -31
- package/dist/node_modules/callsites/index.d.ts +0 -96
- package/dist/node_modules/callsites/index.js +0 -13
- package/dist/node_modules/callsites/license +0 -9
- package/dist/node_modules/callsites/package.json +0 -39
- package/dist/node_modules/callsites/readme.md +0 -48
- package/dist/node_modules/cosmiconfig/LICENSE +0 -22
- package/dist/node_modules/cosmiconfig/README.md +0 -782
- package/dist/node_modules/cosmiconfig/dist/Explorer.d.ts +0 -2
- package/dist/node_modules/cosmiconfig/dist/Explorer.js +0 -174
- package/dist/node_modules/cosmiconfig/dist/ExplorerBase.d.ts +0 -2
- package/dist/node_modules/cosmiconfig/dist/ExplorerBase.js +0 -126
- package/dist/node_modules/cosmiconfig/dist/ExplorerSync.d.ts +0 -2
- package/dist/node_modules/cosmiconfig/dist/ExplorerSync.js +0 -188
- package/dist/node_modules/cosmiconfig/dist/defaults.d.ts +0 -25
- package/dist/node_modules/cosmiconfig/dist/defaults.js +0 -105
- package/dist/node_modules/cosmiconfig/dist/index.d.ts +0 -6
- package/dist/node_modules/cosmiconfig/dist/index.js +0 -148
- package/dist/node_modules/cosmiconfig/dist/loaders.d.ts +0 -8
- package/dist/node_modules/cosmiconfig/dist/loaders.js +0 -150
- package/dist/node_modules/cosmiconfig/dist/merge.d.ts +0 -9
- package/dist/node_modules/cosmiconfig/dist/merge.js +0 -44
- package/dist/node_modules/cosmiconfig/dist/types.d.ts +0 -98
- package/dist/node_modules/cosmiconfig/dist/types.js +0 -3
- package/dist/node_modules/cosmiconfig/dist/util.d.ts +0 -2
- package/dist/node_modules/cosmiconfig/dist/util.js +0 -108
- package/dist/node_modules/cosmiconfig/package.json +0 -103
- package/dist/node_modules/env-paths/index.d.ts +0 -101
- package/dist/node_modules/env-paths/index.js +0 -74
- package/dist/node_modules/env-paths/license +0 -9
- package/dist/node_modules/env-paths/package.json +0 -45
- package/dist/node_modules/env-paths/readme.md +0 -115
- package/dist/node_modules/error-ex/LICENSE +0 -21
- package/dist/node_modules/error-ex/README.md +0 -144
- package/dist/node_modules/error-ex/index.js +0 -141
- package/dist/node_modules/error-ex/package.json +0 -46
- package/dist/node_modules/import-fresh/index.d.ts +0 -30
- package/dist/node_modules/import-fresh/index.js +0 -34
- package/dist/node_modules/import-fresh/license +0 -9
- package/dist/node_modules/import-fresh/node_modules/resolve-from/index.js +0 -47
- package/dist/node_modules/import-fresh/node_modules/resolve-from/license +0 -9
- package/dist/node_modules/import-fresh/node_modules/resolve-from/package.json +0 -34
- package/dist/node_modules/import-fresh/node_modules/resolve-from/readme.md +0 -72
- package/dist/node_modules/import-fresh/package.json +0 -48
- package/dist/node_modules/import-fresh/readme.md +0 -54
- package/dist/node_modules/is-arrayish/.editorconfig +0 -18
- package/dist/node_modules/is-arrayish/.istanbul.yml +0 -4
- package/dist/node_modules/is-arrayish/.travis.yml +0 -17
- package/dist/node_modules/is-arrayish/LICENSE +0 -21
- package/dist/node_modules/is-arrayish/README.md +0 -16
- package/dist/node_modules/is-arrayish/index.js +0 -10
- package/dist/node_modules/is-arrayish/package.json +0 -34
- package/dist/node_modules/js-tokens/CHANGELOG.md +0 -151
- package/dist/node_modules/js-tokens/LICENSE +0 -21
- package/dist/node_modules/js-tokens/README.md +0 -240
- package/dist/node_modules/js-tokens/index.js +0 -23
- package/dist/node_modules/js-tokens/package.json +0 -30
- package/dist/node_modules/js-yaml/LICENSE +0 -21
- package/dist/node_modules/js-yaml/README.md +0 -231
- package/dist/node_modules/js-yaml/bin/js-yaml.js +0 -117
- package/dist/node_modules/js-yaml/dist/js-yaml.js +0 -2404
- package/dist/node_modules/js-yaml/dist/js-yaml.js.map +0 -1
- package/dist/node_modules/js-yaml/dist/js-yaml.min.js +0 -33
- package/dist/node_modules/js-yaml/dist/js-yaml.min.js.map +0 -1
- package/dist/node_modules/js-yaml/dist/js-yaml.mjs +0 -2382
- package/dist/node_modules/js-yaml/dist/js-yaml.mjs.map +0 -1
- package/dist/node_modules/js-yaml/index.js +0 -44
- package/dist/node_modules/js-yaml/lib/common.js +0 -50
- package/dist/node_modules/js-yaml/lib/dumper.js +0 -937
- package/dist/node_modules/js-yaml/lib/exception.js +0 -51
- package/dist/node_modules/js-yaml/lib/index_vite_proxy.tmp.mjs +0 -37
- package/dist/node_modules/js-yaml/lib/loader.js +0 -1794
- package/dist/node_modules/js-yaml/lib/schema/core.js +0 -9
- package/dist/node_modules/js-yaml/lib/schema/default.js +0 -20
- package/dist/node_modules/js-yaml/lib/schema/failsafe.js +0 -14
- package/dist/node_modules/js-yaml/lib/schema/json.js +0 -17
- package/dist/node_modules/js-yaml/lib/schema.js +0 -109
- package/dist/node_modules/js-yaml/lib/snippet.js +0 -96
- package/dist/node_modules/js-yaml/lib/type/binary.js +0 -122
- package/dist/node_modules/js-yaml/lib/type/bool.js +0 -35
- package/dist/node_modules/js-yaml/lib/type/float.js +0 -99
- package/dist/node_modules/js-yaml/lib/type/int.js +0 -142
- package/dist/node_modules/js-yaml/lib/type/map.js +0 -8
- package/dist/node_modules/js-yaml/lib/type/merge.js +0 -12
- package/dist/node_modules/js-yaml/lib/type/null.js +0 -35
- package/dist/node_modules/js-yaml/lib/type/omap.js +0 -45
- package/dist/node_modules/js-yaml/lib/type/pairs.js +0 -50
- package/dist/node_modules/js-yaml/lib/type/seq.js +0 -8
- package/dist/node_modules/js-yaml/lib/type/set.js +0 -29
- package/dist/node_modules/js-yaml/lib/type/str.js +0 -8
- package/dist/node_modules/js-yaml/lib/type/timestamp.js +0 -88
- package/dist/node_modules/js-yaml/lib/type.js +0 -66
- package/dist/node_modules/js-yaml/package.json +0 -77
- package/dist/node_modules/json-parse-even-better-errors/CHANGELOG.md +0 -50
- package/dist/node_modules/json-parse-even-better-errors/LICENSE.md +0 -25
- package/dist/node_modules/json-parse-even-better-errors/README.md +0 -96
- package/dist/node_modules/json-parse-even-better-errors/index.js +0 -121
- package/dist/node_modules/json-parse-even-better-errors/package.json +0 -33
- package/dist/node_modules/lines-and-columns/LICENSE +0 -21
- package/dist/node_modules/lines-and-columns/README.md +0 -33
- package/dist/node_modules/lines-and-columns/build/index.d.ts +0 -13
- package/dist/node_modules/lines-and-columns/build/index.js +0 -62
- package/dist/node_modules/lines-and-columns/package.json +0 -49
- package/dist/node_modules/parent-module/index.js +0 -37
- package/dist/node_modules/parent-module/license +0 -9
- package/dist/node_modules/parent-module/package.json +0 -46
- package/dist/node_modules/parent-module/readme.md +0 -67
- package/dist/node_modules/parse-json/index.js +0 -54
- package/dist/node_modules/parse-json/license +0 -9
- package/dist/node_modules/parse-json/package.json +0 -45
- package/dist/node_modules/parse-json/readme.md +0 -119
- package/dist/node_modules/picocolors/LICENSE +0 -15
- package/dist/node_modules/picocolors/README.md +0 -21
- package/dist/node_modules/picocolors/package.json +0 -25
- package/dist/node_modules/picocolors/picocolors.browser.js +0 -4
- package/dist/node_modules/picocolors/picocolors.d.ts +0 -5
- package/dist/node_modules/picocolors/picocolors.js +0 -75
- package/dist/node_modules/picocolors/types.d.ts +0 -51
- package/dist/node_modules/typescript/LICENSE.txt +0 -55
- package/dist/node_modules/typescript/README.md +0 -50
- package/dist/node_modules/typescript/SECURITY.md +0 -39
- package/dist/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
- package/dist/node_modules/typescript/bin/tsc +0 -2
- package/dist/node_modules/typescript/bin/tsserver +0 -2
- package/dist/node_modules/typescript/lib/_tsc.js +0 -134465
- package/dist/node_modules/typescript/lib/_tsserver.js +0 -659
- package/dist/node_modules/typescript/lib/_typingsInstaller.js +0 -222
- package/dist/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2129
- package/dist/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2125
- package/dist/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2129
- package/dist/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2129
- package/dist/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2125
- package/dist/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2129
- package/dist/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2129
- package/dist/node_modules/typescript/lib/lib.d.ts +0 -20
- package/dist/node_modules/typescript/lib/lib.decorators.d.ts +0 -382
- package/dist/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -20
- package/dist/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -18
- package/dist/node_modules/typescript/lib/lib.dom.d.ts +0 -45125
- package/dist/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -18
- package/dist/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -150
- package/dist/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -595
- package/dist/node_modules/typescript/lib/lib.es2015.d.ts +0 -26
- package/dist/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -75
- package/dist/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -603
- package/dist/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -79
- package/dist/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -126
- package/dist/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -142
- package/dist/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -44
- package/dist/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -324
- package/dist/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -114
- package/dist/node_modules/typescript/lib/lib.es2016.d.ts +0 -19
- package/dist/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -21
- package/dist/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -29
- package/dist/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -19
- package/dist/node_modules/typescript/lib/lib.es2017.d.ts +0 -24
- package/dist/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -29
- package/dist/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -21
- package/dist/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -42
- package/dist/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -47
- package/dist/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -133
- package/dist/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -43
- package/dist/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -51
- package/dist/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -75
- package/dist/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -51
- package/dist/node_modules/typescript/lib/lib.es2018.d.ts +0 -22
- package/dist/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -22
- package/dist/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -81
- package/dist/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -28
- package/dist/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -35
- package/dist/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -77
- package/dist/node_modules/typescript/lib/lib.es2019.d.ts +0 -22
- package/dist/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -22
- package/dist/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -21
- package/dist/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -31
- package/dist/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -35
- package/dist/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -22
- package/dist/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -763
- package/dist/node_modules/typescript/lib/lib.es2020.d.ts +0 -25
- package/dist/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -40
- package/dist/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -22
- package/dist/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -472
- package/dist/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -26
- package/dist/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -45
- package/dist/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -97
- package/dist/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -42
- package/dist/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -39
- package/dist/node_modules/typescript/lib/lib.es2021.d.ts +0 -21
- package/dist/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -22
- package/dist/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -164
- package/dist/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -46
- package/dist/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -31
- package/dist/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -76
- package/dist/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -119
- package/dist/node_modules/typescript/lib/lib.es2022.d.ts +0 -23
- package/dist/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -73
- package/dist/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -22
- package/dist/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -143
- package/dist/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -24
- package/dist/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -37
- package/dist/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -23
- package/dist/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -922
- package/dist/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -19
- package/dist/node_modules/typescript/lib/lib.es2023.d.ts +0 -20
- package/dist/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -22
- package/dist/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -62
- package/dist/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -63
- package/dist/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -27
- package/dist/node_modules/typescript/lib/lib.es2024.d.ts +0 -24
- package/dist/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -22
- package/dist/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -27
- package/dist/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -33
- package/dist/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -23
- package/dist/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -66
- package/dist/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -27
- package/dist/node_modules/typescript/lib/lib.es2025.collection.d.ts +0 -94
- package/dist/node_modules/typescript/lib/lib.es2025.d.ts +0 -23
- package/dist/node_modules/typescript/lib/lib.es2025.float16.d.ts +0 -443
- package/dist/node_modules/typescript/lib/lib.es2025.full.d.ts +0 -22
- package/dist/node_modules/typescript/lib/lib.es2025.intl.d.ts +0 -200
- package/dist/node_modules/typescript/lib/lib.es2025.iterator.d.ts +0 -146
- package/dist/node_modules/typescript/lib/lib.es2025.promise.d.ts +0 -32
- package/dist/node_modules/typescript/lib/lib.es2025.regexp.d.ts +0 -30
- package/dist/node_modules/typescript/lib/lib.es5.d.ts +0 -4599
- package/dist/node_modules/typescript/lib/lib.es6.d.ts +0 -21
- package/dist/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -33
- package/dist/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -47
- package/dist/node_modules/typescript/lib/lib.esnext.d.ts +0 -27
- package/dist/node_modules/typescript/lib/lib.esnext.date.d.ts +0 -21
- package/dist/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -26
- package/dist/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -191
- package/dist/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -22
- package/dist/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -22
- package/dist/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -107
- package/dist/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -23
- package/dist/node_modules/typescript/lib/lib.esnext.temporal.d.ts +0 -485
- package/dist/node_modules/typescript/lib/lib.esnext.typedarrays.d.ts +0 -90
- package/dist/node_modules/typescript/lib/lib.scripthost.d.ts +0 -320
- package/dist/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -18
- package/dist/node_modules/typescript/lib/lib.webworker.d.ts +0 -15606
- package/dist/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -21
- package/dist/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -18
- package/dist/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2129
- package/dist/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2129
- package/dist/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2125
- package/dist/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2129
- package/dist/node_modules/typescript/lib/tsc.js +0 -8
- package/dist/node_modules/typescript/lib/tsserver.js +0 -8
- package/dist/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
- package/dist/node_modules/typescript/lib/tsserverlibrary.js +0 -21
- package/dist/node_modules/typescript/lib/typesMap.json +0 -497
- package/dist/node_modules/typescript/lib/typescript.d.ts +0 -11448
- package/dist/node_modules/typescript/lib/typescript.js +0 -201039
- package/dist/node_modules/typescript/lib/typingsInstaller.js +0 -8
- package/dist/node_modules/typescript/lib/watchGuard.js +0 -53
- package/dist/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2129
- package/dist/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2125
- package/dist/node_modules/typescript/package.json +0 -118
package/README.md
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
[](https://www.emulsify.info/)
|
|
2
2
|

|
|
3
3
|
|
|
4
|
-
#
|
|
4
|
+
# Emulsify CLI
|
|
5
5
|
|
|
6
|
-
Command line interface for Emulsify.
|
|
6
|
+
Command line interface for Emulsify projects.
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Emulsify CLI requires Node 24 or newer.
|
|
11
|
+
|
|
12
|
+
Install Emulsify CLI globally from [npm](https://www.npmjs.com/package/@emulsify/cli):
|
|
11
13
|
|
|
12
14
|
```bash
|
|
13
15
|
npm install -g @emulsify/cli
|
|
@@ -15,11 +17,118 @@ npm install -g @emulsify/cli
|
|
|
15
17
|
|
|
16
18
|
## Usage
|
|
17
19
|
|
|
18
|
-
|
|
20
|
+
Run `emulsify --help` for the current command list.
|
|
21
|
+
|
|
22
|
+
### Commands
|
|
23
|
+
|
|
24
|
+
| Command | Alias | Description |
|
|
25
|
+
| ----------------------------------- | ----------------------------- | ----------------------------------------------------------------- |
|
|
26
|
+
| `emulsify init [name] [path]` | | Initializes an Emulsify project from a starter. |
|
|
27
|
+
| `emulsify system list` | `emulsify system ls` | Lists built-in systems available for installation. |
|
|
28
|
+
| `emulsify system install [name]` | | Installs a system in the current Emulsify project. |
|
|
29
|
+
| `emulsify component list` | `emulsify component ls` | Lists components available from the installed system and variant. |
|
|
30
|
+
| `emulsify component install [name]` | `emulsify component i [name]` | Installs one component from the installed system and variant. |
|
|
31
|
+
| `emulsify component create [name]` | `emulsify component c [name]` | Creates a local component in the current Emulsify project. |
|
|
32
|
+
|
|
33
|
+
### Initialize A Project
|
|
34
|
+
|
|
35
|
+
`emulsify init [name] [path]` clones a starter, writes the project configuration, installs dependencies, runs the starter init hook when present, and removes the starter Git history.
|
|
36
|
+
|
|
37
|
+
Options:
|
|
38
|
+
|
|
39
|
+
- `--machineName <machineName>`: Sets the machine-friendly project name. When omitted, Emulsify CLI derives it from the project name.
|
|
40
|
+
- `--starter <repository>`: Uses a specific starter repository.
|
|
41
|
+
- `--checkout <commit/branch/tag>`: Checks out a specific starter commit, branch, or tag.
|
|
42
|
+
- `--platform <platform>`: Sets the project platform when auto-detection is unavailable or should be overridden. For Drupal projects, pass `drupal`.
|
|
43
|
+
- `--yes`: Accepts default init values for missing options without prompting.
|
|
44
|
+
|
|
45
|
+
Current starter repositories:
|
|
46
|
+
|
|
47
|
+
- `https://github.com/emulsify-ds/emulsify-starter`
|
|
48
|
+
- `https://github.com/emulsify-ds/emulsify-drupal-starter`
|
|
49
|
+
|
|
50
|
+
Examples:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
emulsify init "My Project" ./projects
|
|
54
|
+
emulsify init "My Theme" ./web/themes/custom --platform drupal --yes
|
|
55
|
+
emulsify init "My Project" ./projects --starter https://github.com/emulsify-ds/emulsify-starter --checkout main
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Systems
|
|
59
|
+
|
|
60
|
+
`emulsify system list` lists the built-in systems that Emulsify CLI can install. `emulsify system ls` is the same command.
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
emulsify system list
|
|
64
|
+
emulsify system ls
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
`emulsify system install [name]` installs a system in the current Emulsify project. Use `compound` to install the built-in Compound system. The command installs required components by default.
|
|
68
|
+
|
|
69
|
+
Options:
|
|
70
|
+
|
|
71
|
+
- `--repository <repository>`: Installs a system from a specific Git repository.
|
|
72
|
+
- `--checkout <commit/branch/tag>`: Checks out a specific system commit, branch, or tag. This is required when `--repository` is used.
|
|
73
|
+
- `--all`: Installs all available components from the system instead of only required components.
|
|
19
74
|
|
|
20
|
-
|
|
75
|
+
Examples:
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
emulsify system install compound
|
|
79
|
+
emulsify system install compound --all
|
|
80
|
+
emulsify system install --repository https://github.com/example/example-system.git --checkout v1.0.0
|
|
81
|
+
```
|
|
21
82
|
|
|
22
|
-
|
|
83
|
+
### Components
|
|
84
|
+
|
|
85
|
+
`emulsify component list` lists components available from the installed system and variant. `emulsify component ls` is the same command.
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
emulsify component list
|
|
89
|
+
emulsify component ls
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
`emulsify component install [name]` installs one component from the installed system and variant. `emulsify component i [name]` is the same command.
|
|
93
|
+
|
|
94
|
+
Options:
|
|
95
|
+
|
|
96
|
+
- `--force`: Replaces an installed component.
|
|
97
|
+
- `--all`: Installs all available components instead of one named component.
|
|
98
|
+
- `--dry-run`: Previews planned component installs, dependencies, destinations, and overwrite behavior without copying or removing files.
|
|
99
|
+
|
|
100
|
+
Examples:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
emulsify component install button
|
|
104
|
+
emulsify component install card --dry-run
|
|
105
|
+
emulsify component i card --force
|
|
106
|
+
emulsify component install --all
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
`emulsify component create [name]` creates a local component in the current Emulsify project. `emulsify component c [name]` is the same command.
|
|
110
|
+
|
|
111
|
+
Options:
|
|
112
|
+
|
|
113
|
+
- `--directory <directory>`: Sets the variant structure directory where the component is created.
|
|
114
|
+
- `--format <format>`: Sets the component format. Supported values are `default` and `sdc`.
|
|
115
|
+
- `--yes`: Replaces an existing component without an overwrite confirmation prompt.
|
|
116
|
+
- `--dry-run`: Previews the destination and generated files without writing, removing, or creating files.
|
|
117
|
+
|
|
118
|
+
In non-interactive environments, pass both `--directory` and `--format`.
|
|
119
|
+
|
|
120
|
+
Examples:
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
emulsify component create card --directory base --format default
|
|
124
|
+
emulsify component create card --directory base --format default --dry-run
|
|
125
|
+
emulsify component create teaser --directory molecules --format sdc --yes
|
|
126
|
+
emulsify component create teaser --directory molecules --format sdc --dry-run
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Component Template Overrides
|
|
130
|
+
|
|
131
|
+
Projects can override the built-in `component create` templates by adding component template override files under `.cli/templates/` at the Emulsify project root. Overrides replace only the known artifacts that Emulsify CLI already generates; they do not add extra files or change which files are created.
|
|
23
132
|
|
|
24
133
|
Default component overrides:
|
|
25
134
|
|
|
@@ -36,13 +145,23 @@ SDC component overrides:
|
|
|
36
145
|
- `.cli/templates/sdc/component.js`
|
|
37
146
|
- `.cli/templates/sdc/component.stories.js`
|
|
38
147
|
|
|
39
|
-
Override files can use double-brace tokens
|
|
148
|
+
Override files can use double-brace tokens:
|
|
149
|
+
|
|
150
|
+
- `{{ filename }}`
|
|
151
|
+
- `{{ className }}`
|
|
152
|
+
- `{{ camelName }}`
|
|
153
|
+
- `{{ snakeName }}`
|
|
154
|
+
- `{{ humanName }}`
|
|
155
|
+
- `{{ directory }}`
|
|
156
|
+
- `{{ format }}`
|
|
157
|
+
|
|
158
|
+
For each generated artifact, Emulsify CLI first checks for the matching override file. If the override is missing, the built-in template is used. If the override exists but is empty, the built-in template is used and a warning is logged. Unknown tokens are left unchanged and logged as warnings. Partial override sets are supported, so a project can override only `component.twig` and keep the built-in SCSS, data, and story templates. Extra arbitrary files are not generated by component template overrides.
|
|
40
159
|
|
|
41
|
-
For
|
|
160
|
+
For more documentation, see the [Emulsify CLI usage documentation](https://www.emulsify.info/docs/supporting-projects/emulsify-cli/emulsify-cli-usage).
|
|
42
161
|
|
|
43
162
|
## Development
|
|
44
163
|
|
|
45
|
-
Emulsify
|
|
164
|
+
Emulsify CLI is developed using TypeScript. You can find all of the source files in the `src` directory, which is organized in the following manner:
|
|
46
165
|
|
|
47
166
|
- `src/index.ts` - uses Commander to compose the CLI.
|
|
48
167
|
- `src/handlers` - contains all functions that handle CLI commands, such as `emulsify init`.
|
|
@@ -54,7 +173,7 @@ Emulsify-cli is developed using TypeScript. You can find all of the source files
|
|
|
54
173
|
|
|
55
174
|
### Setup
|
|
56
175
|
|
|
57
|
-
- Install the version of
|
|
176
|
+
- Install the version of Node specified in this project's `.nvmrc` file. If you are using nvm, run `nvm use`.
|
|
58
177
|
- Clone this repository into a directory of your choosing.
|
|
59
178
|
- In the directory, run `npm install`.
|
|
60
179
|
- Build the project: `npm run build`, or watch: `npm run watch`.
|
|
@@ -63,7 +182,7 @@ Emulsify-cli is developed using TypeScript. You can find all of the source files
|
|
|
63
182
|
### Scripts
|
|
64
183
|
|
|
65
184
|
- `npm run build`: builds the project based on the configuration in `tsconfig.dist.json`.
|
|
66
|
-
- `npm run build-schema-types`: Compiles the
|
|
185
|
+
- `npm run build-schema-types`: Compiles the JSON Schema definitions within this project into TypeScript types.
|
|
67
186
|
- `npm run watch`: watches the codebase, and re-compiles every time a change is made.
|
|
68
187
|
- `npm run format`: uses prettier to format all ts files within the codebase.
|
|
69
188
|
- `npm run lint`: runs the Jest test suite via the `test` script.
|
|
@@ -74,7 +193,7 @@ Emulsify-cli is developed using TypeScript. You can find all of the source files
|
|
|
74
193
|
|
|
75
194
|
## Deployment
|
|
76
195
|
|
|
77
|
-
This project is automatically built and deployed to
|
|
196
|
+
This project is automatically built and deployed to npm via the release GitHub Actions workflow. Pushes to `main` run `npm run build` and then `npm run semantic-release`.
|
|
78
197
|
|
|
79
198
|
### Contributors
|
|
80
199
|
|
|
@@ -8,17 +8,72 @@ import buildComponentDependencyList from '../util/project/buildComponentDependen
|
|
|
8
8
|
import catchLater from '../util/catchLater.js';
|
|
9
9
|
import findFileInCurrentPath from '../util/fs/findFileInCurrentPath.js';
|
|
10
10
|
import { withEmulsifySystem } from './hofs/withEmulsifySystem.js';
|
|
11
|
-
|
|
11
|
+
function getDryRunInstallAction(exists, force) {
|
|
12
|
+
if (!exists) {
|
|
13
|
+
return 'copy component';
|
|
14
|
+
}
|
|
15
|
+
if (force) {
|
|
16
|
+
return 'replace existing destination';
|
|
17
|
+
}
|
|
18
|
+
return 'prompt before replacing or skipping';
|
|
19
|
+
}
|
|
20
|
+
async function buildComponentInstallPlan(variant, componentNames, rootComponentName, force) {
|
|
21
|
+
const projectConfigPath = findFileInCurrentPath(EMULSIFY_PROJECT_CONFIG_FILE);
|
|
22
|
+
if (!projectConfigPath) {
|
|
23
|
+
throw new CliError('Unable to find an Emulsify project to preview component installation into.');
|
|
24
|
+
}
|
|
25
|
+
const plan = [];
|
|
26
|
+
for (const componentName of componentNames) {
|
|
27
|
+
const destination = getComponentDestination(variant, componentName, projectConfigPath);
|
|
28
|
+
const exists = await pathExists(destination);
|
|
29
|
+
plan.push({
|
|
30
|
+
name: componentName,
|
|
31
|
+
isDependency: Boolean(rootComponentName && componentName !== rootComponentName),
|
|
32
|
+
destination,
|
|
33
|
+
exists,
|
|
34
|
+
action: getDryRunInstallAction(exists, force),
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
return plan;
|
|
38
|
+
}
|
|
39
|
+
function logComponentInstallDryRun(targetLabel, dependencies, plan) {
|
|
40
|
+
const dependencyList = dependencies.length > 0
|
|
41
|
+
? dependencies.map((dependency) => ` - ${dependency}`).join('\n')
|
|
42
|
+
: ' - none';
|
|
43
|
+
const plannedInstalls = plan
|
|
44
|
+
.map((item) => [
|
|
45
|
+
` - ${item.name}${item.isDependency ? ` (dependency of "${targetLabel}")` : ''}`,
|
|
46
|
+
` Destination: ${item.destination}`,
|
|
47
|
+
` Destination exists: ${item.exists ? 'yes' : 'no'}`,
|
|
48
|
+
` Real run would: ${item.action}`,
|
|
49
|
+
].join('\n'))
|
|
50
|
+
.join('\n');
|
|
51
|
+
log('info', [
|
|
52
|
+
`Dry run: component install "${targetLabel}"`,
|
|
53
|
+
'Dependencies:',
|
|
54
|
+
dependencyList,
|
|
55
|
+
'Planned component installs:',
|
|
56
|
+
plannedInstalls,
|
|
57
|
+
'No files were copied, removed, or overwritten.',
|
|
58
|
+
].join('\n'));
|
|
59
|
+
}
|
|
60
|
+
export default async function componentInstall(name, { force, all, dryRun }) {
|
|
12
61
|
if (!name && !all) {
|
|
13
62
|
throw new CliError('Please specify a component to install, or pass --all to install all available components.');
|
|
14
63
|
}
|
|
15
64
|
const { systemConf, variantConf } = await withEmulsifySystem('install components');
|
|
16
65
|
const components = [];
|
|
17
66
|
if (all) {
|
|
18
|
-
|
|
19
|
-
|
|
67
|
+
const componentNames = variantConf.components.map((component) => component.name);
|
|
68
|
+
if (dryRun) {
|
|
69
|
+
const plan = await buildComponentInstallPlan(variantConf, componentNames, undefined, true);
|
|
70
|
+
logComponentInstallDryRun('all components', [], plan);
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
components.push(...componentNames.map((component) => [
|
|
74
|
+
component,
|
|
20
75
|
false,
|
|
21
|
-
catchLater(installComponentFromCache(systemConf, variantConf, component
|
|
76
|
+
catchLater(installComponentFromCache(systemConf, variantConf, component, true)),
|
|
22
77
|
]));
|
|
23
78
|
}
|
|
24
79
|
else {
|
|
@@ -26,6 +81,12 @@ export default async function componentInstall(name, { force, all }) {
|
|
|
26
81
|
if (componentsWithDependencies.length === 0) {
|
|
27
82
|
throw new CliError(`Cannot find the definition for component "${name}".\n\nRun "emulsify component list" to see the full list.`);
|
|
28
83
|
}
|
|
84
|
+
if (dryRun) {
|
|
85
|
+
const dependencies = componentsWithDependencies.filter((componentName) => componentName !== name);
|
|
86
|
+
const plan = await buildComponentInstallPlan(variantConf, componentsWithDependencies, name, Boolean(force));
|
|
87
|
+
logComponentInstallDryRun(name, dependencies, plan);
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
29
90
|
const projectConfigPath = findFileInCurrentPath(EMULSIFY_PROJECT_CONFIG_FILE);
|
|
30
91
|
for (const componentName of componentsWithDependencies) {
|
|
31
92
|
const isDependency = componentName !== name;
|
package/dist/index.js
CHANGED
|
@@ -55,6 +55,7 @@ component
|
|
|
55
55
|
.description("Install a component from within the current project's system and variant")
|
|
56
56
|
.option('-f --force', 'Use this to overwrite a component that is already installed')
|
|
57
57
|
.option('-a --all', 'Use this to install all available components, rather than specifying a single component to install')
|
|
58
|
+
.option('--dry-run', 'Preview component installs without copying or removing files.')
|
|
58
59
|
.alias('i')
|
|
59
60
|
.action(componentInstall);
|
|
60
61
|
component
|
|
@@ -62,6 +63,7 @@ component
|
|
|
62
63
|
.option('-d --directory <directory>', 'Used to set the directory where the new component is to be created')
|
|
63
64
|
.option('-f --format <format>', 'Component format to generate. Supported values: default, sdc.')
|
|
64
65
|
.option('-y --yes', 'Skip overwrite confirmation prompts and replace existing components.')
|
|
66
|
+
.option('--dry-run', 'Preview generated component files without writing or removing files.')
|
|
65
67
|
.alias('c')
|
|
66
68
|
.description("Create a component from within the current project's system and variant")
|
|
67
69
|
.action(componentCreate);
|
|
@@ -1,32 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emulsify/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
|
-
"node_modules/@babel/code-frame": {
|
|
8
|
-
"version": "7.29.7",
|
|
9
|
-
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz",
|
|
10
|
-
"integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==",
|
|
11
|
-
"license": "MIT",
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"@babel/helper-validator-identifier": "^7.29.7",
|
|
14
|
-
"js-tokens": "^4.0.0",
|
|
15
|
-
"picocolors": "^1.1.1"
|
|
16
|
-
},
|
|
17
|
-
"engines": {
|
|
18
|
-
"node": ">=6.9.0"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"node_modules/@babel/helper-validator-identifier": {
|
|
22
|
-
"version": "7.29.7",
|
|
23
|
-
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",
|
|
24
|
-
"integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==",
|
|
25
|
-
"license": "MIT",
|
|
26
|
-
"engines": {
|
|
27
|
-
"node": ">=6.9.0"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
7
|
"node_modules/@inquirer/ansi": {
|
|
31
8
|
"version": "2.0.7",
|
|
32
9
|
"resolved": "https://registry.npmjs.org/@inquirer/ansi/-/ansi-2.0.7.tgz",
|
|
@@ -386,23 +363,15 @@
|
|
|
386
363
|
}
|
|
387
364
|
},
|
|
388
365
|
"node_modules/@types/node": {
|
|
389
|
-
"version": "25.9.
|
|
390
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.
|
|
391
|
-
"integrity": "sha512-
|
|
366
|
+
"version": "25.9.3",
|
|
367
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.3.tgz",
|
|
368
|
+
"integrity": "sha512-603BddQMv3pUcr4U2dhujk83N2tTDVr/34wII2B6bJy6g+8WD6yUb11jszNs0gdi4PesVWl7ABt8nYMVpnLUcg==",
|
|
369
|
+
"devOptional": true,
|
|
392
370
|
"license": "MIT",
|
|
393
371
|
"dependencies": {
|
|
394
372
|
"undici-types": ">=7.24.0 <7.24.7"
|
|
395
373
|
}
|
|
396
374
|
},
|
|
397
|
-
"node_modules/@types/progress": {
|
|
398
|
-
"version": "2.0.7",
|
|
399
|
-
"resolved": "https://registry.npmjs.org/@types/progress/-/progress-2.0.7.tgz",
|
|
400
|
-
"integrity": "sha512-iadjw02vte8qWx7U0YM++EybBha2CQLPGu9iJ97whVgJUT5Zq9MjAPYUnbfRI2Kpehimf1QjFJYxD0t8nqzu5w==",
|
|
401
|
-
"license": "MIT",
|
|
402
|
-
"dependencies": {
|
|
403
|
-
"@types/node": "*"
|
|
404
|
-
}
|
|
405
|
-
},
|
|
406
375
|
"node_modules/ajv": {
|
|
407
376
|
"version": "8.20.0",
|
|
408
377
|
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz",
|
|
@@ -507,12 +476,6 @@
|
|
|
507
476
|
"url": "https://github.com/chalk/ansi-regex?sponsor=1"
|
|
508
477
|
}
|
|
509
478
|
},
|
|
510
|
-
"node_modules/argparse": {
|
|
511
|
-
"version": "2.0.1",
|
|
512
|
-
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
|
|
513
|
-
"integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
|
|
514
|
-
"license": "Python-2.0"
|
|
515
|
-
},
|
|
516
479
|
"node_modules/boxen": {
|
|
517
480
|
"version": "8.0.1",
|
|
518
481
|
"resolved": "https://registry.npmjs.org/boxen/-/boxen-8.0.1.tgz",
|
|
@@ -535,15 +498,6 @@
|
|
|
535
498
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
536
499
|
}
|
|
537
500
|
},
|
|
538
|
-
"node_modules/callsites": {
|
|
539
|
-
"version": "3.1.0",
|
|
540
|
-
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
|
|
541
|
-
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
|
|
542
|
-
"license": "MIT",
|
|
543
|
-
"engines": {
|
|
544
|
-
"node": ">=6"
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
501
|
"node_modules/camelcase": {
|
|
548
502
|
"version": "8.0.0",
|
|
549
503
|
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-8.0.0.tgz",
|
|
@@ -619,32 +573,6 @@
|
|
|
619
573
|
"node": "^14.18.0 || >=16.10.0"
|
|
620
574
|
}
|
|
621
575
|
},
|
|
622
|
-
"node_modules/cosmiconfig": {
|
|
623
|
-
"version": "9.0.2",
|
|
624
|
-
"resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.2.tgz",
|
|
625
|
-
"integrity": "sha512-gtTZxTDau1wL7Y7zifc2dd8jHSK/k6BTx/2Xp/BpdlAdnlYWFVt7qhJqgwi7637yRwRQ3qL4ZidbB4I8tA5VOg==",
|
|
626
|
-
"license": "MIT",
|
|
627
|
-
"dependencies": {
|
|
628
|
-
"env-paths": "^2.2.1",
|
|
629
|
-
"import-fresh": "^3.3.0",
|
|
630
|
-
"js-yaml": "^4.1.0",
|
|
631
|
-
"parse-json": "^5.2.0"
|
|
632
|
-
},
|
|
633
|
-
"engines": {
|
|
634
|
-
"node": ">=14"
|
|
635
|
-
},
|
|
636
|
-
"funding": {
|
|
637
|
-
"url": "https://github.com/sponsors/d-fischer"
|
|
638
|
-
},
|
|
639
|
-
"peerDependencies": {
|
|
640
|
-
"typescript": ">=4.9.5"
|
|
641
|
-
},
|
|
642
|
-
"peerDependenciesMeta": {
|
|
643
|
-
"typescript": {
|
|
644
|
-
"optional": true
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
},
|
|
648
576
|
"node_modules/debug": {
|
|
649
577
|
"version": "4.4.3",
|
|
650
578
|
"resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
|
|
@@ -668,24 +596,6 @@
|
|
|
668
596
|
"integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==",
|
|
669
597
|
"license": "MIT"
|
|
670
598
|
},
|
|
671
|
-
"node_modules/env-paths": {
|
|
672
|
-
"version": "2.2.1",
|
|
673
|
-
"resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
|
|
674
|
-
"integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
|
|
675
|
-
"license": "MIT",
|
|
676
|
-
"engines": {
|
|
677
|
-
"node": ">=6"
|
|
678
|
-
}
|
|
679
|
-
},
|
|
680
|
-
"node_modules/error-ex": {
|
|
681
|
-
"version": "1.3.4",
|
|
682
|
-
"resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz",
|
|
683
|
-
"integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==",
|
|
684
|
-
"license": "MIT",
|
|
685
|
-
"dependencies": {
|
|
686
|
-
"is-arrayish": "^0.2.1"
|
|
687
|
-
}
|
|
688
|
-
},
|
|
689
599
|
"node_modules/fast-deep-equal": {
|
|
690
600
|
"version": "3.1.3",
|
|
691
601
|
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
|
|
@@ -780,71 +690,6 @@
|
|
|
780
690
|
"url": "https://opencollective.com/express"
|
|
781
691
|
}
|
|
782
692
|
},
|
|
783
|
-
"node_modules/import-fresh": {
|
|
784
|
-
"version": "3.3.1",
|
|
785
|
-
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
|
|
786
|
-
"integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
|
|
787
|
-
"license": "MIT",
|
|
788
|
-
"dependencies": {
|
|
789
|
-
"parent-module": "^1.0.0",
|
|
790
|
-
"resolve-from": "^4.0.0"
|
|
791
|
-
},
|
|
792
|
-
"engines": {
|
|
793
|
-
"node": ">=6"
|
|
794
|
-
},
|
|
795
|
-
"funding": {
|
|
796
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
797
|
-
}
|
|
798
|
-
},
|
|
799
|
-
"node_modules/import-fresh/node_modules/resolve-from": {
|
|
800
|
-
"version": "4.0.0",
|
|
801
|
-
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
|
|
802
|
-
"integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
|
|
803
|
-
"license": "MIT",
|
|
804
|
-
"engines": {
|
|
805
|
-
"node": ">=4"
|
|
806
|
-
}
|
|
807
|
-
},
|
|
808
|
-
"node_modules/is-arrayish": {
|
|
809
|
-
"version": "0.2.1",
|
|
810
|
-
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
|
|
811
|
-
"integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==",
|
|
812
|
-
"license": "MIT"
|
|
813
|
-
},
|
|
814
|
-
"node_modules/js-tokens": {
|
|
815
|
-
"version": "4.0.0",
|
|
816
|
-
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
|
817
|
-
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
|
|
818
|
-
"license": "MIT"
|
|
819
|
-
},
|
|
820
|
-
"node_modules/js-yaml": {
|
|
821
|
-
"version": "4.2.0",
|
|
822
|
-
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.2.0.tgz",
|
|
823
|
-
"integrity": "sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==",
|
|
824
|
-
"funding": [
|
|
825
|
-
{
|
|
826
|
-
"type": "github",
|
|
827
|
-
"url": "https://github.com/sponsors/puzrin"
|
|
828
|
-
},
|
|
829
|
-
{
|
|
830
|
-
"type": "github",
|
|
831
|
-
"url": "https://github.com/sponsors/nodeca"
|
|
832
|
-
}
|
|
833
|
-
],
|
|
834
|
-
"license": "MIT",
|
|
835
|
-
"dependencies": {
|
|
836
|
-
"argparse": "^2.0.1"
|
|
837
|
-
},
|
|
838
|
-
"bin": {
|
|
839
|
-
"js-yaml": "bin/js-yaml.js"
|
|
840
|
-
}
|
|
841
|
-
},
|
|
842
|
-
"node_modules/json-parse-even-better-errors": {
|
|
843
|
-
"version": "2.3.1",
|
|
844
|
-
"resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
|
|
845
|
-
"integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
|
|
846
|
-
"license": "MIT"
|
|
847
|
-
},
|
|
848
693
|
"node_modules/json-schema-traverse": {
|
|
849
694
|
"version": "1.0.0",
|
|
850
695
|
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
|
|
@@ -863,12 +708,6 @@
|
|
|
863
708
|
"graceful-fs": "^4.1.6"
|
|
864
709
|
}
|
|
865
710
|
},
|
|
866
|
-
"node_modules/lines-and-columns": {
|
|
867
|
-
"version": "1.2.4",
|
|
868
|
-
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
|
|
869
|
-
"integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==",
|
|
870
|
-
"license": "MIT"
|
|
871
|
-
},
|
|
872
711
|
"node_modules/ms": {
|
|
873
712
|
"version": "2.1.3",
|
|
874
713
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
|
|
@@ -884,42 +723,6 @@
|
|
|
884
723
|
"node": "^20.17.0 || >=22.9.0"
|
|
885
724
|
}
|
|
886
725
|
},
|
|
887
|
-
"node_modules/parent-module": {
|
|
888
|
-
"version": "1.0.1",
|
|
889
|
-
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
|
|
890
|
-
"integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
|
|
891
|
-
"license": "MIT",
|
|
892
|
-
"dependencies": {
|
|
893
|
-
"callsites": "^3.0.0"
|
|
894
|
-
},
|
|
895
|
-
"engines": {
|
|
896
|
-
"node": ">=6"
|
|
897
|
-
}
|
|
898
|
-
},
|
|
899
|
-
"node_modules/parse-json": {
|
|
900
|
-
"version": "5.2.0",
|
|
901
|
-
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
|
|
902
|
-
"integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
|
|
903
|
-
"license": "MIT",
|
|
904
|
-
"dependencies": {
|
|
905
|
-
"@babel/code-frame": "^7.0.0",
|
|
906
|
-
"error-ex": "^1.3.1",
|
|
907
|
-
"json-parse-even-better-errors": "^2.3.0",
|
|
908
|
-
"lines-and-columns": "^1.1.6"
|
|
909
|
-
},
|
|
910
|
-
"engines": {
|
|
911
|
-
"node": ">=8"
|
|
912
|
-
},
|
|
913
|
-
"funding": {
|
|
914
|
-
"url": "https://github.com/sponsors/sindresorhus"
|
|
915
|
-
}
|
|
916
|
-
},
|
|
917
|
-
"node_modules/picocolors": {
|
|
918
|
-
"version": "1.1.1",
|
|
919
|
-
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
|
|
920
|
-
"integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
|
|
921
|
-
"license": "ISC"
|
|
922
|
-
},
|
|
923
726
|
"node_modules/progress": {
|
|
924
727
|
"version": "2.0.3",
|
|
925
728
|
"resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",
|
|
@@ -1017,24 +820,11 @@
|
|
|
1017
820
|
"url": "https://github.com/sponsors/sindresorhus"
|
|
1018
821
|
}
|
|
1019
822
|
},
|
|
1020
|
-
"node_modules/typescript": {
|
|
1021
|
-
"version": "6.0.3",
|
|
1022
|
-
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
|
|
1023
|
-
"integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
|
|
1024
|
-
"devOptional": true,
|
|
1025
|
-
"license": "Apache-2.0",
|
|
1026
|
-
"bin": {
|
|
1027
|
-
"tsc": "bin/tsc",
|
|
1028
|
-
"tsserver": "bin/tsserver"
|
|
1029
|
-
},
|
|
1030
|
-
"engines": {
|
|
1031
|
-
"node": ">=14.17"
|
|
1032
|
-
}
|
|
1033
|
-
},
|
|
1034
823
|
"node_modules/undici-types": {
|
|
1035
824
|
"version": "7.24.6",
|
|
1036
825
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz",
|
|
1037
826
|
"integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==",
|
|
827
|
+
"devOptional": true,
|
|
1038
828
|
"license": "MIT"
|
|
1039
829
|
},
|
|
1040
830
|
"node_modules/universalify": {
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 10 Jun 2026 22:15:09 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "25.9.
|
|
3
|
+
"version": "25.9.3",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -150,6 +150,6 @@
|
|
|
150
150
|
"undici-types": ">=7.24.0 <7.24.7"
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {},
|
|
153
|
-
"typesPublisherContentHash": "
|
|
153
|
+
"typesPublisherContentHash": "b651099f0be23911446e6a283ee816760ef628511df23064b85b949a9ca68cf5",
|
|
154
154
|
"typeScriptVersion": "5.3"
|
|
155
155
|
}
|