@xylabs/ts-scripts-yarn3 3.0.0-rc.18 → 3.0.0-rc.19
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/dist/actions/package/compile.js +1 -1
- package/dist/actions/package/compile.js.map +1 -1
- package/dist/actions/package/compile.mjs +1 -1
- package/dist/actions/package/compile.mjs.map +1 -1
- package/package.json +4 -4
- package/src/actions/package/compile.ts +1 -1
- package/dist/actions/build.d.mts +0 -10
- package/dist/actions/build.d.ts +0 -10
- package/dist/actions/clean-docs.d.mts +0 -3
- package/dist/actions/clean-docs.d.ts +0 -3
- package/dist/actions/clean-eslint.d.mts +0 -3
- package/dist/actions/clean-eslint.d.ts +0 -3
- package/dist/actions/clean-jest.d.mts +0 -3
- package/dist/actions/clean-jest.d.ts +0 -3
- package/dist/actions/clean.d.mts +0 -13
- package/dist/actions/clean.d.ts +0 -13
- package/dist/actions/compile.d.mts +0 -19
- package/dist/actions/compile.d.ts +0 -19
- package/dist/actions/copy-assets.d.mts +0 -7
- package/dist/actions/copy-assets.d.ts +0 -7
- package/dist/actions/cycle.d.mts +0 -3
- package/dist/actions/cycle.d.ts +0 -3
- package/dist/actions/dead.d.mts +0 -3
- package/dist/actions/dead.d.ts +0 -3
- package/dist/actions/deploy-major.d.mts +0 -3
- package/dist/actions/deploy-major.d.ts +0 -3
- package/dist/actions/deploy-minor.d.mts +0 -3
- package/dist/actions/deploy-minor.d.ts +0 -3
- package/dist/actions/deploy-next.d.mts +0 -3
- package/dist/actions/deploy-next.d.ts +0 -3
- package/dist/actions/deploy.d.mts +0 -3
- package/dist/actions/deploy.d.ts +0 -3
- package/dist/actions/deps.d.mts +0 -13
- package/dist/actions/deps.d.ts +0 -13
- package/dist/actions/dupdeps.d.mts +0 -3
- package/dist/actions/dupdeps.d.ts +0 -3
- package/dist/actions/fix.d.mts +0 -3
- package/dist/actions/fix.d.ts +0 -3
- package/dist/actions/gen-docs.d.mts +0 -12
- package/dist/actions/gen-docs.d.ts +0 -12
- package/dist/actions/gitignore-gen.d.mts +0 -3
- package/dist/actions/gitignore-gen.d.ts +0 -3
- package/dist/actions/gitlint-fix.d.mts +0 -3
- package/dist/actions/gitlint-fix.d.ts +0 -3
- package/dist/actions/gitlint.d.mts +0 -3
- package/dist/actions/gitlint.d.ts +0 -3
- package/dist/actions/index.d.mts +0 -46
- package/dist/actions/index.d.ts +0 -46
- package/dist/actions/license.d.mts +0 -3
- package/dist/actions/license.d.ts +0 -3
- package/dist/actions/lint-clean.d.mts +0 -3
- package/dist/actions/lint-clean.d.ts +0 -3
- package/dist/actions/lint-profile.d.mts +0 -3
- package/dist/actions/lint-profile.d.ts +0 -3
- package/dist/actions/lint.d.mts +0 -13
- package/dist/actions/lint.d.ts +0 -13
- package/dist/actions/npmignore-gen.d.mts +0 -3
- package/dist/actions/npmignore-gen.d.ts +0 -3
- package/dist/actions/package/clean-outputs.d.mts +0 -3
- package/dist/actions/package/clean-outputs.d.ts +0 -3
- package/dist/actions/package/clean-typescript.d.mts +0 -3
- package/dist/actions/package/clean-typescript.d.ts +0 -3
- package/dist/actions/package/clean.d.mts +0 -3
- package/dist/actions/package/clean.d.ts +0 -3
- package/dist/actions/package/compile.d.mts +0 -7
- package/dist/actions/package/compile.d.ts +0 -7
- package/dist/actions/package/copy-assets.d.mts +0 -6
- package/dist/actions/package/copy-assets.d.ts +0 -6
- package/dist/actions/package/deps.d.mts +0 -3
- package/dist/actions/package/deps.d.ts +0 -3
- package/dist/actions/package/gen-docs.d.mts +0 -3
- package/dist/actions/package/gen-docs.d.ts +0 -3
- package/dist/actions/package/index.d.mts +0 -9
- package/dist/actions/package/index.d.ts +0 -9
- package/dist/actions/package/publint.d.mts +0 -3
- package/dist/actions/package/publint.d.ts +0 -3
- package/dist/actions/package/recompile.d.mts +0 -3
- package/dist/actions/package/recompile.d.ts +0 -3
- package/dist/actions/publint.d.mts +0 -13
- package/dist/actions/publint.d.ts +0 -13
- package/dist/actions/rebuild.d.mts +0 -7
- package/dist/actions/rebuild.d.ts +0 -7
- package/dist/actions/recompile.d.mts +0 -17
- package/dist/actions/recompile.d.ts +0 -17
- package/dist/actions/reinstall.d.mts +0 -3
- package/dist/actions/reinstall.d.ts +0 -3
- package/dist/actions/relint.d.mts +0 -3
- package/dist/actions/relint.d.ts +0 -3
- package/dist/actions/retest.d.mts +0 -3
- package/dist/actions/retest.d.ts +0 -3
- package/dist/actions/sonar.d.mts +0 -3
- package/dist/actions/sonar.d.ts +0 -3
- package/dist/actions/statics.d.mts +0 -3
- package/dist/actions/statics.d.ts +0 -3
- package/dist/actions/test.d.mts +0 -3
- package/dist/actions/test.d.ts +0 -3
- package/dist/actions/up.d.mts +0 -3
- package/dist/actions/up.d.ts +0 -3
- package/dist/actions/updo.d.mts +0 -3
- package/dist/actions/updo.d.ts +0 -3
- package/dist/actions/upplug.d.mts +0 -3
- package/dist/actions/upplug.d.ts +0 -3
- package/dist/actions/upyarn.d.mts +0 -3
- package/dist/actions/upyarn.d.ts +0 -3
- package/dist/actions/yarn3only.d.mts +0 -3
- package/dist/actions/yarn3only.d.ts +0 -3
- package/dist/bin/build.d.mts +0 -1
- package/dist/bin/build.d.ts +0 -1
- package/dist/bin/clean.d.mts +0 -1
- package/dist/bin/clean.d.ts +0 -1
- package/dist/bin/compile-only.d.mts +0 -1
- package/dist/bin/compile-only.d.ts +0 -1
- package/dist/bin/compile.d.mts +0 -1
- package/dist/bin/compile.d.ts +0 -1
- package/dist/bin/cycle.d.mts +0 -1
- package/dist/bin/cycle.d.ts +0 -1
- package/dist/bin/dead.d.mts +0 -1
- package/dist/bin/dead.d.ts +0 -1
- package/dist/bin/deploy-major.d.mts +0 -1
- package/dist/bin/deploy-major.d.ts +0 -1
- package/dist/bin/deploy-minor.d.mts +0 -1
- package/dist/bin/deploy-minor.d.ts +0 -1
- package/dist/bin/deploy-next.d.mts +0 -1
- package/dist/bin/deploy-next.d.ts +0 -1
- package/dist/bin/deploy.d.mts +0 -1
- package/dist/bin/deploy.d.ts +0 -1
- package/dist/bin/deps.d.mts +0 -1
- package/dist/bin/deps.d.ts +0 -1
- package/dist/bin/fix.d.mts +0 -1
- package/dist/bin/fix.d.ts +0 -1
- package/dist/bin/gen-docs.d.mts +0 -1
- package/dist/bin/gen-docs.d.ts +0 -1
- package/dist/bin/gitlint-fix.d.mts +0 -1
- package/dist/bin/gitlint-fix.d.ts +0 -1
- package/dist/bin/gitlint.d.mts +0 -1
- package/dist/bin/gitlint.d.ts +0 -1
- package/dist/bin/license.d.mts +0 -1
- package/dist/bin/license.d.ts +0 -1
- package/dist/bin/lint-clean.d.mts +0 -1
- package/dist/bin/lint-clean.d.ts +0 -1
- package/dist/bin/lint-fast.d.mts +0 -1
- package/dist/bin/lint-fast.d.ts +0 -1
- package/dist/bin/lint-profile.d.mts +0 -1
- package/dist/bin/lint-profile.d.ts +0 -1
- package/dist/bin/lint.d.mts +0 -1
- package/dist/bin/lint.d.ts +0 -1
- package/dist/bin/package/clean-outputs.d.mts +0 -1
- package/dist/bin/package/clean-outputs.d.ts +0 -1
- package/dist/bin/package/clean-typescript.d.mts +0 -1
- package/dist/bin/package/clean-typescript.d.ts +0 -1
- package/dist/bin/package/clean.d.mts +0 -1
- package/dist/bin/package/clean.d.ts +0 -1
- package/dist/bin/package/compile-only.d.mts +0 -1
- package/dist/bin/package/compile-only.d.ts +0 -1
- package/dist/bin/package/compile.d.mts +0 -1
- package/dist/bin/package/compile.d.ts +0 -1
- package/dist/bin/package/copy-assets-cjs.d.mts +0 -1
- package/dist/bin/package/copy-assets-cjs.d.ts +0 -1
- package/dist/bin/package/copy-assets-esm.d.mts +0 -1
- package/dist/bin/package/copy-assets-esm.d.ts +0 -1
- package/dist/bin/package/deps.d.mts +0 -1
- package/dist/bin/package/deps.d.ts +0 -1
- package/dist/bin/package/gen-docs.d.mts +0 -1
- package/dist/bin/package/gen-docs.d.ts +0 -1
- package/dist/bin/package/publint.d.mts +0 -1
- package/dist/bin/package/publint.d.ts +0 -1
- package/dist/bin/package/recompile.d.mts +0 -1
- package/dist/bin/package/recompile.d.ts +0 -1
- package/dist/bin/publint.d.mts +0 -1
- package/dist/bin/publint.d.ts +0 -1
- package/dist/bin/rebuild.d.mts +0 -1
- package/dist/bin/rebuild.d.ts +0 -1
- package/dist/bin/recompile.d.mts +0 -1
- package/dist/bin/recompile.d.ts +0 -1
- package/dist/bin/reinstall.d.mts +0 -1
- package/dist/bin/reinstall.d.ts +0 -1
- package/dist/bin/relint.d.mts +0 -1
- package/dist/bin/relint.d.ts +0 -1
- package/dist/bin/sonar.d.mts +0 -1
- package/dist/bin/sonar.d.ts +0 -1
- package/dist/bin/test.d.mts +0 -1
- package/dist/bin/test.d.ts +0 -1
- package/dist/bin/up.d.mts +0 -1
- package/dist/bin/up.d.ts +0 -1
- package/dist/bin/updo.d.mts +0 -1
- package/dist/bin/updo.d.ts +0 -1
- package/dist/bin/upplug.d.mts +0 -1
- package/dist/bin/upplug.d.ts +0 -1
- package/dist/bin/upyarn.d.mts +0 -1
- package/dist/bin/upyarn.d.ts +0 -1
- package/dist/bin/xy-ts.d.mts +0 -1
- package/dist/bin/xy-ts.d.ts +0 -1
- package/dist/bin/xy.d.mts +0 -1
- package/dist/bin/xy.d.ts +0 -1
- package/dist/bin/yarn3only.d.mts +0 -1
- package/dist/bin/yarn3only.d.ts +0 -1
- package/dist/lib/checkResult.d.mts +0 -3
- package/dist/lib/checkResult.d.ts +0 -3
- package/dist/lib/createBuildConfig.d.mts +0 -3
- package/dist/lib/createBuildConfig.d.ts +0 -3
- package/dist/lib/defaultBuildConfig.d.mts +0 -10
- package/dist/lib/defaultBuildConfig.d.ts +0 -10
- package/dist/lib/dependencies/DuplicateDetector.d.mts +0 -10
- package/dist/lib/dependencies/DuplicateDetector.d.ts +0 -10
- package/dist/lib/dependencies/detectDuplicateDependencies.d.mts +0 -3
- package/dist/lib/dependencies/detectDuplicateDependencies.d.ts +0 -3
- package/dist/lib/dependencies/index.d.mts +0 -2
- package/dist/lib/dependencies/index.d.ts +0 -2
- package/dist/lib/file/ReadFileSyncOptions.d.mts +0 -7
- package/dist/lib/file/ReadFileSyncOptions.d.ts +0 -7
- package/dist/lib/file/constants.d.mts +0 -4
- package/dist/lib/file/constants.d.ts +0 -4
- package/dist/lib/file/fileLines.d.mts +0 -8
- package/dist/lib/file/fileLines.d.ts +0 -8
- package/dist/lib/file/index.d.mts +0 -5
- package/dist/lib/file/index.d.ts +0 -5
- package/dist/lib/file/tryReadFileSync.d.mts +0 -6
- package/dist/lib/file/tryReadFileSync.d.ts +0 -6
- package/dist/lib/generateIgnoreFiles.d.mts +0 -3
- package/dist/lib/generateIgnoreFiles.d.ts +0 -3
- package/dist/lib/index.d.mts +0 -29
- package/dist/lib/index.d.ts +0 -29
- package/dist/lib/jsonFormatters.d.mts +0 -3
- package/dist/lib/jsonFormatters.d.ts +0 -3
- package/dist/lib/parsedPackageJSON.d.mts +0 -3
- package/dist/lib/parsedPackageJSON.d.ts +0 -3
- package/dist/lib/processEx.d.mts +0 -3
- package/dist/lib/processEx.d.ts +0 -3
- package/dist/lib/runSteps.d.mts +0 -6
- package/dist/lib/runSteps.d.ts +0 -6
- package/dist/lib/runStepsAsync.d.mts +0 -7
- package/dist/lib/runStepsAsync.d.ts +0 -7
- package/dist/lib/runXy.d.mts +0 -3
- package/dist/lib/runXy.d.ts +0 -3
- package/dist/lib/runXyWithWarning.d.mts +0 -3
- package/dist/lib/runXyWithWarning.d.ts +0 -3
- package/dist/lib/safeExit.d.mts +0 -5
- package/dist/lib/safeExit.d.ts +0 -5
- package/dist/lib/string/empty.d.mts +0 -4
- package/dist/lib/string/empty.d.ts +0 -4
- package/dist/lib/string/index.d.mts +0 -2
- package/dist/lib/string/index.d.ts +0 -2
- package/dist/lib/string/union.d.mts +0 -3
- package/dist/lib/string/union.d.ts +0 -3
- package/dist/lib/withErrnoException.d.mts +0 -3
- package/dist/lib/withErrnoException.d.ts +0 -3
- package/dist/lib/withError.d.mts +0 -3
- package/dist/lib/withError.d.ts +0 -3
- package/dist/lib/yarn/index.d.mts +0 -5
- package/dist/lib/yarn/index.d.ts +0 -5
- package/dist/lib/yarn/isYarnVersionOrGreater.d.mts +0 -3
- package/dist/lib/yarn/isYarnVersionOrGreater.d.ts +0 -3
- package/dist/lib/yarn/workspace/Workspace.d.mts +0 -6
- package/dist/lib/yarn/workspace/Workspace.d.ts +0 -6
- package/dist/lib/yarn/workspace/index.d.mts +0 -3
- package/dist/lib/yarn/workspace/index.d.ts +0 -3
- package/dist/lib/yarn/workspace/yarnWorkspace.d.mts +0 -5
- package/dist/lib/yarn/workspace/yarnWorkspace.d.ts +0 -5
- package/dist/lib/yarn/workspace/yarnWorkspaces.d.mts +0 -5
- package/dist/lib/yarn/workspace/yarnWorkspaces.d.ts +0 -5
- package/dist/lib/yarn/yarnInitCwd.d.mts +0 -3
- package/dist/lib/yarn/yarnInitCwd.d.ts +0 -3
- package/dist/loadPackageConfig.d.mts +0 -8
- package/dist/loadPackageConfig.d.ts +0 -8
- package/dist/xy/index.d.mts +0 -8
- package/dist/xy/index.d.ts +0 -8
- package/dist/xy/xy.d.mts +0 -11
- package/dist/xy/xy.d.ts +0 -11
- package/dist/xy/xyBuildCommands.d.mts +0 -5
- package/dist/xy/xyBuildCommands.d.ts +0 -5
- package/dist/xy/xyCommonCommands.d.mts +0 -5
- package/dist/xy/xyCommonCommands.d.ts +0 -5
- package/dist/xy/xyDeployCommands.d.mts +0 -5
- package/dist/xy/xyDeployCommands.d.ts +0 -5
- package/dist/xy/xyInstallCommands.d.mts +0 -5
- package/dist/xy/xyInstallCommands.d.ts +0 -5
- package/dist/xy/xyLintCommands.d.mts +0 -5
- package/dist/xy/xyLintCommands.d.ts +0 -5
- package/dist/xy/xyParseOptions.d.mts +0 -5
- package/dist/xy/xyParseOptions.d.ts +0 -5
|
@@ -75,7 +75,7 @@ const buildIt = async (pkg) => {
|
|
|
75
75
|
const input = await getInputs();
|
|
76
76
|
const pkgType = pkg.type ?? "commonjs";
|
|
77
77
|
const esmExt = pkgType === "module" ? "js" : "mjs";
|
|
78
|
-
const cjsExt = pkgType
|
|
78
|
+
const cjsExt = pkgType == "commonjs" ? "cjs" : "js";
|
|
79
79
|
await rollItUp(input, "esm", esmExt);
|
|
80
80
|
await rollItUp(input, "cjs", cjsExt);
|
|
81
81
|
await (0, import_promises.copyFile)("./dist/index.d.ts", "./dist/index.d.mts");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/actions/package/compile.ts"],"sourcesContent":["import commonjs from '@rollup/plugin-commonjs'\nimport typescript from '@rollup/plugin-typescript'\nimport chalk from 'chalk'\nimport { copyFile, readdir, readFile } from 'fs/promises'\nimport { rollup } from 'rollup'\nimport externalDeps from 'rollup-plugin-exclude-dependencies-from-bundle'\nimport nodeExternals from 'rollup-plugin-node-externals'\n\nimport { loadPackageConfig, PackageJsonEx } from '../../loadPackageConfig'\nimport { packagePublint } from './publint'\n\nexport interface CompilePackageParams {\n publint?: boolean\n verbose?: boolean\n}\n\nconst rollItUp = async (input: string[], format: 'cjs' | 'esm', ext: string) => {\n await (\n await rollup({\n input,\n logLevel: 'warn',\n perf: true,\n plugins: [\n commonjs(),\n externalDeps(),\n nodeExternals(),\n typescript({\n declaration: true,\n declarationMap: true,\n emitDeclarationOnly: false,\n esModuleInterop: true,\n exclude: ['**/*.spec.*', 'dist', 'docs'],\n outDir: 'dist',\n rootDir: 'src',\n tsconfig: 'tsconfig.json',\n }),\n ],\n })\n ).write({\n dir: 'dist',\n dynamicImportInCjs: true,\n entryFileNames: (chunkInfo) => `${chunkInfo.name}.${ext}`,\n format,\n sourcemap: true,\n })\n}\n\nconst getInputs = async () => {\n return (await readdir('src', { recursive: true }))\n .filter((file) => (file.endsWith('.ts') || file.endsWith('.tsx')) && !file.endsWith('d.ts'))\n .map((file) => `src/${file}`)\n}\n\nconst buildIt = async (pkg: PackageJsonEx) => {\n const input = await getInputs()\n\n const pkgType = pkg.type ?? 'commonjs'\n\n const esmExt = pkgType === 'module' ? 'js' : 'mjs'\n const cjsExt = pkgType
|
|
1
|
+
{"version":3,"sources":["../../../src/actions/package/compile.ts"],"sourcesContent":["import commonjs from '@rollup/plugin-commonjs'\nimport typescript from '@rollup/plugin-typescript'\nimport chalk from 'chalk'\nimport { copyFile, readdir, readFile } from 'fs/promises'\nimport { rollup } from 'rollup'\nimport externalDeps from 'rollup-plugin-exclude-dependencies-from-bundle'\nimport nodeExternals from 'rollup-plugin-node-externals'\n\nimport { loadPackageConfig, PackageJsonEx } from '../../loadPackageConfig'\nimport { packagePublint } from './publint'\n\nexport interface CompilePackageParams {\n publint?: boolean\n verbose?: boolean\n}\n\nconst rollItUp = async (input: string[], format: 'cjs' | 'esm', ext: string) => {\n await (\n await rollup({\n input,\n logLevel: 'warn',\n perf: true,\n plugins: [\n commonjs(),\n externalDeps(),\n nodeExternals(),\n typescript({\n declaration: true,\n declarationMap: true,\n emitDeclarationOnly: false,\n esModuleInterop: true,\n exclude: ['**/*.spec.*', 'dist', 'docs'],\n outDir: 'dist',\n rootDir: 'src',\n tsconfig: 'tsconfig.json',\n }),\n ],\n })\n ).write({\n dir: 'dist',\n dynamicImportInCjs: true,\n entryFileNames: (chunkInfo) => `${chunkInfo.name}.${ext}`,\n format,\n sourcemap: true,\n })\n}\n\nconst getInputs = async () => {\n return (await readdir('src', { recursive: true }))\n .filter((file) => (file.endsWith('.ts') || file.endsWith('.tsx')) && !file.endsWith('d.ts'))\n .map((file) => `src/${file}`)\n}\n\nconst buildIt = async (pkg: PackageJsonEx) => {\n const input = await getInputs()\n\n const pkgType = pkg.type ?? 'commonjs'\n\n const esmExt = pkgType === 'module' ? 'js' : 'mjs'\n const cjsExt = pkgType == 'commonjs' ? 'cjs' : 'js'\n\n await rollItUp(input, 'esm', esmExt)\n await rollItUp(input, 'cjs', cjsExt)\n\n //hybrid packages want two copies of the types\n await copyFile('./dist/index.d.ts', './dist/index.d.mts')\n await copyFile('./dist/index.d.ts.map', './dist/index.d.mts.map')\n\n return 0\n}\n\nexport const packageCompile = async ({ publint = true, verbose }: CompilePackageParams = { verbose: false }) => {\n const pkgName = process.env.npm_package_name\n if (verbose) {\n console.log(chalk.green(`Compiling ${pkgName} Start`))\n }\n const result = (await buildIt(await loadPackageConfig())) + (publint ? await packagePublint() : 0)\n if (result) {\n console.error(chalk.red(`Compiling ${pkgName} Failed [${result}]`))\n } else if (verbose) {\n console.log(chalk.green(`Compiling ${pkgName} Done`))\n }\n return result\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAqB;AACrB,+BAAuB;AACvB,mBAAkB;AAClB,sBAA4C;AAC5C,oBAAuB;AACvB,4DAAyB;AACzB,0CAA0B;AAE1B,+BAAiD;AACjD,qBAA+B;AAO/B,MAAM,WAAW,OAAO,OAAiB,QAAuB,QAAgB;AAC9E,SACE,UAAM,sBAAO;AAAA,IACX;AAAA,IACA,UAAU;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,UACP,uBAAAA,SAAS;AAAA,UACT,sDAAAC,SAAa;AAAA,UACb,oCAAAC,SAAc;AAAA,UACd,yBAAAC,SAAW;AAAA,QACT,aAAa;AAAA,QACb,gBAAgB;AAAA,QAChB,qBAAqB;AAAA,QACrB,iBAAiB;AAAA,QACjB,SAAS,CAAC,eAAe,QAAQ,MAAM;AAAA,QACvC,QAAQ;AAAA,QACR,SAAS;AAAA,QACT,UAAU;AAAA,MACZ,CAAC;AAAA,IACH;AAAA,EACF,CAAC,GACD,MAAM;AAAA,IACN,KAAK;AAAA,IACL,oBAAoB;AAAA,IACpB,gBAAgB,CAAC,cAAc,GAAG,UAAU,IAAI,IAAI,GAAG;AAAA,IACvD;AAAA,IACA,WAAW;AAAA,EACb,CAAC;AACH;AAEA,MAAM,YAAY,YAAY;AAC5B,UAAQ,UAAM,yBAAQ,OAAO,EAAE,WAAW,KAAK,CAAC,GAC7C,OAAO,CAAC,UAAU,KAAK,SAAS,KAAK,KAAK,KAAK,SAAS,MAAM,MAAM,CAAC,KAAK,SAAS,MAAM,CAAC,EAC1F,IAAI,CAAC,SAAS,OAAO,IAAI,EAAE;AAChC;AAEA,MAAM,UAAU,OAAO,QAAuB;AAC5C,QAAM,QAAQ,MAAM,UAAU;AAE9B,QAAM,UAAU,IAAI,QAAQ;AAE5B,QAAM,SAAS,YAAY,WAAW,OAAO;AAC7C,QAAM,SAAS,WAAW,aAAa,QAAQ;AAE/C,QAAM,SAAS,OAAO,OAAO,MAAM;AACnC,QAAM,SAAS,OAAO,OAAO,MAAM;AAGnC,YAAM,0BAAS,qBAAqB,oBAAoB;AACxD,YAAM,0BAAS,yBAAyB,wBAAwB;AAEhE,SAAO;AACT;AAEO,MAAM,iBAAiB,OAAO,EAAE,UAAU,MAAM,QAAQ,IAA0B,EAAE,SAAS,MAAM,MAAM;AAC9G,QAAM,UAAU,QAAQ,IAAI;AAC5B,MAAI,SAAS;AACX,YAAQ,IAAI,aAAAC,QAAM,MAAM,aAAa,OAAO,QAAQ,CAAC;AAAA,EACvD;AACA,QAAM,SAAU,MAAM,QAAQ,UAAM,4CAAkB,CAAC,KAAM,UAAU,UAAM,+BAAe,IAAI;AAChG,MAAI,QAAQ;AACV,YAAQ,MAAM,aAAAA,QAAM,IAAI,aAAa,OAAO,YAAY,MAAM,GAAG,CAAC;AAAA,EACpE,WAAW,SAAS;AAClB,YAAQ,IAAI,aAAAA,QAAM,MAAM,aAAa,OAAO,OAAO,CAAC;AAAA,EACtD;AACA,SAAO;AACT;","names":["commonjs","externalDeps","nodeExternals","typescript","chalk"]}
|
|
@@ -42,7 +42,7 @@ const buildIt = async (pkg) => {
|
|
|
42
42
|
const input = await getInputs();
|
|
43
43
|
const pkgType = pkg.type ?? "commonjs";
|
|
44
44
|
const esmExt = pkgType === "module" ? "js" : "mjs";
|
|
45
|
-
const cjsExt = pkgType
|
|
45
|
+
const cjsExt = pkgType == "commonjs" ? "cjs" : "js";
|
|
46
46
|
await rollItUp(input, "esm", esmExt);
|
|
47
47
|
await rollItUp(input, "cjs", cjsExt);
|
|
48
48
|
await copyFile("./dist/index.d.ts", "./dist/index.d.mts");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/actions/package/compile.ts"],"sourcesContent":["import commonjs from '@rollup/plugin-commonjs'\nimport typescript from '@rollup/plugin-typescript'\nimport chalk from 'chalk'\nimport { copyFile, readdir, readFile } from 'fs/promises'\nimport { rollup } from 'rollup'\nimport externalDeps from 'rollup-plugin-exclude-dependencies-from-bundle'\nimport nodeExternals from 'rollup-plugin-node-externals'\n\nimport { loadPackageConfig, PackageJsonEx } from '../../loadPackageConfig'\nimport { packagePublint } from './publint'\n\nexport interface CompilePackageParams {\n publint?: boolean\n verbose?: boolean\n}\n\nconst rollItUp = async (input: string[], format: 'cjs' | 'esm', ext: string) => {\n await (\n await rollup({\n input,\n logLevel: 'warn',\n perf: true,\n plugins: [\n commonjs(),\n externalDeps(),\n nodeExternals(),\n typescript({\n declaration: true,\n declarationMap: true,\n emitDeclarationOnly: false,\n esModuleInterop: true,\n exclude: ['**/*.spec.*', 'dist', 'docs'],\n outDir: 'dist',\n rootDir: 'src',\n tsconfig: 'tsconfig.json',\n }),\n ],\n })\n ).write({\n dir: 'dist',\n dynamicImportInCjs: true,\n entryFileNames: (chunkInfo) => `${chunkInfo.name}.${ext}`,\n format,\n sourcemap: true,\n })\n}\n\nconst getInputs = async () => {\n return (await readdir('src', { recursive: true }))\n .filter((file) => (file.endsWith('.ts') || file.endsWith('.tsx')) && !file.endsWith('d.ts'))\n .map((file) => `src/${file}`)\n}\n\nconst buildIt = async (pkg: PackageJsonEx) => {\n const input = await getInputs()\n\n const pkgType = pkg.type ?? 'commonjs'\n\n const esmExt = pkgType === 'module' ? 'js' : 'mjs'\n const cjsExt = pkgType
|
|
1
|
+
{"version":3,"sources":["../../../src/actions/package/compile.ts"],"sourcesContent":["import commonjs from '@rollup/plugin-commonjs'\nimport typescript from '@rollup/plugin-typescript'\nimport chalk from 'chalk'\nimport { copyFile, readdir, readFile } from 'fs/promises'\nimport { rollup } from 'rollup'\nimport externalDeps from 'rollup-plugin-exclude-dependencies-from-bundle'\nimport nodeExternals from 'rollup-plugin-node-externals'\n\nimport { loadPackageConfig, PackageJsonEx } from '../../loadPackageConfig'\nimport { packagePublint } from './publint'\n\nexport interface CompilePackageParams {\n publint?: boolean\n verbose?: boolean\n}\n\nconst rollItUp = async (input: string[], format: 'cjs' | 'esm', ext: string) => {\n await (\n await rollup({\n input,\n logLevel: 'warn',\n perf: true,\n plugins: [\n commonjs(),\n externalDeps(),\n nodeExternals(),\n typescript({\n declaration: true,\n declarationMap: true,\n emitDeclarationOnly: false,\n esModuleInterop: true,\n exclude: ['**/*.spec.*', 'dist', 'docs'],\n outDir: 'dist',\n rootDir: 'src',\n tsconfig: 'tsconfig.json',\n }),\n ],\n })\n ).write({\n dir: 'dist',\n dynamicImportInCjs: true,\n entryFileNames: (chunkInfo) => `${chunkInfo.name}.${ext}`,\n format,\n sourcemap: true,\n })\n}\n\nconst getInputs = async () => {\n return (await readdir('src', { recursive: true }))\n .filter((file) => (file.endsWith('.ts') || file.endsWith('.tsx')) && !file.endsWith('d.ts'))\n .map((file) => `src/${file}`)\n}\n\nconst buildIt = async (pkg: PackageJsonEx) => {\n const input = await getInputs()\n\n const pkgType = pkg.type ?? 'commonjs'\n\n const esmExt = pkgType === 'module' ? 'js' : 'mjs'\n const cjsExt = pkgType == 'commonjs' ? 'cjs' : 'js'\n\n await rollItUp(input, 'esm', esmExt)\n await rollItUp(input, 'cjs', cjsExt)\n\n //hybrid packages want two copies of the types\n await copyFile('./dist/index.d.ts', './dist/index.d.mts')\n await copyFile('./dist/index.d.ts.map', './dist/index.d.mts.map')\n\n return 0\n}\n\nexport const packageCompile = async ({ publint = true, verbose }: CompilePackageParams = { verbose: false }) => {\n const pkgName = process.env.npm_package_name\n if (verbose) {\n console.log(chalk.green(`Compiling ${pkgName} Start`))\n }\n const result = (await buildIt(await loadPackageConfig())) + (publint ? await packagePublint() : 0)\n if (result) {\n console.error(chalk.red(`Compiling ${pkgName} Failed [${result}]`))\n } else if (verbose) {\n console.log(chalk.green(`Compiling ${pkgName} Done`))\n }\n return result\n}\n"],"mappings":"AAAA,OAAO,cAAc;AACrB,OAAO,gBAAgB;AACvB,OAAO,WAAW;AAClB,SAAS,UAAU,eAAyB;AAC5C,SAAS,cAAc;AACvB,OAAO,kBAAkB;AACzB,OAAO,mBAAmB;AAE1B,SAAS,yBAAwC;AACjD,SAAS,sBAAsB;AAO/B,MAAM,WAAW,OAAO,OAAiB,QAAuB,QAAgB;AAC9E,SACE,MAAM,OAAO;AAAA,IACX;AAAA,IACA,UAAU;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,MACP,SAAS;AAAA,MACT,aAAa;AAAA,MACb,cAAc;AAAA,MACd,WAAW;AAAA,QACT,aAAa;AAAA,QACb,gBAAgB;AAAA,QAChB,qBAAqB;AAAA,QACrB,iBAAiB;AAAA,QACjB,SAAS,CAAC,eAAe,QAAQ,MAAM;AAAA,QACvC,QAAQ;AAAA,QACR,SAAS;AAAA,QACT,UAAU;AAAA,MACZ,CAAC;AAAA,IACH;AAAA,EACF,CAAC,GACD,MAAM;AAAA,IACN,KAAK;AAAA,IACL,oBAAoB;AAAA,IACpB,gBAAgB,CAAC,cAAc,GAAG,UAAU,IAAI,IAAI,GAAG;AAAA,IACvD;AAAA,IACA,WAAW;AAAA,EACb,CAAC;AACH;AAEA,MAAM,YAAY,YAAY;AAC5B,UAAQ,MAAM,QAAQ,OAAO,EAAE,WAAW,KAAK,CAAC,GAC7C,OAAO,CAAC,UAAU,KAAK,SAAS,KAAK,KAAK,KAAK,SAAS,MAAM,MAAM,CAAC,KAAK,SAAS,MAAM,CAAC,EAC1F,IAAI,CAAC,SAAS,OAAO,IAAI,EAAE;AAChC;AAEA,MAAM,UAAU,OAAO,QAAuB;AAC5C,QAAM,QAAQ,MAAM,UAAU;AAE9B,QAAM,UAAU,IAAI,QAAQ;AAE5B,QAAM,SAAS,YAAY,WAAW,OAAO;AAC7C,QAAM,SAAS,WAAW,aAAa,QAAQ;AAE/C,QAAM,SAAS,OAAO,OAAO,MAAM;AACnC,QAAM,SAAS,OAAO,OAAO,MAAM;AAGnC,QAAM,SAAS,qBAAqB,oBAAoB;AACxD,QAAM,SAAS,yBAAyB,wBAAwB;AAEhE,SAAO;AACT;AAEO,MAAM,iBAAiB,OAAO,EAAE,UAAU,MAAM,QAAQ,IAA0B,EAAE,SAAS,MAAM,MAAM;AAC9G,QAAM,UAAU,QAAQ,IAAI;AAC5B,MAAI,SAAS;AACX,YAAQ,IAAI,MAAM,MAAM,aAAa,OAAO,QAAQ,CAAC;AAAA,EACvD;AACA,QAAM,SAAU,MAAM,QAAQ,MAAM,kBAAkB,CAAC,KAAM,UAAU,MAAM,eAAe,IAAI;AAChG,MAAI,QAAQ;AACV,YAAQ,MAAM,MAAM,IAAI,aAAa,OAAO,YAAY,MAAM,GAAG,CAAC;AAAA,EACpE,WAAW,SAAS;AAClB,YAAQ,IAAI,MAAM,MAAM,aAAa,OAAO,OAAO,CAAC;AAAA,EACtD;AACA,SAAO;AACT;","names":[]}
|
package/package.json
CHANGED
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@types/yargs": "^17.0.24",
|
|
66
66
|
"@typescript-eslint/eslint-plugin": "^6.7.0",
|
|
67
67
|
"@typescript-eslint/parser": "^6.7.0",
|
|
68
|
-
"@xylabs/tsconfig": "~3.0.0-rc.
|
|
68
|
+
"@xylabs/tsconfig": "~3.0.0-rc.19",
|
|
69
69
|
"chalk": "^4.1.2",
|
|
70
70
|
"cpy": "^8.1.2",
|
|
71
71
|
"depcheck": "^1.4.6",
|
|
@@ -108,8 +108,8 @@
|
|
|
108
108
|
"@types/license-checker": "^25.0.4",
|
|
109
109
|
"@types/lodash": "^4.14.198",
|
|
110
110
|
"@types/parse-git-config": "^3.0.1",
|
|
111
|
-
"@xylabs/eslint-config": "^3.0.0-rc.
|
|
112
|
-
"@xylabs/tsconfig": "^3.0.0-rc.
|
|
111
|
+
"@xylabs/eslint-config": "^3.0.0-rc.19",
|
|
112
|
+
"@xylabs/tsconfig": "^3.0.0-rc.19",
|
|
113
113
|
"publint": "^0.2.2",
|
|
114
114
|
"tsup": "^7.2.0",
|
|
115
115
|
"typescript": "^5.2.2"
|
|
@@ -166,6 +166,6 @@
|
|
|
166
166
|
"package-compile": "tsup && publint"
|
|
167
167
|
},
|
|
168
168
|
"sideEffects": false,
|
|
169
|
-
"version": "3.0.0-rc.
|
|
169
|
+
"version": "3.0.0-rc.19",
|
|
170
170
|
"stableVersion": "2.19.12"
|
|
171
171
|
}
|
|
@@ -57,7 +57,7 @@ const buildIt = async (pkg: PackageJsonEx) => {
|
|
|
57
57
|
const pkgType = pkg.type ?? 'commonjs'
|
|
58
58
|
|
|
59
59
|
const esmExt = pkgType === 'module' ? 'js' : 'mjs'
|
|
60
|
-
const cjsExt = pkgType
|
|
60
|
+
const cjsExt = pkgType == 'commonjs' ? 'cjs' : 'js'
|
|
61
61
|
|
|
62
62
|
await rollItUp(input, 'esm', esmExt)
|
|
63
63
|
await rollItUp(input, 'cjs', cjsExt)
|
package/dist/actions/build.d.mts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface BuildParams {
|
|
2
|
-
incremental?: boolean;
|
|
3
|
-
jobs?: number;
|
|
4
|
-
pkg?: string;
|
|
5
|
-
target?: 'esm' | 'cjs';
|
|
6
|
-
verbose?: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare const build: ({ incremental, jobs, target, verbose, pkg }: BuildParams) => Promise<number>;
|
|
9
|
-
|
|
10
|
-
export { BuildParams, build };
|
package/dist/actions/build.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface BuildParams {
|
|
2
|
-
incremental?: boolean;
|
|
3
|
-
jobs?: number;
|
|
4
|
-
pkg?: string;
|
|
5
|
-
target?: 'esm' | 'cjs';
|
|
6
|
-
verbose?: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare const build: ({ incremental, jobs, target, verbose, pkg }: BuildParams) => Promise<number>;
|
|
9
|
-
|
|
10
|
-
export { BuildParams, build };
|
package/dist/actions/clean.d.mts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
interface CleanParams {
|
|
2
|
-
pkg?: string;
|
|
3
|
-
verbose?: boolean;
|
|
4
|
-
}
|
|
5
|
-
interface CleanPackageParams {
|
|
6
|
-
pkg: string;
|
|
7
|
-
verbose?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const clean: ({ verbose, pkg }: CleanParams) => Promise<number>;
|
|
10
|
-
declare const cleanPackage: ({ verbose, pkg }: CleanPackageParams) => Promise<number>;
|
|
11
|
-
declare const cleanAll: ({ verbose }: CleanParams) => number;
|
|
12
|
-
|
|
13
|
-
export { CleanPackageParams, CleanParams, clean, cleanAll, cleanPackage };
|
package/dist/actions/clean.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
interface CleanParams {
|
|
2
|
-
pkg?: string;
|
|
3
|
-
verbose?: boolean;
|
|
4
|
-
}
|
|
5
|
-
interface CleanPackageParams {
|
|
6
|
-
pkg: string;
|
|
7
|
-
verbose?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const clean: ({ verbose, pkg }: CleanParams) => Promise<number>;
|
|
10
|
-
declare const cleanPackage: ({ verbose, pkg }: CleanPackageParams) => Promise<number>;
|
|
11
|
-
declare const cleanAll: ({ verbose }: CleanParams) => number;
|
|
12
|
-
|
|
13
|
-
export { CleanPackageParams, CleanParams, clean, cleanAll, cleanPackage };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
interface CompileParams {
|
|
2
|
-
incremental?: boolean;
|
|
3
|
-
jobs?: number;
|
|
4
|
-
pkg?: string;
|
|
5
|
-
publint?: boolean;
|
|
6
|
-
target?: 'esm' | 'cjs';
|
|
7
|
-
verbose?: boolean;
|
|
8
|
-
}
|
|
9
|
-
interface CompilePackageParams {
|
|
10
|
-
pkg: string;
|
|
11
|
-
publint?: boolean;
|
|
12
|
-
target?: 'esm' | 'cjs';
|
|
13
|
-
verbose?: boolean;
|
|
14
|
-
}
|
|
15
|
-
declare const compile: ({ verbose, target, pkg, incremental, publint }: CompileParams) => number;
|
|
16
|
-
declare const compilePackage: ({ verbose, target, pkg, publint }: CompilePackageParams) => number;
|
|
17
|
-
declare const compileAll: ({ jobs, verbose, target, incremental }: CompileParams) => number;
|
|
18
|
-
|
|
19
|
-
export { CompileParams, compile, compileAll, compilePackage };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
interface CompileParams {
|
|
2
|
-
incremental?: boolean;
|
|
3
|
-
jobs?: number;
|
|
4
|
-
pkg?: string;
|
|
5
|
-
publint?: boolean;
|
|
6
|
-
target?: 'esm' | 'cjs';
|
|
7
|
-
verbose?: boolean;
|
|
8
|
-
}
|
|
9
|
-
interface CompilePackageParams {
|
|
10
|
-
pkg: string;
|
|
11
|
-
publint?: boolean;
|
|
12
|
-
target?: 'esm' | 'cjs';
|
|
13
|
-
verbose?: boolean;
|
|
14
|
-
}
|
|
15
|
-
declare const compile: ({ verbose, target, pkg, incremental, publint }: CompileParams) => number;
|
|
16
|
-
declare const compilePackage: ({ verbose, target, pkg, publint }: CompilePackageParams) => number;
|
|
17
|
-
declare const compileAll: ({ jobs, verbose, target, incremental }: CompileParams) => number;
|
|
18
|
-
|
|
19
|
-
export { CompileParams, compile, compileAll, compilePackage };
|
package/dist/actions/cycle.d.mts
DELETED
package/dist/actions/cycle.d.ts
DELETED
package/dist/actions/dead.d.mts
DELETED
package/dist/actions/dead.d.ts
DELETED
package/dist/actions/deploy.d.ts
DELETED
package/dist/actions/deps.d.mts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
interface DepsParams {
|
|
2
|
-
incremental?: boolean;
|
|
3
|
-
jobs?: number;
|
|
4
|
-
pkg?: string;
|
|
5
|
-
}
|
|
6
|
-
interface DepsPackageParams {
|
|
7
|
-
pkg: string;
|
|
8
|
-
}
|
|
9
|
-
declare const deps: ({ pkg, incremental }: DepsParams) => number;
|
|
10
|
-
declare const depsPackage: ({ pkg }: DepsPackageParams) => number;
|
|
11
|
-
declare const depsAll: ({ incremental, jobs }: DepsParams) => number;
|
|
12
|
-
|
|
13
|
-
export { DepsPackageParams, DepsParams, deps, depsAll, depsPackage };
|
package/dist/actions/deps.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
interface DepsParams {
|
|
2
|
-
incremental?: boolean;
|
|
3
|
-
jobs?: number;
|
|
4
|
-
pkg?: string;
|
|
5
|
-
}
|
|
6
|
-
interface DepsPackageParams {
|
|
7
|
-
pkg: string;
|
|
8
|
-
}
|
|
9
|
-
declare const deps: ({ pkg, incremental }: DepsParams) => number;
|
|
10
|
-
declare const depsPackage: ({ pkg }: DepsPackageParams) => number;
|
|
11
|
-
declare const depsAll: ({ incremental, jobs }: DepsParams) => number;
|
|
12
|
-
|
|
13
|
-
export { DepsPackageParams, DepsParams, deps, depsAll, depsPackage };
|
package/dist/actions/fix.d.mts
DELETED
package/dist/actions/fix.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
interface GenDocsParams {
|
|
2
|
-
incremental?: boolean;
|
|
3
|
-
pkg?: string;
|
|
4
|
-
}
|
|
5
|
-
interface GenDocsPackageParams {
|
|
6
|
-
pkg: string;
|
|
7
|
-
}
|
|
8
|
-
declare const genDocs: ({ pkg, incremental }: GenDocsParams) => number;
|
|
9
|
-
declare const genDocsPackage: ({ pkg }: GenDocsPackageParams) => number;
|
|
10
|
-
declare const genDocsAll: ({ incremental }: GenDocsParams) => number;
|
|
11
|
-
|
|
12
|
-
export { GenDocsPackageParams, GenDocsParams, genDocs, genDocsAll, genDocsPackage };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
interface GenDocsParams {
|
|
2
|
-
incremental?: boolean;
|
|
3
|
-
pkg?: string;
|
|
4
|
-
}
|
|
5
|
-
interface GenDocsPackageParams {
|
|
6
|
-
pkg: string;
|
|
7
|
-
}
|
|
8
|
-
declare const genDocs: ({ pkg, incremental }: GenDocsParams) => number;
|
|
9
|
-
declare const genDocsPackage: ({ pkg }: GenDocsPackageParams) => number;
|
|
10
|
-
declare const genDocsAll: ({ incremental }: GenDocsParams) => number;
|
|
11
|
-
|
|
12
|
-
export { GenDocsPackageParams, GenDocsParams, genDocs, genDocsAll, genDocsPackage };
|
package/dist/actions/index.d.mts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export { BuildParams, build } from './build.mjs';
|
|
2
|
-
export { CleanPackageParams, CleanParams, clean, cleanAll, cleanPackage } from './clean.mjs';
|
|
3
|
-
export { cleanDocs } from './clean-docs.mjs';
|
|
4
|
-
export { CompileParams, compile, compileAll, compilePackage } from './compile.mjs';
|
|
5
|
-
export { CopyAssetsParams, copyAssets } from './copy-assets.mjs';
|
|
6
|
-
export { cycle } from './cycle.mjs';
|
|
7
|
-
export { dead } from './dead.mjs';
|
|
8
|
-
export { deploy } from './deploy.mjs';
|
|
9
|
-
export { deployMajor } from './deploy-major.mjs';
|
|
10
|
-
export { deployMinor } from './deploy-minor.mjs';
|
|
11
|
-
export { deployNext } from './deploy-next.mjs';
|
|
12
|
-
export { DepsPackageParams, DepsParams, deps, depsAll, depsPackage } from './deps.mjs';
|
|
13
|
-
export { dupdeps } from './dupdeps.mjs';
|
|
14
|
-
export { fix } from './fix.mjs';
|
|
15
|
-
export { GenDocsPackageParams, GenDocsParams, genDocs, genDocsAll, genDocsPackage } from './gen-docs.mjs';
|
|
16
|
-
export { gitignoreGen } from './gitignore-gen.mjs';
|
|
17
|
-
export { gitlint } from './gitlint.mjs';
|
|
18
|
-
export { gitlintFix } from './gitlint-fix.mjs';
|
|
19
|
-
export { license } from './license.mjs';
|
|
20
|
-
export { LintPackageParams, LintParams, lint, lintAll, lintPackage } from './lint.mjs';
|
|
21
|
-
export { lintClean } from './lint-clean.mjs';
|
|
22
|
-
export { lintProfile } from './lint-profile.mjs';
|
|
23
|
-
export { npmignoreGen } from './npmignore-gen.mjs';
|
|
24
|
-
export { packageClean } from './package/clean.mjs';
|
|
25
|
-
export { packageCleanOutputs } from './package/clean-outputs.mjs';
|
|
26
|
-
export { packageCleanTypescript } from './package/clean-typescript.mjs';
|
|
27
|
-
export { CompilePackageParams, packageCompile } from './package/compile.mjs';
|
|
28
|
-
export { PackageCopyAssetsParams, packageCopyAssets } from './package/copy-assets.mjs';
|
|
29
|
-
export { packageDeps } from './package/deps.mjs';
|
|
30
|
-
export { packageGenDocs } from './package/gen-docs.mjs';
|
|
31
|
-
export { packagePublint } from './package/publint.mjs';
|
|
32
|
-
export { packageRecompile } from './package/recompile.mjs';
|
|
33
|
-
export { PublintPackageParams, PublintParams, publint, publintAll, publintPackage } from './publint.mjs';
|
|
34
|
-
export { RebuildParams, rebuild } from './rebuild.mjs';
|
|
35
|
-
export { RecompilePackageParams, RecompileParams, recompile, recompileAll, recompilePackage } from './recompile.mjs';
|
|
36
|
-
export { reinstall } from './reinstall.mjs';
|
|
37
|
-
export { relint } from './relint.mjs';
|
|
38
|
-
export { retest } from './retest.mjs';
|
|
39
|
-
export { sonar } from './sonar.mjs';
|
|
40
|
-
export { statics } from './statics.mjs';
|
|
41
|
-
export { test } from './test.mjs';
|
|
42
|
-
export { up } from './up.mjs';
|
|
43
|
-
export { updo } from './updo.mjs';
|
|
44
|
-
export { updateYarnPlugins } from './upplug.mjs';
|
|
45
|
-
export { updateYarnVersion } from './upyarn.mjs';
|
|
46
|
-
export { yarn3Only } from './yarn3only.mjs';
|
package/dist/actions/index.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export { BuildParams, build } from './build.js';
|
|
2
|
-
export { CleanPackageParams, CleanParams, clean, cleanAll, cleanPackage } from './clean.js';
|
|
3
|
-
export { cleanDocs } from './clean-docs.js';
|
|
4
|
-
export { CompileParams, compile, compileAll, compilePackage } from './compile.js';
|
|
5
|
-
export { CopyAssetsParams, copyAssets } from './copy-assets.js';
|
|
6
|
-
export { cycle } from './cycle.js';
|
|
7
|
-
export { dead } from './dead.js';
|
|
8
|
-
export { deploy } from './deploy.js';
|
|
9
|
-
export { deployMajor } from './deploy-major.js';
|
|
10
|
-
export { deployMinor } from './deploy-minor.js';
|
|
11
|
-
export { deployNext } from './deploy-next.js';
|
|
12
|
-
export { DepsPackageParams, DepsParams, deps, depsAll, depsPackage } from './deps.js';
|
|
13
|
-
export { dupdeps } from './dupdeps.js';
|
|
14
|
-
export { fix } from './fix.js';
|
|
15
|
-
export { GenDocsPackageParams, GenDocsParams, genDocs, genDocsAll, genDocsPackage } from './gen-docs.js';
|
|
16
|
-
export { gitignoreGen } from './gitignore-gen.js';
|
|
17
|
-
export { gitlint } from './gitlint.js';
|
|
18
|
-
export { gitlintFix } from './gitlint-fix.js';
|
|
19
|
-
export { license } from './license.js';
|
|
20
|
-
export { LintPackageParams, LintParams, lint, lintAll, lintPackage } from './lint.js';
|
|
21
|
-
export { lintClean } from './lint-clean.js';
|
|
22
|
-
export { lintProfile } from './lint-profile.js';
|
|
23
|
-
export { npmignoreGen } from './npmignore-gen.js';
|
|
24
|
-
export { packageClean } from './package/clean.js';
|
|
25
|
-
export { packageCleanOutputs } from './package/clean-outputs.js';
|
|
26
|
-
export { packageCleanTypescript } from './package/clean-typescript.js';
|
|
27
|
-
export { CompilePackageParams, packageCompile } from './package/compile.js';
|
|
28
|
-
export { PackageCopyAssetsParams, packageCopyAssets } from './package/copy-assets.js';
|
|
29
|
-
export { packageDeps } from './package/deps.js';
|
|
30
|
-
export { packageGenDocs } from './package/gen-docs.js';
|
|
31
|
-
export { packagePublint } from './package/publint.js';
|
|
32
|
-
export { packageRecompile } from './package/recompile.js';
|
|
33
|
-
export { PublintPackageParams, PublintParams, publint, publintAll, publintPackage } from './publint.js';
|
|
34
|
-
export { RebuildParams, rebuild } from './rebuild.js';
|
|
35
|
-
export { RecompilePackageParams, RecompileParams, recompile, recompileAll, recompilePackage } from './recompile.js';
|
|
36
|
-
export { reinstall } from './reinstall.js';
|
|
37
|
-
export { relint } from './relint.js';
|
|
38
|
-
export { retest } from './retest.js';
|
|
39
|
-
export { sonar } from './sonar.js';
|
|
40
|
-
export { statics } from './statics.js';
|
|
41
|
-
export { test } from './test.js';
|
|
42
|
-
export { up } from './up.js';
|
|
43
|
-
export { updo } from './updo.js';
|
|
44
|
-
export { updateYarnPlugins } from './upplug.js';
|
|
45
|
-
export { updateYarnVersion } from './upyarn.js';
|
|
46
|
-
export { yarn3Only } from './yarn3only.js';
|
package/dist/actions/lint.d.mts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
interface LintParams {
|
|
2
|
-
pkg?: string;
|
|
3
|
-
verbose?: boolean;
|
|
4
|
-
}
|
|
5
|
-
interface LintPackageParams {
|
|
6
|
-
pkg: string;
|
|
7
|
-
verbose?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const lintPackage: ({ pkg }: LintParams) => Promise<number>;
|
|
10
|
-
declare const lintAll: () => Promise<number>;
|
|
11
|
-
declare const lint: ({ pkg }?: LintParams) => Promise<number>;
|
|
12
|
-
|
|
13
|
-
export { LintPackageParams, LintParams, lint, lintAll, lintPackage };
|
package/dist/actions/lint.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
interface LintParams {
|
|
2
|
-
pkg?: string;
|
|
3
|
-
verbose?: boolean;
|
|
4
|
-
}
|
|
5
|
-
interface LintPackageParams {
|
|
6
|
-
pkg: string;
|
|
7
|
-
verbose?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const lintPackage: ({ pkg }: LintParams) => Promise<number>;
|
|
10
|
-
declare const lintAll: () => Promise<number>;
|
|
11
|
-
declare const lint: ({ pkg }?: LintParams) => Promise<number>;
|
|
12
|
-
|
|
13
|
-
export { LintPackageParams, LintParams, lint, lintAll, lintPackage };
|