@justeattakeaway/pie-components-config 0.15.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-components-config",
3
- "version": "0.15.0",
3
+ "version": "0.17.0",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "author": "Just Eat Takeaway.com - Design System Team",
@@ -30,6 +30,7 @@
30
30
  }
31
31
  body {
32
32
  font-feature-settings: "tnum"; /* Enable tabular numbers */
33
+ font-family: JETSansDigital, monospace;
33
34
  }
34
35
  /* basic styles to center align components and give them some spacing */
35
36
  #root {
@@ -30,6 +30,11 @@ export function getPlaywrightVisualConfig () {
30
30
  /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
31
31
  trace: 'on',
32
32
  testIdAttribute: 'data-test-id',
33
+ discovery: {
34
+ disallowedHostnames: [
35
+ 'unpkg.com'
36
+ ],
37
+ },
33
38
  },
34
39
 
35
40
  /* Configure projects for major browsers */
package/tsconfig.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "target": "es2021",
4
- "module": "ES2022",
4
+ "module": "ESNext",
5
5
  "lib": ["es2021", "DOM", "DOM.Iterable"],
6
6
  "declaration": true,
7
7
  "declarationMap": true,
package/vite.config.js CHANGED
@@ -4,12 +4,6 @@ import { visualizer } from 'rollup-plugin-visualizer';
4
4
 
5
5
  import { deepmerge } from 'deepmerge-ts';
6
6
 
7
- const bundledJetDeps = [
8
- '@justeattakeaway/pie-components-config',
9
- '@justeattakeaway/pie-css',
10
- '@justeattakeaway/pie-webc-testing',
11
- ];
12
-
13
7
  // https://vitejs.dev/config/
14
8
  const sharedConfig = ({ build = {}, plugins = [], ...rest }) => defineConfig({
15
9
  build: deepmerge({
@@ -26,7 +20,7 @@ const sharedConfig = ({ build = {}, plugins = [], ...rest }) => defineConfig({
26
20
  return true;
27
21
  }
28
22
 
29
- if (id.startsWith('@justeattakeaway/pie-') && !bundledJetDeps.includes(id)) {
23
+ if (id.startsWith('@justeattakeaway/pie-')) {
30
24
  console.info(`Excluding ${id} from the bundle`);
31
25
  return true;
32
26
  }