spoko-design-system 0.2.37 → 0.2.39

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/index.ts CHANGED
@@ -24,12 +24,10 @@ export { default as ProductCodes } from './src/components/ProductCodes.vue';
24
24
  export { default as ProductEngineType } from './src/components/Product/ProductEngineType.vue';
25
25
 
26
26
 
27
-
28
27
  // Astro Components
29
28
  export { default as Copyright } from './src/components/Copyright.astro';
30
29
  export { default as HandDrive } from './src/components/HandDrive.astro';
31
30
  export { default as Faq } from './src/components/Faq.astro';
32
31
  export { default as FaqItem } from './src/components/FaqItem.astro';
33
-
34
32
  export { default as ProductNumber } from './src/components/Product/ProductNumber.astro';
35
33
  export { default as ProductImage } from './src/components/Product/ProductImage.astro';
package/package.json CHANGED
@@ -1,7 +1,16 @@
1
1
  {
2
2
  "name": "spoko-design-system",
3
- "version": "0.2.37",
3
+ "version": "0.2.39",
4
4
  "private": false,
5
+ "main": "./index.ts",
6
+ "module": "./index.ts",
7
+ "types": "./index.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./index.ts",
11
+ "require": "./index.ts"
12
+ }
13
+ },
5
14
  "scripts": {
6
15
  "dev": "astro dev",
7
16
  "start": "astro dev",
package/tsconfig.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "include": ["env.d.ts", "src/**/*", "src/**/*.vue", "src/**/*.d.ts"],
2
+ "include": ["env.d.ts", "src/**/*", "src/**/*.vue", "src/**/*.astro", "src/**/*.d.ts"],
3
3
  "compilerOptions": {
4
4
  "target": "esnext",
5
5
  "useDefineForClassFields": true,
@@ -7,6 +7,6 @@
7
7
  "moduleResolution": "node",
8
8
  "jsx": "preserve",
9
9
  "allowJs": true,
10
- "types": ["vite/client"]
11
- },
10
+ "types": ["vite/client", "@astrojs/ts"]
11
+ }
12
12
  }