Skip to content

Commit a9dfbb5

Browse files
committed
chore: remove one-off ESM validation scaffolding
1 parent 98d2203 commit a9dfbb5

4 files changed

Lines changed: 2 additions & 210 deletions

File tree

‎.github/workflows/react-component-ci.yml‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,3 @@ jobs:
77
uses: react-component/rc-test/.github/workflows/test-utoo.yml@main
88
secrets:
99
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
10-
node-exports:
11-
name: Native Node exports
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v7
15-
with:
16-
persist-credentials: false
17-
- uses: actions/setup-node@v4
18-
with:
19-
node-version: 22
20-
- run: npm install --legacy-peer-deps
21-
- run: npm run compile
22-
- run: npm run browser-field
23-
- run: npm run test:node-exports

‎package.json‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,14 @@
166166
"compile": "father build && lessc assets/index.less assets/index.css",
167167
"browser-field": "node scripts/update-browser-field.js",
168168
"gh-pages": "cross-env GH_PAGES=1 npm run docs:build && npm run docs:deploy",
169-
"prepublishOnly": "npm run compile && npm run browser-field && npm run test:node-exports && rc-np",
169+
"prepublishOnly": "npm run compile && npm run browser-field && rc-np",
170170
"lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
171171
"lint:tsc": "tsc -p tsconfig.json --noEmit",
172172
"prettier": "prettier --write --ignore-unknown .",
173173
"test": "rc-test",
174174
"coverage": "father test --coverage",
175175
"prepare": "husky",
176-
"tsc": "tsc --noEmit",
177-
"test:node-exports": "node scripts/test-node-exports.js"
176+
"tsc": "tsc --noEmit"
178177
},
179178
"dependencies": {
180179
"@rc-component/overflow": "^1.0.0",

‎scripts/README.md‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎scripts/test-node-exports.js‎

Lines changed: 0 additions & 175 deletions
This file was deleted.

0 commit comments

Comments
 (0)