diff --git a/CHANGELOG.md b/CHANGELOG.md
index 06fe11bf400..1ca27bbefb6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,14 +1,40 @@
-FIXME: This needs to be automated, but this is until then
+# Change log for: FreeSewing (global)
+## Unreleased
+
+
+## 2.0.1 (2019-09-01)
+
+### models
+
+#### Added
+
+ - Expanded the size ranges available.
+ - Added the `withBreasts` models which were missing in earlier releases.
+
+#### Changed
+
+ - The models data is now based on the data from the `neckstimate` method in the utils package.
+
+### theo
+
+#### Fixed
+
+ - [#78](https://github.com/freesewing/freesewing/issues/78): Removed inherited notches from fly shield and side piece.
+
+### utils
+
+#### Added
+
+ - The `measurementDiffers` method is new.
-2.0.1
+## 2.0.0 (2019-08-25)
- theo: Removed inherited notches from fly shield and side piece
- models: switched to neckstimate based data
- utils: added measurementDiffers method
+This is the **initial release**, and the start of this change log.
-2.0.0 -> initial release (v1 was PHP)
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/config/changelog.yaml b/config/changelog.yaml
index 6ae8258d67d..ed602b23566 100644
--- a/config/changelog.yaml
+++ b/config/changelog.yaml
@@ -273,7 +273,7 @@ Unreleased:
Security:
2.0.1:
- date: 2008-09-01
+ date: 2019-09-01
Added:
utils:
- The `measurementDiffers` method is new.
@@ -285,4 +285,5 @@ Unreleased:
- The models data is now based on the data from the `neckstimate` method in the utils package.
Fixed:
theo:
- - "[#78](https://github.com/freesewing/freesewing/issues/78): Removed inherited notches from fly shield and side piece."
+ - "[#78](https://github.com/freesewing/freesewing/issues/78):
+ Removed inherited notches from fly shield and side piece."
diff --git a/config/templates/changelog.dflt.md b/config/templates/changelog.dflt.md
index 5cf0a421e39..b18ba4326a8 100644
--- a/config/templates/changelog.dflt.md
+++ b/config/templates/changelog.dflt.md
@@ -1,18 +1,9 @@
-
-
-
-
-
- FreeSewing
-
- An open source platform for made-to-measure sewing patterns
-
+# Change log for: {{{fullname}}}
-# {{{fullname}}} Change log
-{{changelog}}
+{{{changelog}}}
-## 2.0.0
+## 2.0.0 (2019-08-25)
This is the **initial release**, and the start of this change log.
diff --git a/packages/aaron/CHANGELOG.md b/packages/aaron/CHANGELOG.md
new file mode 100644
index 00000000000..d60700f0adb
--- /dev/null
+++ b/packages/aaron/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/aaron
+
+
+## Unreleased
+
+**Note:** Version bump only for package aaron
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package aaron
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/aaron/package.json b/packages/aaron/package.json
index 2a5f6a1bf44..ff0a4b84a92 100644
--- a/packages/aaron/package.json
+++ b/packages/aaron/package.json
@@ -43,9 +43,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/benjamin/CHANGELOG.md b/packages/benjamin/CHANGELOG.md
new file mode 100644
index 00000000000..bb87acf7e4e
--- /dev/null
+++ b/packages/benjamin/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/benjamin
+
+
+## Unreleased
+
+**Note:** Version bump only for package benjamin
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package benjamin
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/benjamin/package.json b/packages/benjamin/package.json
index b1dcb9c5245..3cf95c2628d 100644
--- a/packages/benjamin/package.json
+++ b/packages/benjamin/package.json
@@ -42,9 +42,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/bent/CHANGELOG.md b/packages/bent/CHANGELOG.md
new file mode 100644
index 00000000000..9fe480df65c
--- /dev/null
+++ b/packages/bent/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/bent
+
+
+## Unreleased
+
+**Note:** Version bump only for package bent
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package bent
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/bent/package.json b/packages/bent/package.json
index 3d9adfa6ea9..b1fdd61a21d 100644
--- a/packages/bent/package.json
+++ b/packages/bent/package.json
@@ -43,9 +43,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/brian/CHANGELOG.md b/packages/brian/CHANGELOG.md
new file mode 100644
index 00000000000..ae9ef608d78
--- /dev/null
+++ b/packages/brian/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/brian
+
+
+## Unreleased
+
+**Note:** Version bump only for package brian
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package brian
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/brian/package.json b/packages/brian/package.json
index a0d1e9825c6..5327143e845 100644
--- a/packages/brian/package.json
+++ b/packages/brian/package.json
@@ -42,9 +42,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/bruce/CHANGELOG.md b/packages/bruce/CHANGELOG.md
new file mode 100644
index 00000000000..2941e72a80e
--- /dev/null
+++ b/packages/bruce/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/bruce
+
+
+## Unreleased
+
+**Note:** Version bump only for package bruce
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package bruce
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/bruce/package.json b/packages/bruce/package.json
index 5ac8eeb68e3..b29850f8d2e 100644
--- a/packages/bruce/package.json
+++ b/packages/bruce/package.json
@@ -42,9 +42,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/carlita/CHANGELOG.md b/packages/carlita/CHANGELOG.md
new file mode 100644
index 00000000000..e7654eb8fe0
--- /dev/null
+++ b/packages/carlita/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/carlita
+
+
+## Unreleased
+
+**Note:** Version bump only for package carlita
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package carlita
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/carlita/package.json b/packages/carlita/package.json
index 9dbd70793cf..7bbec1733c9 100644
--- a/packages/carlita/package.json
+++ b/packages/carlita/package.json
@@ -46,9 +46,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/carlton/CHANGELOG.md b/packages/carlton/CHANGELOG.md
new file mode 100644
index 00000000000..80d5ab6bca7
--- /dev/null
+++ b/packages/carlton/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/carlton
+
+
+## Unreleased
+
+**Note:** Version bump only for package carlton
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package carlton
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/carlton/package.json b/packages/carlton/package.json
index 58c3abfe6b9..1b53281d5b7 100644
--- a/packages/carlton/package.json
+++ b/packages/carlton/package.json
@@ -44,9 +44,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/cathrin/CHANGELOG.md b/packages/cathrin/CHANGELOG.md
new file mode 100644
index 00000000000..9d6b2f1b356
--- /dev/null
+++ b/packages/cathrin/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/cathrin
+
+
+## Unreleased
+
+**Note:** Version bump only for package cathrin
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package cathrin
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/cathrin/package.json b/packages/cathrin/package.json
index 3805f9d111e..4546cf7f182 100644
--- a/packages/cathrin/package.json
+++ b/packages/cathrin/package.json
@@ -42,9 +42,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md
new file mode 100644
index 00000000000..7ebaf06b969
--- /dev/null
+++ b/packages/components/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/components
+
+
+## Unreleased
+
+**Note:** Version bump only for package components
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package components
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md
new file mode 100644
index 00000000000..fac5e0a459f
--- /dev/null
+++ b/packages/core/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/core
+
+
+## Unreleased
+
+**Note:** Version bump only for package core
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package core
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/create-freesewing-pattern/CHANGELOG.md b/packages/create-freesewing-pattern/CHANGELOG.md
new file mode 100644
index 00000000000..7d5f11c8cd8
--- /dev/null
+++ b/packages/create-freesewing-pattern/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: create-freesewing-pattern
+
+
+## Unreleased
+
+**Note:** Version bump only for package create-freesewing-pattern
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package create-freesewing-pattern
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/create-freesewing-pattern/package.json b/packages/create-freesewing-pattern/package.json
index cc9535c040a..6176a3c6071 100644
--- a/packages/create-freesewing-pattern/package.json
+++ b/packages/create-freesewing-pattern/package.json
@@ -27,15 +27,15 @@
"dependencies": {
"chalk": "^2.4.2",
"commander": "^2.19.0",
- "conf": "^5.0.0",
+ "conf": "^2.2.0",
"cp-file": "^6.0.0",
"execa": "^1.0.0",
"git-config-path": "^2.0.0",
- "github-username": "^5.0.1",
- "globby": "^10.0.1",
+ "github-username": "^4.1.0",
+ "globby": "^9.0.0",
"handlebars": "^4.1.0",
"inquirer": "^6.2.2",
- "make-dir": "^3.0.0",
+ "make-dir": "^2.0.0",
"ora": "^3.1.0",
"p-each-series": "^1.0.0",
"parse-git-config": "^3.0.0",
diff --git a/packages/css-theme/CHANGELOG.md b/packages/css-theme/CHANGELOG.md
new file mode 100644
index 00000000000..e714ee54303
--- /dev/null
+++ b/packages/css-theme/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/css-theme
+
+
+## Unreleased
+
+**Note:** Version bump only for package css-theme
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package css-theme
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/examples/CHANGELOG.md b/packages/examples/CHANGELOG.md
new file mode 100644
index 00000000000..fae5e178a84
--- /dev/null
+++ b/packages/examples/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/examples
+
+
+## Unreleased
+
+**Note:** Version bump only for package examples
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package examples
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/examples/package.json b/packages/examples/package.json
index 5f9491b921d..559e626f3fa 100644
--- a/packages/examples/package.json
+++ b/packages/examples/package.json
@@ -37,9 +37,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/florent/CHANGELOG.md b/packages/florent/CHANGELOG.md
new file mode 100644
index 00000000000..7c4d9d789ce
--- /dev/null
+++ b/packages/florent/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/florent
+
+
+## Unreleased
+
+**Note:** Version bump only for package florent
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package florent
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/florent/package.json b/packages/florent/package.json
index 7958c1f9399..854f76bb11c 100644
--- a/packages/florent/package.json
+++ b/packages/florent/package.json
@@ -42,9 +42,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/huey/CHANGELOG.md b/packages/huey/CHANGELOG.md
new file mode 100644
index 00000000000..21af7529d9d
--- /dev/null
+++ b/packages/huey/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/huey
+
+
+## Unreleased
+
+**Note:** Version bump only for package huey
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package huey
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/huey/package.json b/packages/huey/package.json
index 053c38e49e1..43a587c588e 100644
--- a/packages/huey/package.json
+++ b/packages/huey/package.json
@@ -42,9 +42,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/hugo/CHANGELOG.md b/packages/hugo/CHANGELOG.md
new file mode 100644
index 00000000000..563f6c921dd
--- /dev/null
+++ b/packages/hugo/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/hugo
+
+
+## Unreleased
+
+**Note:** Version bump only for package hugo
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package hugo
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/hugo/package.json b/packages/hugo/package.json
index d3100543dc3..329bd888220 100644
--- a/packages/hugo/package.json
+++ b/packages/hugo/package.json
@@ -43,9 +43,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/i18n/CHANGELOG.md b/packages/i18n/CHANGELOG.md
new file mode 100644
index 00000000000..91b09b3ea68
--- /dev/null
+++ b/packages/i18n/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/i18n
+
+
+## Unreleased
+
+**Note:** Version bump only for package i18n
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package i18n
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/jaeger/CHANGELOG.md b/packages/jaeger/CHANGELOG.md
new file mode 100644
index 00000000000..83e2b93b9bf
--- /dev/null
+++ b/packages/jaeger/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/jaeger
+
+
+## Unreleased
+
+**Note:** Version bump only for package jaeger
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package jaeger
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/jaeger/package.json b/packages/jaeger/package.json
index 2c8e6ce4c23..5b10a62bbec 100644
--- a/packages/jaeger/package.json
+++ b/packages/jaeger/package.json
@@ -44,9 +44,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/models/CHANGELOG.md b/packages/models/CHANGELOG.md
new file mode 100644
index 00000000000..016b0c4f8a2
--- /dev/null
+++ b/packages/models/CHANGELOG.md
@@ -0,0 +1,26 @@
+# Change log for: @freesewing/models
+
+
+## Unreleased
+
+**Note:** Version bump only for package models
+
+
+## 2.0.1 (2019-09-01)
+
+### Added
+
+ - Expanded the size ranges available.
+ - Added the `withBreasts` models which were missing in earlier releases.
+
+### Changed
+
+ - The models data is now based on the data from the `neckstimate` method in the utils package.
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/mui-theme/CHANGELOG.md b/packages/mui-theme/CHANGELOG.md
new file mode 100644
index 00000000000..7af3ab74441
--- /dev/null
+++ b/packages/mui-theme/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/mui-theme
+
+
+## Unreleased
+
+**Note:** Version bump only for package mui-theme
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package mui-theme
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/pattern-info/CHANGELOG.md b/packages/pattern-info/CHANGELOG.md
new file mode 100644
index 00000000000..b5c1253a35d
--- /dev/null
+++ b/packages/pattern-info/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/pattern-info
+
+
+## Unreleased
+
+**Note:** Version bump only for package pattern-info
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package pattern-info
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/patterns/CHANGELOG.md b/packages/patterns/CHANGELOG.md
new file mode 100644
index 00000000000..02dd3ab5eb2
--- /dev/null
+++ b/packages/patterns/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/patterns
+
+
+## Unreleased
+
+**Note:** Version bump only for package patterns
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package patterns
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-banner/CHANGELOG.md b/packages/plugin-banner/CHANGELOG.md
new file mode 100644
index 00000000000..3809c0ebf39
--- /dev/null
+++ b/packages/plugin-banner/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-banner
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-banner
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-banner
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-bundle/CHANGELOG.md b/packages/plugin-bundle/CHANGELOG.md
new file mode 100644
index 00000000000..16592e28b46
--- /dev/null
+++ b/packages/plugin-bundle/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-bundle
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-bundle
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-bundle
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-bust/CHANGELOG.md b/packages/plugin-bust/CHANGELOG.md
new file mode 100644
index 00000000000..bee78b10b63
--- /dev/null
+++ b/packages/plugin-bust/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-bust
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-bust
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-bust
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-buttons/CHANGELOG.md b/packages/plugin-buttons/CHANGELOG.md
new file mode 100644
index 00000000000..2651f09de60
--- /dev/null
+++ b/packages/plugin-buttons/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-buttons
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-buttons
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-buttons
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-cutonfold/CHANGELOG.md b/packages/plugin-cutonfold/CHANGELOG.md
new file mode 100644
index 00000000000..4bad193a71f
--- /dev/null
+++ b/packages/plugin-cutonfold/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-cutonfold
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-cutonfold
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-cutonfold
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-debug/CHANGELOG.md b/packages/plugin-debug/CHANGELOG.md
new file mode 100644
index 00000000000..8ce065083dc
--- /dev/null
+++ b/packages/plugin-debug/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-debug
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-debug
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-debug
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-designer/CHANGELOG.md b/packages/plugin-designer/CHANGELOG.md
new file mode 100644
index 00000000000..6297112e32b
--- /dev/null
+++ b/packages/plugin-designer/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-designer
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-designer
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-designer
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-dimension/CHANGELOG.md b/packages/plugin-dimension/CHANGELOG.md
new file mode 100644
index 00000000000..c9cf5d1598e
--- /dev/null
+++ b/packages/plugin-dimension/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-dimension
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-dimension
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-dimension
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-flip/CHANGELOG.md b/packages/plugin-flip/CHANGELOG.md
new file mode 100644
index 00000000000..c2df4499d55
--- /dev/null
+++ b/packages/plugin-flip/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-flip
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-flip
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-flip
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-grainline/CHANGELOG.md b/packages/plugin-grainline/CHANGELOG.md
new file mode 100644
index 00000000000..196f9c938e8
--- /dev/null
+++ b/packages/plugin-grainline/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-grainline
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-grainline
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-grainline
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-i18n/CHANGELOG.md b/packages/plugin-i18n/CHANGELOG.md
new file mode 100644
index 00000000000..ee9abfe85a4
--- /dev/null
+++ b/packages/plugin-i18n/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-i18n
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-i18n
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-i18n
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-logo/CHANGELOG.md b/packages/plugin-logo/CHANGELOG.md
new file mode 100644
index 00000000000..7ebc57246c8
--- /dev/null
+++ b/packages/plugin-logo/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-logo
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-logo
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-logo
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-round/CHANGELOG.md b/packages/plugin-round/CHANGELOG.md
new file mode 100644
index 00000000000..1a8c23772d4
--- /dev/null
+++ b/packages/plugin-round/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-round
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-round
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-round
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-scalebox/CHANGELOG.md b/packages/plugin-scalebox/CHANGELOG.md
new file mode 100644
index 00000000000..bdf9db52db2
--- /dev/null
+++ b/packages/plugin-scalebox/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-scalebox
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-scalebox
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-scalebox
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-sprinkle/CHANGELOG.md b/packages/plugin-sprinkle/CHANGELOG.md
new file mode 100644
index 00000000000..d1a5437659d
--- /dev/null
+++ b/packages/plugin-sprinkle/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-sprinkle
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-sprinkle
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-sprinkle
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-svgattr/CHANGELOG.md b/packages/plugin-svgattr/CHANGELOG.md
new file mode 100644
index 00000000000..3fab3e7b008
--- /dev/null
+++ b/packages/plugin-svgattr/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-svgattr
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-svgattr
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-svgattr
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-theme/CHANGELOG.md b/packages/plugin-theme/CHANGELOG.md
new file mode 100644
index 00000000000..2f23d01cf1c
--- /dev/null
+++ b/packages/plugin-theme/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-theme
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-theme
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-theme
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-title/CHANGELOG.md b/packages/plugin-title/CHANGELOG.md
new file mode 100644
index 00000000000..eb17c0849b7
--- /dev/null
+++ b/packages/plugin-title/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-title
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-title
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-title
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/plugin-validate/CHANGELOG.md b/packages/plugin-validate/CHANGELOG.md
new file mode 100644
index 00000000000..9b105db2035
--- /dev/null
+++ b/packages/plugin-validate/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/plugin-validate
+
+
+## Unreleased
+
+**Note:** Version bump only for package plugin-validate
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package plugin-validate
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/prettier-config/CHANGELOG.md b/packages/prettier-config/CHANGELOG.md
new file mode 100644
index 00000000000..81c4759fa56
--- /dev/null
+++ b/packages/prettier-config/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/prettier-config
+
+
+## Unreleased
+
+**Note:** Version bump only for package prettier-config
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package prettier-config
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/rendertest/CHANGELOG.md b/packages/rendertest/CHANGELOG.md
new file mode 100644
index 00000000000..301a0b08ad3
--- /dev/null
+++ b/packages/rendertest/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/rendertest
+
+
+## Unreleased
+
+**Note:** Version bump only for package rendertest
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package rendertest
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/rendertest/package.json b/packages/rendertest/package.json
index 0c6acb47348..fb3d9e953b1 100644
--- a/packages/rendertest/package.json
+++ b/packages/rendertest/package.json
@@ -42,9 +42,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/sandy/CHANGELOG.md b/packages/sandy/CHANGELOG.md
new file mode 100644
index 00000000000..91f81f8b937
--- /dev/null
+++ b/packages/sandy/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/sandy
+
+
+## Unreleased
+
+**Note:** Version bump only for package sandy
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package sandy
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/sandy/package.json b/packages/sandy/package.json
index b84d58331c7..2a52c5f4d6a 100644
--- a/packages/sandy/package.json
+++ b/packages/sandy/package.json
@@ -42,9 +42,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/shin/CHANGELOG.md b/packages/shin/CHANGELOG.md
new file mode 100644
index 00000000000..13e44db054e
--- /dev/null
+++ b/packages/shin/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/shin
+
+
+## Unreleased
+
+**Note:** Version bump only for package shin
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package shin
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/shin/package.json b/packages/shin/package.json
index 9ddca16d75a..96717347104 100644
--- a/packages/shin/package.json
+++ b/packages/shin/package.json
@@ -42,9 +42,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/simon/CHANGELOG.md b/packages/simon/CHANGELOG.md
new file mode 100644
index 00000000000..8b5a20cd2b8
--- /dev/null
+++ b/packages/simon/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/simon
+
+
+## Unreleased
+
+**Note:** Version bump only for package simon
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package simon
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/simon/package.json b/packages/simon/package.json
index e8b17d3bdfc..6fa3887a3b2 100644
--- a/packages/simon/package.json
+++ b/packages/simon/package.json
@@ -45,9 +45,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/sven/CHANGELOG.md b/packages/sven/CHANGELOG.md
new file mode 100644
index 00000000000..e682e8eeec2
--- /dev/null
+++ b/packages/sven/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/sven
+
+
+## Unreleased
+
+**Note:** Version bump only for package sven
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package sven
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/sven/package.json b/packages/sven/package.json
index 4f21fd11971..9b40cf6ea29 100644
--- a/packages/sven/package.json
+++ b/packages/sven/package.json
@@ -42,9 +42,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/tamiko/CHANGELOG.md b/packages/tamiko/CHANGELOG.md
new file mode 100644
index 00000000000..d23c405a096
--- /dev/null
+++ b/packages/tamiko/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/tamiko
+
+
+## Unreleased
+
+**Note:** Version bump only for package tamiko
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package tamiko
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/tamiko/package.json b/packages/tamiko/package.json
index 2ae482b8bb8..2abdff1f72b 100644
--- a/packages/tamiko/package.json
+++ b/packages/tamiko/package.json
@@ -42,9 +42,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/theo/CHANGELOG.md b/packages/theo/CHANGELOG.md
new file mode 100644
index 00000000000..05da4aa0912
--- /dev/null
+++ b/packages/theo/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/theo
+
+
+## Unreleased
+
+**Note:** Version bump only for package theo
+
+
+## 2.0.1 (2019-09-01)
+
+### Fixed
+
+ - [#78](https://github.com/freesewing/freesewing/issues/78): Removed inherited notches from fly shield and side piece.
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/theo/package.json b/packages/theo/package.json
index e0e90cfa526..a78ade91c1e 100644
--- a/packages/theo/package.json
+++ b/packages/theo/package.json
@@ -42,9 +42,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/trayvon/CHANGELOG.md b/packages/trayvon/CHANGELOG.md
new file mode 100644
index 00000000000..aaedbf33ea5
--- /dev/null
+++ b/packages/trayvon/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/trayvon
+
+
+## Unreleased
+
+**Note:** Version bump only for package trayvon
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package trayvon
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/trayvon/package.json b/packages/trayvon/package.json
index cff95bf2708..1ff908730e6 100644
--- a/packages/trayvon/package.json
+++ b/packages/trayvon/package.json
@@ -42,9 +42,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/tutorial/CHANGELOG.md b/packages/tutorial/CHANGELOG.md
new file mode 100644
index 00000000000..9054970d456
--- /dev/null
+++ b/packages/tutorial/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/tutorial
+
+
+## Unreleased
+
+**Note:** Version bump only for package tutorial
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package tutorial
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/tutorial/package.json b/packages/tutorial/package.json
index 1a1ba76952b..cc55a60aef5 100644
--- a/packages/tutorial/package.json
+++ b/packages/tutorial/package.json
@@ -42,9 +42,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md
new file mode 100644
index 00000000000..f0ab449526a
--- /dev/null
+++ b/packages/utils/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/utils
+
+
+## Unreleased
+
+**Note:** Version bump only for package utils
+
+
+## 2.0.1 (2019-09-01)
+
+### Added
+
+ - The `measurementDiffers` method is new.
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/wahid/CHANGELOG.md b/packages/wahid/CHANGELOG.md
new file mode 100644
index 00000000000..8fbaa702fff
--- /dev/null
+++ b/packages/wahid/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Change log for: @freesewing/wahid
+
+
+## Unreleased
+
+**Note:** Version bump only for package wahid
+
+
+## 2.0.1 (2019-09-01)
+
+**Note:** Version bump only for package wahid
+
+
+
+
+## 2.0.0 (2019-08-25)
+
+This is the **initial release**, and the start of this change log.
+
+Prior to version 2, FreeSewing was not a JavaScript project.
+As such, that history is out of scope for this change log.
diff --git a/packages/wahid/package.json b/packages/wahid/package.json
index 1fe56339a00..a77009f2112 100644
--- a/packages/wahid/package.json
+++ b/packages/wahid/package.json
@@ -45,9 +45,9 @@
"react-dom": "^16.8",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"babel-eslint": "10.0.1",
- "eslint": "^6.3.0",
+ "eslint": "^5.16.0",
"babel-jest": "24.7.1",
- "jest": "24.9.0",
+ "jest": "24.7.1",
"@freesewing/components": "^2.0.1",
"@freesewing/css-theme": "^2.0.1",
"@freesewing/i18n": "^2.0.1",
diff --git a/scripts/reconfigure.js b/scripts/reconfigure.js
index 7a847423133..4eae6986878 100644
--- a/scripts/reconfigure.js
+++ b/scripts/reconfigure.js
@@ -1,51 +1,48 @@
/* eslint-disable no-console */
-const path = require("path");
-const fs = require("fs");
-const fse = require("fs-extra");
-const glob = require("glob");
-const yaml = require("js-yaml");
-const chalk = require("chalk");
-const handlebars = require("handlebars");
-const Mustache = require("mustache");
-const { version } = require("../lerna.json");
+const path = require('path')
+const fs = require('fs')
+const fse = require('fs-extra')
+const glob = require('glob')
+const yaml = require('js-yaml')
+const chalk = require('chalk')
+const handlebars = require('handlebars')
+const Mustache = require('mustache')
+const { version } = require('../lerna.json')
-const repoPath = process.cwd();
+const repoPath = process.cwd()
const config = {
repoPath,
- defaults: readConfigFile("defaults.yaml"),
- descriptions: readConfigFile("descriptions.yaml"),
- keywords: readConfigFile("keywords.yaml"),
- badges: readConfigFile("badges.yaml"),
- scripts: readConfigFile("scripts.yaml"),
- changelog: readConfigFile("changelog.yaml"),
- changes: ["Added", "Changed", "Deprecated", "Removed", "Fixed", "Security"],
- dependencies: readConfigFile("dependencies.yaml", { version }),
- exceptions: readConfigFile("exceptions.yaml"),
+ defaults: readConfigFile('defaults.yaml'),
+ descriptions: readConfigFile('descriptions.yaml'),
+ keywords: readConfigFile('keywords.yaml'),
+ badges: readConfigFile('badges.yaml'),
+ scripts: readConfigFile('scripts.yaml'),
+ changelog: readConfigFile('changelog.yaml'),
+ changetypes: ['Added', 'Changed', 'Deprecated', 'Removed', 'Fixed', 'Security'],
+ dependencies: readConfigFile('dependencies.yaml', { version }),
+ exceptions: readConfigFile('exceptions.yaml'),
templates: {
- pkg: readTemplateFile("package.dflt.json"),
- rollup: readTemplateFile("rollup.config.dflt.js"),
- changelog: readTemplateFile("changelog.dflt.md"),
- readme: readTemplateFile("readme.dflt.md")
+ pkg: readTemplateFile('package.dflt.json'),
+ rollup: readTemplateFile('rollup.config.dflt.js'),
+ changelog: readTemplateFile('changelog.dflt.md'),
+ readme: readTemplateFile('readme.dflt.md')
}
-};
+}
-const packages = glob.sync("*", {
- cwd: path.join(config.repoPath, "packages")
-});
+const packages = glob.sync('*', {
+ cwd: path.join(config.repoPath, 'packages')
+})
-validate(packages, config);
-reconfigure(packages, config);
+validate(packages, config)
+reconfigure(packages, config)
-process.exit();
+process.exit()
/**
* Reads a template file
*/
function readTemplateFile(file) {
- return fs.readFileSync(
- path.join(repoPath, "config", "templates", file),
- "utf-8"
- );
+ return fs.readFileSync(path.join(repoPath, 'config', 'templates', file), 'utf-8')
}
/**
@@ -56,25 +53,25 @@ function readExampleFile(file, subdir = false) {
subdir
? path.join(
repoPath,
- "packages",
- "create-freesewing-pattern",
- "template",
- "default",
- "example",
+ 'packages',
+ 'create-freesewing-pattern',
+ 'template',
+ 'default',
+ 'example',
file
)
: path.join(
repoPath,
- "packages",
- "create-freesewing-pattern",
- "template",
- "default",
- "example",
+ 'packages',
+ 'create-freesewing-pattern',
+ 'template',
+ 'default',
+ 'example',
subdir,
file
),
- "utf-8"
- );
+ 'utf-8'
+ )
}
/**
@@ -83,14 +80,9 @@ function readExampleFile(file, subdir = false) {
function readConfigFile(file, replace = false) {
if (replace)
return yaml.safeLoad(
- Mustache.render(
- fs.readFileSync(path.join(repoPath, "config", file), "utf-8"),
- replace
- )
- );
- return yaml.safeLoad(
- fs.readFileSync(path.join(repoPath, "config", file), "utf-8")
- );
+ Mustache.render(fs.readFileSync(path.join(repoPath, 'config', file), 'utf-8'), replace)
+ )
+ return yaml.safeLoad(fs.readFileSync(path.join(repoPath, 'config', file), 'utf-8'))
}
/**
@@ -98,17 +90,14 @@ function readConfigFile(file, replace = false) {
* Returns its contents if it exists, or an empty string if not
*/
function readInfoFile(pkg) {
- let markup = "";
+ let markup = ''
try {
- markup = fs.readFileSync(
- path.join(repoPath, "packages", pkg, "info.md"),
- "utf-8"
- );
+ markup = fs.readFileSync(path.join(repoPath, 'packages', pkg, 'info.md'), 'utf-8')
} catch {
- return "";
+ return ''
}
- return markup;
+ return markup
}
/**
@@ -119,25 +108,23 @@ function readInfoFile(pkg) {
* - other
*/
function packageType(pkg, config) {
- if (pkg.substring(0, 7) === "plugin-") return "plugin";
- if (config.descriptions[pkg].substring(0, 21) === "A FreeSewing pattern ")
- return "pattern";
- return "other";
+ if (pkg.substring(0, 7) === 'plugin-') return 'plugin'
+ if (config.descriptions[pkg].substring(0, 21) === 'A FreeSewing pattern ') return 'pattern'
+ return 'other'
}
/**
* Returns an array of keywords for a package
*/
function keywords(pkg, config, type) {
- if (typeof config.keywords[pkg] !== "undefined") return config.keywords[pkg];
- if (typeof config.keywords[type] !== "undefined")
- return config.keywords[type];
+ if (typeof config.keywords[pkg] !== 'undefined') return config.keywords[pkg]
+ if (typeof config.keywords[type] !== 'undefined') return config.keywords[type]
else {
console.log(
- chalk.redBright.bold("Problem:"),
+ chalk.redBright.bold('Problem:'),
chalk.redBright(`No keywords for package ${pkg} which is of type ${type}`)
- );
- process.exit();
+ )
+ process.exit()
}
}
@@ -145,30 +132,30 @@ function keywords(pkg, config, type) {
* Returns an plain object of scripts for a package
*/
function scripts(pkg, config, type) {
- let runScripts = {};
+ let runScripts = {}
for (let key of Object.keys(config.scripts._)) {
runScripts[key] = Mustache.render(config.scripts._[key], {
name: pkg
- });
+ })
}
- if (typeof config.scripts._types[type] !== "undefined") {
+ if (typeof config.scripts._types[type] !== 'undefined') {
for (let key of Object.keys(config.scripts._types[type])) {
runScripts[key] = Mustache.render(config.scripts._types[type][key], {
name: pkg
- });
+ })
}
}
- if (typeof config.scripts[pkg] !== "undefined") {
+ if (typeof config.scripts[pkg] !== 'undefined') {
for (let key of Object.keys(config.scripts[pkg])) {
- if (config.scripts[pkg][key] === "!") delete runScripts[key];
+ if (config.scripts[pkg][key] === '!') delete runScripts[key]
else
runScripts[key] = Mustache.render(config.scripts[pkg][key], {
name: pkg
- });
+ })
}
}
- return runScripts;
+ return runScripts
}
/**
@@ -181,82 +168,78 @@ function scripts(pkg, config, type) {
*
*/
function deps(section, pkg, config, type) {
- let dependencies = {};
+ let dependencies = {}
if (
- typeof config.dependencies._types[type] !== "undefined" &&
- typeof config.dependencies._types[type][section] !== "undefined"
+ typeof config.dependencies._types[type] !== 'undefined' &&
+ typeof config.dependencies._types[type][section] !== 'undefined'
)
- dependencies = config.dependencies._types[type][section];
- if (typeof config.dependencies[pkg] === "undefined") return dependencies;
- if (typeof config.dependencies[pkg][section] !== "undefined")
- return { ...dependencies, ...config.dependencies[pkg][section] };
+ dependencies = config.dependencies._types[type][section]
+ if (typeof config.dependencies[pkg] === 'undefined') return dependencies
+ if (typeof config.dependencies[pkg][section] !== 'undefined')
+ return { ...dependencies, ...config.dependencies[pkg][section] }
- return dependencies;
+ return dependencies
}
/**
* These merely call deps() for the relevant dependency section
*/
function dependencies(pkg, config, type) {
- return deps("_", pkg, config, type);
+ return deps('_', pkg, config, type)
}
function devDependencies(pkg, config, type) {
- return deps("dev", pkg, config, type);
+ return deps('dev', pkg, config, type)
}
function peerDependencies(pkg, config, type) {
- return deps("peer", pkg, config, type);
+ return deps('peer', pkg, config, type)
}
/**
* Creates a package.json file for a package
*/
function packageConfig(pkg, config) {
- let type = packageType(pkg, config);
- let pkgConf = {};
+ let type = packageType(pkg, config)
+ let pkgConf = {}
// Let's keep these at the top
- pkgConf.name = fullName(pkg, config);
- pkgConf.version = version;
- pkgConf.description = config.descriptions[pkg];
+ pkgConf.name = fullName(pkg, config)
+ pkgConf.version = version
+ pkgConf.description = config.descriptions[pkg]
pkgConf = {
...pkgConf,
...JSON.parse(Mustache.render(config.templates.pkg, { name: pkg }))
- };
- pkgConf.keywords = pkgConf.keywords.concat(keywords(pkg, config, type));
- pkgConf.scripts = scripts(pkg, config, type);
- pkgConf.dependencies = dependencies(pkg, config, type);
- pkgConf.devDependencies = devDependencies(pkg, config, type);
- pkgConf.peerDependencies = peerDependencies(pkg, config, type);
- if (typeof config.exceptions.packageJson[pkg] !== "undefined") {
+ }
+ pkgConf.keywords = pkgConf.keywords.concat(keywords(pkg, config, type))
+ pkgConf.scripts = scripts(pkg, config, type)
+ pkgConf.dependencies = dependencies(pkg, config, type)
+ pkgConf.devDependencies = devDependencies(pkg, config, type)
+ pkgConf.peerDependencies = peerDependencies(pkg, config, type)
+ if (typeof config.exceptions.packageJson[pkg] !== 'undefined') {
pkgConf = {
...pkgConf,
...config.exceptions.packageJson[pkg]
- };
+ }
for (let key of Object.keys(config.exceptions.packageJson[pkg])) {
- if (config.exceptions.packageJson[pkg][key] === "!") delete pkgConf[key];
+ if (config.exceptions.packageJson[pkg][key] === '!') delete pkgConf[key]
}
}
- return pkgConf;
+ return pkgConf
}
/**
* Returns an string with the markup for badges in the readme file
*/
function badges(pkg, config) {
- let markup = "";
- for (let group of ["_all", "_social"]) {
- markup += "";
+ let markup = ''
+ for (let group of ['_all', '_social']) {
+ markup += "
"
for (let key of Object.keys(config.badges[group])) {
- markup += formatBadge(
- config.badges[group][key],
- pkg,
- fullName(pkg, config)
- );
+ markup += formatBadge(config.badges[group][key], pkg, fullName(pkg, config))
}
- markup += "
";
+ markup += ''
}
- return markup;
+ return markup
}
/**
@@ -268,14 +251,14 @@ function formatBadge(badge, name, fullname) {
title="${Mustache.render(badge.alt, { name, fullname })}"
>
- `;
+ `
}
/**
* Returns the full (namespaced) name of a package
*/
function fullName(pkg, config) {
- if (config.exceptions.noNamespace.indexOf(pkg) !== -1) return pkg;
- else return `@freesewing/${pkg}`;
+ if (config.exceptions.noNamespace.indexOf(pkg) !== -1) return pkg
+ else return `@freesewing/${pkg}`
}
/**
@@ -287,9 +270,9 @@ function readme(pkg, config) {
description: config.descriptions[pkg],
badges: badges(pkg, config),
info: readInfoFile(pkg)
- });
+ })
- return markup;
+ return markup
}
/**
@@ -297,44 +280,102 @@ function readme(pkg, config) {
*/
function changelog(pkg, config) {
let markup = Mustache.render(config.templates.changelog, {
- fullname: fullName(pkg, config),
- changelog: packageChangelog(pkg, config)
- });
+ fullname: pkg === 'global' ? 'FreeSewing (global)' : fullName(pkg, config),
+ changelog: pkg === 'global' ? globalChangelog(config) : packageChangelog(pkg, config)
+ })
- return markup;
+ return markup
+}
+
+/**
+ * Generates the global changelog data
+ */
+function globalChangelog(config) {
+ let markup = ''
+ for (let v in config.changelog) {
+ let changes = config.changelog[v]
+ markup += '\n## ' + v
+ if (v !== 'Unreleased') markup += ' (' + formatDate(changes.date) + ')'
+ markup += '\n\n'
+ for (let pkg of packages) {
+ let changed = false
+ for (let type of config.changetypes) {
+ if (
+ typeof changes[type] !== 'undefined' &&
+ changes[type] !== null &&
+ typeof changes[type][pkg] !== 'undefined' &&
+ changes[type][pkg] !== null
+ ) {
+ if (!changed) changed = ''
+ changed += '\n#### ' + type + '\n\n'
+ for (let change of changes[type][pkg]) changed += ' - ' + change + '\n'
+ }
+ }
+ if (changed) markup += '### ' + pkg + '\n' + changed + '\n'
+ }
+ }
+
+ return markup
}
/**
* Generates the changelog data for a package
*/
function packageChangelog(pkg, config) {
- let markup = "";
- if (pkg === "theo") {
- for (let v in config.changelog) {
- markup += "## " + v + "\n\n";
+ let markup = ''
+ for (let v in config.changelog) {
+ let changes = config.changelog[v]
+ let changed = false
+ for (let type of config.changetypes) {
+ if (
+ typeof changes[type] !== 'undefined' &&
+ changes[type] !== null &&
+ typeof changes[type][pkg] !== 'undefined' &&
+ changes[type][pkg] !== null
+ ) {
+ if (!changed) changed = ''
+ changed += '\n### ' + type + '\n\n'
+ for (let change of changes[type][pkg]) changed += ' - ' + change + '\n'
+ }
}
+ markup += '## ' + v
+ if (v !== 'Unreleased') markup += ' (' + formatDate(changes.date) + ')'
+ markup += '\n'
+ markup += changed ? changed : `\n**Note:** Version bump only for package ${pkg}\n\n\n`
}
- return markup;
+ return markup
+}
+
+function formatDate(date) {
+ let d = new Date(date),
+ month = '' + (d.getMonth() + 1),
+ day = '' + d.getDate(),
+ year = d.getFullYear()
+
+ if (month.length < 2) month = '0' + month
+ if (day.length < 2) day = '0' + day
+
+ return [year, month, day].join('-')
}
/**
* Make sure we have (at least) a description for each package
*/
function validate(pkgs, config) {
- console.log(chalk.blueBright("Validating package descriptions"));
+ console.log(chalk.blueBright('Validating package descriptions'))
for (let pkg of pkgs) {
- if (typeof config.descriptions[pkg] !== "string") {
+ if (typeof config.descriptions[pkg] !== 'string') {
console.log(
- chalk.redBright.bold("Problem:"),
+ chalk.redBright.bold('Problem:'),
chalk.redBright(`No description for package ${pkg}`)
- );
- process.exit();
+ )
+ process.exit()
}
}
- console.log(chalk.yellowBright.bold("Looks good"));
+ console.log(chalk.yellowBright.bold('Looks good'))
- return true;
+ return true
}
/**
@@ -345,50 +386,41 @@ function configurePatternExample(pkg, config) {
// Create example dir structure
let source = path.join(
config.repoPath,
- "packages",
- "create-freesewing-pattern",
- "template",
- "default",
- "example"
- );
- let dest = path.join(config.repoPath, "packages", pkg, "example");
- fse.ensureDirSync(path.join(dest, "src"));
- fse.ensureDirSync(path.join(dest, "public"));
+ 'packages',
+ 'create-freesewing-pattern',
+ 'template',
+ 'default',
+ 'example'
+ )
+ let dest = path.join(config.repoPath, 'packages', pkg, 'example')
+ fse.ensureDirSync(path.join(dest, 'src'))
+ fse.ensureDirSync(path.join(dest, 'public'))
// Copy files
- for (let file of [".babelrc", ".env"])
- fs.copyFileSync(path.join(source, file), path.join(dest, file));
- for (let file of ["index.js", "serviceWorker.js"])
- fs.copyFileSync(
- path.join(source, "src", file),
- path.join(dest, "src", file)
- );
+ for (let file of ['.babelrc', '.env'])
+ fs.copyFileSync(path.join(source, file), path.join(dest, file))
+ for (let file of ['index.js', 'serviceWorker.js'])
+ fs.copyFileSync(path.join(source, 'src', file), path.join(dest, 'src', file))
fs.copyFileSync(
- path.join(source, "public", "favicon.ico"),
- path.join(dest, "public", "favicon.ico")
- );
+ path.join(source, 'public', 'favicon.ico'),
+ path.join(dest, 'public', 'favicon.ico')
+ )
// Write templates
let replace = {
name: pkg,
- author: "freesewing",
+ author: 'freesewing',
yarn: true,
- language: "en"
- };
- for (let file of ["package.json", "README.md"]) {
- let template = handlebars.compile(
- fs.readFileSync(path.join(source, file), "utf-8")
- );
- fs.writeFileSync(path.join(dest, file), template(replace));
+ language: 'en'
}
- for (let file of ["index.html", "manifest.json"]) {
- let template = handlebars.compile(
- fs.readFileSync(path.join(source, "public", file), "utf-8")
- );
- fs.writeFileSync(path.join(dest, "public", file), template(replace));
+ for (let file of ['package.json', 'README.md']) {
+ let template = handlebars.compile(fs.readFileSync(path.join(source, file), 'utf-8'))
+ fs.writeFileSync(path.join(dest, file), template(replace))
}
- let template = handlebars.compile(
- fs.readFileSync(path.join(source, "src", "App.js"), "utf-8")
- );
- fs.writeFileSync(path.join(dest, "src", "App.js"), template(replace));
+ for (let file of ['index.html', 'manifest.json']) {
+ let template = handlebars.compile(fs.readFileSync(path.join(source, 'public', file), 'utf-8'))
+ fs.writeFileSync(path.join(dest, 'public', file), template(replace))
+ }
+ let template = handlebars.compile(fs.readFileSync(path.join(source, 'src', 'App.js'), 'utf-8'))
+ fs.writeFileSync(path.join(dest, 'src', 'App.js'), template(replace))
}
/**
@@ -399,28 +431,25 @@ function configurePatternExample(pkg, config) {
*/
function reconfigure(pkgs, config) {
for (let pkg of pkgs) {
- console.log(chalk.blueBright(`Reconfiguring ${pkg}`));
- let pkgConfig = packageConfig(pkg, config);
+ console.log(chalk.blueBright(`Reconfiguring ${pkg}`))
+ let pkgConfig = packageConfig(pkg, config)
fs.writeFileSync(
- path.join(config.repoPath, "packages", pkg, "package.json"),
- JSON.stringify(pkgConfig, null, 2) + "\n"
- );
+ path.join(config.repoPath, 'packages', pkg, 'package.json'),
+ JSON.stringify(pkgConfig, null, 2) + '\n'
+ )
if (config.exceptions.customRollup.indexOf(pkg) === -1) {
fs.writeFileSync(
- path.join(config.repoPath, "packages", pkg, "rollup.config.js"),
+ path.join(config.repoPath, 'packages', pkg, 'rollup.config.js'),
config.templates.rollup
- );
+ )
}
+ fs.writeFileSync(path.join(config.repoPath, 'packages', pkg, 'README.md'), readme(pkg, config))
fs.writeFileSync(
- path.join(config.repoPath, "packages", pkg, "README.md"),
- readme(pkg, config)
- );
- fs.writeFileSync(
- path.join(config.repoPath, "packages", pkg, "CHANGELOG.md"),
+ path.join(config.repoPath, 'packages', pkg, 'CHANGELOG.md'),
changelog(pkg, config)
- );
- if (packageType(pkg, config) === "pattern")
- configurePatternExample(pkg, config);
+ )
+ if (packageType(pkg, config) === 'pattern') configurePatternExample(pkg, config)
}
- console.log(chalk.yellowBright.bold("All done."));
+ fs.writeFileSync(path.join(config.repoPath, 'CHANGELOG.md'), changelog('global', config))
+ console.log(chalk.yellowBright.bold('All done.'))
}