Skip to content

Commit

Permalink
Merge branch 'development' into ubq-development
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Nov 8, 2024
2 parents eb7c9ec + 516c6da commit 5f4f500
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/jest-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
with:
node-version: "20.10.0"

- uses: oven-sh/setup-bun@v2

- uses: actions/checkout@master
with:
fetch-depth: 0
Expand Down
21 changes: 21 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,32 @@
"module": "dist/index.mjs",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"manifest": [
"dist/manifest.d.ts"
],
"constants": [
"dist/constants.d.ts"
]
}
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./manifest": {
"types": "./dist/manifest.d.ts",
"import": "./dist/manifest.mjs",
"require": "./dist/manifest.js"
},
"./constants": {
"types": "./dist/constants.d.ts",
"import": "./dist/constants.mjs",
"require": "./dist/constants.js"
}
},
"files": [
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ export { createPlugin } from "./server";
export { createActionsPlugin } from "./actions";
export { postComment } from "./comment";
export type { Context } from "./context";
export * from "./constants";
export type { Manifest } from "./types/manifest";
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/* Modules */
"module": "commonjs" /* Specify what module code is generated. */,
// "rootDir": "./", /* Specify the root folder within your source files. */
"moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */,
"moduleResolution": "Node" /* Specify how TypeScript looks up a file from a given module specifier. */,
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineConfig } from "tsup";

export default defineConfig({
entry: ["src/index.ts"],
entry: { index: "src/index.ts", manifest: "src/types/manifest.ts", constants: "src/constants.ts" },
format: ["cjs", "esm"],
outDir: "dist",
splitting: false,
Expand Down

0 comments on commit 5f4f500

Please sign in to comment.