|
18 | 18 | "declarations/test-support/index.d.ts"
|
19 | 19 | ],
|
20 | 20 | "markdown/parse": [
|
21 |
| - "./declarations/browser/compile/markdown-to-ember.d.ts" |
| 21 | + "./declarations/compile/markdown-to-ember.d.ts" |
22 | 22 | ],
|
23 | 23 | "*": [
|
24 |
| - "declarations/browser/*", |
25 |
| - "declarations/browser/*/index.d.ts" |
| 24 | + "declarations/*", |
| 25 | + "declarations/*/index.d.ts" |
26 | 26 | ]
|
27 | 27 | }
|
28 | 28 | },
|
29 | 29 | "exports": {
|
30 | 30 | ".": {
|
31 |
| - "types": "./declarations/browser/index.d.ts", |
32 |
| - "default": "./dist/browser/index.js" |
| 31 | + "types": "./declarations/index.d.ts", |
| 32 | + "default": "./dist/index.js" |
33 | 33 | },
|
34 |
| - "./esm": { |
35 |
| - "types": "./declarations/browser/esm/index.d.ts", |
36 |
| - "default": "./dist/browser/esm/index.js" |
| 34 | + "./formats/markdown": { |
| 35 | + "types": "./declarations/compile/formats/markdown.d.ts", |
| 36 | + "default": "./dist/compile/formats/markdown.js" |
37 | 37 | },
|
38 |
| - "./markdown/parse": { |
39 |
| - "types": "./declarations/browser/compile/markdown-to-ember.d.ts", |
40 |
| - "default": "./dist/browser/compile/markdown-to-ember.js" |
| 38 | + "./formats/hbs": { |
| 39 | + "types": "./declarations/compile/formats/hbs.d.ts", |
| 40 | + "default": "./dist/compile/formats/hbs.js" |
| 41 | + }, |
| 42 | + "./formats/gjs": { |
| 43 | + "types": "./declarations/compile/formats/gjs/index.d.ts", |
| 44 | + "default": "./dist/compile/formats/gjs/index.js" |
41 | 45 | },
|
42 | 46 | "./test-support": {
|
43 | 47 | "types": "./declarations/test-support/index.d.ts",
|
44 | 48 | "default": "./dist/test-support/index.js"
|
45 | 49 | },
|
46 | 50 | "./__PRIVATE__DO_NOT_USE__": {
|
47 |
| - "types": "./declarations/browser/__PRIVATE__.d.ts", |
48 |
| - "default": "./dist/browser/__PRIVATE__.js" |
| 51 | + "types": "./declarations/__PRIVATE__.d.ts", |
| 52 | + "default": "./dist/__PRIVATE__.js" |
49 | 53 | },
|
50 | 54 | "./addon-main.js": "./addon-main.cjs"
|
51 | 55 | },
|
|
56 | 60 | "addon-main.cjs"
|
57 | 61 | ],
|
58 | 62 | "scripts": {
|
59 |
| - "build": "concurrently 'npm:build:*'", |
60 |
| - "build:js": "rollup --config", |
| 63 | + "build": "rollup --config", |
61 | 64 | "lint:types": "tsc --noEmit",
|
62 | 65 | "lint:fix": "pnpm -w exec lint fix",
|
63 | 66 | "start": "rollup --config --watch",
|
|
68 | 71 | "lint:hbs": "pnpm -w exec lint hbs",
|
69 | 72 | "lint:hbs:fix": "pnpm -w exec lint hbs:fix",
|
70 | 73 | "lint:prettier:fix": "pnpm -w exec lint prettier:fix",
|
71 |
| - "lint:prettier": "pnpm -w exec lint prettier", |
72 |
| - "build:types": "tsc --emitDeclarationOnly --noEmit false" |
| 74 | + "lint:prettier": "pnpm -w exec lint prettier" |
73 | 75 | },
|
74 | 76 | "dependencies": {
|
| 77 | + "ember-resources": ">= 6.4.2", |
75 | 78 | "@babel/helper-plugin-utils": "^7.22.5",
|
76 | 79 | "@babel/standalone": "^7.23.10",
|
77 | 80 | "@embroider/addon-shim": "1.8.7",
|
|
139 | 142 | "eslint-plugin-ember": "^12.0.0",
|
140 | 143 | "eslint-plugin-node": "^11.1.0",
|
141 | 144 | "eslint-plugin-prettier": "^5.1.3",
|
| 145 | + "execa": "^8.0.1", |
142 | 146 | "prettier": "^3.2.5",
|
143 | 147 | "prettier-plugin-ember-template-tag": "^2.0.0",
|
144 | 148 | "publint": "^0.2.6",
|
|
159 | 163 | "app-js": {}
|
160 | 164 | },
|
161 | 165 | "peerDependencies": {
|
162 |
| - "@glimmer/compiler": ">= 0.86.0", |
163 |
| - "@glimmer/component": "^1.1.2", |
164 |
| - "@glimmer/syntax": ">= 0.86.0", |
165 | 166 | "@glint/template": ">= 1.3.0",
|
166 |
| - "ember-resources": ">= 6.4.2", |
167 |
| - "ember-source": ">= 5.5.0" |
| 167 | + "@glimmer/compiler": ">= 0.86.0", |
| 168 | + "@glimmer/syntax": ">= 0.86.0" |
| 169 | + }, |
| 170 | + "peerDependenciesMeta": { |
| 171 | + "@glint/template": { "optional": true }, |
| 172 | + "@glimmer/compiler": { "optional": true }, |
| 173 | + "@glimmer/syntax": { "optional": true } |
168 | 174 | },
|
169 | 175 | "engines": {
|
170 | 176 | "node": ">= v16",
|
|
0 commit comments