Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
segunadebayo committed Apr 13, 2022
1 parent 1c375f2 commit 3e6ea79
Show file tree
Hide file tree
Showing 30 changed files with 117 additions and 117 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
run: yarn build

- name: Run tests
run: yarn test
run: yarn test:ci

- name: Publish packages
id: changesets
Expand Down
8 changes: 4 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"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 --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/frameworks/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
"react": ">=16.8.6"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/frameworks/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
"solid-js": ">=1.1.3"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/frameworks/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"svelte": "^3.38.2"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/frameworks/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
"vue": ">=3.0.0"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"@zag-js/utils": "^0.0.0"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/combobox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"scroll-into-view-if-needed": "^2.2.28"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/dialog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"scroll-into-view-if-needed": "^2.2.28"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/editable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"@zag-js/types": "^0.0.0"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"@zag-js/utils": "^0.0.0"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/number-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"@zag-js/utils": "^0.0.0"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/pin-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"@zag-js/utils": "^0.0.0"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/popover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
"focus-trap": "^6.7.1"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/range-slider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
"@zag-js/utils": "^0.0.0"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/rating/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
"@zag-js/utils": "^0.0.0"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/slider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"@zag-js/utils": "^0.0.0"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/splitter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"@zag-js/types": "^0.0.0"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/tabs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"@zag-js/utils": "^0.0.0"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/tags-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"@zag-js/types": "^0.0.0"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/toast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"@zag-js/utils": "^0.0.0"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/toggle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"@zag-js/types": "^0.0.0"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/machines/tooltip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
"@zag-js/types": "^0.0.0"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"url": "https://github.com/chakra-ui/zag/issues"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/utilities/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"url": "https://github.com/chakra-ui/zag/issues"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/utilities/dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"scroll-into-view-if-needed": "^2.2.29"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
8 changes: 4 additions & 4 deletions packages/utilities/number/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"url": "https://github.com/chakra-ui/zag/issues"
},
"scripts": {
"build:fast": "yarn zag build",
"start": "yarn zag build --watch",
"build": "yarn zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests",
"build:fast": "zag build",
"start": "zag build --watch",
"build": "zag build --prod",
"test": "jest --config ../../../jest.config.js --rootDir . --passWithNoTests",
"lint": "eslint src --ext .ts,.tsx",
"test:ci": "yarn test --ci --runInBand --maxWorkers=50%",
"test:watch": "yarn test --watch --updateSnapshot"
Expand Down
Loading

0 comments on commit 3e6ea79

Please sign in to comment.