🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@autometa/types

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@autometa/types - npm Package Compare versions

Comparing version
0.3.0
to
0.3.1
+1
dist/array-element.d.ts
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 @@

CJS dist/index.js 1.24 KB
CJS ⚡️ Build success in 140ms
CJS ⚡️ Build success in 63ms
ESM dist/esm/index.js 223.00 B
ESM ⚡️ Build success in 137ms
DTS Build start
DTS ⚡️ Build success in 15951ms
DTS dist/index.d.ts 702.00 B
ESM ⚡️ 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
# 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 @@

@@ -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";
{
"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"
}

@@ -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