ember-velcro 2.0.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ import VelcroComponent from "./components/velcro/index";
2
+ import VelcroModifier from "./modifiers/velcro";
3
+ interface Registry {
4
+ Velcro: typeof VelcroComponent;
5
+ velcro: typeof VelcroModifier;
6
+ }
7
+ export { Registry as default };
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=template-registry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"template-registry.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-velcro",
3
- "version": "2.0.1",
3
+ "version": "2.1.0",
4
4
  "description": "Ember Velcro sticks one element to another with Floating UI.",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -21,36 +21,23 @@
21
21
  },
22
22
  "exports": {
23
23
  ".": "./dist/index.js",
24
- "./*": "./dist/*",
25
- "./addon-main": "./addon-main.js"
24
+ "./*": {
25
+ "types": "./dist/*.d.ts",
26
+ "default": "./dist/*.js"
27
+ },
28
+ "./addon-main.js": "./addon-main.js"
26
29
  },
27
30
  "typesVersions": {
28
31
  "*": {
29
- "glint": [
30
- "./glint.d.ts"
31
- ],
32
32
  "*": [
33
- "./dist/*"
33
+ "dist/*"
34
34
  ]
35
35
  }
36
36
  },
37
37
  "files": [
38
38
  "addon-main.js",
39
- "dist",
40
- "glint.d.ts"
39
+ "dist"
41
40
  ],
42
- "scripts": {
43
- "build": "rollup --config ./rollup.config.js",
44
- "lint": "concurrently 'npm:lint:*(!fix)' --names 'lint:'",
45
- "lint:fix": "concurrently 'npm:lint:*:fix' --names 'fix:'",
46
- "lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern",
47
- "lint:js": "eslint . --cache",
48
- "lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern",
49
- "lint:js:fix": "eslint . --fix",
50
- "start": "rollup --config --watch",
51
- "test": "echo 'A v2 addon does not have tests, run tests in test-app'",
52
- "prepack": "rollup --config ./rollup.config.js"
53
- },
54
41
  "dependencies": {
55
42
  "@embroider/addon-shim": "^1.0.0",
56
43
  "@floating-ui/dom": "^1.0.1",
@@ -70,8 +57,6 @@
70
57
  "@glint/template": "^1.0.2",
71
58
  "@nullvoxpopuli/eslint-configs": "^2.2.58",
72
59
  "@rollup/plugin-babel": "^5.3.1",
73
- "@semantic-release/changelog": "^6.0.0",
74
- "@semantic-release/git": "^10.0.0",
75
60
  "@types/ember__debug": "^4.0.1",
76
61
  "@types/ember__destroyable": "^4.0.0",
77
62
  "babel-eslint": "^10.1.0",
@@ -93,7 +78,6 @@
93
78
  "rollup": "^2.79.1",
94
79
  "rollup-plugin-copy": "^3.4.0",
95
80
  "rollup-plugin-ts": "^3.0.2",
96
- "semantic-release": "^19.0.0",
97
81
  "typescript": "^4.8.4",
98
82
  "webpack": "^5.74.0"
99
83
  },
@@ -112,18 +96,15 @@
112
96
  "./modifiers/velcro.js": "./dist/_app_/modifiers/velcro.js"
113
97
  }
114
98
  },
115
- "release": {
116
- "branches": [
117
- "main",
118
- "master"
119
- ],
120
- "plugins": [
121
- "@semantic-release/commit-analyzer",
122
- "@semantic-release/release-notes-generator",
123
- "@semantic-release/changelog",
124
- "@semantic-release/npm",
125
- "@semantic-release/github",
126
- "@semantic-release/git"
127
- ]
99
+ "scripts": {
100
+ "build": "rollup --config ./rollup.config.js",
101
+ "lint": "concurrently 'npm:lint:*(!fix)' --names 'lint:'",
102
+ "lint:fix": "concurrently 'npm:lint:*:fix' --names 'fix:'",
103
+ "lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern",
104
+ "lint:js": "eslint . --cache",
105
+ "lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern",
106
+ "lint:js:fix": "eslint . --fix",
107
+ "start": "rollup --config --watch",
108
+ "test": "echo 'A v2 addon does not have tests, run tests in test-app'"
128
109
  }
129
- }
110
+ }
package/glint.d.ts DELETED
@@ -1,11 +0,0 @@
1
- import '@glint/environment-ember-loose';
2
-
3
- import type VelcroComponent from './dist/components/velcro';
4
- import type VelcroModifier from './dist/modifiers/velcro';
5
-
6
- declare module '@glint/environment-ember-loose/registry' {
7
- export default interface Registry {
8
- Velcro: typeof VelcroComponent;
9
- velcro: typeof VelcroModifier;
10
- }
11
- }