Skip to content

Commit

Permalink
Change replace-in-file config after the update
Browse files Browse the repository at this point in the history
  • Loading branch information
elchininet committed Jul 2, 2024
1 parent e08c401 commit 49fd780
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
5 changes: 0 additions & 5 deletions config.replace.js

This file was deleted.

5 changes: 5 additions & 0 deletions config.replace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files": "index.d.ts",
"from": "/declare namespace[^}]*\\}[^}]*\\};/g",
"to": "export = postcssRTLCSS"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"lint": "eslint \"src/**/*.ts\" \"tests/**/*.ts\"",
"clean": "./scripts/clean.sh",
"copy": "./scripts/copy.sh",
"modify-dts": "replace-in-file --configFile=config.replace.js",
"modify-dts": "replace-in-file --configFile=config.replace.json",
"build": "pnpm clean && rollup --config rollup.config.js --bundleConfigAsCjs && pnpm copy && pnpm modify-dts",
"prepare": "pnpm build",
"prepublishOnly": "pnpm lint && pnpm test",
Expand Down

0 comments on commit 49fd780

Please sign in to comment.