Skip to content

Commit

Permalink
chore: add getDefaultOptions and check
Browse files Browse the repository at this point in the history
  • Loading branch information
sonofmagic committed Jan 9, 2025
1 parent 2e3101c commit 21dc7a0
Show file tree
Hide file tree
Showing 22 changed files with 1,092 additions and 982 deletions.
5 changes: 5 additions & 0 deletions .changeset/hungry-ads-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"weapp-tailwindcss": patch
---

feat: add @weapp-tailwindcss/merge as default ignoreCallExpressionIdentifiers options dep
2 changes: 1 addition & 1 deletion apps/native-skyline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@iconify-json/mdi": "^1.2.2",
"@weapp-tailwindcss/cli": "workspace:*",
"tailwindcss": "^3.4.17",
"weapp-ide-cli": "^2.0.8",
"weapp-ide-cli": "^2.0.9",
"weapp-tailwindcss": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion apps/native-ts-skyline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@weapp-tailwindcss/cli": "workspace:*",
"miniprogram-api-typings": "^4.0.2",
"tailwindcss": "^3.4.17",
"weapp-ide-cli": "^2.0.8",
"weapp-ide-cli": "^2.0.9",
"weapp-tailwindcss": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion apps/native-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@weapp-tailwindcss/cli": "workspace:*",
"miniprogram-api-typings": "^4.0.2",
"tailwindcss": "^3.4.17",
"weapp-ide-cli": "^2.0.8",
"weapp-ide-cli": "^2.0.9",
"weapp-tailwindcss": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion apps/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@weapp-tailwindcss/cli": "workspace:*",
"cross-env": "^7.0.3",
"tailwindcss": "^3.4.17",
"weapp-ide-cli": "^2.0.8",
"weapp-ide-cli": "^2.0.9",
"weapp-tailwindcss": "workspace:*"
}
}
4 changes: 2 additions & 2 deletions apps/vite-native-skyline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"miniprogram-api-typings": "^4.0.2",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.2",
"typescript": "^5.7.3",
"weapp-tailwindcss": "workspace:*",
"weapp-vite": "^2.0.1"
"weapp-vite": "^2.0.2"
}
}
4 changes: 2 additions & 2 deletions apps/vite-native-ts-skyline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"miniprogram-api-typings": "^4.0.2",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.2",
"typescript": "^5.7.3",
"weapp-tailwindcss": "workspace:*",
"weapp-vite": "^2.0.1"
"weapp-vite": "^2.0.2"
}
}
4 changes: 2 additions & 2 deletions apps/vite-native-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"miniprogram-api-typings": "^4.0.2",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"typescript": "^5.7.2",
"typescript": "^5.7.3",
"weapp-tailwindcss": "workspace:*",
"weapp-vite": "^2.0.1"
"weapp-vite": "^2.0.2"
}
}
2 changes: 1 addition & 1 deletion apps/vite-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
"tailwindcss": "^3.4.17",
"tailwindcss-injector": "workspace:*",
"weapp-tailwindcss": "workspace:*",
"weapp-vite": "^2.0.1"
"weapp-vite": "^2.0.2"
}
}
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@
"@commitlint/prompt-cli": "^19.7.0",
"@commitlint/types": "^19.5.0",
"@eslint/config-inspector": "^0.7.1",
"@icebreakers/eslint-config": "^0.7.9",
"@icebreakers/monorepo": "^0.6.21",
"@icebreakers/eslint-config": "^0.7.10",
"@icebreakers/monorepo": "^0.6.22",
"@icebreakers/readme": "0.1.0",
"@icebreakers/stylelint-config": "^0.1.3",
"@rollup/plugin-alias": "^5.1.1",
Expand Down Expand Up @@ -189,9 +189,9 @@
"html-loader": "^5.1.0",
"husky": "^9.1.7",
"js-beautify": "^1.15.1",
"jsdom": "^25.0.1",
"jsdom": "^26.0.0",
"klaw": "^4.1.0",
"lightningcss": "^1.28.2",
"lightningcss": "^1.29.0",
"lint-staged": "^15.3.0",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
Expand All @@ -201,7 +201,7 @@
"normalize-newline": "^4.1.0",
"npm-registry-fetch": "^18.0.2",
"only-allow": "^1.2.1",
"pathe": "^2.0.0",
"pathe": "^2.0.1",
"pkg-types": "^1.3.0",
"postcss": "^8.4.49",
"postcss-js": "^4.0.1",
Expand All @@ -227,14 +227,15 @@
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"turbo": "^2.3.3",
"typescript": "^5.7.2",
"typescript": "^5.7.3",
"unbuild": "^3.2.0",
"uuid": "^11.0.4",
"vinyl": "^3.0.0",
"vinyl-fs": "^4.0.0",
"vite": "^6.0.7",
"vite-plugin-inspect": "^0.10.6",
"vite-plugin-inspect": "^10.0.6",
"vitest": "~2.1.8",
"weapp-tailwindcss": "workspace:*",
"weapp-tailwindcss-children": "^0.1.0",
"webpack": "^5.97.1",
"webpack-build-utils": "^0.0.7",
Expand Down
4 changes: 2 additions & 2 deletions packages/init/test/__snapshots__/init.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`init > common > pkgJson 1`] = `
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"weapp-tailwindcss": "^3.7.0",
"weapp-tailwindcss": "^3.8.0-alpha.0",
},
"scripts": {
"postinstall": "weapp-tw patch",
Expand Down Expand Up @@ -48,7 +48,7 @@ exports[`init > esm > pkgJson 1`] = `
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"weapp-tailwindcss": "^3.7.0",
"weapp-tailwindcss": "^3.8.0-alpha.0",
},
"scripts": {
"postinstall": "weapp-tw patch",
Expand Down
2 changes: 1 addition & 1 deletion packages/init/test/fixtures/init/common/package.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"tailwindcss": "^3.4.17",
"postcss": "^8.4.49",
"autoprefixer": "^10.4.20",
"weapp-tailwindcss": "^3.7.0"
"weapp-tailwindcss": "^3.8.0-alpha.0"
}
}
2 changes: 1 addition & 1 deletion packages/init/test/fixtures/init/esm/package.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"tailwindcss": "^3.4.17",
"postcss": "^8.4.49",
"autoprefixer": "^10.4.20",
"weapp-tailwindcss": "^3.7.0"
"weapp-tailwindcss": "^3.8.0-alpha.0"
}
}
3 changes: 3 additions & 0 deletions packages/weapp-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,5 +177,8 @@
"semver": "~7.6.3",
"tailwindcss-patch": "~5.0.2",
"webpack-sources": "3.2.3"
},
"devDependencies": {
"local-pkg": "^1.0.0"
}
}
Loading

0 comments on commit 21dc7a0

Please sign in to comment.