@teambit/preview 0.0.556 → 0.0.560

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,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/preview",
3
- "version": "0.0.556",
3
+ "version": "0.0.560",
4
4
  "homepage": "https://bit.dev/teambit/preview/preview",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.preview",
8
8
  "name": "preview",
9
- "version": "0.0.556"
9
+ "version": "0.0.560"
10
10
  },
11
11
  "dependencies": {
12
12
  "fs-extra": "10.0.0",
@@ -17,26 +17,26 @@
17
17
  "mime": "2.5.2",
18
18
  "@babel/runtime": "7.12.18",
19
19
  "core-js": "^3.0.0",
20
- "@teambit/builder": "0.0.556",
21
- "@teambit/bundler": "0.0.556",
22
- "@teambit/component": "0.0.556",
23
- "@teambit/envs": "0.0.556",
24
- "@teambit/toolbox.path.to-windows-compatible-path": "0.0.461",
25
- "@teambit/aspect-loader": "0.0.556",
26
- "@teambit/cli": "0.0.387",
27
- "@teambit/logger": "0.0.472",
28
- "@teambit/pkg": "0.0.556",
29
- "@teambit/pubsub": "0.0.556",
30
- "@teambit/ui": "0.0.556",
31
- "@teambit/workspace": "0.0.556",
32
- "@teambit/component-id": "0.0.377",
33
- "@teambit/express": "0.0.476",
34
- "@teambit/ui-foundation.ui.pages.static-error": "0.0.48",
35
- "@teambit/compiler": "0.0.556",
36
- "@teambit/preview.cli.preview-server-status": "0.0.467",
37
- "@teambit/preview.cli.webpack-events-listener": "0.0.137",
38
- "@teambit/isolator": "0.0.556",
39
- "@teambit/bit-error": "0.0.373"
20
+ "@teambit/builder": "0.0.560",
21
+ "@teambit/bundler": "0.0.560",
22
+ "@teambit/component": "0.0.560",
23
+ "@teambit/envs": "0.0.560",
24
+ "@teambit/toolbox.path.to-windows-compatible-path": "0.0.463",
25
+ "@teambit/aspect-loader": "0.0.560",
26
+ "@teambit/cli": "0.0.389",
27
+ "@teambit/logger": "0.0.474",
28
+ "@teambit/pkg": "0.0.560",
29
+ "@teambit/pubsub": "0.0.560",
30
+ "@teambit/ui": "0.0.560",
31
+ "@teambit/workspace": "0.0.560",
32
+ "@teambit/component-id": "0.0.379",
33
+ "@teambit/express": "0.0.478",
34
+ "@teambit/ui-foundation.ui.pages.static-error": "0.0.50",
35
+ "@teambit/compiler": "0.0.560",
36
+ "@teambit/preview.cli.preview-server-status": "0.0.469",
37
+ "@teambit/preview.cli.webpack-events-listener": "0.0.139",
38
+ "@teambit/isolator": "0.0.560",
39
+ "@teambit/bit-error": "0.0.375"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/fs-extra": "9.0.7",
@@ -49,10 +49,10 @@
49
49
  "@types/jest": "^26.0.0",
50
50
  "@types/react-dom": "^17.0.5",
51
51
  "@types/node": "12.20.4",
52
- "@teambit/preview.aspect-docs.preview": "0.0.106"
52
+ "@teambit/preview.aspect-docs.preview": "0.0.108"
53
53
  },
54
54
  "peerDependencies": {
55
- "@teambit/legacy": "1.0.173",
55
+ "@teambit/legacy": "1.0.175",
56
56
  "react-dom": "^16.8.0 || ^17.0.0",
57
57
  "react": "^16.8.0 || ^17.0.0"
58
58
  },
@@ -80,7 +80,7 @@
80
80
  "react": "-"
81
81
  },
82
82
  "peerDependencies": {
83
- "@teambit/legacy": "1.0.173",
83
+ "@teambit/legacy": "1.0.175",
84
84
  "react-dom": "^16.8.0 || ^17.0.0",
85
85
  "react": "^16.8.0 || ^17.0.0"
86
86
  }
@@ -89,8 +89,17 @@
89
89
  "files": [
90
90
  "dist",
91
91
  "!dist/tsconfig.tsbuildinfo",
92
- "README.md",
93
- "README.mdx"
92
+ "**/*.md",
93
+ "**/*.mdx",
94
+ "**/*.js",
95
+ "**/*.json",
96
+ "**/*.sass",
97
+ "**/*.scss",
98
+ "**/*.less",
99
+ "**/*.css",
100
+ "**/*.css",
101
+ "**/*.jpeg",
102
+ "**/*.gif"
94
103
  ],
95
104
  "private": false,
96
105
  "engines": {
@@ -0,0 +1,8 @@
1
+ ---
2
+ description: Handles the bundlings and rendering of component compositions and documentations
3
+ labels: ['core aspect']
4
+ ---
5
+
6
+ import { Preview } from '@teambit/preview.aspect-docs.preview';
7
+
8
+ <Preview />
package/tsconfig.json ADDED
@@ -0,0 +1,34 @@
1
+ {
2
+ "compilerOptions": {
3
+ "lib": [
4
+ "es2019",
5
+ "DOM",
6
+ "ES6",
7
+ "DOM.Iterable",
8
+ "ScriptHost"
9
+ ],
10
+ "target": "es2015",
11
+ "module": "commonjs",
12
+ "jsx": "react",
13
+ "declaration": true,
14
+ "sourceMap": true,
15
+ "skipLibCheck": true,
16
+ "moduleResolution": "node",
17
+ "esModuleInterop": true,
18
+ "composite": true,
19
+ "emitDeclarationOnly": true,
20
+ "outDir": "dist",
21
+ "experimentalDecorators": true,
22
+ "emitDecoratorMetadata": true,
23
+ "allowSyntheticDefaultImports": true,
24
+ "strictPropertyInitialization": false,
25
+ "strict": true,
26
+ "noImplicitAny": false,
27
+ "rootDir": ".",
28
+ "preserveConstEnums": true,
29
+ "resolveJsonModule": true
30
+ },
31
+ "exclude": [
32
+ "dist"
33
+ ]
34
+ }