Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2d05d2e

Browse files
Rework (#102)
* add resolve-imports plugin * version up * set actual deps * update release scripts * update demo version
1 parent f22be17 commit 2d05d2e

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

‎demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"author": "Alexey Litvinov",
2020
"license": "MIT",
2121
"dependencies": {
22-
"css-modules-require-hook": "^4.0.5",
22+
"css-modules-require-hook": "next",
2323
"express": "^4.14.0",
2424
"react": "^15.3.2",
2525
"react-dom": "^15.3.2"

‎package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "css-modules-require-hook",
3-
"version": "4.1.0",
3+
"version": "4.2.0",
44
"description": "A require hook to compile CSS Modules on the fly",
55
"main": "lib/index.js",
66
"engines": {
@@ -60,7 +60,7 @@
6060
"postcss-modules-extract-imports": "^1.0.0",
6161
"postcss-modules-local-by-default": "^1.0.1",
6262
"postcss-modules-parser": "^1.1.0",
63-
"postcss-modules-resolve-imports": "next",
63+
"postcss-modules-resolve-imports": "^1.3.0",
6464
"postcss-modules-scope": "^1.0.0",
6565
"postcss-modules-values": "^1.1.1",
6666
"seekout": "^1.0.1"

‎release.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,12 @@ case "1ドル" in
2222
esac
2323

2424
# test the code
25-
npm run test:node || exit 1
25+
npm run test || exit 1
2626
# update package version
2727
npm --no-git-tag-version version "$versionType"
2828
git add package.json
2929
version=`sed -n '/version/p' package.json|cut -d'"' -f4`
3030
git commit -m "version $version"
3131
git tag "$version"
3232

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /