diff --git a/packages/form-validations/config/vite/app.ts b/packages/form-validations/config/vite/app.ts deleted file mode 100644 index 785880ad28..0000000000 --- a/packages/form-validations/config/vite/app.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { SERVERS } from '@lmc-eu/spirit-common/constants/servers'; -import { resolve } from 'path'; -import { defineConfig } from 'vite'; -import handlebars from 'vite-plugin-handlebars'; - -export default defineConfig({ - server: SERVERS.DEVELOPMENT['form-validations'], - plugins: [ - handlebars({ - partialDirectory: resolve(__dirname, '../../partials'), - }), - ], - css: { - postcss: resolve(__dirname, 'config'), - preprocessorOptions: { - scss: { - includePaths: [ - resolve(__dirname, '../../../../node_modules'), - resolve(__dirname, '../../../../node_modules/@lmc-eu/spirit-design-tokens/src/scss'), - ], - }, - }, - }, - build: { - outDir: 'build', - rollupOptions: { - input: { - main: resolve(__dirname, '../../index.html'), - }, - output: { - entryFileNames: `assets/spirit-form-validations-entry.[hash].js`, - chunkFileNames: `assets/spirit-form-validations-chunk.[hash].js`, - assetFileNames: `assets/spirit-form-validations-asset.[hash].[ext]`, - }, - }, - }, -}); diff --git a/packages/form-validations/netlify.toml b/packages/form-validations/netlify.toml deleted file mode 100644 index e9c4247133..0000000000 --- a/packages/form-validations/netlify.toml +++ /dev/null @@ -1,26 +0,0 @@ -# https://docs.netlify.com/configure-builds/file-based-configuration/ -# Settings in the [build] context are global and are applied to -# all contexts unless otherwise overridden by more specific contexts. -[build] - # Directory to change to before starting a build. - # This is where we will look for package.json/.nvmrc/etc. - # If not set, defaults to the root directory. - base = "packages/form-validations/" - - # Directory that contains the deploy-ready HTML files and - # assets generated by the build. This is relative to the base - # directory if one has been set, or the root directory if - # a base has not been set. This sample publishes the directory - # located at the absolute path "root/project/build-output" - - publish = "build/" - - # Default build command. - command = "yarn examples:build" - - # Ignore builds on Netlify - ignore = "node ../../scripts/ignoreNetlifyBuilds.js" - -[context.deploy-preview] - # Deploy preview only if there are changes in some directories - ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF ./src/" diff --git a/packages/form-validations/package.json b/packages/form-validations/package.json index 8dd2edc28b..ef6ea35e79 100644 --- a/packages/form-validations/package.json +++ b/packages/form-validations/package.json @@ -16,9 +16,6 @@ "module": "index.js", "types": "index.d.ts", "scripts": { - "start": "vite --host --config ./config/vite/app.ts", - "examples:build": "vite build --config ./config/vite/app.ts", - "examples:preview": "vite preview --config ./config/vite/app.ts", "build": "npm-run-all --serial 'build:prepare build:bundle build:compile build:finalize'", "build:prepare": "shx rm -rf dist", "build:finalize": "shx cp package.json README.md dist/", @@ -34,10 +31,6 @@ }, "devDependencies": { "@lmc-eu/browserslist-config": "2.0.0", - "@lmc-eu/spirit-common": "^0.3.1", - "@lmc-eu/spirit-demo": "^0.1.1", - "@lmc-eu/spirit-design-tokens": "^0.25.5", - "@lmc-eu/spirit-web": "^1.13.1", "@swc/core": "1.5.0", "@swc/jest": "0.2.36", "@types/jest": "29.5.12", @@ -47,8 +40,7 @@ "sass": "1.75.0", "shx": "0.3.4", "tslib": "2.6.2", - "vite": "4.5.3", - "vite-plugin-handlebars": "1.6.0" + "vite": "4.5.3" }, "nx": { "targets": { diff --git a/yarn.lock b/yarn.lock index c1335531e9..74373a7472 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3454,13 +3454,6 @@ __metadata: languageName: unknown linkType: soft -"@lmc-eu/spirit-design-tokens@npm:^0.25.5": - version: 0.25.5 - resolution: "@lmc-eu/spirit-design-tokens@npm:0.25.5" - checksum: c2025bb81850b923d94dd73348f3b6236de0e4a51ce96401336d3aa3512d2204d1f9f12d294c9c9a88beab8b7228752b9b4e82b5ce72c059f390ac12a932e9b1 - languageName: node - linkType: hard - "@lmc-eu/spirit-exporters-js@workspace:exporters/js": version: 0.0.0-use.local resolution: "@lmc-eu/spirit-exporters-js@workspace:exporters/js" @@ -3494,10 +3487,6 @@ __metadata: resolution: "@lmc-eu/spirit-form-validations@workspace:packages/form-validations" dependencies: "@lmc-eu/browserslist-config": 2.0.0 - "@lmc-eu/spirit-common": ^0.3.1 - "@lmc-eu/spirit-demo": ^0.1.1 - "@lmc-eu/spirit-design-tokens": ^0.25.5 - "@lmc-eu/spirit-web": ^1.13.1 "@swc/core": 1.5.0 "@swc/jest": 0.2.36 "@types/jest": 29.5.12 @@ -3508,7 +3497,6 @@ __metadata: shx: 0.3.4 tslib: 2.6.2 vite: 4.5.3 - vite-plugin-handlebars: 1.6.0 languageName: unknown linkType: soft