@rushstack/heft-web-rig 0.7.1 → 0.8.2
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/CHANGELOG.json +2809 -2727
- package/CHANGELOG.md +736 -712
- package/README.md +31 -31
- package/package.json +10 -9
- package/profiles/library/config/api-extractor-task.json +21 -21
- package/profiles/library/config/heft.json +58 -58
- package/profiles/library/config/jest.config.json +5 -5
- package/profiles/library/config/rush-project.json +12 -3
- package/profiles/library/config/sass.json +47 -47
- package/profiles/library/config/typescript.json +68 -68
- package/profiles/library/tsconfig-base.json +29 -29
package/README.md
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
## @rushstack/heft-web-rig
|
|
2
|
-
|
|
3
|
-
A rig package for web projects that build using [Heft](https://www.npmjs.com/package/@rushstack/heft)
|
|
4
|
-
build system. To learn more about rig packages, consult the
|
|
5
|
-
[@rushstack/rig-package](https://www.npmjs.com/package/@rushstack/rig-package) documentation.
|
|
6
|
-
|
|
7
|
-
This rig contains a single profile: `library`
|
|
8
|
-
|
|
9
|
-
To enable it, add a **rig.json** file to your project, as shown below:
|
|
10
|
-
|
|
11
|
-
**config/rig.json**
|
|
12
|
-
```js
|
|
13
|
-
{
|
|
14
|
-
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",
|
|
15
|
-
|
|
16
|
-
"rigPackageName": "@rushstack/heft-web-rig",
|
|
17
|
-
"rigProfile": "library"
|
|
18
|
-
}
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
The config files provided by this rig profile can be found in the [heft-web-rig/profiles/library](
|
|
22
|
-
https://github.com/microsoft/rushstack/tree/master/rigs/heft-web-rig/profiles/library) source folder.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
## Links
|
|
26
|
-
|
|
27
|
-
- [CHANGELOG.md](
|
|
28
|
-
https://github.com/microsoft/rushstack/blob/master/rigs/heft-web-rig/CHANGELOG.md) - Find
|
|
29
|
-
out what's new in the latest version
|
|
30
|
-
|
|
31
|
-
`@rushstack/heft-web-rig` is part of the [Rush Stack](https://rushstack.io/) family of projects.
|
|
1
|
+
## @rushstack/heft-web-rig
|
|
2
|
+
|
|
3
|
+
A rig package for web projects that build using [Heft](https://www.npmjs.com/package/@rushstack/heft)
|
|
4
|
+
build system. To learn more about rig packages, consult the
|
|
5
|
+
[@rushstack/rig-package](https://www.npmjs.com/package/@rushstack/rig-package) documentation.
|
|
6
|
+
|
|
7
|
+
This rig contains a single profile: `library`
|
|
8
|
+
|
|
9
|
+
To enable it, add a **rig.json** file to your project, as shown below:
|
|
10
|
+
|
|
11
|
+
**config/rig.json**
|
|
12
|
+
```js
|
|
13
|
+
{
|
|
14
|
+
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",
|
|
15
|
+
|
|
16
|
+
"rigPackageName": "@rushstack/heft-web-rig",
|
|
17
|
+
"rigProfile": "library"
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
The config files provided by this rig profile can be found in the [heft-web-rig/profiles/library](
|
|
22
|
+
https://github.com/microsoft/rushstack/tree/master/rigs/heft-web-rig/profiles/library) source folder.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## Links
|
|
26
|
+
|
|
27
|
+
- [CHANGELOG.md](
|
|
28
|
+
https://github.com/microsoft/rushstack/blob/master/rigs/heft-web-rig/CHANGELOG.md) - Find
|
|
29
|
+
out what's new in the latest version
|
|
30
|
+
|
|
31
|
+
`@rushstack/heft-web-rig` is part of the [Rush Stack](https://rushstack.io/) family of projects.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rushstack/heft-web-rig",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "A rig package for web browser projects that build using Heft",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -9,21 +9,22 @@
|
|
|
9
9
|
"directory": "rigs/heft-web-rig"
|
|
10
10
|
},
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"@rushstack/heft": "^0.44.
|
|
12
|
+
"@rushstack/heft": "^0.44.2"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@microsoft/api-extractor": "7.19.
|
|
16
|
-
"@rushstack/heft-jest-plugin": "0.2.
|
|
17
|
-
"@rushstack/heft-sass-plugin": "0.3.
|
|
18
|
-
"@rushstack/heft-webpack4-plugin": "0.3.
|
|
19
|
-
"eslint": "~8.
|
|
15
|
+
"@microsoft/api-extractor": "7.19.4",
|
|
16
|
+
"@rushstack/heft-jest-plugin": "0.2.2",
|
|
17
|
+
"@rushstack/heft-sass-plugin": "0.3.6",
|
|
18
|
+
"@rushstack/heft-webpack4-plugin": "0.3.32",
|
|
19
|
+
"eslint": "~8.7.0",
|
|
20
20
|
"jest-environment-jsdom": "~27.4.2",
|
|
21
21
|
"typescript": "~4.5.2"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@rushstack/heft": "0.44.
|
|
24
|
+
"@rushstack/heft": "0.44.2"
|
|
25
25
|
},
|
|
26
26
|
"scripts": {
|
|
27
|
-
"build": ""
|
|
27
|
+
"build": "",
|
|
28
|
+
"_phase:build": ""
|
|
28
29
|
}
|
|
29
30
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configures the API Extractor task for the Heft build system.
|
|
3
|
-
*
|
|
4
|
-
* This optional additional file customizes how the Heft task is invoked. The main analysis is
|
|
5
|
-
* controlled by API Extractor's own "api-extractor.json" config file.
|
|
6
|
-
*/
|
|
7
|
-
{
|
|
8
|
-
"$schema": "https://developer.microsoft.com/json-schemas/heft/api-extractor-task.schema.json"
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* If set to true, use the project's TypeScript compiler version for API Extractor's
|
|
12
|
-
* analysis. API Extractor's included TypeScript compiler can generally correctly
|
|
13
|
-
* analyze typings generated by older compilers, and referencing the project's compiler
|
|
14
|
-
* can cause issues. If issues are encountered with API Extractor's included compiler,
|
|
15
|
-
* set this option to true.
|
|
16
|
-
*
|
|
17
|
-
* This corresponds to API Extractor's "--typescript-compiler-folder" CLI option and
|
|
18
|
-
* "IExtractorInvokeOptions.typescriptCompilerFolder" API option. This option defaults to false.
|
|
19
|
-
*/
|
|
20
|
-
// "useProjectTypescriptVersion": true
|
|
21
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Configures the API Extractor task for the Heft build system.
|
|
3
|
+
*
|
|
4
|
+
* This optional additional file customizes how the Heft task is invoked. The main analysis is
|
|
5
|
+
* controlled by API Extractor's own "api-extractor.json" config file.
|
|
6
|
+
*/
|
|
7
|
+
{
|
|
8
|
+
"$schema": "https://developer.microsoft.com/json-schemas/heft/api-extractor-task.schema.json"
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* If set to true, use the project's TypeScript compiler version for API Extractor's
|
|
12
|
+
* analysis. API Extractor's included TypeScript compiler can generally correctly
|
|
13
|
+
* analyze typings generated by older compilers, and referencing the project's compiler
|
|
14
|
+
* can cause issues. If issues are encountered with API Extractor's included compiler,
|
|
15
|
+
* set this option to true.
|
|
16
|
+
*
|
|
17
|
+
* This corresponds to API Extractor's "--typescript-compiler-folder" CLI option and
|
|
18
|
+
* "IExtractorInvokeOptions.typescriptCompilerFolder" API option. This option defaults to false.
|
|
19
|
+
*/
|
|
20
|
+
// "useProjectTypescriptVersion": true
|
|
21
|
+
}
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines configuration used by core Heft.
|
|
3
|
-
*/
|
|
4
|
-
{
|
|
5
|
-
"$schema": "https://developer.microsoft.com/json-schemas/heft/heft.schema.json",
|
|
6
|
-
|
|
7
|
-
"eventActions": [
|
|
8
|
-
{
|
|
9
|
-
/**
|
|
10
|
-
* The kind of built-in operation that should be performed.
|
|
11
|
-
* The "deleteGlobs" action deletes files or folders that match the
|
|
12
|
-
* specified glob patterns.
|
|
13
|
-
*/
|
|
14
|
-
"actionKind": "deleteGlobs",
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* The stage of the Heft run during which this action should occur. Note that actions specified in heft.json
|
|
18
|
-
* occur at the end of the stage of the Heft run.
|
|
19
|
-
*/
|
|
20
|
-
"heftEvent": "clean",
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* A user-defined tag whose purpose is to allow configs to replace/delete handlers that were added by other
|
|
24
|
-
* configs.
|
|
25
|
-
*/
|
|
26
|
-
"actionId": "defaultClean",
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Glob patterns to be deleted. The paths are resolved relative to the project folder.
|
|
30
|
-
* Recommend exactly matching with "projectOutputFolderNames" in rush-project.json.
|
|
31
|
-
*/
|
|
32
|
-
"globsToDelete": ["dist", "lib", "lib-commonjs", "temp"]
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* The list of Heft plugins to be loaded.
|
|
38
|
-
*/
|
|
39
|
-
"heftPlugins": [
|
|
40
|
-
{
|
|
41
|
-
/**
|
|
42
|
-
* The path to the plugin package.
|
|
43
|
-
*/
|
|
44
|
-
"plugin": "@rushstack/heft-webpack4-plugin"
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* An optional object that provides additional settings that may be defined by the plugin.
|
|
48
|
-
*/
|
|
49
|
-
// "options": { }
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"plugin": "@rushstack/heft-jest-plugin"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"plugin": "@rushstack/heft-sass-plugin"
|
|
56
|
-
}
|
|
57
|
-
]
|
|
58
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Defines configuration used by core Heft.
|
|
3
|
+
*/
|
|
4
|
+
{
|
|
5
|
+
"$schema": "https://developer.microsoft.com/json-schemas/heft/heft.schema.json",
|
|
6
|
+
|
|
7
|
+
"eventActions": [
|
|
8
|
+
{
|
|
9
|
+
/**
|
|
10
|
+
* The kind of built-in operation that should be performed.
|
|
11
|
+
* The "deleteGlobs" action deletes files or folders that match the
|
|
12
|
+
* specified glob patterns.
|
|
13
|
+
*/
|
|
14
|
+
"actionKind": "deleteGlobs",
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The stage of the Heft run during which this action should occur. Note that actions specified in heft.json
|
|
18
|
+
* occur at the end of the stage of the Heft run.
|
|
19
|
+
*/
|
|
20
|
+
"heftEvent": "clean",
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* A user-defined tag whose purpose is to allow configs to replace/delete handlers that were added by other
|
|
24
|
+
* configs.
|
|
25
|
+
*/
|
|
26
|
+
"actionId": "defaultClean",
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Glob patterns to be deleted. The paths are resolved relative to the project folder.
|
|
30
|
+
* Recommend exactly matching with "projectOutputFolderNames" in rush-project.json.
|
|
31
|
+
*/
|
|
32
|
+
"globsToDelete": ["dist", "lib", "lib-commonjs", "temp"]
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The list of Heft plugins to be loaded.
|
|
38
|
+
*/
|
|
39
|
+
"heftPlugins": [
|
|
40
|
+
{
|
|
41
|
+
/**
|
|
42
|
+
* The path to the plugin package.
|
|
43
|
+
*/
|
|
44
|
+
"plugin": "@rushstack/heft-webpack4-plugin"
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* An optional object that provides additional settings that may be defined by the plugin.
|
|
48
|
+
*/
|
|
49
|
+
// "options": { }
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"plugin": "@rushstack/heft-jest-plugin"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"plugin": "@rushstack/heft-sass-plugin"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@rushstack/heft-jest-plugin/includes/jest-shared.config.json",
|
|
3
|
-
|
|
4
|
-
"testEnvironment": "jest-environment-jsdom"
|
|
5
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"extends": "@rushstack/heft-jest-plugin/includes/jest-shared.config.json",
|
|
3
|
+
|
|
4
|
+
"testEnvironment": "jest-environment-jsdom"
|
|
5
|
+
}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"
|
|
3
|
-
|
|
1
|
+
{
|
|
2
|
+
"operationSettings": [
|
|
3
|
+
{
|
|
4
|
+
"operationName": "_phase:build",
|
|
5
|
+
"outputFolderNames": ["dist", "lib", "lib-commonjs", "temp"]
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"operationName": "build",
|
|
9
|
+
"outputFolderNames": ["dist", "lib", "lib-commonjs", "temp"]
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configures the Sass Typings plugin for the Heft build system.
|
|
3
|
-
*
|
|
4
|
-
* This optional additional file customizes Sass parsing, module resolution, and emitting of
|
|
5
|
-
* typings files for the Typescript compiler.
|
|
6
|
-
*/
|
|
7
|
-
{
|
|
8
|
-
"$schema": "https://developer.microsoft.com/json-schemas/heft/sass.schema.json"
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Source code root directory.
|
|
12
|
-
* This is where .css, .sass, and .scss files will be searched for to generate typings.
|
|
13
|
-
*/
|
|
14
|
-
// "srcFolder": "src",
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Output directory for generated Sass typings.
|
|
18
|
-
*/
|
|
19
|
-
// "generatedTsFolder": "temp/sass-ts",
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Determines if export values are wrapped in a default property, or not.
|
|
23
|
-
*/
|
|
24
|
-
// "exportAsDefault": true,
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Files with these extensions will pass through the Sass transpiler for typings generation.
|
|
28
|
-
*/
|
|
29
|
-
// "fileExtensions": [
|
|
30
|
-
// ".sass",
|
|
31
|
-
// ".scss",
|
|
32
|
-
// ".css
|
|
33
|
-
// ],
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* A list of paths used when resolving Sass imports.
|
|
37
|
-
*/
|
|
38
|
-
// "importIncludePaths": [
|
|
39
|
-
// "node_modules",
|
|
40
|
-
// "src"
|
|
41
|
-
// ],
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* A list of file paths relative to the "src" folder that should be excluded from typings generation.
|
|
45
|
-
*/
|
|
46
|
-
// "excludeFiles": []
|
|
47
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Configures the Sass Typings plugin for the Heft build system.
|
|
3
|
+
*
|
|
4
|
+
* This optional additional file customizes Sass parsing, module resolution, and emitting of
|
|
5
|
+
* typings files for the Typescript compiler.
|
|
6
|
+
*/
|
|
7
|
+
{
|
|
8
|
+
"$schema": "https://developer.microsoft.com/json-schemas/heft/sass.schema.json"
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Source code root directory.
|
|
12
|
+
* This is where .css, .sass, and .scss files will be searched for to generate typings.
|
|
13
|
+
*/
|
|
14
|
+
// "srcFolder": "src",
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Output directory for generated Sass typings.
|
|
18
|
+
*/
|
|
19
|
+
// "generatedTsFolder": "temp/sass-ts",
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Determines if export values are wrapped in a default property, or not.
|
|
23
|
+
*/
|
|
24
|
+
// "exportAsDefault": true,
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Files with these extensions will pass through the Sass transpiler for typings generation.
|
|
28
|
+
*/
|
|
29
|
+
// "fileExtensions": [
|
|
30
|
+
// ".sass",
|
|
31
|
+
// ".scss",
|
|
32
|
+
// ".css
|
|
33
|
+
// ],
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* A list of paths used when resolving Sass imports.
|
|
37
|
+
*/
|
|
38
|
+
// "importIncludePaths": [
|
|
39
|
+
// "node_modules",
|
|
40
|
+
// "src"
|
|
41
|
+
// ],
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* A list of file paths relative to the "src" folder that should be excluded from typings generation.
|
|
45
|
+
*/
|
|
46
|
+
// "excludeFiles": []
|
|
47
|
+
}
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configures the TypeScript plugin for Heft. This plugin also manages linting.
|
|
3
|
-
*/
|
|
4
|
-
{
|
|
5
|
-
"$schema": "https://developer.microsoft.com/json-schemas/heft/typescript.schema.json",
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* If provided, emit these module kinds in addition to the modules specified in the tsconfig.
|
|
9
|
-
* Note that this option only applies to the main tsconfig.json configuration.
|
|
10
|
-
*/
|
|
11
|
-
"additionalModuleKindsToEmit": [
|
|
12
|
-
{
|
|
13
|
-
/**
|
|
14
|
-
* (Required) Must be one of "commonjs", "amd", "umd", "system", "es2015", "esnext"
|
|
15
|
-
*/
|
|
16
|
-
"moduleKind": "commonjs",
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* (Required) The name of the folder where the output will be written.
|
|
20
|
-
*/
|
|
21
|
-
"outFolderName": "lib-commonjs"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Specifies the intermediary folder that tests will use. Because Jest uses the
|
|
27
|
-
* Node.js runtime to execute tests, the module format must be CommonJS.
|
|
28
|
-
*
|
|
29
|
-
* The default value is "lib".
|
|
30
|
-
*/
|
|
31
|
-
"emitFolderNameForTests": "lib-commonjs",
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* If set to "true", the TSlint task will not be invoked.
|
|
35
|
-
*/
|
|
36
|
-
// "disableTslint": true,
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Set this to change the maximum number of file handles that will be opened concurrently for writing.
|
|
40
|
-
* The default is 50.
|
|
41
|
-
*/
|
|
42
|
-
// "maxWriteParallelism": 50,
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Describes the way files should be statically coped from src to TS output folders
|
|
46
|
-
*/
|
|
47
|
-
"staticAssetsToCopy": {
|
|
48
|
-
/**
|
|
49
|
-
* File extensions that should be copied from the src folder to the destination folder(s).
|
|
50
|
-
*/
|
|
51
|
-
"fileExtensions": [".json"]
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Glob patterns that should be explicitly included.
|
|
55
|
-
*/
|
|
56
|
-
// "includeGlobs": [
|
|
57
|
-
// "some/path/*.js"
|
|
58
|
-
// ],
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Glob patterns that should be explicitly excluded. This takes precedence over globs listed
|
|
62
|
-
* in "includeGlobs" and files that match the file extensions provided in "fileExtensions".
|
|
63
|
-
*/
|
|
64
|
-
// "excludeGlobs": [
|
|
65
|
-
// "some/path/*.css"
|
|
66
|
-
// ]
|
|
67
|
-
}
|
|
68
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Configures the TypeScript plugin for Heft. This plugin also manages linting.
|
|
3
|
+
*/
|
|
4
|
+
{
|
|
5
|
+
"$schema": "https://developer.microsoft.com/json-schemas/heft/typescript.schema.json",
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* If provided, emit these module kinds in addition to the modules specified in the tsconfig.
|
|
9
|
+
* Note that this option only applies to the main tsconfig.json configuration.
|
|
10
|
+
*/
|
|
11
|
+
"additionalModuleKindsToEmit": [
|
|
12
|
+
{
|
|
13
|
+
/**
|
|
14
|
+
* (Required) Must be one of "commonjs", "amd", "umd", "system", "es2015", "esnext"
|
|
15
|
+
*/
|
|
16
|
+
"moduleKind": "commonjs",
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* (Required) The name of the folder where the output will be written.
|
|
20
|
+
*/
|
|
21
|
+
"outFolderName": "lib-commonjs"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Specifies the intermediary folder that tests will use. Because Jest uses the
|
|
27
|
+
* Node.js runtime to execute tests, the module format must be CommonJS.
|
|
28
|
+
*
|
|
29
|
+
* The default value is "lib".
|
|
30
|
+
*/
|
|
31
|
+
"emitFolderNameForTests": "lib-commonjs",
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* If set to "true", the TSlint task will not be invoked.
|
|
35
|
+
*/
|
|
36
|
+
// "disableTslint": true,
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Set this to change the maximum number of file handles that will be opened concurrently for writing.
|
|
40
|
+
* The default is 50.
|
|
41
|
+
*/
|
|
42
|
+
// "maxWriteParallelism": 50,
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Describes the way files should be statically coped from src to TS output folders
|
|
46
|
+
*/
|
|
47
|
+
"staticAssetsToCopy": {
|
|
48
|
+
/**
|
|
49
|
+
* File extensions that should be copied from the src folder to the destination folder(s).
|
|
50
|
+
*/
|
|
51
|
+
"fileExtensions": [".json"]
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Glob patterns that should be explicitly included.
|
|
55
|
+
*/
|
|
56
|
+
// "includeGlobs": [
|
|
57
|
+
// "some/path/*.js"
|
|
58
|
+
// ],
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Glob patterns that should be explicitly excluded. This takes precedence over globs listed
|
|
62
|
+
* in "includeGlobs" and files that match the file extensions provided in "fileExtensions".
|
|
63
|
+
*/
|
|
64
|
+
// "excludeGlobs": [
|
|
65
|
+
// "some/path/*.css"
|
|
66
|
+
// ]
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json.schemastore.org/tsconfig",
|
|
3
|
-
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "../../../../../lib",
|
|
6
|
-
"rootDir": "../../../../../src",
|
|
7
|
-
"rootDirs": ["../../../../../src", "../../../../../temp/sass-ts"],
|
|
8
|
-
|
|
9
|
-
"forceConsistentCasingInFileNames": true,
|
|
10
|
-
"jsx": "react",
|
|
11
|
-
"declaration": true,
|
|
12
|
-
"sourceMap": true,
|
|
13
|
-
"declarationMap": true,
|
|
14
|
-
"inlineSources": true,
|
|
15
|
-
"experimentalDecorators": true,
|
|
16
|
-
"strict": true,
|
|
17
|
-
"esModuleInterop": true,
|
|
18
|
-
"noEmitOnError": false,
|
|
19
|
-
"allowUnreachableCode": false,
|
|
20
|
-
|
|
21
|
-
"types": [],
|
|
22
|
-
|
|
23
|
-
"module": "esnext",
|
|
24
|
-
"moduleResolution": "node",
|
|
25
|
-
"target": "es5",
|
|
26
|
-
"lib": ["es5", "scripthost", "es2015.collection", "es2015.promise", "es2015.iterable", "dom"]
|
|
27
|
-
},
|
|
28
|
-
"include": ["../../../../../src/**/*.ts", "../../../../../src/**/*.tsx"]
|
|
29
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json.schemastore.org/tsconfig",
|
|
3
|
+
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../../../../lib",
|
|
6
|
+
"rootDir": "../../../../../src",
|
|
7
|
+
"rootDirs": ["../../../../../src", "../../../../../temp/sass-ts"],
|
|
8
|
+
|
|
9
|
+
"forceConsistentCasingInFileNames": true,
|
|
10
|
+
"jsx": "react",
|
|
11
|
+
"declaration": true,
|
|
12
|
+
"sourceMap": true,
|
|
13
|
+
"declarationMap": true,
|
|
14
|
+
"inlineSources": true,
|
|
15
|
+
"experimentalDecorators": true,
|
|
16
|
+
"strict": true,
|
|
17
|
+
"esModuleInterop": true,
|
|
18
|
+
"noEmitOnError": false,
|
|
19
|
+
"allowUnreachableCode": false,
|
|
20
|
+
|
|
21
|
+
"types": [],
|
|
22
|
+
|
|
23
|
+
"module": "esnext",
|
|
24
|
+
"moduleResolution": "node",
|
|
25
|
+
"target": "es5",
|
|
26
|
+
"lib": ["es5", "scripthost", "es2015.collection", "es2015.promise", "es2015.iterable", "dom"]
|
|
27
|
+
},
|
|
28
|
+
"include": ["../../../../../src/**/*.ts", "../../../../../src/**/*.tsx"]
|
|
29
|
+
}
|