Skip to content

Commit

Permalink
feat: cli value/export support and dep updates (#737)
Browse files Browse the repository at this point in the history
* WIP

* bump deps

* move fs-extra
  • Loading branch information
jquense committed Dec 22, 2021
1 parent 39cbcbe commit 20760a7
Show file tree
Hide file tree
Showing 53 changed files with 1,518 additions and 622 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
node-version: 'lts/*'
cache: 'yarn'
- run: yarn install --frozen-lockfile
# - run: yarn test
- run: yarn test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ lib
.cache/
public/
example/build/
test/output/
51 changes: 25 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"types": "lib/esm/index.d.ts",
"scripts": {
"lint": "tsc -p . --noEmit && eslint src",
"test": "yarn test:ts && jest --detectOpenHandles",
"test": "yarn test:ts && jest --detectOpenHandles --runInBand",
"test:ts": "yarn eslint types --ext .tsx --ext .ts",
"tdd": "jest --watch",
"prepublishOnly": "yarn build",
Expand All @@ -30,10 +30,8 @@
"bin": {
"astroturf": "./cli.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"!(__file_snapshots__/)*.js": [
Expand All @@ -58,6 +56,7 @@
],
"watchPathIgnorePatterns": [
"build",
"output",
"__file_snapshots__"
]
},
Expand All @@ -68,29 +67,22 @@
},
"homepage": "https://github.com/4Catalyzer/astroturf#readme",
"dependencies": {
"@babel/code-frame": "^7.12.13",
"@babel/core": "^7.13.10",
"@babel/generator": "^7.13.9",
"@babel/helper-module-imports": "^7.12.13",
"@babel/plugin-transform-react-jsx": "^7.12.17",
"@babel/template": "^7.12.13",
"@babel/traverse": "^7.13.0",
"@babel/types": "^7.13.0",
"@modular-css/processor": "^26.0.0",
"@types/common-tags": "^1.8.0",
"@types/fs-extra": "^9.0.8",
"@types/loader-utils": "^2.0.1",
"@types/resolve": "^1.20.0",
"@types/webpack": "^4.41.26",
"common-tags": "^1.8.0",
"cosmiconfig": "^7.0.0",
"@babel/code-frame": "^7.16.0",
"@babel/core": "^7.16.5",
"@babel/generator": "^7.16.5",
"@babel/helper-module-imports": "^7.16.0",
"@babel/plugin-transform-react-jsx": "^7.16.5",
"@babel/template": "^7.16.0",
"@babel/traverse": "^7.16.5",
"@babel/types": "^7.16.0",
"@modular-css/processor": "^27.0.3",
"common-tags": "^1.8.2",
"cosmiconfig": "^7.0.1",
"css-loader": "^5.1.3",
"fast-levenshtein": "^3.0.0",
"find-cache-dir": "^3.3.1",
"fs-extra": "^9.1.0",
"find-cache-dir": "^3.3.2",
"globby": "^11.0.0",
"json5": "^2.2.0",
"loader-utils": "^2.0.0",
"lodash": "^4.17.21",
"magic-string": "^0.25.7",
"picocolors": "^1.0.0",
Expand All @@ -99,10 +91,10 @@
"postcss-scss": "^4.0.2",
"resolve": "^1.20.0",
"webpack-virtual-modules": "^0.3.2",
"yargs": "^17.2.1"
"yargs": "^17.3.0"
},
"peerDependencies": {
"webpack": ">=2"
"webpack": ">=5"
},
"devDependencies": {
"@4c/babel-preset": "^8.1.1",
Expand All @@ -113,9 +105,14 @@
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@types/common-tags": "^1.8.1",
"@types/fs-extra": "^9.0.13",
"@types/loader-utils": "^2.0.3",
"@types/lodash": "^4.14.172",
"@types/react": "^17.0.18",
"@types/react-dom": "^17.0.9",
"@types/resolve": "^1.20.1",
"@types/webpack": "^5.28.0",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.1",
"autoprefixer": "^10.3.1",
Expand All @@ -140,7 +137,9 @@
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-ts-expect": "^2.0.0",
"fs-extra": "^10.0.0",
"gh-pages": "^3.2.3",
"hookem": "^2.0.1",
"html-webpack-plugin": "^5.3.2",
"husky": "^4.3.8",
"jest": "^26.6.3",
Expand Down
Loading

0 comments on commit 20760a7

Please sign in to comment.