Skip to content

Commit

Permalink
chore: update plop templates
Browse files Browse the repository at this point in the history
  • Loading branch information
segunadebayo committed Apr 13, 2022
1 parent adf9113 commit 5254f3a
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 11 deletions.
1 change: 0 additions & 1 deletion plop-templates/plopfile.hbs

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,20 @@
"module": "dist/index.mjs",
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/{{machine}}",
"sideEffects": false,
"files": [
"dist"
],
"files": ["dist/**/*"],
"scripts": {
"build:fast": "yarn zag build",
start: "yarn zag build --watch",
build: "yarn zag build --prod",
test: "jest --config ../../jest.config.js --rootDir tests",
lint: "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --updateSnapshot",
"test:watch": "yarn test --watch",
},
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/chakra-ui/zag/issues"
},
"scripts": {
"build": "tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false"
}
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function {{capitalize machine}}connect<T extends PropTypes = ReactPropTyp
) {
const { context: ctx } = state
return {
elProps: normalize.element<T>({
rootProps: normalize.element<T>({
}),
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@
"types": "dist/index.d.ts",
"repository": "https://github.com/chakra-ui/zag/tree/main/packages/utilities/{{packageName}}",
"sideEffects": false,
"files": [
"dist"
],
"files": ["dist/**/*"],
"scripts": {
"build:fast": "yarn zag build",
start: "yarn zag build --watch",
build: "yarn zag build --prod",
test: "jest --config ../../../jest.config.js --rootDir tests",
lint: "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --updateSnapshot",
"test:watch": "yarn test --watchAll",
},
"publishConfig": {
"access": "public"
},
Expand Down
File renamed without changes.
Empty file added plop/utility/tests/.gitkeep
Empty file.
File renamed without changes.

0 comments on commit 5254f3a

Please sign in to comment.