|
22 | 22 | "lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern", |
23 | 23 | "lint:js": "eslint . --cache", |
24 | 24 | "lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern", |
25 | | - "lint:js:fix": "eslint . --fix",<% if (typescript) { %> |
26 | | - "lint:types": "ember-tsc --noEmit",<% } %> |
| 25 | + "lint:js:fix": "eslint . --fix<% if (typescript) { %>", |
| 26 | + "lint:types": "ember-tsc --noEmit<% } %>", |
27 | 27 | "start": "vite dev", |
28 | 28 | "test": "vite build --mode=development --out-dir dist-tests && testem --file testem.cjs ci --port 0", |
29 | 29 | "prepack": "rollup --config" |
|
34 | 34 | }, |
35 | 35 | "devDependencies": { |
36 | 36 | "@babel/core": "^7.25.2", |
37 | | - "@babel/eslint-parser": "^7.25.1",<% if (typescript) { %> |
38 | | - "@babel/plugin-transform-typescript": "^7.25.2",<% } %> |
| 37 | + "@babel/eslint-parser": "^7.25.1<% if (typescript) { %>", |
| 38 | + "@babel/plugin-transform-typescript": "^7.25.2<% } %>", |
39 | 39 | "@babel/runtime": "^7.25.6", |
40 | 40 | "@ember/app-tsconfig": "^1.0.0", |
41 | 41 | "@ember/library-tsconfig": "^1.0.0", |
|
47 | 47 | "@embroider/macros": "^1.18.0", |
48 | 48 | "@embroider/vite": "^1.1.5", |
49 | 49 | "@eslint/js": "^9.17.0", |
50 | | - "@glimmer/component": "^2.0.0",<% if (typescript) { %> |
| 50 | + "@glimmer/component": "^2.0.0<% if (typescript) { %>", |
51 | 51 | "@glint/ember-tsc": "^1.0.3", |
52 | 52 | "@glint/template": "^1.6.1", |
53 | | - "@glint/tsserver-plugin": "^2.0.0",<% } %> |
54 | | - "@rollup/plugin-babel": "^6.0.4",<% if (typescript) { %> |
55 | | - "@types/qunit": "^2.19.12",<% } %> |
| 53 | + "@glint/tsserver-plugin": "^2.0.0<% } %>", |
| 54 | + "@rollup/plugin-babel": "^6.0.4<% if (typescript) { %>", |
| 55 | + "@types/qunit": "^2.19.12<% } %>", |
56 | 56 | "babel-plugin-ember-template-compilation": "^2.2.5", |
57 | 57 | "concurrently": "^9.0.1", |
58 | 58 | "ember-qunit": "^9.0.2", |
59 | | - "ember-source": "^6.3.0", |
| 59 | + "ember-source": "^6.7.0", |
60 | 60 | "ember-strict-application-resolver": "^0.1.0", |
61 | 61 | "ember-template-lint": "^7.9.0", |
62 | 62 | "eslint": "^9.17.0", |
|
70 | 70 | "qunit": "^2.24.1", |
71 | 71 | "qunit-dom": "^3.4.0", |
72 | 72 | "rollup": "^4.22.5", |
73 | | - "testem": "^3.15.1",<% if (typescript) { %> |
| 73 | + "testem": "^3.15.1<% if (typescript) { %>", |
74 | 74 | "typescript": "~5.8.3", |
75 | | - "typescript-eslint": "^8.19.1",<% } %> |
76 | | - "vite": "^6.2.4" |
| 75 | + "typescript-eslint": "^8.19.1<% } %>", |
| 76 | + "vite": "^7.1.9" |
77 | 77 | }, |
78 | 78 | "ember": { |
79 | 79 | "edition": "octane" |
|
86 | 86 | "imports": { |
87 | 87 | "#src/*": "./src/*" |
88 | 88 | }, |
89 | | - "exports": {<% if (typescript) { %> |
| 89 | + "exports": { |
90 | 90 | ".": { |
91 | | - "types": "./declarations/index.d.ts", |
92 | | - "default": "./dist/index.js" |
| 91 | + "<% if (typescript) { %>types": "./declarations/index.d.ts", |
| 92 | + "<% } %> default": "./dist/index.js" |
93 | 93 | }, |
| 94 | + "./addon-main.js": "./addon-main.cjs", |
94 | 95 | "./*.css": "./dist/*.css", |
95 | 96 | "./*": { |
96 | | - "types": "./declarations/*.d.ts", |
97 | | - "default": "./dist/*.js" |
98 | | - },<% } else { %> |
99 | | - ".": "./dist/index.js", |
100 | | - "./*.css": "./dist/*.css", |
101 | | - "./*": "./dist/*.js",<% } %> |
102 | | - "./addon-main.js": "./addon-main.cjs" |
103 | | - }<% if (typescript) { %>, |
104 | | - "typesVersions": { |
105 | | - "*": { |
106 | | - "*": [ |
107 | | - "declarations/*" |
108 | | - ] |
| 97 | + "<% if (typescript) { %>types": "./declarations/*.d.ts", |
| 98 | + "<% } %>default": "./dist/*.js" |
109 | 99 | } |
110 | | - }<% } %> |
| 100 | + } |
111 | 101 | } |
0 commit comments