diff --git a/packages/components/LICENSE b/packages/components/LICENSE new file mode 100644 index 00000000..65fe8637 --- /dev/null +++ b/packages/components/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 PrestaShopCorp + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/components/package.json b/packages/components/package.json index 655b164d..68c501a4 100755 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -20,7 +20,7 @@ }, "devDependencies": { "@types/sortablejs": "^1.15.8", - "vue": "3.3.10", + "vue": "^3.3.7", "vue-router": "^4.3.2", "vue-tsc": "^1.8.27" }, diff --git a/packages/locale/LICENSE b/packages/locale/LICENSE new file mode 100644 index 00000000..65fe8637 --- /dev/null +++ b/packages/locale/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 PrestaShopCorp + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/puik/LICENSE b/packages/puik/LICENSE new file mode 100644 index 00000000..65fe8637 --- /dev/null +++ b/packages/puik/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 PrestaShopCorp + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/puik/package.json b/packages/puik/package.json index f94f0794..bf04a13b 100644 --- a/packages/puik/package.json +++ b/packages/puik/package.json @@ -9,7 +9,7 @@ "build": "vue-tsc --noEmit --project ./tsconfig.build.json && vite build" }, "peerDependencies": { - "vue": "^3.3.0" + "vue": "^3.3.7" }, "dependencies": { "@prestashopcorp/puik-components": "workspace:*", @@ -19,7 +19,7 @@ "@prestashopcorp/puik-theme": "workspace:*" }, "devDependencies": { - "vue": "3.3.10" + "vue": "^3.3.7" }, "files": [ "dist", diff --git a/packages/resolver/LICENSE b/packages/resolver/LICENSE new file mode 100644 index 00000000..65fe8637 --- /dev/null +++ b/packages/resolver/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 PrestaShopCorp + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/resolver/package.json b/packages/resolver/package.json index 5e34e015..5787c6e1 100644 --- a/packages/resolver/package.json +++ b/packages/resolver/package.json @@ -13,11 +13,11 @@ "@prestashopcorp/puik-components": "workspace:*", "@prestashopcorp/puik-theme": "workspace:*", "unplugin-vue-components": "^0.25.0", - "vue": "^3.3.0" + "vue": "^3.3.7" }, "devDependencies": { - "unplugin-vue-components": "^0.26.0", - "vue": "3.3.10" + "unplugin-vue-components": "<1.0.0", + "vue": "^3.3.7" }, "sideEffects": false, "publishConfig": { diff --git a/packages/tailwind-preset/LICENSE b/packages/tailwind-preset/LICENSE new file mode 100644 index 00000000..65fe8637 --- /dev/null +++ b/packages/tailwind-preset/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 PrestaShopCorp + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/theme/LICENSE b/packages/theme/LICENSE new file mode 100644 index 00000000..65fe8637 --- /dev/null +++ b/packages/theme/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 PrestaShopCorp + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/utils/LICENSE b/packages/utils/LICENSE new file mode 100644 index 00000000..65fe8637 --- /dev/null +++ b/packages/utils/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 PrestaShopCorp + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/web-components/LICENSE b/packages/web-components/LICENSE new file mode 100644 index 00000000..65fe8637 --- /dev/null +++ b/packages/web-components/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 PrestaShopCorp + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/web-components/package.json b/packages/web-components/package.json index 17a103ca..4772c60f 100644 --- a/packages/web-components/package.json +++ b/packages/web-components/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@prestashopcorp/puik-components": "workspace:*", - "vue": "3.3.10" + "vue": "^3.3.7" }, "devDependencies": { "vue-tsc": "^1.8.27" diff --git a/playground/README.md b/playground/README.md index f3a69e52..bc0605f5 100644 --- a/playground/README.md +++ b/playground/README.md @@ -14,10 +14,13 @@ Since TypeScript cannot handle type information for `.vue` imports, they are shi The Playground is a test application built on Vue3 and Vue Router. To use it, follow the steps below: -1. **Copy the example files**: The files `/src/views/VueComponentsViewExample.vue` and `/src/views/WebComponentsViewExample.vue` are example views that you can use as a starting point. Copy each of these files. +1. **Copy the example files**: The files `/src/views/VueComponentsViewExample.vue`, `/src/views/WebComponentsViewExample.vue` and `/src/AppExample.vue` are example views that you can use as a starting point. Copy each of these files. 2. **Rename the copied files**: Rename the copied example files by removing `Example` from their name. The files should be renamed as follows to match vue router configuration: - `/src/views/VueComponentsViewExample.vue` becomes `/src/views/VueComponentsView.vue` - `/src/views/WebComponentsViewExample.vue` becomes `/src/views/WebComponentsView.vue` + - `/src/AppExample.vue` becomes `/src/App.vue` 3. **Modify the copied files**: Make the necessary modifications to the copied files based on your specific needs for the Playground. + +4. **Run**: `pnpm build` to update the css packages before run the project. diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ebeb0dec..8fa1f510 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -204,7 +204,7 @@ importers: specifier: ^1.15.8 version: 1.15.8 vue: - specifier: 3.3.10 + specifier: ^3.3.7 version: 3.3.10(typescript@5.4.5) vue-router: specifier: ^4.3.2 @@ -234,7 +234,7 @@ importers: version: link:../web-components devDependencies: vue: - specifier: 3.3.10 + specifier: ^3.3.7 version: 3.3.10(typescript@5.4.5) packages/resolver: @@ -247,10 +247,10 @@ importers: version: link:../theme devDependencies: unplugin-vue-components: - specifier: ^0.26.0 + specifier: <1.0.0 version: 0.26.0(@babel/parser@7.24.5)(rollup@4.17.2)(vue@3.3.10(typescript@5.4.5)) vue: - specifier: 3.3.10 + specifier: ^3.3.7 version: 3.3.10(typescript@5.4.5) packages/tailwind-preset: @@ -288,7 +288,7 @@ importers: specifier: workspace:* version: link:../components vue: - specifier: 3.3.10 + specifier: ^3.3.7 version: 3.3.10(typescript@5.4.5) devDependencies: vue-tsc: