@autometa/types
Advanced tools
| export type ArrayElement<ArrayType extends readonly unknown[]> = ArrayType extends readonly (infer ElementType)[] ? ElementType : never; |
| export type Class<T> = { | ||
| new (...args: any): T; | ||
| }; | ||
| export type AbstractClass<T> = Function & { | ||
| prototype: T; | ||
| }; |
| export type TestFunction = (...args: unknown[]) => unknown; |
| export declare const TestModifier: { | ||
| readonly SKIP: "SKIP"; | ||
| }; | ||
| export type ModifierType = keyof typeof TestModifier; |
| export declare const Status: { | ||
| readonly FAILED: "FAILED"; | ||
| readonly BROKEN: "BROKEN"; | ||
| readonly PASSED: "PASSED"; | ||
| readonly SKIPPED: "SKIPPED"; | ||
| }; | ||
| export type StatusType = keyof typeof Status; |
+13
-12
| > @autometa/types@0.3.0 build /home/runner/work/autometa/autometa/packages/types | ||
| > pnpm build:code | ||
| > @autometa/types@0.3.1 build /home/runner/work/autometa/autometa/packages/types | ||
| > pnpm build:js && pnpm build:dts | ||
| > @autometa/types@0.3.0 build:code /home/runner/work/autometa/autometa/packages/types | ||
| > rimraf dist/ && pnpm run build:libs | ||
| > @autometa/types@0.3.0 build:libs /home/runner/work/autometa/autometa/packages/types | ||
| > @autometa/types@0.3.1 build:js /home/runner/work/autometa/autometa/packages/types | ||
| > tsup | ||
@@ -24,7 +20,12 @@ | ||
| [32mCJS[39m [1mdist/index.js [22m[32m1.24 KB[39m | ||
| [32mCJS[39m ⚡️ Build success in 140ms | ||
| [32mCJS[39m ⚡️ Build success in 63ms | ||
| [32mESM[39m [1mdist/esm/index.js [22m[32m223.00 B[39m | ||
| [32mESM[39m ⚡️ Build success in 137ms | ||
| [34mDTS[39m Build start | ||
| [32mDTS[39m ⚡️ Build success in 15951ms | ||
| [32mDTS[39m [1mdist/index.d.ts [22m[32m702.00 B[39m | ||
| [32mESM[39m ⚡️ Build success in 62ms | ||
| > @autometa/types@0.3.1 build:dts /home/runner/work/autometa/autometa/packages/types | ||
| > pnpm build:dts:tsc | ||
| > @autometa/types@0.3.1 build:dts:tsc /home/runner/work/autometa/autometa/packages/types | ||
| > tsc src/index.ts --declarationDir dist --declaration --emitDeclarationOnly | ||
| > @autometa/types@0.3.0 lint /home/runner/work/autometa/autometa/packages/types | ||
| > @autometa/types@0.3.1 lint /home/runner/work/autometa/autometa/packages/types | ||
| > eslint . --max-warnings 0 | ||
+6
-0
| # Gherkin | ||
| ## 0.3.1 | ||
| ### Patch Changes | ||
| - 6a4a9ac: Swapped project type to "composite", unified build system for most projects | ||
| ## 0.3.0 | ||
@@ -4,0 +10,0 @@ |
+5
-25
@@ -1,25 +0,5 @@ | ||
| type ArrayElement<ArrayType extends readonly unknown[]> = ArrayType extends readonly (infer ElementType)[] ? ElementType : never; | ||
| type Class<T> = { | ||
| new (...args: any): T; | ||
| }; | ||
| type AbstractClass<T> = Function & { | ||
| prototype: T; | ||
| }; | ||
| declare const Status: { | ||
| readonly FAILED: "FAILED"; | ||
| readonly BROKEN: "BROKEN"; | ||
| readonly PASSED: "PASSED"; | ||
| readonly SKIPPED: "SKIPPED"; | ||
| }; | ||
| type StatusType = keyof typeof Status; | ||
| declare const TestModifier: { | ||
| readonly SKIP: "SKIP"; | ||
| }; | ||
| type ModifierType = keyof typeof TestModifier; | ||
| type TestFunction = (...args: unknown[]) => unknown; | ||
| export { AbstractClass, ArrayElement, Class, ModifierType, Status, StatusType, TestFunction, TestModifier }; | ||
| export * from "./array-element"; | ||
| export * from "./class"; | ||
| export * from "./test-status"; | ||
| export * from './test-modifiers'; | ||
| export * from "./functions"; |
+7
-5
| { | ||
| "name": "@autometa/types", | ||
| "version": "0.3.0", | ||
| "version": "0.3.1", | ||
| "main": "dist/index.js", | ||
@@ -31,3 +31,3 @@ "module": "dist/esm/index.js", | ||
| "typescript": "^4.9.5", | ||
| "tsconfig": "0.6.0" | ||
| "tsconfig": "0.6.1" | ||
| }, | ||
@@ -38,7 +38,9 @@ "scripts": { | ||
| "lint:fix": "eslint . --fix", | ||
| "build:libs": "tsup", | ||
| "build:code": "rimraf dist/ && pnpm run build:libs", | ||
| "build": "pnpm build:code" | ||
| "build:js": "tsup", | ||
| "build:dts:tsc": " tsc src/index.ts --declarationDir dist --declaration --emitDeclarationOnly", | ||
| "build:dts": "pnpm build:dts:tsc", | ||
| "build": "pnpm build:js && pnpm build:dts ", | ||
| "build:watch": "tsup --watch" | ||
| }, | ||
| "readme": "# Gherkin\n\nGherkin implementation for @autometa.\n" | ||
| } |
+5
-4
@@ -1,5 +0,6 @@ | ||
| import type { Options } from "tsup"; | ||
| export const tsup: Options = { | ||
| import { defineConfig } from "tsup"; | ||
| export default defineConfig({ | ||
| clean: true, // clean up the dist folder | ||
| dts: true, // generate dts files | ||
| // dts: true, // generate dts files | ||
| format: ["cjs", "esm"], // generate cjs and esm files | ||
@@ -12,2 +13,2 @@ skipNodeModulesBundle: true, | ||
| external: ["dist"], | ||
| }; | ||
| }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7010
3.79%17
30.77%96
4.35%