chore: remove absolete module-resolve (#1991)

This commit is contained in:
hehe
2023-04-17 23:02:22 +08:00
committed by GitHub
parent 6c77006bcc
commit 54a30bbf20
4 changed files with 0 additions and 27 deletions

View File

@@ -33,10 +33,6 @@ runs:
scope: '@toeverything' scope: '@toeverything'
cache: 'yarn' cache: 'yarn'
- name: CI Module Resolve
shell: bash
run: node scripts/module-resolve/ci.cjs
- name: Expose yarn config as "$GITHUB_OUTPUT" - name: Expose yarn config as "$GITHUB_OUTPUT"
id: yarn-config id: yarn-config
shell: bash shell: bash

2
.gitignore vendored
View File

@@ -58,8 +58,6 @@ Thumbs.db
out/ out/
storybook-static storybook-static
module-resolve.js
module-resolve.cjs
/test-results/ /test-results/
/playwright-report/ /playwright-report/
/playwright/.cache/ /playwright/.cache/

View File

@@ -1,10 +0,0 @@
const fs = require('fs');
const path = require('path');
const templatePath = path.resolve(__dirname, 'module-resolve.tmpl.js');
const destinationPath = path.resolve(__dirname, '../../module-resolve.cjs');
console.log('template path', templatePath);
console.log('destination path', destinationPath);
fs.copyFileSync(templatePath, destinationPath);

View File

@@ -1,11 +0,0 @@
function resolve(pkg) {
if (pkg.dependencies && pkg.dependencies['@toeverything/pathfinder-logger']) {
pkg.dependencies['@toeverything/pathfinder-logger'] = 'latest';
}
return pkg;
}
module.exports = {
resolve,
};