diff --git a/CHANGELOG.md b/CHANGELOG.md
index 03b2974ab8e..87416201b08 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -54,12 +54,6 @@
- Fixed pocket size issue
- Fixed waist shaping issue
-### plugin-bundle
-
-#### Removed
-
- - Named exports of the bundled plugins are no longer available
-
### plugin-bust
#### Removed
@@ -658,12 +652,6 @@
### yuri
-#### Changed
-
- - Migrated from Rollup to Esbuild for all builds
-
-### plugin-bundle
-
#### Changed
- Migrated from Rollup to Esbuild for all builds
@@ -1194,13 +1182,6 @@
- Switched to default import for version from package.json
-### plugin-bundle
-
-#### Changed
-
- - plugin-banner is now part of plugin-bundle
- - plugin-bartack is now part of plugin-bundle
-
### plugin-flip
#### Added
@@ -1288,12 +1269,6 @@
- Updated the rendertest pattern to be more concise
-### plugin-bundle
-
-#### Added
-
- - Added (esm) unit tests
-
### plugin-bust
#### Added
@@ -1859,13 +1834,6 @@
- Initial release of Ursula, a basic, highly-customizable underwear pattern
-### plugin-bundle
-
-#### Changed
-
- - Include plugin-buttons
- - Include plugin-mirror
-
### plugin-mirror
#### Changed
@@ -3534,12 +3502,6 @@
### wahid
-#### Added
-
- - Initial release
-
-### plugin-bundle
-
#### Added
- Initial release
diff --git a/config/dependencies.yaml b/config/dependencies.yaml
index 9ecec2f2388..e4b057cae3f 100644
--- a/config/dependencies.yaml
+++ b/config/dependencies.yaml
@@ -2,7 +2,6 @@ _types:
design:
peer:
'@freesewing/core': &freesewing '{{version}}'
- '@freesewing/plugin-bundle': *freesewing
dev:
'mocha': &mocha '10.2.0'
'chai': &chai '4.3.7'
@@ -54,7 +53,7 @@ charlie:
'@freesewing/snapseries': *freesewing
core:
_:
- '@freesewing/plugin-bundle': *freesewing
+ '@freesewing/core-plugins': *freesewing
'bezier-js': '6.1.4'
'bin-pack-with-constraints': '1.0.1'
'hooks': '0.3.2'
@@ -115,7 +114,7 @@ paco:
peer:
'@freesewing/titan': *freesewing
'@freesewing/snapseries': *freesewing
-plugin-bundle:
+core-plugins:
dev:
'@freesewing/plugin-annotations': *freesewing
'@freesewing/plugin-mirror': *freesewing
diff --git a/config/exceptions.yaml b/config/exceptions.yaml
index 07d1c992dc5..dd9d03dc6ae 100644
--- a/config/exceptions.yaml
+++ b/config/exceptions.yaml
@@ -5,7 +5,7 @@ customBuild:
- i18n
- new-design
- prettier-config
- - plugin-bundle
+ - core-plugins
- react-components
- rehype-jargon
- rehype-highlight-lines
diff --git a/config/keywords.yaml b/config/keywords.yaml
index 6da71f26e9d..cdbc7844deb 100644
--- a/config/keywords.yaml
+++ b/config/keywords.yaml
@@ -43,7 +43,6 @@ other:
package:
- freesewing
patterns:
- - bundle
- design
- diy
- fashion
@@ -60,8 +59,7 @@ plugin:
- made to measure
- diy
- fashion
-plugin-bundle:
- - bundle
+core-plugins:
- plugin
- sewing pattern
- sewing
diff --git a/config/software/plugins.json b/config/software/plugins.json
index 9b320421c63..5b9a4e66ff3 100644
--- a/config/software/plugins.json
+++ b/config/software/plugins.json
@@ -1,6 +1,6 @@
{
+ "core-plugins": "An umbrella package of essential plugins that are bundled with FreeSewing's core library",
"plugin-annotations": "A FreeSewing plugin that provides pattern annotations",
- "plugin-bundle": "An umbrella package of 8 essential FreeSewing build-time plugins",
"plugin-bust": "A FreeSewing plugin that helps with bust-adjusting menswear patterns",
"plugin-flip": "A FreeSewing plugin to flip parts horizontally",
"plugin-gore": "A FreeSewing plugin to generate gores for a semi-sphere or dome",
diff --git a/config/templates/design/src/box.mjs b/config/templates/design/src/box.mjs
index b06ac5a6c20..2b05885df07 100644
--- a/config/templates/design/src/box.mjs
+++ b/config/templates/design/src/box.mjs
@@ -1,5 +1,3 @@
-import { pluginBundle } from '@freesewing/plugin-bundle'
-
function draftBox({
options,
Point,
@@ -65,6 +63,5 @@ export const box = {
options: {
size: { pct: 50, min: 10, max: 100, menu: 'fit' },
},
- plugins: [pluginBundle],
draft: draftBox,
}
diff --git a/plugins/core-plugins/CHANGELOG.md b/plugins/core-plugins/CHANGELOG.md
new file mode 100644
index 00000000000..4835077f67f
--- /dev/null
+++ b/plugins/core-plugins/CHANGELOG.md
@@ -0,0 +1,9 @@
+# Change log for: @freesewing/core-plugins
+
+
+
+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/plugins/plugin-bundle/README.md b/plugins/core-plugins/README.md
similarity index 98%
rename from plugins/plugin-bundle/README.md
rename to plugins/core-plugins/README.md
index 8e5f59245b8..177dccc86d3 100644
--- a/plugins/plugin-bundle/README.md
+++ b/plugins/core-plugins/README.md
@@ -1,13 +1,13 @@

+ href="https://www.npmjs.com/package/@freesewing/core-plugins"
+ title="@freesewing/core-plugins on NPM"
+ >

+ href="https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Acore-plugins"
+ title="Open issues tagged pkg:core-plugins"
+ >
-# @freesewing/plugin-bundle
+# @freesewing/core-plugins
-An umbrella package of 8 essential FreeSewing build-time plugins
+An umbrella package of essential plugins that are bundled with FreeSewing's core library
# Plugins
@@ -94,7 +94,7 @@ let pattern = new freesewing.Pattern().with(plugins);
This repository is our *monorepo* holding all our NPM designs, plugins, other NPM packages, and (web)sites.
-This folder holds: @freesewing/plugin-bundle
+This folder holds: @freesewing/core-plugins
If you're not entirely sure what to do or how to start, type this command:
diff --git a/plugins/plugin-bundle/build.mjs b/plugins/core-plugins/build.mjs
similarity index 79%
rename from plugins/plugin-bundle/build.mjs
rename to plugins/core-plugins/build.mjs
index 3d4514b8ab8..65fa709eb35 100644
--- a/plugins/plugin-bundle/build.mjs
+++ b/plugins/core-plugins/build.mjs
@@ -24,9 +24,8 @@ const options = {
// Let esbuild generate different formats
let result
-(async () => {
- result = await esbuild.build(options)
- .catch(() => process.exit(1))
+;(async () => {
+ result = await esbuild.build(options).catch(() => process.exit(1))
if (process.env.VERBOSE) {
const info = await esbuild.analyzeMetafile(result.metafile)
@@ -36,12 +35,11 @@ let result
// Also build a version that has all dependencies bundled
// This makes it easy to run tests
await esbuild
- .build({
- ...options,
- outfile: 'tests/dist/index.mjs',
- format: 'esm',
- external: [],
- })
- .catch(() => process.exit(1))
-
+ .build({
+ ...options,
+ outfile: 'tests/dist/index.mjs',
+ format: 'esm',
+ external: [],
+ })
+ .catch(() => process.exit(1))
})()
diff --git a/plugins/plugin-bundle/data.mjs b/plugins/core-plugins/data.mjs
similarity index 76%
rename from plugins/plugin-bundle/data.mjs
rename to plugins/core-plugins/data.mjs
index 1b55963e8fc..2424e2906c3 100644
--- a/plugins/plugin-bundle/data.mjs
+++ b/plugins/core-plugins/data.mjs
@@ -1,4 +1,4 @@
// This file is auto-generated | All changes you make will be overwritten.
-export const name = '@freesewing/plugin-bundle'
+export const name = '@freesewing/core-plugins'
export const version = '3.0.0-alpha.10'
export const data = { name, version }
diff --git a/plugins/plugin-bundle/img/example.png b/plugins/core-plugins/img/example.png
similarity index 100%
rename from plugins/plugin-bundle/img/example.png
rename to plugins/core-plugins/img/example.png
diff --git a/plugins/plugin-bundle/info.md b/plugins/core-plugins/info.md
similarity index 100%
rename from plugins/plugin-bundle/info.md
rename to plugins/core-plugins/info.md
diff --git a/plugins/plugin-bundle/package.json b/plugins/core-plugins/package.json
similarity index 93%
rename from plugins/plugin-bundle/package.json
rename to plugins/core-plugins/package.json
index c525ca55a35..088b82e3c77 100644
--- a/plugins/plugin-bundle/package.json
+++ b/plugins/core-plugins/package.json
@@ -1,7 +1,7 @@
{
- "name": "@freesewing/plugin-bundle",
+ "name": "@freesewing/core-plugins",
"version": "3.0.0-alpha.10",
- "description": "An umbrella package of 8 essential FreeSewing build-time plugins",
+ "description": "An umbrella package of essential plugins that are bundled with FreeSewing's core library",
"author": "Joost De Cock (https://github.com/joostdecock)",
"homepage": "https://freesewing.org/",
"repository": "github:freesewing/freesewing",
@@ -15,7 +15,6 @@
},
"keywords": [
"freesewing",
- "bundle",
"plugin",
"sewing pattern",
"sewing",
diff --git a/plugins/plugin-bundle/src/index.mjs b/plugins/core-plugins/src/index.mjs
similarity index 92%
rename from plugins/plugin-bundle/src/index.mjs
rename to plugins/core-plugins/src/index.mjs
index 8d18d26f17f..dbed6e11807 100644
--- a/plugins/plugin-bundle/src/index.mjs
+++ b/plugins/core-plugins/src/index.mjs
@@ -1,5 +1,4 @@
import { annotationsPlugin } from '../../plugin-annotations/src/index.mjs'
-
import { measurementsPlugin } from '../../plugin-measurements/src/index.mjs'
import { mirrorPlugin } from '../../plugin-mirror/src/index.mjs'
import { roundPlugin } from '../../plugin-round/src/index.mjs'
@@ -51,6 +50,5 @@ export const plugin = {
store,
}
-// More specifically named exports
-export const bundlePlugin = plugin
-export const pluginBundle = plugin
+// Specific named export
+export const corePlugins = plugin
diff --git a/plugins/plugin-bundle/tests/plugin.test.mjs b/plugins/core-plugins/tests/plugin.test.mjs
similarity index 100%
rename from plugins/plugin-bundle/tests/plugin.test.mjs
rename to plugins/core-plugins/tests/plugin.test.mjs
diff --git a/plugins/plugin-bundle/tests/shared.test.mjs b/plugins/core-plugins/tests/shared.test.mjs
similarity index 100%
rename from plugins/plugin-bundle/tests/shared.test.mjs
rename to plugins/core-plugins/tests/shared.test.mjs
diff --git a/plugins/plugin-bundle/.travis.yml b/plugins/plugin-bundle/.travis.yml
deleted file mode 100644
index 121b29f66a4..00000000000
--- a/plugins/plugin-bundle/.travis.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-language: node_js
-node_js:
- - "node"
-install:
- - npm install
- - npm run build
-script:
- - npm run test
- - npm run coverage
diff --git a/plugins/plugin-bundle/CHANGELOG.md b/plugins/plugin-bundle/CHANGELOG.md
deleted file mode 100644
index 4ca5c81aa89..00000000000
--- a/plugins/plugin-bundle/CHANGELOG.md
+++ /dev/null
@@ -1,41 +0,0 @@
-# Change log for: @freesewing/plugin-bundle
-
-
-## 2.21.0 (2022-06-27)
-
-### Changed
-
- - Migrated from Rollup to Esbuild for all builds
-
-## 2.20.0 (2022-01-24)
-
-### Changed
-
- - plugin-banner is now part of plugin-bundle
- - plugin-bartack is now part of plugin-bundle
-
-## 2.19.6 (2021-12-29)
-
-### Added
-
- - Added (esm) unit tests
-
-## 2.17.0 (2021-07-01)
-
-### Changed
-
- - Include plugin-buttons
- - Include plugin-mirror
-
-## 2.0.0 (2019-08-25)
-
-### Added
-
- - Initial release
-
-
-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.
-