rigjs 2.1.13 → 2.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -95,7 +95,7 @@ export default async (cmd: any) => {
95
95
  setRewriteUriPromises.push(
96
96
  setRewriteUri(
97
97
  domain,
98
- '^\\/(.*\\.(?!(com|cn))\\w+)($|\\?)',
98
+ '^\\/([\\w-/%]*\\.[a-zA-Z0-9]+)($|\\?)',
99
99
  `/${endpoint.deployDir.replace(/\\/g, '/')}/$1`,
100
100
  cdn
101
101
  )
@@ -103,7 +103,7 @@ export default async (cmd: any) => {
103
103
  setRewriteUriPromises.push(
104
104
  setRewriteUri(
105
105
  domain,
106
- '^\\/([\\w-]+)($|\\/$|\\?)(?!.*.\\w+)',
106
+ '^\\/([\\w-/]+\\w+)([/?#]*)',
107
107
  `/${endpoint.deployDir.replace(/\\/g, '/')}/$1.html`,
108
108
  cdn
109
109
  )
@@ -112,7 +112,7 @@ export default async (cmd: any) => {
112
112
  setRewriteUriPromises.push(
113
113
  setRewriteUri(
114
114
  domain,
115
- '^\\/(.*\\.(?!(com|cn))\\w+)($|\\?)',
115
+ '^\\/([\\w-/%]*\\.[a-zA-Z0-9]+)($|\\?)',
116
116
  `/$1`,
117
117
  cdn
118
118
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rigjs",
3
- "version": "2.1.13",
3
+ "version": "2.1.15",
4
4
  "description": "A multi-repos dev tool based on yarn and git.Rig is inspired by cocoapods. Not like those monorepo solutions,rig is a tool for organizing multi-repos.",
5
5
  "keywords": [
6
6
  "modular",