Skip to content

Commit

Permalink
Rename to fn-try
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnault committed Nov 5, 2023
1 parent 044fde3 commit 745e767
Show file tree
Hide file tree
Showing 7 changed files with 234 additions and 232 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"name": "try-fn",
"name": "fn-try",
"version": "1.0.0-semantic-release",
"description": "TODO",
"main": "./dist/cjs/try-fn.js",
"module": "./dist/esm/try-fn.mjs",
"types": "./dist/try-fn.d.ts",
"main": "./dist/cjs/fn-try.js",
"module": "./dist/esm/fn-try.mjs",
"types": "./dist/fn-try.d.ts",
"exports": {
".": {
"types": "./dist/try-fn.d.ts",
"require": "./dist/cjs/try-fn.js",
"import": "./dist/esm/try-fn.mjs"
"types": "./dist/fn-try.d.ts",
"require": "./dist/cjs/fn-try.js",
"import": "./dist/esm/fn-try.mjs"
},
"./package.json": "./package.json"
},
"author": "Alex Nault",
"keywords": [
"try-fn"
"fn-try"
],
"license": "MIT",
"repository": "https://github.com/alexnault/try-fn",
"homepage": "https://github.com/alexnault/try-fn#readme",
"repository": "https://github.com/alexnault/fn-try",
"homepage": "https://github.com/alexnault/fn-try#readme",
"scripts": {
"build": "rm -rf ./dist && rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript",
"format": "prettier ./ --write",
Expand Down
6 changes: 3 additions & 3 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ const config: RollupOptions[] = [
plugins: [esbuild(), terser()],
output: [
{
file: `dist/cjs/try-fn.js`,
file: `dist/cjs/fn-try.js`,
format: "cjs",
exports: "named",
strict: false, // Don't emit "use strict" in output
},
{
file: `dist/esm/try-fn.mjs`,
file: `dist/esm/fn-try.mjs`,
format: "es",
},
],
Expand All @@ -24,7 +24,7 @@ const config: RollupOptions[] = [
input: "src/index.ts",
plugins: [dts()],
output: {
file: `dist/try-fn.d.ts`,
file: `dist/fn-try.d.ts`,
format: "es",
},
},
Expand Down
217 changes: 0 additions & 217 deletions tests/index.test.ts

This file was deleted.

Loading

0 comments on commit 745e767

Please sign in to comment.