1
0
Fork 0

breaking: @freesewing/plugin-bundle is now @freesewing/core-plugins

This commit is contained in:
joostdecock 2023-09-07 11:39:34 +02:00
parent b263979ca0
commit 70041876f5
18 changed files with 40 additions and 130 deletions

View file

@ -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

View file

@ -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

View file

@ -5,7 +5,7 @@ customBuild:
- i18n
- new-design
- prettier-config
- plugin-bundle
- core-plugins
- react-components
- rehype-jargon
- rehype-highlight-lines

View file

@ -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

View file

@ -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",

View file

@ -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,
}

View file

@ -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.

View file

@ -1,13 +1,13 @@
![FreeSewing](https://static.freesewing.org/banner.png)
<p align='center'><a
href="https://www.npmjs.com/package/@freesewing/plugin-bundle"
title="@freesewing/plugin-bundle on NPM"
><img src="https://img.shields.io/npm/v/@freesewing/plugin-bundle.svg"
alt="@freesewing/plugin-bundle on NPM"/>
href="https://www.npmjs.com/package/@freesewing/core-plugins"
title="@freesewing/core-plugins on NPM"
><img src="https://img.shields.io/npm/v/@freesewing/core-plugins.svg"
alt="@freesewing/core-plugins on NPM"/>
</a><a
href="https://opensource.org/licenses/MIT"
title="License: MIT"
><img src="https://img.shields.io/npm/l/@freesewing/plugin-bundle.svg?label=License"
><img src="https://img.shields.io/npm/l/@freesewing/core-plugins.svg?label=License"
alt="License: MIT"/>
</a><a
href="https://deepscan.io/dashboard#view=project&tid=2114&pid=2993&bid=23256"
@ -15,10 +15,10 @@
><img src="https://deepscan.io/api/teams/2114/projects/2993/branches/23256/badge/grade.svg"
alt="Code quality on DeepScan"/>
</a><a
href="https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Aplugin-bundle"
title="Open issues tagged pkg:plugin-bundle"
><img src="https://img.shields.io/github/issues/freesewing/freesewing/pkg:plugin-bundle.svg?label=Issues"
alt="Open issues tagged pkg:plugin-bundle"/>
href="https://github.com/freesewing/freesewing/issues?q=is%3Aissue+is%3Aopen+label%3Apkg%3Acore-plugins"
title="Open issues tagged pkg:core-plugins"
><img src="https://img.shields.io/github/issues/freesewing/freesewing/pkg:core-plugins.svg?label=Issues"
alt="Open issues tagged pkg:core-plugins"/>
</a><a
href="#contributors-"
title="All Contributors"
@ -46,9 +46,9 @@
alt="Follow @freesewing_org on Twitter"/>
</a></p>
# @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&#39;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:

View file

@ -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)
@ -43,5 +42,4 @@ let result
external: [],
})
.catch(() => process.exit(1))
})()

View file

@ -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 }

View file

Before

Width:  |  Height:  |  Size: 241 KiB

After

Width:  |  Height:  |  Size: 241 KiB

Before After
Before After

View file

@ -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 <joost@joost.at> (https://github.com/joostdecock)",
"homepage": "https://freesewing.org/",
"repository": "github:freesewing/freesewing",
@ -15,7 +15,6 @@
},
"keywords": [
"freesewing",
"bundle",
"plugin",
"sewing pattern",
"sewing",

View file

@ -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

View file

@ -1,9 +0,0 @@
language: node_js
node_js:
- "node"
install:
- npm install
- npm run build
script:
- npm run test
- npm run coverage

View file

@ -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.