Skip to content

Commit ad97baf

Browse files
Move package into a sub-directory of /packages
1 parent b1b32e3 commit ad97baf

File tree

18 files changed

+7
-8
lines changed

18 files changed

+7
-8
lines changed

.eslintignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/coverage/
2-
/demo/lib/
1+
coverage/
2+
lib/
33
/demo/webpack.config.js
4-
/lib/

.github/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../packages/strings-to-regex/README.md

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package-lock.json
22

33
coverage/
4-
demo/lib/
54
lib/
65
node_modules/

demo/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
"es2017.object"
1010
]
1111
},
12-
"extends": "../tsconfig.json",
13-
"include": ["../src", "./src"]
12+
"extends": "../packages/strings-to-regex/tsconfig.json",
13+
"include": ["../packages/strings-to-regex/src", "./src"]
1414
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

package.json renamed to packages/strings-to-regex/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@
2323
"scripts": {
2424
"build": "run-s clean build:*",
2525
"build:src": "babel src -d lib --extensions '.js,.ts'",
26-
"build:demo": "wp --config demo/webpack.config.js",
26+
"build:demo": "wp --config ../../demo/webpack.config.js",
2727
"build:types": "tsc -p ./tsconfig.types.json",
2828
"changelog": "npx auto-changelog",
2929
"clean": "rimraf lib/*",
3030
"format": "prettier --write 'src/**' 'demo/**'",
3131
"lint": "run-s lint:*",
3232
"lint:src": "tsc -p ./tsconfig.json && eslint ./src --report-unused-disable-directives --ext .js,.ts --parser-options=project:./tsconfig.json",
33-
"lint:demo": "tsc -p ./demo/tsconfig.json && eslint ./demo --report-unused-disable-directives --ext .js,.ts --parser-options=project:./demo/tsconfig.json",
33+
"lint:demo": "tsc -p ./demo/tsconfig.json && eslint ./demo --report-unused-disable-directives --ext .js,.ts --parser-options=project:../../demo/tsconfig.json",
3434
"release": "npx release-it --no-increment",
3535
"test": "jest --coverage"
3636
},
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)