Skip to content

Commit

Permalink
Merge pull request #107 from mittwald/switch-to-unbuild
Browse files Browse the repository at this point in the history
Switch to unbuild because of auto-config
  • Loading branch information
mfal authored Nov 13, 2023
2 parents 720353b + 45473a2 commit 2ce10d8
Show file tree
Hide file tree
Showing 93 changed files with 1,876 additions and 656 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: yarn
- run: yarn test
- run: yarn compile
- run: yarn build
- run:
npm version --no-workspaces-update --no-git-tag-version
${{github.ref_name}}
- run: npm publish --access=public
- run: npm publish --access=public --tag=$(npx auto-dist-tag)
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
1,269 changes: 944 additions & 325 deletions .pnp.cjs

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/cac-npm-6.7.14-c46284e425-002769a0fb.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/glob-npm-7.1.6-1ce3a5189a-7d6ec98bc7.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/mz-npm-2.7.0-ec3cef4ec2-8427de0ece.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/tr46-npm-1.0.1-9547f343a4-6e80d75480.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
31 changes: 11 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,25 @@
"email": "[email protected]"
},
"homepage": "https://github.com/mittwald/react-use-promise#readme",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"type": "module",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
".": "./dist/index.mjs"
},
"scripts": {
"compile": "tsup src/index.ts --format esm,cjs --dts --clean",
"build": "unbuild",
"format": "yarn format:base --write",
"format:base": "prettier $@ '**/*.{ts,tsx,yaml,yml,json,md,mdx}'",
"license-check": "yarn pnpify license-checker-rseidelsohn $*",
"test": "yarn test:format && yarn test:lint && yarn test:compile && yarn test:jest && yarn test:licenses",
"test:compile": "yarn tsc --noEmit",
"test": "yarn test:format && yarn test:lint && yarn test:build && yarn test:jest && yarn test:licenses",
"test:build": "yarn build",
"test:format": "yarn format:base --check",
"test:jest": "node --experimental-vm-modules $(yarn bin jest)",
"test:licenses": "yarn license-check --summary --unknown && yarn license-check --unknown --failOn 'UNLICENSED;UNKNOWN'",
"test:lint": "eslint . --cache",
"test:packages": "yarn all run test"
},
"files": [
"dist/**/*.*"
"dist"
],
"keywords": [
"react",
Expand Down Expand Up @@ -87,20 +81,17 @@
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"tsd": "^0.29.0",
"tsup": "^7.2.0",
"typescript": "~5.2.2"
"typescript": "^5.2.2",
"unbuild": "^2.0.0"
},
"types": "./dist/index.d.ts",
"contributors": [
{
"name": "Marco Falkenberg",
"email": "[email protected]"
}
],
"dependenciesMeta": {
"[email protected]": {
"unplugged": true
}
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"unbuild": {
"declaration": true
}
}
Loading

0 comments on commit 2ce10d8

Please sign in to comment.