Skip to content

Commit

Permalink
[license] Remove CLI (mui#5757)
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle authored and alexfauquette committed Sep 20, 2022
1 parent 7be76c0 commit c8388da
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 126 deletions.
5 changes: 0 additions & 5 deletions packages/x-license-pro/bin/license-decode-script.js

This file was deleted.

5 changes: 0 additions & 5 deletions packages/x-license-pro/bin/license-gen-script.js

This file was deleted.

4 changes: 0 additions & 4 deletions packages/x-license-pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
"publishConfig": {
"access": "public"
},
"bin": {
"licensegen": "./bin/license-gen-script.js",
"licensedecode": "./bin/license-decode-script.js"
},
"scripts": {
"typescript": "tsc -p tsconfig.json",
"build": "yarn build:legacy && yarn build:modern && yarn build:node && yarn build:stable && yarn build:types && yarn build:copy-files ",
Expand Down
107 changes: 0 additions & 107 deletions packages/x-license-pro/src/cli/license-cli.ts

This file was deleted.

5 changes: 0 additions & 5 deletions scripts/copyFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,6 @@ async function run() {
filesToCopy.push('./LICENSE');
}

// Be sure to replicate this behavior if unifying with the core
if (packageData.name === '@mui/x-license-pro') {
filesToCopy.push('./bin');
}

await Promise.all(filesToCopy.map((file) => includeFileInBuild(file)));

await addLicense(packageData);
Expand Down

0 comments on commit c8388da

Please sign in to comment.