Skip to content

Commit e573f4f

Browse files
authored
build: limit .d.ts clean to known generated (#23373)
so that custom checked-in files remain intact. `clean` is now limited to those that are also listed in `.gitignore`. Other root .d.ts files may need to exist in support of Node10 module resolution tsc configuration.
1 parent 3459304 commit e573f4f

File tree

62 files changed

+62
-62
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+62
-62
lines changed

azure/packages/azure-service-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
7676
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
7777
"ci:build:docs": "api-extractor run",
78-
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
78+
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
7979
"eslint": "eslint --format stylish src",
8080
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
8181
"format": "npm run format:biome",

common/lib/protocol-definitions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"ci:build:docs": "api-extractor run",
6161
"ci:test": "echo No test for this package",
6262
"ci:test:coverage": "echo No test for this package",
63-
"clean": "rimraf --glob _api-extractor-temp dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\"",
63+
"clean": "rimraf --glob _api-extractor-temp dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\"",
6464
"eslint": "eslint --format stylish src",
6565
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
6666
"format": "npm run prettier:fix",

experimental/framework/tree-react-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"check:format": "npm run check:biome",
5858
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
5959
"ci:build:docs": "api-extractor run",
60-
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
60+
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
6161
"eslint": "eslint --format stylish src",
6262
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
6363
"format": "npm run format:biome",

packages/common/container-definitions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"ci:build:docs": "api-extractor run",
7979
"ci:test": "echo No test for this package",
8080
"ci:test:coverage": "echo No test for this package",
81-
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
81+
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
8282
"eslint": "eslint --format stylish src",
8383
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
8484
"format": "npm run format:biome",

packages/common/core-interfaces/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"ci:build:docs": "api-extractor run",
7979
"ci:test": "echo No test for this package",
8080
"ci:test:coverage": "echo No test for this package",
81-
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
81+
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
8282
"eslint": "eslint --format stylish src",
8383
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
8484
"format": "npm run format:biome",

packages/common/core-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
7878
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
7979
"ci:build:docs": "api-extractor run",
80-
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
80+
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
8181
"eslint": "eslint --format stylish src",
8282
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
8383
"format": "npm run format:biome",

packages/common/driver-definitions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"ci:build:docs": "api-extractor run",
7575
"ci:test": "echo No test for this package",
7676
"ci:test:coverage": "echo No test for this package",
77-
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
77+
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
7878
"eslint": "eslint --format stylish src",
7979
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
8080
"format": "npm run format:biome",

packages/dds/cell/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"check:format": "npm run check:biome",
5959
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
6060
"ci:build:docs": "api-extractor run",
61-
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
61+
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
6262
"eslint": "eslint --format stylish src",
6363
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
6464
"format": "npm run format:biome",

packages/dds/counter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
7777
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
7878
"ci:build:docs": "api-extractor run",
79-
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
79+
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
8080
"eslint": "eslint --format stylish src",
8181
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
8282
"format": "npm run format:biome",

packages/dds/map/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
7777
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
7878
"ci:build:docs": "api-extractor run",
79-
"clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
79+
"clean": "rimraf --glob dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
8080
"eslint": "eslint --format stylish src",
8181
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
8282
"format": "npm run format:biome",

0 commit comments

Comments
 (0)