|
15 | 15 | "import": "./dist/components/header/index.esm.js", |
16 | 16 | "require": "./dist/components/header/index.js" |
17 | 17 | }, |
| 18 | + "./components/layout/header": { |
| 19 | + "types": "./dist/components/header/index.d.ts", |
| 20 | + "import": "./dist/components/header/index.esm.js", |
| 21 | + "require": "./dist/components/header/index.js" |
| 22 | + }, |
| 23 | + "./components/loginButton": { |
| 24 | + "types": "./dist/components/loginButton/index.d.ts", |
| 25 | + "import": "./dist/components/loginButton/index.esm.js", |
| 26 | + "require": "./dist/components/loginButton/index.js" |
| 27 | + }, |
18 | 28 | "./components/login-button": { |
19 | 29 | "types": "./dist/components/loginButton/index.d.ts", |
20 | 30 | "import": "./dist/components/loginButton/index.esm.js", |
21 | 31 | "require": "./dist/components/loginButton/index.js" |
22 | 32 | }, |
| 33 | + "./components/auth/login-button": { |
| 34 | + "types": "./dist/components/loginButton/index.d.ts", |
| 35 | + "import": "./dist/components/loginButton/index.esm.js", |
| 36 | + "require": "./dist/components/loginButton/index.js" |
| 37 | + }, |
| 38 | + "./components/auth/signup-button": { |
| 39 | + "types": "./dist/components/signupButton/index.d.ts", |
| 40 | + "import": "./dist/components/signupButton/index.esm.js", |
| 41 | + "require": "./dist/components/signupButton/index.js" |
| 42 | + }, |
23 | 43 | "./components/signup-button": { |
24 | 44 | "types": "./dist/components/signupButton/index.d.ts", |
25 | 45 | "import": "./dist/components/signupButton/index.esm.js", |
26 | 46 | "require": "./dist/components/signupButton/index.js" |
27 | 47 | }, |
| 48 | + "./components/media/photo-capture": { |
| 49 | + "types": "./dist/components/photoCapture/index.d.ts", |
| 50 | + "import": "./dist/components/photoCapture/index.esm.js", |
| 51 | + "require": "./dist/components/photoCapture/index.js" |
| 52 | + }, |
| 53 | + "./components/photo-capture": { |
| 54 | + "types": "./dist/components/photoCapture/index.d.ts", |
| 55 | + "import": "./dist/components/photoCapture/index.esm.js", |
| 56 | + "require": "./dist/components/photoCapture/index.js" |
| 57 | + }, |
| 58 | + "./components/actions/button": { |
| 59 | + "types": "./dist/components/button/index.d.ts", |
| 60 | + "import": "./dist/components/button/index.esm.js", |
| 61 | + "require": "./dist/components/button/index.js" |
| 62 | + }, |
| 63 | + "./components/button": { |
| 64 | + "types": "./dist/components/button/index.d.ts", |
| 65 | + "import": "./dist/components/button/index.esm.js", |
| 66 | + "require": "./dist/components/button/index.js" |
| 67 | + }, |
28 | 68 | "./components/footer": { |
29 | 69 | "types": "./dist/components/footer/index.d.ts", |
30 | 70 | "import": "./dist/components/footer/index.esm.js", |
31 | 71 | "require": "./dist/components/footer/index.js" |
| 72 | + }, |
| 73 | + "./components/layout/footer": { |
| 74 | + "types": "./dist/components/footer/index.d.ts", |
| 75 | + "import": "./dist/components/footer/index.esm.js", |
| 76 | + "require": "./dist/components/footer/index.js" |
| 77 | + }, |
| 78 | + "./components/forms/select": { |
| 79 | + "types": "./dist/components/select/index.d.ts", |
| 80 | + "import": "./dist/components/select/index.esm.js", |
| 81 | + "require": "./dist/components/select/index.js" |
| 82 | + }, |
| 83 | + "./components/select": { |
| 84 | + "types": "./dist/components/select/index.d.ts", |
| 85 | + "import": "./dist/components/select/index.esm.js", |
| 86 | + "require": "./dist/components/select/index.js" |
| 87 | + }, |
| 88 | + "./components/forms/combobox": { |
| 89 | + "types": "./dist/components/combobox/index.d.ts", |
| 90 | + "import": "./dist/components/combobox/index.esm.js", |
| 91 | + "require": "./dist/components/combobox/index.js" |
| 92 | + }, |
| 93 | + "./components/combobox": { |
| 94 | + "types": "./dist/components/combobox/index.d.ts", |
| 95 | + "import": "./dist/components/combobox/index.esm.js", |
| 96 | + "require": "./dist/components/combobox/index.js" |
32 | 97 | } |
33 | 98 | }, |
34 | 99 | "files": [ |
|
38 | 103 | ], |
39 | 104 | "scripts": { |
40 | 105 | "clean": "rm -rf ./dist ./src/versionInfo.ts ./docs/api .tsbuildinfo", |
41 | | - "build": "npm run clean && npm run typecheck && npm run build-version && npm run build-dist && npm run build-js && npm run postbuild-js && npm run build-storybook", |
| 106 | + "build": "npm run clean && npm run sync-component-exports && npm run typecheck && npm run build-version && npm run build-dist && npm run build-js && npm run postbuild-js && npm run build-storybook", |
42 | 107 | "build-version": "sh ./timestamp.sh > src/versionInfo.ts && eslint 'src/versionInfo.ts' --fix", |
43 | 108 | "prebuild-js": "rm -f .tsbuildinfo", |
44 | 109 | "build-js": "tsc", |
| 110 | + "sync-component-exports": "node scripts/sync-component-exports.mjs", |
45 | 111 | "postbuild-js": "rm -f dist/versionInfo.d.ts dist/versionInfo.d.ts.map && node scripts/build-component-dts.mjs", |
46 | 112 | "build-dist": "webpack --progress", |
47 | 113 | "build-form-examples": "npm run build-js && npm run build-version && npm run build-dist && cp ./dist/solid-ui.js ./docs/form-examples/", |
|
54 | 120 | "test-debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --watch", |
55 | 121 | "watch:js": "tsc --watch --preserveWatchOutput", |
56 | 122 | "watch:component-dts": "node scripts/watch-component-dts.mjs", |
| 123 | + "watch:component-exports": "node scripts/watch-component-exports.mjs", |
57 | 124 | "watch:dist": "webpack --watch --mode development", |
58 | | - "watch": "npm run build-version && npm run build-js && npm run postbuild-js && sh -c 'npm run watch:js & npm run watch:component-dts & npm run watch:dist & wait'", |
59 | | - "dev": "npm run build-version && sh -c 'npm run watch:js & npm run watch:component-dts & npm run watch:dist & wait'", |
| 125 | + "watch": "npm run sync-component-exports && npm run build-version && npm run build-js && npm run postbuild-js && sh -c 'npm run watch:js & npm run watch:component-dts & npm run watch:component-exports & npm run watch:dist & wait'", |
| 126 | + "dev": "npm run sync-component-exports && npm run build-version && sh -c 'npm run watch:js & npm run watch:component-dts & npm run watch:component-exports & npm run watch:dist & wait'", |
60 | 127 | "doc": "typedoc --out ./docs/api/ ./src/ --excludeInternal", |
61 | 128 | "prepublishOnly": "npm run build && npm run lint && npm test && npm run doc", |
62 | | - "preversion": "npm run lint && npm run typecheck && npm test", |
| 129 | + "preversion": "npm run sync-component-exports && npm run lint && npm run typecheck && npm test", |
63 | 130 | "postpublish": "git push origin main --follow-tags", |
64 | 131 | "storybook": "storybook dev -p 6006", |
65 | 132 | "build-storybook": "storybook build --output-dir ./examples/storybook" |
|
0 commit comments