Skip to content

Commit

Permalink
v0.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fattenap committed Sep 17, 2020
1 parent 297b0ef commit bb8d763
Show file tree
Hide file tree
Showing 5 changed files with 613 additions and 699 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

[UNRELEASED]

[0.7.4]

- Change dist output location
- Teporarily switch test to Chrome - [Gecko fails](https://github.com/rustwasm/wasm-bindgen/issues/2261)

[0.7.3]

- Upgrade postcss-typed-css-classes to bring in bug fix
Expand Down
9 changes: 7 additions & 2 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

[tasks.verify]
description = "Format, lint with Clippy and run tests"
dependencies = ["fmt", "clippy", "test_h_firefox"]
dependencies = ["fmt", "clippy", "test_h_chrome"]

[tasks.verify_only]
description = "Like `verify`, but fails if the code isn't formatted. Primarily for CI."
dependencies = ["fmt_check", "clippy", "test_h_firefox"]
dependencies = ["fmt_check", "clippy", "test_h_chrome"]

# ---- TEST ----

Expand All @@ -27,6 +27,11 @@ description = "Run headless tests. Ex: 'cargo make test_h firefox'. Test envs: [
extend = "test"
args = ["test", "--headless", "--${@}"]

[tasks.test_h_chrome]
description = "Run headless tests with Chrome."
extend = "test"
args = ["test", "--headless", "--chrome"]

[tasks.test_h_firefox]
description = "Run headless tests with Firefox."
extend = "test"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"author": "Martin Kavík <martin@kavik.cz>",
"name": "seed-quickstart-webpack",
"version": "0.7.3",
"version": "0.7.4",
"repository": "https://github.com/MartinKavik/seed-quickstart-webpack",
"license": "MIT",
"scripts": {
Expand Down
30 changes: 15 additions & 15 deletions webpack.css_classes.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ module.exports = (env, argv) => {
return {
entry: path.resolve(__dirname, "./static/index.css_classes.ts"),
output: {
path: path.resolve(__dirname, "../dist"),
filename: "css_classes.js"
path: path.resolve(__dirname, "dist"),
filename: "css_classes.js",
},
plugins: [new WebpackBar(), new CleanWebpackPlugin()],
module: {
Expand All @@ -24,14 +24,14 @@ module.exports = (env, argv) => {
loader: "file-loader",
options: {
emitFile: false,
name: "[path][name].[ext]"
}
}
]
name: "[path][name].[ext]",
},
},
],
},
{
test: /\.ts$/,
loader: "ts-loader?configFile=tsconfig.css_classes.json"
loader: "ts-loader?configFile=tsconfig.css_classes.json",
},
{
test: /\.css$/,
Expand All @@ -43,13 +43,13 @@ module.exports = (env, argv) => {
options: {
config: {
ctx: { mode: argv.mode },
path: __dirname
}
}
}
]
}
]
}
path: __dirname,
},
},
},
],
},
],
},
};
};
Loading

0 comments on commit bb8d763

Please sign in to comment.