Removed rimraf dev dependency
This commit is contained in:
@@ -49,7 +49,6 @@
|
||||
"jasmine-browser-runner": "github:jasmine/jasmine-browser-runner",
|
||||
"jsdom": "^26.0.0",
|
||||
"prettier": "1.17.1",
|
||||
"rimraf": "^5.0.10",
|
||||
"sass": "^1.58.3",
|
||||
"shelljs": "^0.9.2"
|
||||
},
|
||||
|
||||
@@ -3,7 +3,6 @@ const path = require('path');
|
||||
const glob = require('glob');
|
||||
const ejs = require('ejs');
|
||||
const archiver = require('archiver');
|
||||
const { rimrafSync } = require('rimraf');
|
||||
const buildDistribution = require('./lib/buildDistribution');
|
||||
|
||||
const tmpDir = 'dist/tmp'
|
||||
@@ -16,7 +15,7 @@ if (!fs.existsSync(tmpDir)) {
|
||||
}
|
||||
|
||||
buildStandaloneDist().finally(function() {
|
||||
rimrafSync(tmpDir);
|
||||
fs.rmSync(tmpDir, { recursive: true });
|
||||
});
|
||||
|
||||
async function buildStandaloneDist() {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
const fs = require('node:fs');
|
||||
const path = require('node:path');
|
||||
const os = require('node:os');
|
||||
const { rimrafSync } = require('rimraf');
|
||||
|
||||
describe('npm package', function() {
|
||||
beforeAll(function() {
|
||||
@@ -43,7 +42,7 @@ describe('npm package', function() {
|
||||
|
||||
afterAll(function() {
|
||||
fs.unlinkSync(this.tarball);
|
||||
rimrafSync(this.tmpDir);
|
||||
fs.rmSync(this.tmpDir, {recursive: true});
|
||||
});
|
||||
|
||||
it('has a root path', function() {
|
||||
|
||||
Reference in New Issue
Block a user