Skip to content

Rework #102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Sep 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"author": "Alexey Litvinov",
"license": "MIT",
"dependencies": {
"css-modules-require-hook": "^4.0.5",
"css-modules-require-hook": "next",
"express": "^4.14.0",
"react": "^15.3.2",
"react-dom": "^15.3.2"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "css-modules-require-hook",
"version": "4.1.0",
"version": "4.2.0",
"description": "A require hook to compile CSS Modules on the fly",
"main": "lib/index.js",
"engines": {
Expand Down Expand Up @@ -60,7 +60,7 @@
"postcss-modules-extract-imports": "^1.0.0",
"postcss-modules-local-by-default": "^1.0.1",
"postcss-modules-parser": "^1.1.0",
"postcss-modules-resolve-imports": "next",
"postcss-modules-resolve-imports": "^1.3.0",
"postcss-modules-scope": "^1.0.0",
"postcss-modules-values": "^1.1.1",
"seekout": "^1.0.1"
Expand Down
6 changes: 1 addition & 5 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,12 @@ case "$1" in
esac

# test the code
npm run test:node || exit 1
npm run test || exit 1
# update package version
npm --no-git-tag-version version "$versionType"
git add package.json
version=`sed -n '/version/p' package.json|cut -d'"' -f4`
git commit -m "version $version"
git tag "$version"

cli=node_modules/.bin
${cli}/babel lib --out-dir lib || exit 1
${cli}/babel preset.js --out-file preset.js || exit 1
npm publish
git reset HEAD --hard