@teambit/react 0.0.1143 → 0.0.1145
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/artifacts/env-template/public/{468.568f9c38778c002236e3.js → 182.410a89f71ee95a3ff99b.js} +2 -2
- package/artifacts/env-template/public/{924.12753b2d3256909c0b90.js → 924.02ee0292af3d0a49b9b3.js} +6 -6
- package/artifacts/env-template/public/assets-manifest.json +14 -14
- package/artifacts/env-template/public/{compositions.5d70abab406497a71dea.js → compositions.20fe0f3ddee7cca3c6d3.js} +1 -1
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.7b086f1c73f4aca498cd.js → overview.06b1918799167bcfab11.js} +1 -1
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/{peers.a94f3126b5939f61d472.js → peers.5769331da1f38fc00702.js} +1 -1
- package/artifacts/env-template/public/{preview-root.fa8ad55acdd88d61b0ec.js → preview-root.53a6e63c0ef099b3ef97.js} +1 -1
- package/artifacts/env-template/public/static/css/924.cae10f55.css +1 -0
- package/dist/{preview-1693192680001.js → preview-1693474270980.js} +2 -2
- package/dist/react.main.runtime.js +0 -1
- package/dist/react.main.runtime.js.map +1 -1
- package/dist/react.templates.d.ts +1 -2
- package/dist/react.templates.js +1 -66
- package/dist/react.templates.js.map +1 -1
- package/dist/templates/react-component/index.js +1 -0
- package/dist/templates/react-component/index.js.map +1 -1
- package/dist/templates/react-component-js/index.js +1 -0
- package/dist/templates/react-component-js/index.js.map +1 -1
- package/dist/templates/react-context/index.js +1 -0
- package/dist/templates/react-context/index.js.map +1 -1
- package/dist/templates/react-env/index.js +1 -0
- package/dist/templates/react-env/index.js.map +1 -1
- package/dist/templates/react-hook/index.js +1 -0
- package/dist/templates/react-hook/index.js.map +1 -1
- package/package.json +31 -33
- package/templates/react-component/index.ts +1 -0
- package/templates/react-component-js/index.ts +1 -1
- package/templates/react-context/index.ts +1 -1
- package/templates/react-env/index.ts +1 -0
- package/templates/react-hook/index.ts +1 -1
- package/artifacts/env-template/public/static/css/924.b97916e5.css +0 -1
- package/dist/templates/react-workspace/index.d.ts +0 -2
- package/dist/templates/react-workspace/index.js +0 -41
- package/dist/templates/react-workspace/index.js.map +0 -1
- package/dist/templates/react-workspace-analytics/index.d.ts +0 -2
- package/dist/templates/react-workspace-analytics/index.js +0 -47
- package/dist/templates/react-workspace-analytics/index.js.map +0 -1
- package/dist/templates/react-workspace-app/index.d.ts +0 -2
- package/dist/templates/react-workspace-app/index.js +0 -58
- package/dist/templates/react-workspace-app/index.js.map +0 -1
- package/dist/templates/react-workspace-blog/index.d.ts +0 -2
- package/dist/templates/react-workspace-blog/index.js +0 -39
- package/dist/templates/react-workspace-blog/index.js.map +0 -1
- package/dist/templates/react-workspace-data-fetching/index.d.ts +0 -2
- package/dist/templates/react-workspace-data-fetching/index.js +0 -47
- package/dist/templates/react-workspace-data-fetching/index.js.map +0 -1
- package/dist/templates/react-workspace-deprecated/index.d.ts +0 -2
- package/dist/templates/react-workspace-deprecated/index.js +0 -48
- package/dist/templates/react-workspace-deprecated/index.js.map +0 -1
- package/dist/templates/react-workspace-design-system/index.d.ts +0 -2
- package/dist/templates/react-workspace-design-system/index.js +0 -55
- package/dist/templates/react-workspace-design-system/index.js.map +0 -1
- package/dist/templates/react-workspace-lib/index.d.ts +0 -2
- package/dist/templates/react-workspace-lib/index.js +0 -52
- package/dist/templates/react-workspace-lib/index.js.map +0 -1
- package/dist/templates/react-workspace-wiki/index.d.ts +0 -2
- package/dist/templates/react-workspace-wiki/index.js +0 -47
- package/dist/templates/react-workspace-wiki/index.js.map +0 -1
- package/dist/templates/workspace-common/constants.d.ts +0 -1
- package/dist/templates/workspace-common/constants.js +0 -10
- package/dist/templates/workspace-common/constants.js.map +0 -1
- package/dist/templates/workspace-common/files/eslint-config.d.ts +0 -1
- package/dist/templates/workspace-common/files/eslint-config.js +0 -15
- package/dist/templates/workspace-common/files/eslint-config.js.map +0 -1
- package/dist/templates/workspace-common/files/git-ignore.d.ts +0 -1
- package/dist/templates/workspace-common/files/git-ignore.js +0 -121
- package/dist/templates/workspace-common/files/git-ignore.js.map +0 -1
- package/dist/templates/workspace-common/files/launch-json.d.ts +0 -2
- package/dist/templates/workspace-common/files/launch-json.js +0 -39
- package/dist/templates/workspace-common/files/launch-json.js.map +0 -1
- package/dist/templates/workspace-common/files/prettier-config.d.ts +0 -1
- package/dist/templates/workspace-common/files/prettier-config.js +0 -14
- package/dist/templates/workspace-common/files/prettier-config.js.map +0 -1
- package/dist/templates/workspace-common/files/readme-file.d.ts +0 -1
- package/dist/templates/workspace-common/files/readme-file.js +0 -44
- package/dist/templates/workspace-common/files/readme-file.js.map +0 -1
- package/dist/templates/workspace-common/files/ts-config.d.ts +0 -1
- package/dist/templates/workspace-common/files/ts-config.js +0 -19
- package/dist/templates/workspace-common/files/ts-config.js.map +0 -1
- package/dist/templates/workspace-common/files/types/asset.d.ts +0 -1
- package/dist/templates/workspace-common/files/types/asset.js +0 -37
- package/dist/templates/workspace-common/files/types/asset.js.map +0 -1
- package/dist/templates/workspace-common/files/types/style.d.ts +0 -1
- package/dist/templates/workspace-common/files/types/style.js +0 -52
- package/dist/templates/workspace-common/files/types/style.js.map +0 -1
- package/dist/templates/workspace-common/files/workspace-config.d.ts +0 -2
- package/dist/templates/workspace-common/files/workspace-config.js +0 -65
- package/dist/templates/workspace-common/files/workspace-config.js.map +0 -1
- package/dist/templates/workspace-common/generate-files.d.ts +0 -7
- package/dist/templates/workspace-common/generate-files.js +0 -102
- package/dist/templates/workspace-common/generate-files.js.map +0 -1
- package/dist/templates/workspace-common/index.d.ts +0 -1
- package/dist/templates/workspace-common/index.js +0 -20
- package/dist/templates/workspace-common/index.js.map +0 -1
- package/templates/react-workspace/index.ts +0 -27
- package/templates/react-workspace-analytics/index.ts +0 -31
- package/templates/react-workspace-app/index.ts +0 -26
- package/templates/react-workspace-blog/index.ts +0 -25
- package/templates/react-workspace-data-fetching/index.ts +0 -35
- package/templates/react-workspace-deprecated/index.ts +0 -28
- package/templates/react-workspace-design-system/index.ts +0 -37
- package/templates/react-workspace-lib/index.ts +0 -21
- package/templates/react-workspace-wiki/index.ts +0 -27
- package/templates/workspace-common/constants.ts +0 -1
- package/templates/workspace-common/files/eslint-config.ts +0 -6
- package/templates/workspace-common/files/git-ignore.ts +0 -113
- package/templates/workspace-common/files/launch-json.ts +0 -30
- package/templates/workspace-common/files/prettier-config.ts +0 -5
- package/templates/workspace-common/files/readme-file.ts +0 -36
- package/templates/workspace-common/files/ts-config.ts +0 -10
- package/templates/workspace-common/files/types/asset.ts +0 -28
- package/templates/workspace-common/files/types/style.ts +0 -43
- package/templates/workspace-common/files/workspace-config.ts +0 -41
- package/templates/workspace-common/generate-files.ts +0 -59
- package/templates/workspace-common/index.ts +0 -1
- /package/{compositions-1693192680001.js → compositions-1693474270980.js} +0 -0
- /package/{overview-1693192680001.js → overview-1693474270980.js} +0 -0
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.promise.js");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.reactWorkspaceDesignSystemTemplate = void 0;
|
|
8
|
-
function _workspaceCommon() {
|
|
9
|
-
const data = require("../workspace-common");
|
|
10
|
-
_workspaceCommon = function () {
|
|
11
|
-
return data;
|
|
12
|
-
};
|
|
13
|
-
return data;
|
|
14
|
-
}
|
|
15
|
-
const reactWorkspaceDesignSystemTemplate = {
|
|
16
|
-
name: 'react-design-system',
|
|
17
|
-
description: 'React workspace with components for a Design System',
|
|
18
|
-
generateFiles: async context => {
|
|
19
|
-
return (0, _workspaceCommon().generateFiles)(context);
|
|
20
|
-
},
|
|
21
|
-
fork: () => {
|
|
22
|
-
return [{
|
|
23
|
-
id: 'teambit.design/examples/sample-app',
|
|
24
|
-
targetName: 'app/sample-app',
|
|
25
|
-
path: 'app/sample-app'
|
|
26
|
-
}, {
|
|
27
|
-
id: 'teambit.design/ui/cards/card',
|
|
28
|
-
targetName: 'ui/cards/card',
|
|
29
|
-
path: 'ui/cards/card'
|
|
30
|
-
}, {
|
|
31
|
-
id: 'teambit.design/ui/heading',
|
|
32
|
-
targetName: 'ui/heading',
|
|
33
|
-
path: 'ui/heading'
|
|
34
|
-
}, {
|
|
35
|
-
id: 'teambit.design/themes/theme-toggler',
|
|
36
|
-
targetName: 'themes/theme-toggler',
|
|
37
|
-
path: 'themes/theme-toggler'
|
|
38
|
-
}, {
|
|
39
|
-
id: 'teambit.design/themes/base-theme',
|
|
40
|
-
targetName: 'themes/base-theme',
|
|
41
|
-
path: 'themes/base-theme'
|
|
42
|
-
}, {
|
|
43
|
-
id: 'teambit.design/themes/light-theme',
|
|
44
|
-
targetName: 'themes/light-theme',
|
|
45
|
-
path: 'themes/light-theme'
|
|
46
|
-
}, {
|
|
47
|
-
id: 'teambit.design/themes/dark-theme',
|
|
48
|
-
targetName: 'themes/dark-theme',
|
|
49
|
-
path: 'themes/dark-theme'
|
|
50
|
-
}];
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
exports.reactWorkspaceDesignSystemTemplate = reactWorkspaceDesignSystemTemplate;
|
|
54
|
-
|
|
55
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_workspaceCommon","data","require","reactWorkspaceDesignSystemTemplate","name","description","generateFiles","context","generateCommonFiles","fork","id","targetName","path","exports"],"sources":["index.ts"],"sourcesContent":["import { WorkspaceContext, WorkspaceTemplate } from '@teambit/generator';\nimport { generateFiles as generateCommonFiles } from '../workspace-common';\n\nexport const reactWorkspaceDesignSystemTemplate: WorkspaceTemplate = {\n name: 'react-design-system',\n description: 'React workspace with components for a Design System',\n generateFiles: async (context: WorkspaceContext) => {\n return generateCommonFiles(context);\n },\n fork: () => {\n return [\n {\n id: 'teambit.design/examples/sample-app',\n targetName: 'app/sample-app',\n path: 'app/sample-app',\n },\n { id: 'teambit.design/ui/cards/card', targetName: 'ui/cards/card', path: 'ui/cards/card' },\n { id: 'teambit.design/ui/heading', targetName: 'ui/heading', path: 'ui/heading' },\n { id: 'teambit.design/themes/theme-toggler', targetName: 'themes/theme-toggler', path: 'themes/theme-toggler' },\n {\n id: 'teambit.design/themes/base-theme',\n targetName: 'themes/base-theme',\n path: 'themes/base-theme',\n },\n {\n id: 'teambit.design/themes/light-theme',\n targetName: 'themes/light-theme',\n path: 'themes/light-theme',\n },\n {\n id: 'teambit.design/themes/dark-theme',\n targetName: 'themes/dark-theme',\n path: 'themes/dark-theme',\n },\n ];\n },\n};\n"],"mappings":";;;;;;;AACA,SAAAA,iBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,gBAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAME,kCAAqD,GAAG;EACnEC,IAAI,EAAE,qBAAqB;EAC3BC,WAAW,EAAE,qDAAqD;EAClEC,aAAa,EAAE,MAAOC,OAAyB,IAAK;IAClD,OAAO,IAAAC,gCAAmB,EAACD,OAAO,CAAC;EACrC,CAAC;EACDE,IAAI,EAAEA,CAAA,KAAM;IACV,OAAO,CACL;MACEC,EAAE,EAAE,oCAAoC;MACxCC,UAAU,EAAE,gBAAgB;MAC5BC,IAAI,EAAE;IACR,CAAC,EACD;MAAEF,EAAE,EAAE,8BAA8B;MAAEC,UAAU,EAAE,eAAe;MAAEC,IAAI,EAAE;IAAgB,CAAC,EAC1F;MAAEF,EAAE,EAAE,2BAA2B;MAAEC,UAAU,EAAE,YAAY;MAAEC,IAAI,EAAE;IAAa,CAAC,EACjF;MAAEF,EAAE,EAAE,qCAAqC;MAAEC,UAAU,EAAE,sBAAsB;MAAEC,IAAI,EAAE;IAAuB,CAAC,EAC/G;MACEF,EAAE,EAAE,kCAAkC;MACtCC,UAAU,EAAE,mBAAmB;MAC/BC,IAAI,EAAE;IACR,CAAC,EACD;MACEF,EAAE,EAAE,mCAAmC;MACvCC,UAAU,EAAE,oBAAoB;MAChCC,IAAI,EAAE;IACR,CAAC,EACD;MACEF,EAAE,EAAE,kCAAkC;MACtCC,UAAU,EAAE,mBAAmB;MAC/BC,IAAI,EAAE;IACR,CAAC,CACF;EACH;AACF,CAAC;AAACC,OAAA,CAAAV,kCAAA,GAAAA,kCAAA"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.promise.js");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.reactWorkspaceLibTemplate = void 0;
|
|
8
|
-
function _workspaceCommon() {
|
|
9
|
-
const data = require("../workspace-common");
|
|
10
|
-
_workspaceCommon = function () {
|
|
11
|
-
return data;
|
|
12
|
-
};
|
|
13
|
-
return data;
|
|
14
|
-
}
|
|
15
|
-
const reactWorkspaceLibTemplate = {
|
|
16
|
-
name: 'react-lib',
|
|
17
|
-
description: 'EXPERIMENTAL. react workspace for a component library',
|
|
18
|
-
hidden: true,
|
|
19
|
-
generateFiles: async context => {
|
|
20
|
-
return (0, _workspaceCommon().generateFiles)(context);
|
|
21
|
-
},
|
|
22
|
-
fork: () => {
|
|
23
|
-
return [{
|
|
24
|
-
id: 'teambit.react/templates/envs/my-react',
|
|
25
|
-
targetName: 'envs/my-react',
|
|
26
|
-
path: 'demo/envs/my-react'
|
|
27
|
-
}, {
|
|
28
|
-
id: 'teambit.react/templates/ui/text',
|
|
29
|
-
targetName: 'ui/text',
|
|
30
|
-
path: 'demo/ui/text'
|
|
31
|
-
}, {
|
|
32
|
-
id: 'teambit.react/templates/ui/heading',
|
|
33
|
-
targetName: 'ui/heading',
|
|
34
|
-
path: 'demo/ui/heading'
|
|
35
|
-
}, {
|
|
36
|
-
id: 'teambit.react/templates/ui/card',
|
|
37
|
-
targetName: 'ui/card',
|
|
38
|
-
path: 'demo/ui/card'
|
|
39
|
-
}, {
|
|
40
|
-
id: 'teambit.react/templates/styles/colors',
|
|
41
|
-
targetName: 'styles/colors',
|
|
42
|
-
path: 'demo/styles/colors'
|
|
43
|
-
}, {
|
|
44
|
-
id: 'teambit.react/templates/themes/theme',
|
|
45
|
-
targetName: 'themes/theme',
|
|
46
|
-
path: 'demo/themes/theme'
|
|
47
|
-
}];
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
exports.reactWorkspaceLibTemplate = reactWorkspaceLibTemplate;
|
|
51
|
-
|
|
52
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_workspaceCommon","data","require","reactWorkspaceLibTemplate","name","description","hidden","generateFiles","context","generateCommonFiles","fork","id","targetName","path","exports"],"sources":["index.ts"],"sourcesContent":["import { WorkspaceContext, WorkspaceTemplate } from '@teambit/generator';\nimport { generateFiles as generateCommonFiles } from '../workspace-common';\n\nexport const reactWorkspaceLibTemplate: WorkspaceTemplate = {\n name: 'react-lib',\n description: 'EXPERIMENTAL. react workspace for a component library',\n hidden: true,\n generateFiles: async (context: WorkspaceContext) => {\n return generateCommonFiles(context);\n },\n fork: () => {\n return [\n { id: 'teambit.react/templates/envs/my-react', targetName: 'envs/my-react', path: 'demo/envs/my-react' },\n { id: 'teambit.react/templates/ui/text', targetName: 'ui/text', path: 'demo/ui/text' },\n { id: 'teambit.react/templates/ui/heading', targetName: 'ui/heading', path: 'demo/ui/heading' },\n { id: 'teambit.react/templates/ui/card', targetName: 'ui/card', path: 'demo/ui/card' },\n { id: 'teambit.react/templates/styles/colors', targetName: 'styles/colors', path: 'demo/styles/colors' },\n { id: 'teambit.react/templates/themes/theme', targetName: 'themes/theme', path: 'demo/themes/theme' },\n ];\n },\n};\n"],"mappings":";;;;;;;AACA,SAAAA,iBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,gBAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAME,yBAA4C,GAAG;EAC1DC,IAAI,EAAE,WAAW;EACjBC,WAAW,EAAE,uDAAuD;EACpEC,MAAM,EAAE,IAAI;EACZC,aAAa,EAAE,MAAOC,OAAyB,IAAK;IAClD,OAAO,IAAAC,gCAAmB,EAACD,OAAO,CAAC;EACrC,CAAC;EACDE,IAAI,EAAEA,CAAA,KAAM;IACV,OAAO,CACL;MAAEC,EAAE,EAAE,uCAAuC;MAAEC,UAAU,EAAE,eAAe;MAAEC,IAAI,EAAE;IAAqB,CAAC,EACxG;MAAEF,EAAE,EAAE,iCAAiC;MAAEC,UAAU,EAAE,SAAS;MAAEC,IAAI,EAAE;IAAe,CAAC,EACtF;MAAEF,EAAE,EAAE,oCAAoC;MAAEC,UAAU,EAAE,YAAY;MAAEC,IAAI,EAAE;IAAkB,CAAC,EAC/F;MAAEF,EAAE,EAAE,iCAAiC;MAAEC,UAAU,EAAE,SAAS;MAAEC,IAAI,EAAE;IAAe,CAAC,EACtF;MAAEF,EAAE,EAAE,uCAAuC;MAAEC,UAAU,EAAE,eAAe;MAAEC,IAAI,EAAE;IAAqB,CAAC,EACxG;MAAEF,EAAE,EAAE,sCAAsC;MAAEC,UAAU,EAAE,cAAc;MAAEC,IAAI,EAAE;IAAoB,CAAC,CACtG;EACH;AACF,CAAC;AAACC,OAAA,CAAAX,yBAAA,GAAAA,yBAAA"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.promise.js");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.reactWorkspaceWikiTemplate = void 0;
|
|
8
|
-
function _workspaceCommon() {
|
|
9
|
-
const data = require("../workspace-common");
|
|
10
|
-
_workspaceCommon = function () {
|
|
11
|
-
return data;
|
|
12
|
-
};
|
|
13
|
-
return data;
|
|
14
|
-
}
|
|
15
|
-
const reactWorkspaceWikiTemplate = {
|
|
16
|
-
name: 'react-wiki',
|
|
17
|
-
description: 'React workspace with components for a Wiki',
|
|
18
|
-
generateFiles: async context => {
|
|
19
|
-
return (0, _workspaceCommon().generateFiles)(context);
|
|
20
|
-
},
|
|
21
|
-
fork: () => {
|
|
22
|
-
return [{
|
|
23
|
-
id: 'teambit.wiki/apps/wiki',
|
|
24
|
-
targetName: 'apps/wiki',
|
|
25
|
-
path: 'apps/wiki'
|
|
26
|
-
}, {
|
|
27
|
-
id: 'teambit.wiki/sections/wiki',
|
|
28
|
-
targetName: 'sections/wiki',
|
|
29
|
-
path: 'sections/wiki'
|
|
30
|
-
}, {
|
|
31
|
-
id: 'teambit.wiki/blocks/header',
|
|
32
|
-
targetName: 'blocks/header',
|
|
33
|
-
path: 'blocks/header'
|
|
34
|
-
}, {
|
|
35
|
-
id: 'teambit.wiki/blocks/footer',
|
|
36
|
-
targetName: 'blocks/footer',
|
|
37
|
-
path: 'blocks/footer'
|
|
38
|
-
}, {
|
|
39
|
-
id: 'teambit.wiki/content/welcome',
|
|
40
|
-
targetName: 'content/welcome',
|
|
41
|
-
path: 'content/welcome'
|
|
42
|
-
}];
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
exports.reactWorkspaceWikiTemplate = reactWorkspaceWikiTemplate;
|
|
46
|
-
|
|
47
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_workspaceCommon","data","require","reactWorkspaceWikiTemplate","name","description","generateFiles","context","generateCommonFiles","fork","id","targetName","path","exports"],"sources":["index.ts"],"sourcesContent":["import { WorkspaceContext, WorkspaceTemplate } from '@teambit/generator';\nimport { generateFiles as generateCommonFiles } from '../workspace-common';\n\nexport const reactWorkspaceWikiTemplate: WorkspaceTemplate = {\n name: 'react-wiki',\n description: 'React workspace with components for a Wiki',\n generateFiles: async (context: WorkspaceContext) => {\n return generateCommonFiles(context);\n },\n fork: () => {\n return [\n {\n id: 'teambit.wiki/apps/wiki',\n targetName: 'apps/wiki',\n path: 'apps/wiki',\n },\n { id: 'teambit.wiki/sections/wiki', targetName: 'sections/wiki', path: 'sections/wiki' },\n { id: 'teambit.wiki/blocks/header', targetName: 'blocks/header', path: 'blocks/header' },\n { id: 'teambit.wiki/blocks/footer', targetName: 'blocks/footer', path: 'blocks/footer' },\n {\n id: 'teambit.wiki/content/welcome',\n targetName: 'content/welcome',\n path: 'content/welcome',\n },\n ];\n },\n};\n"],"mappings":";;;;;;;AACA,SAAAA,iBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,gBAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEO,MAAME,0BAA6C,GAAG;EAC3DC,IAAI,EAAE,YAAY;EAClBC,WAAW,EAAE,4CAA4C;EACzDC,aAAa,EAAE,MAAOC,OAAyB,IAAK;IAClD,OAAO,IAAAC,gCAAmB,EAACD,OAAO,CAAC;EACrC,CAAC;EACDE,IAAI,EAAEA,CAAA,KAAM;IACV,OAAO,CACL;MACEC,EAAE,EAAE,wBAAwB;MAC5BC,UAAU,EAAE,WAAW;MACvBC,IAAI,EAAE;IACR,CAAC,EACD;MAAEF,EAAE,EAAE,4BAA4B;MAAEC,UAAU,EAAE,eAAe;MAAEC,IAAI,EAAE;IAAgB,CAAC,EACxF;MAAEF,EAAE,EAAE,4BAA4B;MAAEC,UAAU,EAAE,eAAe;MAAEC,IAAI,EAAE;IAAgB,CAAC,EACxF;MAAEF,EAAE,EAAE,4BAA4B;MAAEC,UAAU,EAAE,eAAe;MAAEC,IAAI,EAAE;IAAgB,CAAC,EACxF;MACEF,EAAE,EAAE,8BAA8B;MAClCC,UAAU,EAAE,iBAAiB;MAC7BC,IAAI,EAAE;IACR,CAAC,CACF;EACH;AACF,CAAC;AAACC,OAAA,CAAAV,0BAAA,GAAAA,0BAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const DEFAULT_SCOPE_NAME = "my-org.my-scope";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.DEFAULT_SCOPE_NAME = void 0;
|
|
7
|
-
const DEFAULT_SCOPE_NAME = 'my-org.my-scope';
|
|
8
|
-
exports.DEFAULT_SCOPE_NAME = DEFAULT_SCOPE_NAME;
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["DEFAULT_SCOPE_NAME","exports"],"sources":["constants.ts"],"sourcesContent":["export const DEFAULT_SCOPE_NAME = 'my-org.my-scope';\n"],"mappings":";;;;;;AAAO,MAAMA,kBAAkB,GAAG,iBAAiB;AAACC,OAAA,CAAAD,kBAAA,GAAAA,kBAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const eslintConfig = "module.exports = {\n extends: ['@teambit/eslint-config-bit-react'],\n parserOptions: {\n project: './tsconfig.json'\n },\n}";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.eslintConfig = void 0;
|
|
7
|
-
const eslintConfig = `module.exports = {
|
|
8
|
-
extends: ['@teambit/eslint-config-bit-react'],
|
|
9
|
-
parserOptions: {
|
|
10
|
-
project: './tsconfig.json'
|
|
11
|
-
},
|
|
12
|
-
}`;
|
|
13
|
-
exports.eslintConfig = eslintConfig;
|
|
14
|
-
|
|
15
|
-
//# sourceMappingURL=eslint-config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["eslintConfig","exports"],"sources":["eslint-config.ts"],"sourcesContent":["export const eslintConfig = `module.exports = {\n extends: ['@teambit/eslint-config-bit-react'],\n parserOptions: {\n project: './tsconfig.json'\n },\n}`;\n"],"mappings":";;;;;;AAAO,MAAMA,YAAY,GAAI;AAC7B;AACA;AACA;AACA;AACA,EAAE;AAACC,OAAA,CAAAD,YAAA,GAAAA,YAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function gitIgnore(): string;
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.gitIgnore = gitIgnore;
|
|
7
|
-
function gitIgnore() {
|
|
8
|
-
return `# Bit
|
|
9
|
-
.bit
|
|
10
|
-
public
|
|
11
|
-
|
|
12
|
-
# Logs
|
|
13
|
-
logs
|
|
14
|
-
*.log
|
|
15
|
-
npm-debug.log*
|
|
16
|
-
yarn-debug.log*
|
|
17
|
-
yarn-error.log*
|
|
18
|
-
lerna-debug.log*
|
|
19
|
-
|
|
20
|
-
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
21
|
-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
22
|
-
|
|
23
|
-
# Runtime data
|
|
24
|
-
pids
|
|
25
|
-
*.pid
|
|
26
|
-
*.seed
|
|
27
|
-
*.pid.lock
|
|
28
|
-
|
|
29
|
-
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
30
|
-
lib-cov
|
|
31
|
-
|
|
32
|
-
# Coverage directory used by tools like istanbul
|
|
33
|
-
coverage
|
|
34
|
-
*.lcov
|
|
35
|
-
|
|
36
|
-
# nyc test coverage
|
|
37
|
-
.nyc_output
|
|
38
|
-
|
|
39
|
-
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
40
|
-
.grunt
|
|
41
|
-
|
|
42
|
-
# Bower dependency directory (https://bower.io/)
|
|
43
|
-
bower_components
|
|
44
|
-
|
|
45
|
-
# node-waf configuration
|
|
46
|
-
.lock-wscript
|
|
47
|
-
|
|
48
|
-
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
49
|
-
build/Release
|
|
50
|
-
|
|
51
|
-
# Dependency directories
|
|
52
|
-
node_modules/
|
|
53
|
-
jspm_packages/
|
|
54
|
-
|
|
55
|
-
# TypeScript v1 declaration files
|
|
56
|
-
typings/
|
|
57
|
-
|
|
58
|
-
# TypeScript cache
|
|
59
|
-
*.tsbuildinfo
|
|
60
|
-
|
|
61
|
-
# Optional npm cache directory
|
|
62
|
-
.npm
|
|
63
|
-
|
|
64
|
-
# Optional eslint cache
|
|
65
|
-
.eslintcache
|
|
66
|
-
|
|
67
|
-
# Microbundle cache
|
|
68
|
-
.rpt2_cache/
|
|
69
|
-
.rts2_cache_cjs/
|
|
70
|
-
.rts2_cache_es/
|
|
71
|
-
.rts2_cache_umd/
|
|
72
|
-
|
|
73
|
-
# Optional REPL history
|
|
74
|
-
.node_repl_history
|
|
75
|
-
|
|
76
|
-
# Output of 'npm pack'
|
|
77
|
-
*.tgz
|
|
78
|
-
|
|
79
|
-
# Yarn Integrity file
|
|
80
|
-
.yarn-integrity
|
|
81
|
-
|
|
82
|
-
# dotenv environment variables file
|
|
83
|
-
.env
|
|
84
|
-
.env.test
|
|
85
|
-
|
|
86
|
-
# parcel-bundler cache (https://parceljs.org/)
|
|
87
|
-
.cache
|
|
88
|
-
|
|
89
|
-
# Next.js build output
|
|
90
|
-
.next
|
|
91
|
-
|
|
92
|
-
# Nuxt.js build / generate output
|
|
93
|
-
.nuxt
|
|
94
|
-
dist
|
|
95
|
-
|
|
96
|
-
# Gatsby files
|
|
97
|
-
.cache/
|
|
98
|
-
|
|
99
|
-
# vuepress build output
|
|
100
|
-
.vuepress/dist
|
|
101
|
-
|
|
102
|
-
# Serverless directories
|
|
103
|
-
.serverless/
|
|
104
|
-
|
|
105
|
-
# FuseBox cache
|
|
106
|
-
.fusebox/
|
|
107
|
-
|
|
108
|
-
# DynamoDB Local files
|
|
109
|
-
.dynamodb/
|
|
110
|
-
|
|
111
|
-
# TernJS port file
|
|
112
|
-
.tern-port
|
|
113
|
-
|
|
114
|
-
.history
|
|
115
|
-
|
|
116
|
-
.DS_Store
|
|
117
|
-
|
|
118
|
-
`;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
//# sourceMappingURL=git-ignore.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["gitIgnore"],"sources":["git-ignore.ts"],"sourcesContent":["export function gitIgnore() {\n return `# Bit\n.bit\npublic\n\n# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\nlerna-debug.log*\n\n# Diagnostic reports (https://nodejs.org/api/report.html)\nreport.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json\n\n# Runtime data\npids\n*.pid\n*.seed\n*.pid.lock\n\n# Directory for instrumented libs generated by jscoverage/JSCover\nlib-cov\n\n# Coverage directory used by tools like istanbul\ncoverage\n*.lcov\n\n# nyc test coverage\n.nyc_output\n\n# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)\n.grunt\n\n# Bower dependency directory (https://bower.io/)\nbower_components\n\n# node-waf configuration\n.lock-wscript\n\n# Compiled binary addons (https://nodejs.org/api/addons.html)\nbuild/Release\n\n# Dependency directories\nnode_modules/\njspm_packages/\n\n# TypeScript v1 declaration files\ntypings/\n\n# TypeScript cache\n*.tsbuildinfo\n\n# Optional npm cache directory\n.npm\n\n# Optional eslint cache\n.eslintcache\n\n# Microbundle cache\n.rpt2_cache/\n.rts2_cache_cjs/\n.rts2_cache_es/\n.rts2_cache_umd/\n\n# Optional REPL history\n.node_repl_history\n\n# Output of 'npm pack'\n*.tgz\n\n# Yarn Integrity file\n.yarn-integrity\n\n# dotenv environment variables file\n.env\n.env.test\n\n# parcel-bundler cache (https://parceljs.org/)\n.cache\n\n# Next.js build output\n.next\n\n# Nuxt.js build / generate output\n.nuxt\ndist\n\n# Gatsby files\n.cache/\n\n# vuepress build output\n.vuepress/dist\n\n# Serverless directories\n.serverless/\n\n# FuseBox cache\n.fusebox/\n\n# DynamoDB Local files\n.dynamodb/\n\n# TernJS port file\n.tern-port\n\n.history\n\n.DS_Store\n\n`;\n}\n"],"mappings":";;;;;;AAAO,SAASA,SAASA,CAAA,EAAG;EAC1B,OAAQ;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.regexp.exec.js");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.launchJson = launchJson;
|
|
8
|
-
function launchJson({
|
|
9
|
-
defaultScope
|
|
10
|
-
}) {
|
|
11
|
-
const scopedRegistry = defaultScope ? `@${defaultScope.split('.')[0]}` : '@my-org';
|
|
12
|
-
return `{
|
|
13
|
-
// Use IntelliSense to learn about possible attributes.
|
|
14
|
-
// Hover to view descriptions of existing attributes.
|
|
15
|
-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
16
|
-
"version": "0.2.0",
|
|
17
|
-
"configurations": [
|
|
18
|
-
{
|
|
19
|
-
"type": "node",
|
|
20
|
-
"request": "launch",
|
|
21
|
-
"name": "test",
|
|
22
|
-
"program": "\${workspaceFolder}/node_modules/@teambit/bit/dist/app.js",
|
|
23
|
-
"args": ["test"],
|
|
24
|
-
"resolveSourceMapLocations": [
|
|
25
|
-
"\${workspaceFolder}/node_modules/${scopedRegistry}/**/*.js"
|
|
26
|
-
],
|
|
27
|
-
"outFiles": [
|
|
28
|
-
"\${workspaceFolder}/node_modules/${scopedRegistry}/**/*.js"
|
|
29
|
-
],
|
|
30
|
-
"console": "integratedTerminal",
|
|
31
|
-
"sourceMaps": true,
|
|
32
|
-
"internalConsoleOptions": "neverOpen",
|
|
33
|
-
"cwd": "\${workspaceFolder}"
|
|
34
|
-
}
|
|
35
|
-
]
|
|
36
|
-
}`;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
//# sourceMappingURL=launch-json.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["launchJson","defaultScope","scopedRegistry","split"],"sources":["launch-json.ts"],"sourcesContent":["import { WorkspaceContext } from '@teambit/generator';\n\nexport function launchJson({ defaultScope }: WorkspaceContext) {\n const scopedRegistry = defaultScope ? `@${defaultScope.split('.')[0]}` : '@my-org';\n return `{\n // Use IntelliSense to learn about possible attributes.\n // Hover to view descriptions of existing attributes.\n // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387\n \"version\": \"0.2.0\",\n \"configurations\": [\n {\n \"type\": \"node\",\n \"request\": \"launch\",\n \"name\": \"test\",\n \"program\": \"\\${workspaceFolder}/node_modules/@teambit/bit/dist/app.js\",\n \"args\": [\"test\"],\n \"resolveSourceMapLocations\": [\n \"\\${workspaceFolder}/node_modules/${scopedRegistry}/**/*.js\"\n ],\n \"outFiles\": [\n \"\\${workspaceFolder}/node_modules/${scopedRegistry}/**/*.js\"\n ],\n \"console\": \"integratedTerminal\",\n \"sourceMaps\": true,\n \"internalConsoleOptions\": \"neverOpen\",\n \"cwd\": \"\\${workspaceFolder}\"\n }\n ]\n}`;\n}\n"],"mappings":";;;;;;;AAEO,SAASA,UAAUA,CAAC;EAAEC;AAA+B,CAAC,EAAE;EAC7D,MAAMC,cAAc,GAAGD,YAAY,GAAI,IAAGA,YAAY,CAACE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAE,EAAC,GAAG,SAAS;EAClF,OAAQ;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4CD,cAAe;AAC3D;AACA;AACA,4CAA4CA,cAAe;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const prettierConfig = "const baseConfig = require(\"@teambit/react/prettier/prettier.config\");\nmodule.exports = {\n ...baseConfig,\n};\n";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.prettierConfig = void 0;
|
|
7
|
-
const prettierConfig = `const baseConfig = require("@teambit/react/prettier/prettier.config");
|
|
8
|
-
module.exports = {
|
|
9
|
-
...baseConfig,
|
|
10
|
-
};
|
|
11
|
-
`;
|
|
12
|
-
exports.prettierConfig = prettierConfig;
|
|
13
|
-
|
|
14
|
-
//# sourceMappingURL=prettier-config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["prettierConfig","exports"],"sources":["prettier-config.ts"],"sourcesContent":["export const prettierConfig = `const baseConfig = require(\"@teambit/react/prettier/prettier.config\");\nmodule.exports = {\n ...baseConfig,\n};\n`;\n"],"mappings":";;;;;;AAAO,MAAMA,cAAc,GAAI;AAC/B;AACA;AACA;AACA,CAAC;AAACC,OAAA,CAAAD,cAAA,GAAAA,cAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function readme(): string;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.readme = readme;
|
|
7
|
-
function readme() {
|
|
8
|
-
return `# Welcome to your Bit Workspace
|
|
9
|
-
|
|
10
|
-
To get started straight away run \`bit start\` and open [localhost:3000](http://localhost:3000). It may take a while to build the first time you run this command as it is building the whole User Interface for your development environment.
|
|
11
|
-
|
|
12
|
-
\`\`\`bash
|
|
13
|
-
bit start
|
|
14
|
-
\`\`\`
|
|
15
|
-
|
|
16
|
-
## What's included
|
|
17
|
-
|
|
18
|
-
- **workspace.jsonc**
|
|
19
|
-
|
|
20
|
-
This is the main configuration file of your bit workspace. Here you can modify the workspace name and icon as well as default directory and scope. It is where dependencies are found when you install anything. It is also where you register aspects, bit extensions as well as apply the environments for your components. This workspace has been setup so that all components use the React env. However you can create other components and apply other envs to them such as node, html, angular and aspect envs.
|
|
21
|
-
|
|
22
|
-
- **.bitmap**
|
|
23
|
-
|
|
24
|
-
This is an auto-generated file and includes the mapping of your components. There is one component included here. In order to remove this component you can run the following command.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
- **Demo Components**
|
|
28
|
-
|
|
29
|
-
A folder (unless the --empty flag was used) containing demo components are included in this workspace. These components are used to demonstrate the different features of Bit. If you would like to remove these components you can run the following command.
|
|
30
|
-
|
|
31
|
-
\`\`\`jsx
|
|
32
|
-
bit remove "ui/*" --delete files
|
|
33
|
-
\`\`\`
|
|
34
|
-
|
|
35
|
-
This removes the components from the bitmap as well as removes the files.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
- **.gitignore**
|
|
39
|
-
|
|
40
|
-
Ignoring any files from version control
|
|
41
|
-
`;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
//# sourceMappingURL=readme-file.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["readme"],"sources":["readme-file.ts"],"sourcesContent":["export function readme() {\n return `# Welcome to your Bit Workspace\n\nTo get started straight away run \\`bit start\\` and open [localhost:3000](http://localhost:3000). It may take a while to build the first time you run this command as it is building the whole User Interface for your development environment.\n\n\\`\\`\\`bash\nbit start\n\\`\\`\\`\n\n## What's included\n\n- **workspace.jsonc**\n\nThis is the main configuration file of your bit workspace. Here you can modify the workspace name and icon as well as default directory and scope. It is where dependencies are found when you install anything. It is also where you register aspects, bit extensions as well as apply the environments for your components. This workspace has been setup so that all components use the React env. However you can create other components and apply other envs to them such as node, html, angular and aspect envs.\n\n- **.bitmap**\n\nThis is an auto-generated file and includes the mapping of your components. There is one component included here. In order to remove this component you can run the following command.\n\n\n- **Demo Components**\n\nA folder (unless the --empty flag was used) containing demo components are included in this workspace. These components are used to demonstrate the different features of Bit. If you would like to remove these components you can run the following command.\n\n\\`\\`\\`jsx\nbit remove \"ui/*\" --delete files\n\\`\\`\\`\n\nThis removes the components from the bitmap as well as removes the files.\n\n\n- **.gitignore**\n\nIgnoring any files from version control\n`;\n}\n"],"mappings":";;;;;;AAAO,SAASA,MAAMA,CAAA,EAAG;EACvB,OAAQ;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const tsConfig = "{\n \"extends\": \"./node_modules/@teambit/react/typescript/tsconfig.json\",\n // \"include\": [],\n \"compilerOptions\": {\n \"noEmit\": true\n },\n \"exclude\": [\n \"dist\"\n ]\n}";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.tsConfig = void 0;
|
|
7
|
-
const tsConfig = `{
|
|
8
|
-
"extends": "./node_modules/@teambit/react/typescript/tsconfig.json",
|
|
9
|
-
// "include": [],
|
|
10
|
-
"compilerOptions": {
|
|
11
|
-
"noEmit": true
|
|
12
|
-
},
|
|
13
|
-
"exclude": [
|
|
14
|
-
"dist"
|
|
15
|
-
]
|
|
16
|
-
}`;
|
|
17
|
-
exports.tsConfig = tsConfig;
|
|
18
|
-
|
|
19
|
-
//# sourceMappingURL=ts-config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["tsConfig","exports"],"sources":["ts-config.ts"],"sourcesContent":["export const tsConfig = `{\n \"extends\": \"./node_modules/@teambit/react/typescript/tsconfig.json\",\n // \"include\": [],\n \"compilerOptions\": {\n \"noEmit\": true\n },\n \"exclude\": [\n \"dist\"\n ]\n}`;\n"],"mappings":";;;;;;AAAO,MAAMA,QAAQ,GAAI;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AAACC,OAAA,CAAAD,QAAA,GAAAA,QAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const assetTypes = "declare module '*.png' {\n const value: any;\n export = value;\n}\ndeclare module '*.svg' {\n import type { FunctionComponent, SVGProps } from 'react';\n\n export const ReactComponent: FunctionComponent<SVGProps<SVGSVGElement> & { title?: string }>;\n const src: string;\n export default src;\n}\ndeclare module '*.jpg' {\n const value: any;\n export = value;\n}\ndeclare module '*.jpeg' {\n const value: any;\n export = value;\n}\ndeclare module '*.gif' {\n const value: any;\n export = value;\n}\ndeclare module '*.bmp' {\n const value: any;\n export = value;\n}\n";
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.assetTypes = void 0;
|
|
7
|
-
const assetTypes = `declare module '*.png' {
|
|
8
|
-
const value: any;
|
|
9
|
-
export = value;
|
|
10
|
-
}
|
|
11
|
-
declare module '*.svg' {
|
|
12
|
-
import type { FunctionComponent, SVGProps } from 'react';
|
|
13
|
-
|
|
14
|
-
export const ReactComponent: FunctionComponent<SVGProps<SVGSVGElement> & { title?: string }>;
|
|
15
|
-
const src: string;
|
|
16
|
-
export default src;
|
|
17
|
-
}
|
|
18
|
-
declare module '*.jpg' {
|
|
19
|
-
const value: any;
|
|
20
|
-
export = value;
|
|
21
|
-
}
|
|
22
|
-
declare module '*.jpeg' {
|
|
23
|
-
const value: any;
|
|
24
|
-
export = value;
|
|
25
|
-
}
|
|
26
|
-
declare module '*.gif' {
|
|
27
|
-
const value: any;
|
|
28
|
-
export = value;
|
|
29
|
-
}
|
|
30
|
-
declare module '*.bmp' {
|
|
31
|
-
const value: any;
|
|
32
|
-
export = value;
|
|
33
|
-
}
|
|
34
|
-
`;
|
|
35
|
-
exports.assetTypes = assetTypes;
|
|
36
|
-
|
|
37
|
-
//# sourceMappingURL=asset.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["assetTypes","exports"],"sources":["asset.ts"],"sourcesContent":["export const assetTypes = `declare module '*.png' {\n const value: any;\n export = value;\n}\ndeclare module '*.svg' {\n import type { FunctionComponent, SVGProps } from 'react';\n\n export const ReactComponent: FunctionComponent<SVGProps<SVGSVGElement> & { title?: string }>;\n const src: string;\n export default src;\n}\ndeclare module '*.jpg' {\n const value: any;\n export = value;\n}\ndeclare module '*.jpeg' {\n const value: any;\n export = value;\n}\ndeclare module '*.gif' {\n const value: any;\n export = value;\n}\ndeclare module '*.bmp' {\n const value: any;\n export = value;\n}\n`;\n"],"mappings":";;;;;;AAAO,MAAMA,UAAU,GAAI;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAACC,OAAA,CAAAD,UAAA,GAAAA,UAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const styleTypes = "declare module '*.module.css' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\ndeclare module '*.module.scss' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\ndeclare module '*.module.sass' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\n\ndeclare module '*.module.less' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\n\ndeclare module '*.less' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\n\ndeclare module '*.css' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\n\ndeclare module '*.sass' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\n\ndeclare module '*.scss' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\n\ndeclare module '*.mdx' {\n const component: any;\n export default component;\n}\n";
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.styleTypes = void 0;
|
|
7
|
-
const styleTypes = `declare module '*.module.css' {
|
|
8
|
-
const classes: { readonly [key: string]: string };
|
|
9
|
-
export default classes;
|
|
10
|
-
}
|
|
11
|
-
declare module '*.module.scss' {
|
|
12
|
-
const classes: { readonly [key: string]: string };
|
|
13
|
-
export default classes;
|
|
14
|
-
}
|
|
15
|
-
declare module '*.module.sass' {
|
|
16
|
-
const classes: { readonly [key: string]: string };
|
|
17
|
-
export default classes;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
declare module '*.module.less' {
|
|
21
|
-
const classes: { readonly [key: string]: string };
|
|
22
|
-
export default classes;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
declare module '*.less' {
|
|
26
|
-
const classes: { readonly [key: string]: string };
|
|
27
|
-
export default classes;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
declare module '*.css' {
|
|
31
|
-
const classes: { readonly [key: string]: string };
|
|
32
|
-
export default classes;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
declare module '*.sass' {
|
|
36
|
-
const classes: { readonly [key: string]: string };
|
|
37
|
-
export default classes;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
declare module '*.scss' {
|
|
41
|
-
const classes: { readonly [key: string]: string };
|
|
42
|
-
export default classes;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
declare module '*.mdx' {
|
|
46
|
-
const component: any;
|
|
47
|
-
export default component;
|
|
48
|
-
}
|
|
49
|
-
`;
|
|
50
|
-
exports.styleTypes = styleTypes;
|
|
51
|
-
|
|
52
|
-
//# sourceMappingURL=style.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["styleTypes","exports"],"sources":["style.ts"],"sourcesContent":["export const styleTypes = `declare module '*.module.css' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\ndeclare module '*.module.scss' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\ndeclare module '*.module.sass' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\n\ndeclare module '*.module.less' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\n\ndeclare module '*.less' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\n\ndeclare module '*.css' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\n\ndeclare module '*.sass' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\n\ndeclare module '*.scss' {\n const classes: { readonly [key: string]: string };\n export default classes;\n}\n\ndeclare module '*.mdx' {\n const component: any;\n export default component;\n}\n`;\n"],"mappings":";;;;;;AAAO,MAAMA,UAAU,GAAI;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAACC,OAAA,CAAAD,UAAA,GAAAA,UAAA"}
|