Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
[ACS-4723] Remove fs-extra dependency (#1535)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Hunter authored Mar 1, 2023
1 parent f9344d5 commit a7c0cee
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 40 deletions.
8 changes: 4 additions & 4 deletions .make-packages.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";

const pkg = require('./package.json');
const fs = require('fs-extra');
const fs = require('node:fs');

const OUTPUT_FOLDER = 'dist';

Expand All @@ -19,9 +19,9 @@ const rootPackageJson = {
es2015: './esm2015/index.js'
};

fs.copySync('./LICENSE.txt', `${OUTPUT_FOLDER}/LICENSE.txt`);
fs.copySync('./README.md', `${OUTPUT_FOLDER}/README.md`);
fs.copyFileSync('./LICENSE.txt', `${OUTPUT_FOLDER}/LICENSE.txt`);
fs.copyFileSync('./README.md', `${OUTPUT_FOLDER}/README.md`);

fs.writeJsonSync(`${OUTPUT_FOLDER}/package.json`, rootPackageJson, {spaces: 2});
fs.writeFileSync(`${OUTPUT_FOLDER}/package.json`, JSON.stringify(rootPackageJson, null, 2));


35 changes: 0 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
"cspell": "^6.21.0",
"eslint": "^7.27.0",
"expect.js": "~0.3.1",
"fs-extra": "11.1.0",
"github-api": "^3.4.0",
"markdown-toc": "^1.2.0",
"mocha": "^10.2.0",
Expand Down

0 comments on commit a7c0cee

Please sign in to comment.