File tree 5 files changed +51
-3
lines changed
build-tests-subspace/rush-sdk-test
common/changes/@microsoft/rush
5 files changed +51
-3
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " https://developer.microsoft.com/json-schemas/heft/v0/heft.schema.json" ,
3
+
4
+ "extends" : " local-node-rig/profiles/default/config/heft.json" ,
5
+
6
+ "phasesByName" : {
7
+ "build" : {
8
+ "tasksByName" : {
9
+ "run-start" : {
10
+ "taskDependencies" : [" typescript" ],
11
+ "taskPlugin" : {
12
+ "pluginPackage" : " @rushstack/heft" ,
13
+ "pluginName" : " run-script-plugin" ,
14
+ "options" : {
15
+ "scriptPath" : " ./lib/run-start.js"
16
+ }
17
+ }
18
+ }
19
+ }
20
+ }
21
+ }
22
+ }
Original file line number Diff line number Diff line change
1
+ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
2
+ // See LICENSE in the project root for license information.
3
+
4
+ export async function runAsync ( ) : Promise < void > {
5
+ await import ( './start.js' ) ;
6
+ }
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ console.log('rush-sdk-test loading Rush configuration...');
7
7
8
8
// Important: Since we're calling an internal API, we need to use the unbundled .d.ts files
9
9
// instead of the normal .d.ts rollup
10
- import { RushConfiguration } from '@rushstack/rush-sdk/lib/' ;
10
+ import { RushConfiguration } from '@rushstack/rush-sdk/lib/index ' ;
11
11
12
12
const config : RushConfiguration = RushConfiguration . loadFromDefaultLocation ( ) ;
13
13
console . log ( config . commonFolder ) ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "changes" : [
3
+ {
4
+ "packageName" : " @microsoft/rush" ,
5
+ "comment" : " Support deep references to internal Apis" ,
6
+ "type" : " none"
7
+ }
8
+ ],
9
+ "packageName" : " @microsoft/rush"
10
+ }
Original file line number Diff line number Diff line change 11
11
"main" : " lib-shim/index.js" ,
12
12
"typings" : " dist/rush-lib.d.ts" ,
13
13
"exports" : {
14
- "." : " ./lib-shim/index.js" ,
15
- "./loader" : " ./lib-shim/loader.js"
14
+ "." : {
15
+ "types" : " ./dist/rush-lib.d.ts" ,
16
+ "default" : " ./lib-shim/index.js"
17
+ },
18
+ "./loader" : {
19
+ "types" : " ./dist/loader.d.ts" ,
20
+ "default" : " ./lib-shim/loader.js"
21
+ },
22
+ "./lib/*" : {
23
+ "types" : " ./lib/*.d.ts" ,
24
+ "default" : " ./lib/*.js"
25
+ }
16
26
},
17
27
"typesVersions" : {
18
28
"*" : {
You can’t perform that action at this time.
0 commit comments