chore(react): pnpm developer workflow for live reload

This commit is contained in:
Sean Perkins
2024-01-29 21:29:27 -05:00
parent fb48489803
commit a75e6dd8d9
5 changed files with 29 additions and 38 deletions

View File

@@ -258,4 +258,13 @@ export const config: Config = {
globalScript: 'src/global/ionic-global.ts',
enableCache: true,
transformAliasedImportPaths: true,
/**
* Creates the `dist` directory and runs the output targets
* when the Stencil dev server rebuilds.
*
* This option adds ~20s to the dev server startup time.
* You can disable it locally if you are not testing the
* custom elements output in the framework projects.
*/
buildDist: true
};

View File

@@ -60,8 +60,11 @@
"engines": {
"node": ">= 16"
},
"resolutions": {
"@types/react": "^17.0.53",
"react": "^17.0.2"
"pnpm": {
"overrides": {
"@types/react": "^17.0.53",
"@ionic/core": "workspace:../../../../core",
"react": "^17.0.2"
}
}
}

View File

@@ -6,6 +6,7 @@ settings:
overrides:
'@types/react': ^17.0.53
'@ionic/core': workspace:../../../../core
react: ^17.0.2
importers:
@@ -86,8 +87,8 @@ importers:
../../..:
dependencies:
'@ionic/core':
specifier: ^7.6.6
version: 7.6.6
specifier: workspace:../../../../core
version: link:../../../../core
ionicons:
specifier: ^7.0.0
version: 7.2.2
@@ -1893,14 +1894,6 @@ packages:
/@humanwhocodes/object-schema@1.2.1:
resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==}
/@ionic/core@7.6.6:
resolution: {integrity: sha512-WstnLHiR8ipW2ASdO/eqSwgMHCuVvJE3qsUNPHWkup9f08/bcbKYZpOfaWNLw/ftNqEpFbjiRuocoYYyLP0/gw==}
dependencies:
'@stencil/core': 4.11.0
ionicons: 7.2.2
tslib: 2.4.0
dev: false
/@ionic/eslint-config@0.3.0(eslint@7.32.0)(typescript@4.7.3):
resolution: {integrity: sha512-Uf1hS2YIoHlcvXPF5LnsPM6auMewEdChQhR117Rt3sVEAutbyKMpFP4slNC2a6up3a5Q34zepqlf61Qgkf9XeQ==}
peerDependencies:
@@ -2725,12 +2718,6 @@ packages:
hasBin: true
dev: false
/@stencil/core@4.11.0:
resolution: {integrity: sha512-zsKhgIkTGo+s7IthitxR/MKiMS3Ck1yIypOdXr0aE6ofboKqe9NdffTcxZ0vel0wD2bZYOb6WfPMzuhRKk6+FA==}
engines: {node: '>=16.0.0', npm: '>=7.10.0'}
hasBin: true
dev: false
/@stencil/core@4.9.0:
resolution: {integrity: sha512-aWSkhBmk3yPwRAkUwBbzRwmdhb8hKiQ/JMr9m5jthpBZLjtppYbzz6PN2MhSMDfRp6K93eQw5WogSEH4HHuB6w==}
engines: {node: '>=16.0.0', npm: '>=7.10.0'}
@@ -11822,6 +11809,7 @@ packages:
react: 17.0.2
scheduler: 0.19.1
dev: true
bundledDependencies: false
/react-dom@17.0.2(react@17.0.2):
resolution: {integrity: sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==}

View File

@@ -46,8 +46,11 @@
"engines": {
"node": ">= 16"
},
"resolutions": {
"@types/react": "^18.0.27",
"react": "^18.2.0"
"pnpm": {
"overrides": {
"@types/react": "^18.0.27",
"@ionic/core": "workspace:../../../../core",
"react": "^18.2.0"
}
}
}

View File

@@ -6,6 +6,7 @@ settings:
overrides:
'@types/react': ^18.0.27
'@ionic/core': workspace:../../../../core
react: ^18.2.0
importers:
@@ -98,8 +99,8 @@ importers:
../../..:
dependencies:
'@ionic/core':
specifier: ^7.6.6
version: 7.6.6
specifier: workspace:../../../../core
version: link:../../../../core
ionicons:
specifier: ^7.0.0
version: 7.2.2
@@ -2231,14 +2232,6 @@ packages:
resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==}
dev: true
/@ionic/core@7.6.6:
resolution: {integrity: sha512-WstnLHiR8ipW2ASdO/eqSwgMHCuVvJE3qsUNPHWkup9f08/bcbKYZpOfaWNLw/ftNqEpFbjiRuocoYYyLP0/gw==}
dependencies:
'@stencil/core': 4.11.0
ionicons: 7.2.2
tslib: 2.4.0
dev: false
/@ionic/eslint-config@0.3.0(eslint@7.32.0)(typescript@4.9.5):
resolution: {integrity: sha512-Uf1hS2YIoHlcvXPF5LnsPM6auMewEdChQhR117Rt3sVEAutbyKMpFP4slNC2a6up3a5Q34zepqlf61Qgkf9XeQ==}
peerDependencies:
@@ -2747,12 +2740,6 @@ packages:
hasBin: true
dev: false
/@stencil/core@4.11.0:
resolution: {integrity: sha512-zsKhgIkTGo+s7IthitxR/MKiMS3Ck1yIypOdXr0aE6ofboKqe9NdffTcxZ0vel0wD2bZYOb6WfPMzuhRKk6+FA==}
engines: {node: '>=16.0.0', npm: '>=7.10.0'}
hasBin: true
dev: false
/@stencil/core@4.9.0:
resolution: {integrity: sha512-aWSkhBmk3yPwRAkUwBbzRwmdhb8hKiQ/JMr9m5jthpBZLjtppYbzz6PN2MhSMDfRp6K93eQw5WogSEH4HHuB6w==}
engines: {node: '>=16.0.0', npm: '>=7.10.0'}
@@ -8951,6 +8938,7 @@ packages:
react: 18.2.0
scheduler: 0.19.1
dev: true
bundledDependencies: false
/react-dom@18.2.0(react@18.2.0):
resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==}