mirror of
https://github.com/withfig/autocomplete.git
synced 2025-12-13 20:36:48 +01:00
Upgrade to node16 module resolution
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
module.exports = {
|
||||
extends: [
|
||||
"@fig/autocomplete"
|
||||
],
|
||||
extends: ["@fig/autocomplete"],
|
||||
};
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx lint-staged
|
||||
|
||||
@@ -10,7 +10,7 @@ schedule(async () => {
|
||||
});
|
||||
|
||||
const hasGreetingComment = comments.some((comment) =>
|
||||
comment.body.includes("id: greetingComment")
|
||||
comment.body?.includes("id: greetingComment")
|
||||
);
|
||||
|
||||
if (!hasGreetingComment) {
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
"dev": "npx @withfig/autocomplete-tools dev",
|
||||
"create-spec": "npx @withfig/autocomplete-tools create-spec",
|
||||
"build": "npx @withfig/autocomplete-tools compile",
|
||||
"lint": "eslint '**/*.ts' && npx prettier --check '**/*.ts' --parser typescript",
|
||||
"lint:fix": "eslint '**/*.ts' --fix && npx prettier --write '**/*.ts' --parser typescript",
|
||||
"lint": "eslint 'src/**/*.ts' && npx prettier --check 'src/**/*.ts' --parser typescript",
|
||||
"lint:fix": "eslint 'src/**/*.ts' --fix && npx prettier --write 'src/**/*.ts' --parser typescript",
|
||||
"test": "tsc --noEmit && echo 'All specs passed validation. You are ready to push!'",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
@@ -92,7 +92,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@fig/autocomplete-generators": "^2.4.0",
|
||||
"@fig/autocomplete-helpers": "^1.0.7",
|
||||
"@fig/autocomplete-helpers": "2.0.0",
|
||||
"semver": "^7.6.3",
|
||||
"strip-json-comments": "^5.0.1",
|
||||
"yaml": "^2.7.0"
|
||||
|
||||
19
pnpm-lock.yaml
generated
19
pnpm-lock.yaml
generated
@@ -12,8 +12,8 @@ importers:
|
||||
specifier: ^2.4.0
|
||||
version: 2.4.0
|
||||
'@fig/autocomplete-helpers':
|
||||
specifier: ^1.0.7
|
||||
version: 1.0.7
|
||||
specifier: 2.0.0
|
||||
version: 2.0.0
|
||||
semver:
|
||||
specifier: ^7.6.3
|
||||
version: 7.6.3
|
||||
@@ -383,9 +383,6 @@ packages:
|
||||
'@fig/autocomplete-generators@2.4.0':
|
||||
resolution: {integrity: sha512-fiaaCGmsgnbUJbVbNAcVDmrnCGj/SmfarK6WKt/lfQP9k1hLHkkmZQ836VSMJvPP1vAKFAiXpdJziG6EGyjAYg==}
|
||||
|
||||
'@fig/autocomplete-helpers@1.0.7':
|
||||
resolution: {integrity: sha512-5jq01q2JtaLAjl8t3hOvE9GOp4a4Agj7YmxlBxRjuSwJY3qskfx/mdAgOX2qjgxZ74bHONAxQ1hzudwSICqZFg==}
|
||||
|
||||
'@fig/autocomplete-helpers@2.0.0':
|
||||
resolution: {integrity: sha512-lzD9LbpvJC3hXwxvLAb91/AwO83lfIhW4dEITAn1wINKHaHOmP39wU82Q25bKp8A6/UMcF6Iobik/R4sUZmgNA==}
|
||||
|
||||
@@ -1699,11 +1696,6 @@ packages:
|
||||
resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==}
|
||||
engines: {node: '>=10'}
|
||||
|
||||
typescript@4.9.5:
|
||||
resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==}
|
||||
engines: {node: '>=4.2.0'}
|
||||
hasBin: true
|
||||
|
||||
typescript@5.5.4:
|
||||
resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==}
|
||||
engines: {node: '>=14.17'}
|
||||
@@ -1947,11 +1939,6 @@ snapshots:
|
||||
|
||||
'@fig/autocomplete-generators@2.4.0': {}
|
||||
|
||||
'@fig/autocomplete-helpers@1.0.7':
|
||||
dependencies:
|
||||
semver: 7.6.3
|
||||
typescript: 4.9.5
|
||||
|
||||
'@fig/autocomplete-helpers@2.0.0':
|
||||
dependencies:
|
||||
semver: 7.6.3
|
||||
@@ -3360,8 +3347,6 @@ snapshots:
|
||||
|
||||
type-fest@0.20.2: {}
|
||||
|
||||
typescript@4.9.5: {}
|
||||
|
||||
typescript@5.5.4: {}
|
||||
|
||||
undici-types@5.26.5: {}
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { default } from "../mgnl";
|
||||
export { default } from "../mgnl.js";
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import fig from "./fig";
|
||||
|
||||
const sharedArgs = {
|
||||
UID: {
|
||||
name: "UID",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import awsRegions from "./regions";
|
||||
import awsRegions from "./regions.js";
|
||||
const callAs = ["SELF", "DELEGATED_ADMIN"];
|
||||
const typeSuggestion = ["RESOURCE", "MODULE"];
|
||||
const permissionModel = ["SERVICE_MANAGED", "SELF_MANAGED"];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import awsRegions from "./regions";
|
||||
import awsRegions from "./regions.js";
|
||||
const awsPrincipals = [
|
||||
"a4b.amazonaws.com",
|
||||
"acm-pca.amazonaws.com",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// TODO: suggest available s3 endpoints
|
||||
import awsRegions from "./regions";
|
||||
import awsRegions from "./regions.js";
|
||||
|
||||
const storageClasses = [
|
||||
"STANDARD",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import awsRegions from "./regions";
|
||||
import awsRegions from "./regions.js";
|
||||
const ttl = 30000;
|
||||
const appendFolderPath = (tokens: string[], prefix: string): string[] => {
|
||||
const baseLsCommand = ["ls", "-1ApL"];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import prismaSpec from "./prisma";
|
||||
import prismaSpec from "./prisma.js";
|
||||
|
||||
const prismaCommands = (prismaSpec as Fig.Subcommand).subcommands;
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { default } from "./broot";
|
||||
export { default } from "./broot.js";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { storybookCommonOptions } from "./start-storybook";
|
||||
import { storybookCommonOptions } from "./start-storybook.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
name: "build-storybook",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
import { npxSuggestions } from "./npx";
|
||||
import { npxSuggestions } from "./npx.js";
|
||||
|
||||
const bunx: Fig.Spec = {
|
||||
name: "bunx",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import clangpp from "./clang++";
|
||||
import clangpp from "./clang++.js";
|
||||
const completionSpec: Fig.Spec = {
|
||||
...clangpp,
|
||||
name: "c++",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { monthSuggestions } from "./ncal";
|
||||
import { monthSuggestions } from "./ncal.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
name: "cal",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import capacitor from "./capacitor";
|
||||
import capacitor from "./capacitor.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
...capacitor,
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
import completionSpec from "./commercelayer";
|
||||
import completionSpec from "./commercelayer.js";
|
||||
export default completionSpec;
|
||||
|
||||
@@ -3,7 +3,7 @@ import {
|
||||
stdCPPSuggestions,
|
||||
stdOpenCLCPPSuggestions,
|
||||
stdHLSLSuggestions,
|
||||
} from "./clang";
|
||||
} from "./clang.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
...clangBase,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { generateInteliJCompletionSpec } from "./idea";
|
||||
import { generateInteliJCompletionSpec } from "./idea.js";
|
||||
|
||||
const completionSpec = generateInteliJCompletionSpec("clion", "CLion");
|
||||
export default completionSpec;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import code from "./code";
|
||||
import code from "./code.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
...code,
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
generateTasks,
|
||||
generateVersions,
|
||||
generateUrlScript,
|
||||
} from "./deno/generators";
|
||||
} from "./deno/generators.js";
|
||||
|
||||
const completion: Fig.Spec = {
|
||||
name: "deno",
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
import { filepaths, valueList } from "@fig/autocomplete-generators";
|
||||
import stripJsonComments from "strip-json-comments";
|
||||
|
||||
import type { DenoConfigurationFileSchema } from "./config_schema";
|
||||
import type { DenoConfigurationFileSchema } from "./config_schema.js";
|
||||
import type {
|
||||
ClassMethodDef,
|
||||
ClassPropertyDef,
|
||||
DocNode,
|
||||
InterfaceMethodDef,
|
||||
InterfacePropertyDef,
|
||||
} from "./deno_doc";
|
||||
} from "./deno_doc.js";
|
||||
|
||||
// --- Generate documentation symbols
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
sshHostsGenerator,
|
||||
sshIdentityGenerator,
|
||||
userGenerator,
|
||||
} from "./shared";
|
||||
} from "./shared.js";
|
||||
|
||||
const completion: Fig.Subcommand = {
|
||||
name: "fig",
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
themesGenerator,
|
||||
tokensGenerators,
|
||||
userGenerator,
|
||||
} from "./shared";
|
||||
} from "./shared.js";
|
||||
|
||||
const completion: Fig.Subcommand = {
|
||||
name: "fig",
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// transition, note that where you see flyctl as a command it can be replaced
|
||||
// with fly.
|
||||
|
||||
import completionSpec from "./flyctl";
|
||||
import completionSpec from "./flyctl.js";
|
||||
|
||||
export default {
|
||||
...completionSpec,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { gccBase } from "./gcc";
|
||||
import { stdCPPSuggestions } from "./clang";
|
||||
import { gccBase } from "./gcc.js";
|
||||
import { stdCPPSuggestions } from "./clang.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
...gccBase,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { stdCSuggestions, stdCPPSuggestions } from "./clang";
|
||||
import { stdCSuggestions, stdCPPSuggestions } from "./clang.js";
|
||||
|
||||
export const stdOption: Fig.Option = {
|
||||
name: "-std",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { generateInteliJCompletionSpec } from "./idea";
|
||||
import { generateInteliJCompletionSpec } from "./idea.js";
|
||||
|
||||
const completionSpec = generateInteliJCompletionSpec("goland", "GoLand");
|
||||
export default completionSpec;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getAppGenerator } from "./shared";
|
||||
import { getAppGenerator } from "./shared.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
name: "heroku",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getAppGenerator } from "./shared";
|
||||
import { getAppGenerator } from "./shared.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
name: "heroku",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import completionSpec from "./http";
|
||||
import completionSpec from "./http.js";
|
||||
export default {
|
||||
...completionSpec,
|
||||
name: "https",
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { default } from "./git";
|
||||
export { default } from "./git.js";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import elixir from "./elixir";
|
||||
import elixir from "./elixir.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
...elixir,
|
||||
|
||||
2
src/j.ts
2
src/j.ts
@@ -1,4 +1,4 @@
|
||||
import autojump from "./autojump";
|
||||
import autojump from "./autojump.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
name: "j",
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
// Kubecolor (https://github.com/dty1er/kubecolor) takes identical arguments to kubectl.
|
||||
export { default } from "./kubectl";
|
||||
export { default } from "./kubectl.js";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { createNpmSearchHandler, npmSearchGenerator } from "./npm";
|
||||
import { createNpmSearchHandler, npmSearchGenerator } from "./npm.js";
|
||||
|
||||
const pathOption = (description: string): Fig.Option => ({
|
||||
name: ["-p", "--path"],
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { knownHosts, configHosts } from "./ssh";
|
||||
import { knownHosts, configHosts } from "./ssh.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
name: "mosh",
|
||||
|
||||
2
src/n.ts
2
src/n.ts
@@ -1,4 +1,4 @@
|
||||
import node from "./node";
|
||||
import node from "./node.js";
|
||||
|
||||
const versionArg: Fig.Arg = {
|
||||
name: "version",
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { default } from "./ns";
|
||||
export { default } from "./ns.js";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { npmSearchGenerator } from "./npm";
|
||||
import { npmSearchGenerator } from "./npm.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
name: "ni",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import autocannon from "./autocannon";
|
||||
import autocannon from "./autocannon.js";
|
||||
|
||||
export const npxSuggestions: Fig.Suggestion[] = [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { npmScriptsGenerator } from "./npm";
|
||||
import { npmScriptsGenerator } from "./npm.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
name: "nr",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { dependenciesGenerator } from "./npm";
|
||||
import { dependenciesGenerator } from "./npm.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
name: "nrm",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { generateInteliJCompletionSpec } from "./idea";
|
||||
import { generateInteliJCompletionSpec } from "./idea.js";
|
||||
|
||||
const completionSpec = generateInteliJCompletionSpec("phpstorm", "PhpStorm");
|
||||
export default completionSpec;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import pipCompletionSpec from "./pip";
|
||||
import pipCompletionSpec from "./pip.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
...pipCompletionSpec,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// REFERENCE: https://pipenv.pypa.io/en/stable/cli/
|
||||
import { filepaths } from "@fig/autocomplete-generators";
|
||||
import { packageList } from "./pip";
|
||||
import { packageList } from "./pip.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
name: "pipenv",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// GENERATORS
|
||||
|
||||
import { npmScriptsGenerator, npmSearchGenerator } from "./npm";
|
||||
import { dependenciesGenerator, nodeClis } from "./yarn";
|
||||
import { npmScriptsGenerator, npmSearchGenerator } from "./npm.js";
|
||||
import { dependenciesGenerator, nodeClis } from "./yarn.js";
|
||||
|
||||
const filterMessages = (out: string): string => {
|
||||
return out.startsWith("warning:") || out.startsWith("error:")
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import YAML from "yaml";
|
||||
import { gitGenerators } from "./git";
|
||||
import { gitGenerators } from "./git.js";
|
||||
|
||||
const hooksInConfig: Fig.Generator = {
|
||||
script: ["cat", ".pre-commit-config.yaml"],
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { default } from "./@preset/cli";
|
||||
export { default } from "./@preset/cli.js";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { generateInteliJCompletionSpec } from "./idea";
|
||||
import { generateInteliJCompletionSpec } from "./idea.js";
|
||||
|
||||
const completionSpec = generateInteliJCompletionSpec("pycharm", "PyCharm");
|
||||
export default completionSpec;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import prismaSpec from "./prisma";
|
||||
import prismaSpec from "./prisma.js";
|
||||
|
||||
const icon = "https://avatars.githubusercontent.com/u/45050444?s=200&v=4";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { knownHosts, configHosts } from "./ssh";
|
||||
import { knownHosts, configHosts } from "./ssh.js";
|
||||
|
||||
const infoArgs: Fig.SingleOrArray<Fig.Arg> = [
|
||||
{ name: "BACKUP", description: "Mention files backed up" },
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { generateInteliJCompletionSpec } from "./idea";
|
||||
import { generateInteliJCompletionSpec } from "./idea.js";
|
||||
|
||||
const completionSpec = generateInteliJCompletionSpec("rubymine", "RubyMine");
|
||||
export default completionSpec;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import stripJsonComments from "strip-json-comments";
|
||||
import { npmSearchGenerator } from "./npm";
|
||||
import { npmSearchGenerator } from "./npm.js";
|
||||
|
||||
interface IRushConfigurationProjectJson {
|
||||
packageName: string;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { npmScriptsGenerator } from "./npm";
|
||||
import { yarnScriptParserDirectives } from "./yarn";
|
||||
import { npmScriptsGenerator } from "./npm.js";
|
||||
import { yarnScriptParserDirectives } from "./yarn.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
name: "rushx",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { generateInteliJCompletionSpec } from "./idea";
|
||||
import { generateInteliJCompletionSpec } from "./idea.js";
|
||||
|
||||
const completionSpec = generateInteliJCompletionSpec("rustrover", "RustRover");
|
||||
export default completionSpec;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { awsProfileGenerator } from "./aws";
|
||||
import { awsProfileGenerator } from "./aws.js";
|
||||
|
||||
const configEnvOption: Fig.Option = {
|
||||
name: "--config-env",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { knownHosts, configHosts } from "./ssh";
|
||||
import { knownHosts, configHosts } from "./ssh.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
name: "scp",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { knownHosts, configHosts } from "./ssh";
|
||||
import { knownHosts, configHosts } from "./ssh.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
name: "sftp",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import serverless from "./serverless";
|
||||
import serverless from "./serverless.js";
|
||||
const completionSpec: Fig.Spec = {
|
||||
...serverless,
|
||||
name: "sls",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { existingUsersandGroups } from "./chown";
|
||||
import { existingUsersandGroups } from "./chown.js";
|
||||
|
||||
const helpOption: Fig.Option = {
|
||||
name: ["-h", "--help"],
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { default } from "./swagger-typescript-api";
|
||||
export { default } from "./swagger-typescript-api.js";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import goTask from "./task/go-task";
|
||||
import taskWarrior from "./task/taskwarrior";
|
||||
import goTask from "./task/go-task.js";
|
||||
import taskWarrior from "./task/taskwarrior.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
name: "task",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { generateBundleIds } from "./open";
|
||||
import { generateBundleIds } from "./open.js";
|
||||
|
||||
const commands: Fig.Suggestion[] = [
|
||||
{
|
||||
|
||||
@@ -1 +1 @@
|
||||
export { default } from "./ns";
|
||||
export { default } from "./ns.js";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { dependenciesGenerator } from "./npm";
|
||||
import { dependenciesGenerator } from "./npm.js";
|
||||
import { filepaths } from "@fig/autocomplete-generators";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import sshSpec from "./ssh";
|
||||
import sshSpec from "./ssh.js";
|
||||
|
||||
const globalOptions: Fig.Option[] = [
|
||||
{ name: ["-l", "--login"], description: "Remote host login" },
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { gitGenerators } from "./git";
|
||||
import { gitGenerators } from "./git.js";
|
||||
|
||||
const turboIcon =
|
||||
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAjlSURBVHgBdVd7cFTlFT/fvXffu8lCsoFASdKWx4xaCX1AlVJhLGMlyKNPSamN1SLEPvAPm2BhCLaFYOmobVF0psJggT+0DqIC/QMBsVXbmYKVqSgW8pDmHXaz79378He+u7vZG/ALd+/lnu+8fufxnSvoOutkx9lw0oi2jEXTt6UT2ca8aTToeYNM/FmgW/wjxu+CmeSzIEW+EuRSFVIUcS4Y8nX5Krwvr95++77r6RITXxzdfHLVUP/Y3o+7RsLDQ3GKp9KUyeukmwYZFuuxrhFilQlj5SpfiiCfW6OQ30eRmgqaNmNyV2R65bamXy/Z96kGvNx24vHLF/o3XrrYR8OxJCXyecqaOuXhuQF3zYI6aYTlcN0hTCEhL5dQyKeoFHB7KFIZpM/NnEJ1s2o6Vu9auu0aA1755YmtH5y/0nHxgz4aTCQoYeQpY+mUswzSWbk0wPbVEhNcLwoS9juJgrCR8AgVRmhWQHWLSNBPs2bV0py5055YsXPpQyW+Yx1vtFx698re8+/1UH88QTE9SykozwB2nb3n6JfBf20QnIawAdAvDXDh16so5BcuqlQ9NCUUpBtvmkENN9SuvmvHksMaM432Rrd2XRygkXiK4kYOyvOUBvQ5KLa9hwFCWjCuXDiTQJRDgH8KYDIUBZyWsEwEBNmpmjAokaRu6JpcE9p78vGzp9RjW060dL0/2NLTO0LRfJqSVg7KEXv4nrc48YxS7EvxlxfeWqZ8FkRl74v7bJplmTJZhLDzQoMlCrLZp7m8VdX+AS0Zza0aHYxTSs9RFp7noDxvQb1UzALYPTDBJ9tRs5CEtjFC1iOEs4usko0SNk6maRcpm6Bjj449OdAzKOmrI8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HkJ/LQsiMAAAAASUVORK5CYII=";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import completionSpec from "./pro";
|
||||
import completionSpec from "./pro.js";
|
||||
const Spec: Fig.Spec = {
|
||||
...completionSpec,
|
||||
name: "ua",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import completionSpec from "./pro";
|
||||
import completionSpec from "./pro.js";
|
||||
const Spec: Fig.Spec = {
|
||||
...completionSpec,
|
||||
name: "ubuntu-advantage",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import dos2unix from "./dos2unix";
|
||||
import dos2unix from "./dos2unix.js";
|
||||
|
||||
const completionSpec: Fig.Spec = {
|
||||
...dos2unix,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { filepaths } from "@fig/autocomplete-generators";
|
||||
import { gitGenerators } from "./git";
|
||||
import { gitGenerators } from "./git.js";
|
||||
|
||||
const targetSuggestions: string[] = [
|
||||
"win32-x64",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { generateInteliJCompletionSpec } from "./idea";
|
||||
import { generateInteliJCompletionSpec } from "./idea.js";
|
||||
|
||||
const completionSpec = generateInteliJCompletionSpec("webstorm", "WebStorm");
|
||||
export default completionSpec;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { npmScriptsGenerator, npmSearchGenerator } from "./npm";
|
||||
import { npmScriptsGenerator, npmSearchGenerator } from "./npm.js";
|
||||
|
||||
export const yarnScriptParserDirectives: Fig.Arg["parserDirectives"] = {
|
||||
alias: async (token, executeShellCommand) => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { clangBase } from "./clang";
|
||||
import { clangBase } from "./clang.js";
|
||||
|
||||
const colorOption: Fig.Option = {
|
||||
name: "--color",
|
||||
|
||||
@@ -1,25 +1,15 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"moduleResolution": "node",
|
||||
"outDir": "./build",
|
||||
"moduleResolution": "Node16",
|
||||
"module": "Node16",
|
||||
"target": "ES2018",
|
||||
"module": "ESNext",
|
||||
"lib": [
|
||||
"ES2018",
|
||||
"DOM"
|
||||
],
|
||||
"lib": ["ES2018", "DOM"],
|
||||
"noImplicitAny": false,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"baseUrl": "./",
|
||||
"types": [
|
||||
"@withfig/autocomplete-types"
|
||||
]
|
||||
"types": ["@withfig/autocomplete-types"]
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules/"
|
||||
],
|
||||
"include": [
|
||||
"./src/**/*",
|
||||
"dangerfile.ts"
|
||||
]
|
||||
}
|
||||
"exclude": ["node_modules/"],
|
||||
"include": ["./src/**/*", "dangerfile.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user