Skip to content

Commit

Permalink
version bump, update dist
Browse files Browse the repository at this point in the history
  • Loading branch information
johnchourajr committed Sep 24, 2024
1 parent a8b8a4b commit 4fbe5a2
Show file tree
Hide file tree
Showing 18 changed files with 1,240 additions and 41 deletions.
3 changes: 0 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"extends": "eslint:recommended",
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"rules": {
"semi": ["error", "always"],
"no-undef": "off",
"react/react-in-jsx-scope": "off"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CustomTypeDefinitions } from "../types.ts";
import { CustomTypeDefinitions } from "./types";
type AddUtilities = {
(utilities: Record<string, any>, options?: any): void;
};
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/buenTypeTailwind.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/defaults.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TypeDefinitionHeadlines, TypeDefinitionTexts } from "./types.ts";
import { TypeDefinitionHeadlines, TypeDefinitionTexts } from "./types";
/**
* Default headline object
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/defaults.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*
* ```tsx
* // tailwind.config.ts
* import { buenTypeTailwind } from "@buen/type";
* import { buenTypeTailwind } from "@muybuen/type";
* import { customHeadlines, customTexts } from "./type-config";
*
* function typePlugin({ addUtilities }) {
Expand All @@ -57,29 +57,29 @@
*
* @module
*/
export { buenTypeTailwind } from "./tailwind-plugin/buenTypeTailwind.ts";
export { buenTypeTailwind } from "./buenTypeTailwind";
/**
* A module that provides a function to create a `rem`-based `clamp` function.
*
* @example
* ```ts
* import { createRemClamp } from "@buen/type";
* import { createRemClamp } from "@muybuen/type";
*
* createRemClamp(1, 2, 1024, 1440); // "clamp(1rem, 1rem + 0.06666666666666667vw, 2rem)"
* ```
*
* @module
*/
export { createRemClamp } from "./utils/createRemClamp.ts";
export { createRemClamp } from "./utils/createRemClamp";
/**
* Types for the Buen Type module, for use when implementing custom type definitions.
*
* @module
*/
export type { CustomTypeDefinitions, TypeDefinition, TypeDefinitionHeadlines, TypeDefinitionTexts } from "./types.ts";
export type { CustomTypeDefinitions, TypeDefinition, TypeDefinitionHeadlines, TypeDefinitionTexts, } from "./types.ts";
/**
* Default objects for headline and text definitions.
*
* @module
*/
export { DEFAULT_HEADLINE as headlineDefault, DEFAULT_TEXT as textDefault } from "./defaults.ts";
export { DEFAULT_HEADLINE as headlineDefault, DEFAULT_TEXT as textDefault, } from "./defaults";
10 changes: 5 additions & 5 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dist/tailwind-plugin/buenTypeTailwind.js.map

This file was deleted.

2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@muybuen/type",
"version": "1.1.4",
"version": "1.1.5",
"exports": "./src/index.ts",
"publish": {
"include": ["src/**/*.ts", "src/defaults.ts", "src/types.ts", "README.md"],
Expand Down
Binary file added muybuen-type-1.1.4.tgz
Binary file not shown.
Loading

0 comments on commit 4fbe5a2

Please sign in to comment.