Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
42f001a
Add pattern to ignore tmpclaude working directory files
iclanton Feb 17, 2026
4925f18
feat: update package.json and api-extractor.json for multiple rush pl…
iclanton Feb 17, 2026
0b04151
fixup! feat: update package.json and api-extractor.json for multiple …
iclanton Feb 17, 2026
1856e57
fix: normalize package.json fields across projects
iclanton Feb 17, 2026
c71849c
fixup! fix: normalize package.json fields across projects
iclanton Feb 17, 2026
673032d
Include lib-esm in the prettierignore.
iclanton Feb 17, 2026
b89c0c5
Update paths in web projects.
iclanton Feb 17, 2026
0e288e8
Clean up output folders in tests.
iclanton Feb 17, 2026
2df340d
fixup! Update paths in web projects.
iclanton Feb 17, 2026
a4764f6
fixup! feat: update package.json and api-extractor.json for multiple …
iclanton Feb 17, 2026
745ff87
fixup! Clean up output folders in tests.
iclanton Feb 17, 2026
1e57147
fixup! feat: update package.json and api-extractor.json for multiple …
iclanton Feb 17, 2026
a7a8b39
Fix compatability with legacy globally-installed versions of Heft.
iclanton Feb 17, 2026
83c67aa
Fix a few issues linting and cleaning in local projects.
iclanton Feb 17, 2026
287c713
Update rush-lib and rush-sdk to the new convention.
iclanton Feb 17, 2026
07c5752
fixup! feat: update package.json and api-extractor.json for multiple …
iclanton Feb 17, 2026
8dec83d
Rush change.
iclanton Feb 17, 2026
1b8cb31
fixup! Clean up output folders in tests.
iclanton Feb 17, 2026
45c2dfe
fixup! Clean up output folders in tests.
iclanton Feb 17, 2026
7997e61
fixup! feat: update package.json and api-extractor.json for multiple …
iclanton Feb 17, 2026
9443cc5
fixup! Update rush-lib and rush-sdk to the new convention.
iclanton Feb 17, 2026
f4fdcf1
fixup! Fix a few issues linting and cleaning in local projects.
iclanton Feb 17, 2026
2075b8d
fixup! Rush change.
iclanton Feb 17, 2026
051fb91
fixup! Fix a few issues linting and cleaning in local projects.
iclanton Feb 17, 2026
0dfc71c
fixup! feat: update package.json and api-extractor.json for multiple …
iclanton Feb 17, 2026
fbfdec3
fixup! Clean up output folders in tests.
iclanton Feb 17, 2026
8a10b9e
fixup! Clean up output folders in tests.
iclanton Feb 17, 2026
9afa1dc
fixup! feat: update package.json and api-extractor.json for multiple …
iclanton Feb 17, 2026
75a9b70
fixup! Clean up output folders in tests.
iclanton Feb 17, 2026
01e580d
fixup! feat: update package.json and api-extractor.json for multiple …
iclanton Feb 17, 2026
0afdfd2
Add sideEffects to package.json for all published packages
iclanton Feb 18, 2026
de83458
Add exports for heft-plugin.json, rush-plugin-manifest.json, and sche…
iclanton Feb 18, 2026
3b681f5
Reorder export conditions: types, import, require, default
iclanton Feb 18, 2026
b18ff16
fixup! Rush change.
iclanton Feb 18, 2026
0a9158a
fixup! feat: update package.json and api-extractor.json for multiple …
iclanton Feb 18, 2026
23beaa6
fixup! Fix compatability with legacy globally-installed versions of H…
iclanton Feb 18, 2026
baed318
Fix compatability with globally-installed versions of Rush (both lega…
iclanton Feb 18, 2026
61ea6c8
fixup! feat: update package.json and api-extractor.json for multiple …
iclanton Feb 18, 2026
8dfe62d
fixup! feat: update package.json and api-extractor.json for multiple …
iclanton Feb 18, 2026
302550d
Migrate heft-vscode-extension-plugin to local-node-rig and new packag…
iclanton Feb 18, 2026
ea5ab30
Fix storybook tutorial webpack configs: lib -> lib-commonjs
iclanton Feb 18, 2026
9c08d51
fixup! fixup! feat: update package.json and api-extractor.json for mu…
iclanton Feb 18, 2026
2f393d6
fixup! fixup! feat: update package.json and api-extractor.json for mu…
iclanton Feb 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ jobs:
working-directory: repo-a/build-tests/rush-package-manager-integration-test

- name: Ensure repo README is up-to-date
run: node repo-scripts/repo-toolbox/lib/start.js readme --verify
run: node repo-scripts/repo-toolbox/lib-commonjs/start.js readme --verify
working-directory: repo-a

- name: Collect JSON schemas
run: node repo-scripts/repo-toolbox/lib/start.js collect-json-schemas --output-path ${GITHUB_WORKSPACE}/artifacts/json-schemas
run: node repo-scripts/repo-toolbox/lib-commonjs/start.js collect-json-schemas --output-path ${GITHUB_WORKSPACE}/artifacts/json-schemas
working-directory: repo-a

- name: Clone another copy of the repo to test the build cache
Expand All @@ -104,13 +104,13 @@ jobs:
working-directory: repo-b

- name: Rush update (rush-lib)
run: node ${{ github.workspace }}/repo-a/apps/rush/lib/start-dev.js update
run: node ${{ github.workspace }}/repo-a/apps/rush/lib-commonjs/start-dev.js update
working-directory: repo-b

- name: Rush test (rush-lib)
run: node ${{ github.workspace }}/repo-a/apps/rush/lib/start-dev.js test --verbose --production --timeline
run: node ${{ github.workspace }}/repo-a/apps/rush/lib-commonjs/start-dev.js test --verbose --production --timeline
working-directory: repo-b

- name: Rush test (rush-lib) again to verify build cache hits
run: node ${{ github.workspace }}/repo-a/apps/rush/lib/start-dev.js test --verbose --production --timeline
run: node ${{ github.workspace }}/repo-a/apps/rush/lib-commonjs/start-dev.js test --verbose --production --timeline
working-directory: repo-b
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,4 @@ test-results/

# Claude Code local configuration
.claude/*.local.json

**/tmpclaude-*-cwd
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ temp/
lib/
lib-amd/
lib-es6/
lib-esm/
lib-esnext/
lib-commonjs/
lib-shim/
Expand Down
8 changes: 4 additions & 4 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Rush Debug",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/apps/rush/lib/start-dev.js",
"program": "${workspaceRoot}/apps/rush/lib-commonjs/start-dev.js",
"stopOnEntry": true,
"args": [
"start"
Expand Down Expand Up @@ -36,7 +36,7 @@
"runtimeArgs": [
"--nolazy",
"--inspect-brk",
"${workspaceFolder}/apps/heft/lib/start.js",
"${workspaceFolder}/apps/heft/lib-commonjs/start.js",
"--debug",
"test",
"--test-path-pattern",
Expand All @@ -56,7 +56,7 @@
"runtimeArgs": [
"--nolazy",
"--inspect-brk",
"${workspaceFolder}/apps/heft/lib/start.js",
"${workspaceFolder}/apps/heft/lib-commonjs/start.js",
"--debug",
"build"
],
Expand All @@ -74,7 +74,7 @@
"runtimeArgs": [
"--nolazy",
"--inspect-brk",
"${workspaceFolder}/apps/heft/lib/start.js",
"${workspaceFolder}/apps/heft/lib-commonjs/start.js",
"--debug",
"build",
"--clean"
Expand Down
2 changes: 1 addition & 1 deletion apps/api-documenter/bin/api-documenter
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env node
require('../lib/start.js');
require('../lib-commonjs/start.js');
2 changes: 1 addition & 1 deletion apps/api-documenter/config/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",

"mainEntryPointFilePath": "<projectFolder>/lib/index.d.ts",
"mainEntryPointFilePath": "<projectFolder>/lib-dts/index.d.ts",

"apiReport": {
"enabled": true,
Expand Down
32 changes: 29 additions & 3 deletions apps/api-documenter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,30 @@
"bin": {
"api-documenter": "./bin/api-documenter"
},
"main": "lib/index.js",
"typings": "dist/rollup.d.ts",
"main": "./lib-commonjs/index.js",
"module": "./lib-esm/index.js",
"types": "./dist/rollup.d.ts",
"exports": {
".": {
"types": "./dist/rollup.d.ts",
"import": "./lib-esm/index.js",
"require": "./lib-commonjs/index.js"
},
"./lib/*.schema.json": "./lib-commonjs/*.schema.json",
"./lib/*": {
"types": "./lib-dts/*.d.ts",
"import": "./lib-esm/*.js",
"require": "./lib-commonjs/*.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"lib/*": [
"lib-dts/*"
]
}
},
"dependencies": {
"@microsoft/api-extractor-model": "workspace:*",
"@microsoft/tsdoc": "~0.16.0",
Expand All @@ -34,5 +56,9 @@
"@types/resolve": "1.20.2",
"eslint": "~9.37.0",
"local-node-rig": "workspace:*"
}
},
"sideEffects": [
"lib-commonjs/start.js",
"lib-esm/start.js"
]
}
2 changes: 1 addition & 1 deletion apps/api-extractor/bin/api-extractor
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env node
require('../lib/start.js');
require('../lib-commonjs/start.js');
2 changes: 1 addition & 1 deletion apps/api-extractor/config/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",

"mainEntryPointFilePath": "<projectFolder>/lib/index.d.ts",
"mainEntryPointFilePath": "<projectFolder>/lib-dts/index.d.ts",

"apiReport": {
"enabled": true,
Expand Down
2 changes: 1 addition & 1 deletion apps/api-extractor/config/heft.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"copyOperations": [
{
"sourcePath": "src",
"destinationFolders": ["lib"],
"destinationFolders": ["lib-commonjs"],
"includeGlobs": ["**/test/test-data/**/*"]
}
]
Expand Down
32 changes: 29 additions & 3 deletions apps/api-extractor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,30 @@
"directory": "apps/api-extractor"
},
"homepage": "https://api-extractor.com",
"main": "lib/index.js",
"typings": "dist/rollup.d.ts",
"main": "./lib-commonjs/index.js",
"module": "./lib-esm/index.js",
"types": "./dist/rollup.d.ts",
"exports": {
".": {
"types": "./dist/rollup.d.ts",
"import": "./lib-esm/index.js",
"require": "./lib-commonjs/index.js"
},
"./lib/*.schema.json": "./lib-commonjs/*.schema.json",
"./lib/*": {
"types": "./lib-dts/*.d.ts",
"import": "./lib-esm/*.js",
"require": "./lib-commonjs/*.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"lib/*": [
"lib-dts/*"
]
}
},
"bin": {
"api-extractor": "./bin/api-extractor"
},
Expand Down Expand Up @@ -60,5 +82,9 @@
"decoupled-local-node-rig": "workspace:*",
"eslint": "~9.37.0",
"local-eslint-config": "workspace:*"
}
},
"sideEffects": [
"lib-commonjs/start.js",
"lib-esm/start.js"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json.schemastore.org/tsconfig",

"compilerOptions": {
"outDir": "lib",
"outDir": "lib-commonjs",
"rootDir": "src",

"forceConsistentCasingInFileNames": true,
Expand All @@ -20,6 +20,5 @@
"target": "es2017",
"lib": ["es2017"]
},
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["node_modules", "lib"]
"include": ["src/**/*.ts", "src/**/*.tsx"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json.schemastore.org/tsconfig",

"compilerOptions": {
"outDir": "lib",
"outDir": "lib-commonjs",
"rootDir": "src",

"forceConsistentCasingInFileNames": true,
Expand All @@ -20,6 +20,5 @@
"target": "es2017",
"lib": ["es2017"]
},
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["node_modules", "lib"]
"include": ["src/**/*.ts", "src/**/*.tsx"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json.schemastore.org/tsconfig",

"compilerOptions": {
"outDir": "lib",
"outDir": "lib-commonjs",
"rootDir": "src",

"forceConsistentCasingInFileNames": true,
Expand All @@ -20,6 +20,5 @@
"target": "es2017",
"lib": ["es2017"]
},
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["node_modules", "lib"]
"include": ["src/**/*.ts", "src/**/*.tsx"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json.schemastore.org/tsconfig",

"compilerOptions": {
"outDir": "lib",
"outDir": "lib-commonjs",
"rootDir": "src",

"forceConsistentCasingInFileNames": true,
Expand All @@ -20,6 +20,5 @@
"target": "es2017",
"lib": ["es2017"]
},
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["node_modules", "lib"]
"include": ["src/**/*.ts", "src/**/*.tsx"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json.schemastore.org/tsconfig",

"compilerOptions": {
"outDir": "lib",
"outDir": "lib-commonjs",
"rootDir": "src",

"forceConsistentCasingInFileNames": true,
Expand All @@ -20,6 +20,5 @@
"target": "es2017",
"lib": ["es2017"]
},
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": ["node_modules", "lib"]
"include": ["src/**/*.ts", "src/**/*.tsx"]
}
2 changes: 1 addition & 1 deletion apps/cpu-profile-summarizer/bin/cpu-profile-aggregator
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env node
require('../lib/start.js');
require('../lib-commonjs/start.js');
21 changes: 20 additions & 1 deletion apps/cpu-profile-summarizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,24 @@
"@rushstack/heft": "workspace:*",
"eslint": "~9.37.0",
"local-node-rig": "workspace:*"
}
},
"exports": {
"./lib/*": {
"types": "./lib-dts/*.d.ts",
"import": "./lib-esm/*.js",
"require": "./lib-commonjs/*.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
"*": {
"lib/*": [
"lib-dts/*"
]
}
},
"sideEffects": [
"lib-commonjs/start.js",
"lib-esm/start.js"
]
}
2 changes: 1 addition & 1 deletion apps/heft/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@

!/includes/**
!UPGRADING.md

lib-*/legacy-compatibility/**
2 changes: 1 addition & 1 deletion apps/heft/bin/heft
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env node
require('../lib/startWithVersionSelector.js');
require('../lib-commonjs/startWithVersionSelector.js');
2 changes: 1 addition & 1 deletion apps/heft/config/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",

"mainEntryPointFilePath": "<projectFolder>/lib/index.d.ts",
"mainEntryPointFilePath": "<projectFolder>/lib-dts/index.d.ts",
"apiReport": {
"enabled": true,
"reportFolder": "../../../common/reviews/api"
Expand Down
17 changes: 17 additions & 0 deletions apps/heft/config/heft.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,23 @@
]
}
}
},

"copy-legacy-compatibility-start-js": {
"taskDependencies": ["typescript"],
"taskPlugin": {
"pluginPackage": "@rushstack/heft",
"pluginName": "copy-files-plugin",
"options": {
"copyOperations": [
{
"sourcePath": "src/legacy-compatibility",
"destinationFolders": ["lib"],
"includeGlobs": ["*"]
}
]
}
}
}
}
}
Expand Down
Loading