Skip to content

Commit 647a960

Browse files
committed
chore: lint fixes
1 parent aafbf92 commit 647a960

File tree

17 files changed

+112
-112
lines changed

17 files changed

+112
-112
lines changed

packages/core/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,43 @@
11
{
22
"name": "@adhesivejs/core",
3+
"type": "module",
34
"version": "0.7.7",
45
"description": "A modern, performant, lightweight, dependency free, cross platform solution for flexible sticky positioned elements",
5-
"type": "module",
6-
"keywords": [
7-
"sticky",
8-
"position",
9-
"elements"
10-
],
6+
"author": {
7+
"name": "Daniel Waltz",
8+
"email": "danielbwaltz@gmail.com",
9+
"url": "https://danielwaltz.me/"
10+
},
1111
"license": "MIT",
1212
"homepage": "https://github.com/adhesivejs/adhesive/tree/main/packages/core#readme",
1313
"repository": {
1414
"type": "git",
1515
"url": "git+https://github.com/adhesivejs/adhesive.git",
1616
"directory": "packages/core"
1717
},
18-
"author": {
19-
"name": "Daniel Waltz",
20-
"email": "danielbwaltz@gmail.com",
21-
"url": "https://danielwaltz.me/"
22-
},
23-
"files": [
24-
"dist"
18+
"keywords": [
19+
"sticky",
20+
"position",
21+
"elements"
2522
],
26-
"main": "./dist/index.js",
27-
"module": "./dist/index.js",
28-
"types": "./dist/index.d.ts",
2923
"exports": {
3024
".": "./dist/index.js",
3125
"./package.json": "./package.json"
3226
},
27+
"main": "./dist/index.js",
28+
"module": "./dist/index.js",
29+
"types": "./dist/index.d.ts",
30+
"files": [
31+
"dist"
32+
],
3333
"publishConfig": {
3434
"access": "public",
3535
"provenance": true,
3636
"registry": "https://registry.npmjs.org/"
3737
},
38+
"engines": {
39+
"node": "^20.19.0 || >=22.12.0"
40+
},
3841
"scripts": {
3942
"build": "tsdown",
4043
"lint": "eslint",
@@ -46,8 +49,5 @@
4649
"test:publint": "publint",
4750
"test:publish": "pnpm test:attw && pnpm test:jsr && pnpm test:publint",
4851
"type-check": "tsc --noEmit"
49-
},
50-
"engines": {
51-
"node": "^20.19.0 || >=22.12.0"
5252
}
5353
}

packages/react/package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,44 @@
11
{
22
"name": "@adhesivejs/react",
3+
"type": "module",
34
"version": "0.7.7",
45
"description": "React adapter for Adhesive - A modern, performant, lightweight, dependency free, cross platform solution for flexible sticky positioned elements",
5-
"type": "module",
6-
"keywords": [
7-
"sticky",
8-
"position",
9-
"elements",
10-
"react"
11-
],
6+
"author": {
7+
"name": "Daniel Waltz",
8+
"email": "danielbwaltz@gmail.com",
9+
"url": "https://danielwaltz.me/"
10+
},
1211
"license": "MIT",
1312
"homepage": "https://github.com/adhesivejs/adhesive/tree/main/packages/react#readme",
1413
"repository": {
1514
"type": "git",
1615
"url": "git+https://github.com/adhesivejs/adhesive.git",
1716
"directory": "packages/react"
1817
},
19-
"author": {
20-
"name": "Daniel Waltz",
21-
"email": "danielbwaltz@gmail.com",
22-
"url": "https://danielwaltz.me/"
23-
},
24-
"files": [
25-
"dist"
18+
"keywords": [
19+
"sticky",
20+
"position",
21+
"elements",
22+
"react"
2623
],
27-
"main": "./dist/index.js",
28-
"module": "./dist/index.js",
29-
"types": "./dist/index.d.ts",
3024
"exports": {
3125
".": "./dist/index.js",
3226
"./package.json": "./package.json"
3327
},
28+
"main": "./dist/index.js",
29+
"module": "./dist/index.js",
30+
"types": "./dist/index.d.ts",
31+
"files": [
32+
"dist"
33+
],
3434
"publishConfig": {
3535
"access": "public",
3636
"provenance": true,
3737
"registry": "https://registry.npmjs.org/"
3838
},
39+
"engines": {
40+
"node": "^20.19.0 || >=22.12.0"
41+
},
3942
"scripts": {
4043
"build": "tsdown",
4144
"lint": "eslint",
@@ -56,8 +59,5 @@
5659
},
5760
"devDependencies": {
5861
"@types/react": "catalog:"
59-
},
60-
"engines": {
61-
"node": "^20.19.0 || >=22.12.0"
6262
}
6363
}

packages/react/src/index.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
export {
2+
AdhesiveContainer,
3+
type AdhesiveContainerProps,
4+
} from "./components/AdhesiveContainer.js";
5+
6+
export { useAdhesive, type UseAdhesiveOptions } from "./hooks/useAdhesive.js";
7+
18
export {
29
Adhesive,
310
ADHESIVE_POSITION,
@@ -8,10 +15,3 @@ export {
815
type AdhesiveState,
916
type AdhesiveStatus,
1017
} from "@adhesivejs/core";
11-
12-
export {
13-
AdhesiveContainer,
14-
type AdhesiveContainerProps,
15-
} from "./components/AdhesiveContainer.js";
16-
17-
export { useAdhesive, type UseAdhesiveOptions } from "./hooks/useAdhesive.js";

packages/svelte/package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,39 @@
11
{
22
"name": "@adhesivejs/svelte",
3+
"type": "module",
34
"version": "0.7.7",
45
"description": "Svelte adapter for Adhesive - A modern, performant, lightweight, dependency free, cross platform solution for flexible sticky positioned elements",
5-
"type": "module",
6-
"keywords": [
7-
"sticky",
8-
"position",
9-
"elements",
10-
"svelte"
11-
],
6+
"author": {
7+
"name": "Daniel Waltz",
8+
"email": "danielbwaltz@gmail.com",
9+
"url": "https://danielwaltz.me/"
10+
},
1211
"license": "MIT",
1312
"homepage": "https://github.com/adhesivejs/adhesive/tree/main/packages/svelte#readme",
1413
"repository": {
1514
"type": "git",
1615
"url": "git+https://github.com/adhesivejs/adhesive.git",
1716
"directory": "packages/svelte"
1817
},
19-
"author": {
20-
"name": "Daniel Waltz",
21-
"email": "danielbwaltz@gmail.com",
22-
"url": "https://danielwaltz.me/"
23-
},
24-
"files": [
25-
"dist"
18+
"keywords": [
19+
"sticky",
20+
"position",
21+
"elements",
22+
"svelte"
2623
],
27-
"main": "./dist/index.js",
28-
"module": "./dist/index.js",
29-
"types": "./dist/index.d.ts",
3024
"exports": {
3125
".": "./dist/index.js",
3226
"./package.json": "./package.json"
3327
},
28+
"main": "./dist/index.js",
29+
"module": "./dist/index.js",
30+
"types": "./dist/index.d.ts",
31+
"files": [
32+
"dist"
33+
],
34+
"engines": {
35+
"node": "^20.19.0 || >=22.12.0"
36+
},
3437
"scripts": {
3538
"build": "tsdown",
3639
"lint": "eslint",
@@ -48,8 +51,5 @@
4851
},
4952
"dependencies": {
5053
"@adhesivejs/core": "workspace:*"
51-
},
52-
"engines": {
53-
"node": "^20.19.0 || >=22.12.0"
5454
}
5555
}

packages/svelte/src/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
export {
2+
adhesive,
3+
type AdhesiveAttachmentOptions,
4+
} from "./attachments/AdhesiveAttachment.js";
5+
16
export {
27
Adhesive,
38
ADHESIVE_POSITION,
@@ -8,8 +13,3 @@ export {
813
type AdhesiveState,
914
type AdhesiveStatus,
1015
} from "@adhesivejs/core";
11-
12-
export {
13-
adhesive,
14-
type AdhesiveAttachmentOptions,
15-
} from "./attachments/AdhesiveAttachment.js";

packages/vue/package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,44 @@
11
{
22
"name": "@adhesivejs/vue",
3+
"type": "module",
34
"version": "0.7.7",
45
"description": "Vue adapter for Adhesive - A modern, performant, lightweight, dependency free, cross platform solution for flexible sticky positioned elements",
5-
"type": "module",
6-
"keywords": [
7-
"sticky",
8-
"position",
9-
"elements",
10-
"vue"
11-
],
6+
"author": {
7+
"name": "Daniel Waltz",
8+
"email": "danielbwaltz@gmail.com",
9+
"url": "https://danielwaltz.me/"
10+
},
1211
"license": "MIT",
1312
"homepage": "https://github.com/adhesivejs/adhesive/tree/main/packages/vue#readme",
1413
"repository": {
1514
"type": "git",
1615
"url": "git+https://github.com/adhesivejs/adhesive.git",
1716
"directory": "packages/vue"
1817
},
19-
"author": {
20-
"name": "Daniel Waltz",
21-
"email": "danielbwaltz@gmail.com",
22-
"url": "https://danielwaltz.me/"
23-
},
24-
"files": [
25-
"dist"
18+
"keywords": [
19+
"sticky",
20+
"position",
21+
"elements",
22+
"vue"
2623
],
27-
"main": "./dist/index.js",
28-
"module": "./dist/index.js",
29-
"types": "./dist/index.d.ts",
3024
"exports": {
3125
".": "./dist/index.js",
3226
"./package.json": "./package.json"
3327
},
28+
"main": "./dist/index.js",
29+
"module": "./dist/index.js",
30+
"types": "./dist/index.d.ts",
31+
"files": [
32+
"dist"
33+
],
3434
"publishConfig": {
3535
"access": "public",
3636
"provenance": true,
3737
"registry": "https://registry.npmjs.org/"
3838
},
39+
"engines": {
40+
"node": "^20.19.0 || >=22.12.0"
41+
},
3942
"scripts": {
4043
"build": "tsdown",
4144
"lint": "eslint",
@@ -56,8 +59,5 @@
5659
},
5760
"devDependencies": {
5861
"vue-tsc": "catalog:"
59-
},
60-
"engines": {
61-
"node": "^20.19.0 || >=22.12.0"
6262
}
6363
}

packages/vue/src/index.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
export {
2-
Adhesive,
3-
ADHESIVE_POSITION,
4-
ADHESIVE_STATUS,
5-
AdhesiveError,
6-
type AdhesiveOptions,
7-
type AdhesivePosition,
8-
type AdhesiveState,
9-
type AdhesiveStatus,
10-
} from "@adhesivejs/core";
11-
121
export {
132
AdhesiveContainer,
143
type AdhesiveContainerEmits,
@@ -25,3 +14,14 @@ export {
2514
type AdhesiveDirective,
2615
type AdhesiveDirectiveBinding,
2716
} from "./directives/vAdhesive.js";
17+
18+
export {
19+
Adhesive,
20+
ADHESIVE_POSITION,
21+
ADHESIVE_STATUS,
22+
AdhesiveError,
23+
type AdhesiveOptions,
24+
type AdhesivePosition,
25+
type AdhesiveState,
26+
type AdhesiveStatus,
27+
} from "@adhesivejs/core";

playground/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@adhesivejs/playground-core",
3-
"private": true,
43
"type": "module",
4+
"private": true,
55
"scripts": {
66
"dev": "vite",
77
"build": "tsc && vite build",

playground/core/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"noUnusedLocals": true,
1717
"noUnusedParameters": true,
1818
"noEmit": true,
19-
"erasableSyntaxOnly": true,
2019
"verbatimModuleSyntax": true,
20+
"erasableSyntaxOnly": true,
2121
"skipLibCheck": true,
2222
"noUncheckedSideEffectImports": true
2323
},

playground/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@adhesivejs/playground-react",
3-
"private": true,
43
"type": "module",
4+
"private": true,
55
"scripts": {
66
"dev": "vite",
77
"build": "tsc -b && vite build",

0 commit comments

Comments
 (0)