Skip to content

Commit

Permalink
Merge pull request #1 from anubra266:release
Browse files Browse the repository at this point in the history
First Release
  • Loading branch information
anubra266 authored Dec 24, 2024
2 parents 8712c43 + f7415e7 commit 00f6009
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 2,386 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Simple Agnostic Scrollspy",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "echo \"No test specified\"",
"site": "pnpm --filter=./site"
},
"keywords": [],
Expand Down
15 changes: 15 additions & 0 deletions packages/zag-scrollspy/clean-package.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"replace": {
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./package.json": "./package.json"
}
}
}
16 changes: 11 additions & 5 deletions packages/zag-scrollspy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zag-scrollspy",
"version": "0.0.0",
"version": "0.1.0",
"description": "Core logic for the scrollspy widget implemented as a state machine",
"keywords": [
"js",
Expand All @@ -18,25 +18,31 @@
"repository": "https://github.com/anubra266/zag-scrollspy/tree/main/packages/zag-scrollspy",
"sideEffects": false,
"files": [
"dist",
"src"
"dist"
],
"scripts": {
"build": "tsup",
"lint": "eslint src",
"typecheck": "tsc --noEmit"
"test": "echo \"No test specified\"",
"typecheck": "tsc --noEmit",
"prepack": "clean-package",
"postpack": "clean-package restore"
},
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/anubra266i/zag-scrollspy/issues"
},
"clean-package": "./clean-package.config.json",
"dependencies": {
"@zag-js/anatomy": "latest",
"@zag-js/core": "latest",
"@zag-js/dom-query": "latest",
"@zag-js/types": "latest",
"@zag-js/utils": "latest"
},
"devDependencies": {
"clean-package": "2.2.0"
}
}
}
Loading

0 comments on commit 00f6009

Please sign in to comment.