diff --git a/config/descriptions.yaml b/config/descriptions.yaml index 92666573e64..41a9172cf8b 100644 --- a/config/descriptions.yaml +++ b/config/descriptions.yaml @@ -32,6 +32,7 @@ jaeger: 'A FreeSewing pattern for a sport coat style jacket' models: 'Body measurements data for a range of default sizes' mui-theme: 'A Material-UI theme for FreeSewing web UIs' legend: 'A FreeSewing pattern to document pattern notation' +lunetius: 'FIXME' paco: 'A FreeSewing pattern for summer pants' pattern-info: 'Information about available freesewing patterns' penelope: 'A FreeSewing pattern for a pencil skirt' @@ -70,6 +71,7 @@ strapi: "Freesewing's Strapi instance" sven: 'A FreeSewing pattern for a straightforward sweater' tamiko: 'A FreeSewing pattern for a zero-waste top' theo: 'A FreeSewing pattern for classic trousers' +tiberius: 'FIXME' teagan: 'A FreeSewing pattern for a T-shirt' titan: 'A FreeSewing pattern for a unisex trouser block' trayvon: 'A FreeSewing pattern for a tie' @@ -77,5 +79,6 @@ tutorial: "A FreeSewing pattern for a baby bib that's used in our tutorial" ursula: 'A FreeSewing pattern for a basic, highly-customizable underwear pattern' utils: 'A collection of utilities shared across freesewing projects' wahid: 'A FreeSewing pattern for a classic fitted waistcoat' +walburga: 'FIXME' waralee: 'A FreeSewing pattern for wrap pants' yuri: 'A FreeSewing pattern for a fancy zipless sweater based on the Huey hoodie' diff --git a/config/exceptions.yaml b/config/exceptions.yaml index f72f3051b0b..1a0cb34a05c 100644 --- a/config/exceptions.yaml +++ b/config/exceptions.yaml @@ -77,6 +77,8 @@ packageJson: - jargon - gatsby - gatsby-plugin + lunetius: &starf + author: Starfetch (https://github.com/starfetch) plugin-gore: author: AlfaLyr (https://github.com/alfalyr) prettier-config: @@ -101,6 +103,7 @@ packageJson: files: [] publishConfig: {} rollup: {} + tiberius: *starf utils: # react-scripts doesn't handle .mjs files correctly module: '!' @@ -131,6 +134,7 @@ packageJson: - 'validateTld/*' waralee: author: woutervdub (https://github.com/woutervdub) + walburga: *starf yuri: author: biou (https://github.com/biou) diff --git a/packages/lunetius/CHANGELOG.md b/packages/lunetius/CHANGELOG.md new file mode 100644 index 00000000000..b7f023f77e5 --- /dev/null +++ b/packages/lunetius/CHANGELOG.md @@ -0,0 +1,9 @@ +# Change log for: @freesewing/lunetius + + + +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/lunetius/README.md b/packages/lunetius/README.md index 17fefafd31f..00300b5b974 100644 --- a/packages/lunetius/README.md +++ b/packages/lunetius/README.md @@ -1,33 +1,118 @@ -# lunetius +![FreeSewing](https://static.freesewing.org/banner.png) +

@freesewing/lunetius on NPM + License: MIT + Code quality on DeepScan + Open issues tagged pkg:lunetius + Project board +

Follow @freesewing_org on Twitter + Chat with us on Discord + Become a FreeSewing Patron + Follow @freesewing_org on Twitter +

-> +# @freesewing/lunetius -[![NPM](https://img.shields.io/npm/v/lunetius.svg)](https://www.npmjs.com/package/lunetius) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) +FIXME -Check it out on [Netlify](https://lunetius.netlify.app). -## Install + +## What am I looking at? 🤔 + +This repository is our *monorepo* +holding [all our NPM packages](https://freesewing.dev/reference/packages/). + +This folder holds: @freesewing/lunetius + +## About FreeSewing 💀 + +Where the world of makers and developers collide, that's where you'll find FreeSewing. + +If you're a maker, checkout [freesewing.org](https://freesewing.org/) where you can generate +our sewing patterns adapted to your measurements. + +If you're a developer, our documentation is on [freesewing.dev](https://freesewing.dev/). +Our [core library](https://freesewing.dev/reference/api/) is a *batteries-included* toolbox +for parametric design of sewing patterns. But we also provide a range +of [plugins](https://freesewing.dev/reference/plugins/) that further extend the +functionality of the platform. + +If you have NodeJS installed, you can try it right now by running: ```bash -npm install --save lunetius +npx create-freesewing-pattern ``` -## Usage +Or, consult our getting started guides +for [Linux](https://freesewing.dev/tutorials/getting-started-linux/), +[MacOS](https://freesewing.dev/tutorials/getting-started-mac/), +or [Windows](https://freesewing.dev/tutorials/getting-started-windows/). -```jsx -import React, { Component } from 'react' +We also have a [pattern design tutorial](https://freesewing.dev/tutorials/pattern-design/) that +walks you through your first parametric design, +and [a friendly community](https://freesewing.org/community/where/) with +people who can help you when you get stuck. -import MyComponent from 'lunetius' +## Support FreeSewing: Become a patron 🥰 -class Example extends Component { - render () { - return ( - - ) - } -} -``` +FreeSewing is an open source project run by a community, +and financially supported by our patrons. -## License +If you feel what we do is worthwhile, and you can spend a few coind without +hardship, then you should [join us and become a patron](https://freesewing.org/community/join). - © [starf](https://github.com/starf) +## Links 👩‍💻 + + - 💻 Makers website: [freesewing.org](https://freesewing.org) + - 💻 Developers website: [freesewing.dev](https://freesewing.dev) + - 💬 Chat: On Discord via [discord.freesewing.org](https://discord.freesewing.org/) + - ✅ Todo list/Kanban board: On Github via [todo.freesewing.org](https://todo.freesewing.org/) + - 🐦 Twitter: [@freesewing_org](https://twitter.com/freesewing_org) + - 📷 Instagram: [@freesewing_org](https://instagram.com/freesewing_org) + +## License: MIT 🤓 + +© [Joost De Cock](https://github.com/joostdecock). +See [the license file](https://github.com/freesewing/freesewing/blob/develop/LICENSE) for details. + +## Where to get help 🤯 + +Our [chatrooms on Discord](https://chat.freesewing.org/) are the best place to ask questions, +share your feedback, or just hang out. + +If you want to report a problem, please [create an issue](https://github.com/freesewing/freesewing/issues/new). diff --git a/packages/lunetius/package.json b/packages/lunetius/package.json index bd03b323d09..526236dfe7d 100644 --- a/packages/lunetius/package.json +++ b/packages/lunetius/package.json @@ -1,59 +1,56 @@ { - "name": "lunetius", - "version": "0.0.1", - "description": "", - "author": "starf", + "name": "@freesewing/lunetius", + "version": "2.19.0-alpha.0", + "description": "FIXME", + "author": "Starfetch (https://github.com/starfetch)", + "homepage": "https://freesewing.org/", + "repository": "github:freesewing/freesewing", "license": "MIT", - "repository": "starf/lunetius", + "bugs": { + "url": "https://github.com/freesewing/freesewing/issues" + }, + "funding": { + "type": "individual", + "url": "https://freesewing.org/patrons/join" + }, + "keywords": [ + "freesewing", + "design", + "diy", + "fashion", + "made to measure", + "parametric design", + "sewing" + ], "main": "dist/index.js", - "module": "dist/index.es.js", - "jsnext:main": "dist/index.es.js", + "module": "dist/index.mjs", + "scripts": { + "clean": "rimraf dist", + "build": "rollup -c", + "lernabuild": "rollup -c", + "test": "echo \"lunetius: No tests configured. Perhaps you'd like to do this?\" && exit 0", + "pubtest": "npm publish --registry http://localhost:6662", + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -", + "start": "rollup -c -w" + }, + "peerDependencies": {}, + "dependencies": {}, + "devDependencies": {}, + "files": [ + "dist/*", + "README.md", + "package.json" + ], + "publishConfig": { + "access": "public", + "tag": "next" + }, "engines": { - "node": ">=12", + "node": ">=12.0.0", "npm": ">=6" }, - "scripts": { - "build": "rollup -c", - "start": "rollup -c -w", - "prepare": "npm run build", - "predeploy": "cd example && npm install && npm run build" - }, - "devDependencies": { - "react": "^17.0.2", - "react-dom": "^17.0.2", - "@freesewing/core": "latest", - "@freesewing/plugin-bundle": "latest", - "@freesewing/components": "latest", - "@freesewing/css-theme": "latest", - "@freesewing/i18n": "latest", - "@freesewing/mui-theme": "latest", - "@freesewing/plugin-bust": "latest", - "@freesewing/plugin-buttons": "latest", - "@freesewing/plugin-debug": "latest", - "@freesewing/plugin-flip": "latest", - "@freesewing/utils": "latest", - "react-scripts": "^4.0.3", - "webpack": "^5.37.0", - "rollup": "^2.48.0", - "rollup-plugin-peer-deps-external": "^2.2.4", - "rollup-plugin-terser": "^7.0.2", - "@rollup/plugin-babel": "^5.1.0", - "@rollup/plugin-commonjs": "^14.0.0", - "@rollup/plugin-url": "^6.0.0", - "@rollup/plugin-json": "^4.1.0", - "@rollup/plugin-node-resolve": "^13.0.0", - "@rollup/plugin-yaml": "^3.0.0", - "@material-ui/core": "^4.11.4", - "@material-ui/icons": "^4.11.2", - "@material-ui/lab": "^4.0.0-alpha.58", - "axios": "0.21.1", - "react-intl": "5.17.6", - "prop-types": "15.7.2", - "file-saver": "^2.0.5", - "eslint": "^7.27.0", - "eslint-config-standard": "^16.0.3", - "eslint-config-standard-react": "^11.0.1", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-promise": "^5.1.0" + "rollup": { + "exports": "default" } } diff --git a/packages/lunetius/rollup.config.js b/packages/lunetius/rollup.config.js index 6ae87bfc4ff..83bc5ef0eec 100644 --- a/packages/lunetius/rollup.config.js +++ b/packages/lunetius/rollup.config.js @@ -1,43 +1,29 @@ -import url from '@rollup/plugin-url' -import babel from '@rollup/plugin-babel' import resolve from '@rollup/plugin-node-resolve' import commonjs from '@rollup/plugin-commonjs' import json from '@rollup/plugin-json' -import { terser } from 'rollup-plugin-terser' import peerDepsExternal from 'rollup-plugin-peer-deps-external' -// import postcss from 'rollup-plugin-postcss' -import { main, module, name, version, description, author, license } from './package.json' +import { name, version, description, author, license, main, module, rollup } from './package.json' + +const banner = `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */` +const output = [ + { + banner, + file: main, + format: 'cjs', + sourcemap: true, + exports: rollup.exports, + }, +] +if (typeof module !== 'undefined') + output.push({ + banner, + file: module, + format: 'es', + sourcemap: true, + }) export default { input: 'src/index.js', - output: [ - { - file: main, - format: 'cjs', - sourcemap: true, - exports: 'default' - }, - { - file: module, - format: 'es', - sourcemap: true, - exports: 'default' - } - ], - plugins: [ - peerDepsExternal(), - // postcss({ modules: true }), - url({ exclude: ['**/*.svg'] }), - babel({ - exclude: 'node_modules/**' - }), - resolve({ browser: true }), - json(), - commonjs(), - terser({ - output: { - preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */` - } - }) - ] + output, + plugins: [peerDepsExternal(), resolve({ modulesOnly: true }), commonjs(), json()], } diff --git a/packages/tiberius/CHANGELOG.md b/packages/tiberius/CHANGELOG.md new file mode 100644 index 00000000000..3807563f784 --- /dev/null +++ b/packages/tiberius/CHANGELOG.md @@ -0,0 +1,9 @@ +# Change log for: @freesewing/tiberius + + + +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/tiberius/README.md b/packages/tiberius/README.md index 8590f3826ae..cee79dc4a18 100644 --- a/packages/tiberius/README.md +++ b/packages/tiberius/README.md @@ -1,33 +1,118 @@ -# tiberius +![FreeSewing](https://static.freesewing.org/banner.png) +

@freesewing/tiberius on NPM + License: MIT + Code quality on DeepScan + Open issues tagged pkg:tiberius + Project board +

Follow @freesewing_org on Twitter + Chat with us on Discord + Become a FreeSewing Patron + Follow @freesewing_org on Twitter +

-> +# @freesewing/tiberius -[![NPM](https://img.shields.io/npm/v/tiberius.svg)](https://www.npmjs.com/package/tiberius) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) +FIXME -Check it out on [Netlify](https://tiberius.netlify.app/). -## Install + +## What am I looking at? 🤔 + +This repository is our *monorepo* +holding [all our NPM packages](https://freesewing.dev/reference/packages/). + +This folder holds: @freesewing/tiberius + +## About FreeSewing 💀 + +Where the world of makers and developers collide, that's where you'll find FreeSewing. + +If you're a maker, checkout [freesewing.org](https://freesewing.org/) where you can generate +our sewing patterns adapted to your measurements. + +If you're a developer, our documentation is on [freesewing.dev](https://freesewing.dev/). +Our [core library](https://freesewing.dev/reference/api/) is a *batteries-included* toolbox +for parametric design of sewing patterns. But we also provide a range +of [plugins](https://freesewing.dev/reference/plugins/) that further extend the +functionality of the platform. + +If you have NodeJS installed, you can try it right now by running: ```bash -npm install --save tiberius +npx create-freesewing-pattern ``` -## Usage +Or, consult our getting started guides +for [Linux](https://freesewing.dev/tutorials/getting-started-linux/), +[MacOS](https://freesewing.dev/tutorials/getting-started-mac/), +or [Windows](https://freesewing.dev/tutorials/getting-started-windows/). -```jsx -import React, { Component } from 'react' +We also have a [pattern design tutorial](https://freesewing.dev/tutorials/pattern-design/) that +walks you through your first parametric design, +and [a friendly community](https://freesewing.org/community/where/) with +people who can help you when you get stuck. -import MyComponent from 'tiberius' +## Support FreeSewing: Become a patron 🥰 -class Example extends Component { - render () { - return ( - - ) - } -} -``` +FreeSewing is an open source project run by a community, +and financially supported by our patrons. -## License +If you feel what we do is worthwhile, and you can spend a few coind without +hardship, then you should [join us and become a patron](https://freesewing.org/community/join). - © [starf](https://github.com/starf) +## Links 👩‍💻 + + - 💻 Makers website: [freesewing.org](https://freesewing.org) + - 💻 Developers website: [freesewing.dev](https://freesewing.dev) + - 💬 Chat: On Discord via [discord.freesewing.org](https://discord.freesewing.org/) + - ✅ Todo list/Kanban board: On Github via [todo.freesewing.org](https://todo.freesewing.org/) + - 🐦 Twitter: [@freesewing_org](https://twitter.com/freesewing_org) + - 📷 Instagram: [@freesewing_org](https://instagram.com/freesewing_org) + +## License: MIT 🤓 + +© [Joost De Cock](https://github.com/joostdecock). +See [the license file](https://github.com/freesewing/freesewing/blob/develop/LICENSE) for details. + +## Where to get help 🤯 + +Our [chatrooms on Discord](https://chat.freesewing.org/) are the best place to ask questions, +share your feedback, or just hang out. + +If you want to report a problem, please [create an issue](https://github.com/freesewing/freesewing/issues/new). diff --git a/packages/tiberius/package.json b/packages/tiberius/package.json index 4c15f177c52..20686b38511 100644 --- a/packages/tiberius/package.json +++ b/packages/tiberius/package.json @@ -1,59 +1,56 @@ { - "name": "tiberius", - "version": "0.0.1", - "description": "", - "author": "starf", + "name": "@freesewing/tiberius", + "version": "2.19.0-alpha.0", + "description": "FIXME", + "author": "Starfetch (https://github.com/starfetch)", + "homepage": "https://freesewing.org/", + "repository": "github:freesewing/freesewing", "license": "MIT", - "repository": "starf/tiberius", + "bugs": { + "url": "https://github.com/freesewing/freesewing/issues" + }, + "funding": { + "type": "individual", + "url": "https://freesewing.org/patrons/join" + }, + "keywords": [ + "freesewing", + "design", + "diy", + "fashion", + "made to measure", + "parametric design", + "sewing" + ], "main": "dist/index.js", - "module": "dist/index.es.js", - "jsnext:main": "dist/index.es.js", + "module": "dist/index.mjs", + "scripts": { + "clean": "rimraf dist", + "build": "rollup -c", + "lernabuild": "rollup -c", + "test": "echo \"tiberius: No tests configured. Perhaps you'd like to do this?\" && exit 0", + "pubtest": "npm publish --registry http://localhost:6662", + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -", + "start": "rollup -c -w" + }, + "peerDependencies": {}, + "dependencies": {}, + "devDependencies": {}, + "files": [ + "dist/*", + "README.md", + "package.json" + ], + "publishConfig": { + "access": "public", + "tag": "next" + }, "engines": { - "node": ">=12", + "node": ">=12.0.0", "npm": ">=6" }, - "scripts": { - "build": "rollup -c", - "start": "rollup -c -w", - "prepare": "npm run build", - "predeploy": "cd example && npm install && npm run build" - }, - "devDependencies": { - "react": "^17.0.2", - "react-dom": "^17.0.2", - "@freesewing/core": "latest", - "@freesewing/plugin-bundle": "latest", - "@freesewing/components": "latest", - "@freesewing/css-theme": "latest", - "@freesewing/i18n": "latest", - "@freesewing/mui-theme": "latest", - "@freesewing/plugin-bust": "latest", - "@freesewing/plugin-buttons": "latest", - "@freesewing/plugin-debug": "latest", - "@freesewing/plugin-flip": "latest", - "@freesewing/utils": "latest", - "react-scripts": "^4.0.3", - "webpack": "^5.37.0", - "rollup": "^2.48.0", - "rollup-plugin-peer-deps-external": "^2.2.4", - "rollup-plugin-terser": "^7.0.2", - "@rollup/plugin-babel": "^5.1.0", - "@rollup/plugin-commonjs": "^14.0.0", - "@rollup/plugin-url": "^6.0.0", - "@rollup/plugin-json": "^4.1.0", - "@rollup/plugin-node-resolve": "^13.0.0", - "@rollup/plugin-yaml": "^3.0.0", - "@material-ui/core": "^4.11.4", - "@material-ui/icons": "^4.11.2", - "@material-ui/lab": "^4.0.0-alpha.58", - "axios": "0.21.1", - "react-intl": "5.17.6", - "prop-types": "15.7.2", - "file-saver": "^2.0.5", - "eslint": "^7.27.0", - "eslint-config-standard": "^16.0.3", - "eslint-config-standard-react": "^11.0.1", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-promise": "^5.1.0" + "rollup": { + "exports": "default" } } diff --git a/packages/tiberius/rollup.config.js b/packages/tiberius/rollup.config.js index 6ae87bfc4ff..83bc5ef0eec 100644 --- a/packages/tiberius/rollup.config.js +++ b/packages/tiberius/rollup.config.js @@ -1,43 +1,29 @@ -import url from '@rollup/plugin-url' -import babel from '@rollup/plugin-babel' import resolve from '@rollup/plugin-node-resolve' import commonjs from '@rollup/plugin-commonjs' import json from '@rollup/plugin-json' -import { terser } from 'rollup-plugin-terser' import peerDepsExternal from 'rollup-plugin-peer-deps-external' -// import postcss from 'rollup-plugin-postcss' -import { main, module, name, version, description, author, license } from './package.json' +import { name, version, description, author, license, main, module, rollup } from './package.json' + +const banner = `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */` +const output = [ + { + banner, + file: main, + format: 'cjs', + sourcemap: true, + exports: rollup.exports, + }, +] +if (typeof module !== 'undefined') + output.push({ + banner, + file: module, + format: 'es', + sourcemap: true, + }) export default { input: 'src/index.js', - output: [ - { - file: main, - format: 'cjs', - sourcemap: true, - exports: 'default' - }, - { - file: module, - format: 'es', - sourcemap: true, - exports: 'default' - } - ], - plugins: [ - peerDepsExternal(), - // postcss({ modules: true }), - url({ exclude: ['**/*.svg'] }), - babel({ - exclude: 'node_modules/**' - }), - resolve({ browser: true }), - json(), - commonjs(), - terser({ - output: { - preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */` - } - }) - ] + output, + plugins: [peerDepsExternal(), resolve({ modulesOnly: true }), commonjs(), json()], } diff --git a/packages/walburga/CHANGELOG.md b/packages/walburga/CHANGELOG.md new file mode 100644 index 00000000000..51abcef2c79 --- /dev/null +++ b/packages/walburga/CHANGELOG.md @@ -0,0 +1,9 @@ +# Change log for: @freesewing/walburga + + + +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/walburga/README.md b/packages/walburga/README.md index 46e4ed1976e..27c8ccee1db 100644 --- a/packages/walburga/README.md +++ b/packages/walburga/README.md @@ -1,33 +1,118 @@ -# walburga +![FreeSewing](https://static.freesewing.org/banner.png) +

@freesewing/walburga on NPM + License: MIT + Code quality on DeepScan + Open issues tagged pkg:walburga + Project board +

Follow @freesewing_org on Twitter + Chat with us on Discord + Become a FreeSewing Patron + Follow @freesewing_org on Twitter +

-> +# @freesewing/walburga -[![NPM](https://img.shields.io/npm/v/walburga.svg)](https://www.npmjs.com/package/walburga) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) +FIXME -Check it out on [Netlify](https://walburga.netlify.app). -## Install + +## What am I looking at? 🤔 + +This repository is our *monorepo* +holding [all our NPM packages](https://freesewing.dev/reference/packages/). + +This folder holds: @freesewing/walburga + +## About FreeSewing 💀 + +Where the world of makers and developers collide, that's where you'll find FreeSewing. + +If you're a maker, checkout [freesewing.org](https://freesewing.org/) where you can generate +our sewing patterns adapted to your measurements. + +If you're a developer, our documentation is on [freesewing.dev](https://freesewing.dev/). +Our [core library](https://freesewing.dev/reference/api/) is a *batteries-included* toolbox +for parametric design of sewing patterns. But we also provide a range +of [plugins](https://freesewing.dev/reference/plugins/) that further extend the +functionality of the platform. + +If you have NodeJS installed, you can try it right now by running: ```bash -npm install --save walburga +npx create-freesewing-pattern ``` -## Usage +Or, consult our getting started guides +for [Linux](https://freesewing.dev/tutorials/getting-started-linux/), +[MacOS](https://freesewing.dev/tutorials/getting-started-mac/), +or [Windows](https://freesewing.dev/tutorials/getting-started-windows/). -```jsx -import React, { Component } from 'react' +We also have a [pattern design tutorial](https://freesewing.dev/tutorials/pattern-design/) that +walks you through your first parametric design, +and [a friendly community](https://freesewing.org/community/where/) with +people who can help you when you get stuck. -import MyComponent from 'walburga' +## Support FreeSewing: Become a patron 🥰 -class Example extends Component { - render () { - return ( - - ) - } -} -``` +FreeSewing is an open source project run by a community, +and financially supported by our patrons. -## License +If you feel what we do is worthwhile, and you can spend a few coind without +hardship, then you should [join us and become a patron](https://freesewing.org/community/join). - © [starf](https://github.com/starf) +## Links 👩‍💻 + + - 💻 Makers website: [freesewing.org](https://freesewing.org) + - 💻 Developers website: [freesewing.dev](https://freesewing.dev) + - 💬 Chat: On Discord via [discord.freesewing.org](https://discord.freesewing.org/) + - ✅ Todo list/Kanban board: On Github via [todo.freesewing.org](https://todo.freesewing.org/) + - 🐦 Twitter: [@freesewing_org](https://twitter.com/freesewing_org) + - 📷 Instagram: [@freesewing_org](https://instagram.com/freesewing_org) + +## License: MIT 🤓 + +© [Joost De Cock](https://github.com/joostdecock). +See [the license file](https://github.com/freesewing/freesewing/blob/develop/LICENSE) for details. + +## Where to get help 🤯 + +Our [chatrooms on Discord](https://chat.freesewing.org/) are the best place to ask questions, +share your feedback, or just hang out. + +If you want to report a problem, please [create an issue](https://github.com/freesewing/freesewing/issues/new). diff --git a/packages/walburga/package.json b/packages/walburga/package.json index c17732b5a81..76df91d3f3c 100644 --- a/packages/walburga/package.json +++ b/packages/walburga/package.json @@ -1,59 +1,56 @@ { - "name": "walburga", - "version": "0.0.1", - "description": "", - "author": "starf", + "name": "@freesewing/walburga", + "version": "2.19.0-alpha.0", + "description": "FIXME", + "author": "Starfetch (https://github.com/starfetch)", + "homepage": "https://freesewing.org/", + "repository": "github:freesewing/freesewing", "license": "MIT", - "repository": "starf/walburga", + "bugs": { + "url": "https://github.com/freesewing/freesewing/issues" + }, + "funding": { + "type": "individual", + "url": "https://freesewing.org/patrons/join" + }, + "keywords": [ + "freesewing", + "design", + "diy", + "fashion", + "made to measure", + "parametric design", + "sewing" + ], "main": "dist/index.js", - "module": "dist/index.es.js", - "jsnext:main": "dist/index.es.js", + "module": "dist/index.mjs", + "scripts": { + "clean": "rimraf dist", + "build": "rollup -c", + "lernabuild": "rollup -c", + "test": "echo \"walburga: No tests configured. Perhaps you'd like to do this?\" && exit 0", + "pubtest": "npm publish --registry http://localhost:6662", + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -", + "start": "rollup -c -w" + }, + "peerDependencies": {}, + "dependencies": {}, + "devDependencies": {}, + "files": [ + "dist/*", + "README.md", + "package.json" + ], + "publishConfig": { + "access": "public", + "tag": "next" + }, "engines": { - "node": ">=12", + "node": ">=12.0.0", "npm": ">=6" }, - "scripts": { - "build": "rollup -c", - "start": "rollup -c -w", - "prepare": "npm run build", - "predeploy": "cd example && npm install && npm run build" - }, - "devDependencies": { - "react": "^17.0.2", - "react-dom": "^17.0.2", - "@freesewing/core": "latest", - "@freesewing/plugin-bundle": "latest", - "@freesewing/components": "latest", - "@freesewing/css-theme": "latest", - "@freesewing/i18n": "latest", - "@freesewing/mui-theme": "latest", - "@freesewing/plugin-bust": "latest", - "@freesewing/plugin-buttons": "latest", - "@freesewing/plugin-debug": "latest", - "@freesewing/plugin-flip": "latest", - "@freesewing/utils": "latest", - "react-scripts": "^4.0.3", - "webpack": "^5.37.0", - "rollup": "^2.48.0", - "rollup-plugin-peer-deps-external": "^2.2.4", - "rollup-plugin-terser": "^7.0.2", - "@rollup/plugin-babel": "^5.1.0", - "@rollup/plugin-commonjs": "^14.0.0", - "@rollup/plugin-url": "^6.0.0", - "@rollup/plugin-json": "^4.1.0", - "@rollup/plugin-node-resolve": "^13.0.0", - "@rollup/plugin-yaml": "^3.0.0", - "@material-ui/core": "^4.11.4", - "@material-ui/icons": "^4.11.2", - "@material-ui/lab": "^4.0.0-alpha.58", - "axios": "0.21.1", - "react-intl": "5.17.6", - "prop-types": "15.7.2", - "file-saver": "^2.0.5", - "eslint": "^7.27.0", - "eslint-config-standard": "^16.0.3", - "eslint-config-standard-react": "^11.0.1", - "eslint-plugin-node": "^11.1.0", - "eslint-plugin-promise": "^5.1.0" + "rollup": { + "exports": "default" } } diff --git a/packages/walburga/rollup.config.js b/packages/walburga/rollup.config.js index 6ae87bfc4ff..83bc5ef0eec 100644 --- a/packages/walburga/rollup.config.js +++ b/packages/walburga/rollup.config.js @@ -1,43 +1,29 @@ -import url from '@rollup/plugin-url' -import babel from '@rollup/plugin-babel' import resolve from '@rollup/plugin-node-resolve' import commonjs from '@rollup/plugin-commonjs' import json from '@rollup/plugin-json' -import { terser } from 'rollup-plugin-terser' import peerDepsExternal from 'rollup-plugin-peer-deps-external' -// import postcss from 'rollup-plugin-postcss' -import { main, module, name, version, description, author, license } from './package.json' +import { name, version, description, author, license, main, module, rollup } from './package.json' + +const banner = `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */` +const output = [ + { + banner, + file: main, + format: 'cjs', + sourcemap: true, + exports: rollup.exports, + }, +] +if (typeof module !== 'undefined') + output.push({ + banner, + file: module, + format: 'es', + sourcemap: true, + }) export default { input: 'src/index.js', - output: [ - { - file: main, - format: 'cjs', - sourcemap: true, - exports: 'default' - }, - { - file: module, - format: 'es', - sourcemap: true, - exports: 'default' - } - ], - plugins: [ - peerDepsExternal(), - // postcss({ modules: true }), - url({ exclude: ['**/*.svg'] }), - babel({ - exclude: 'node_modules/**' - }), - resolve({ browser: true }), - json(), - commonjs(), - terser({ - output: { - preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */` - } - }) - ] + output, + plugins: [peerDepsExternal(), resolve({ modulesOnly: true }), commonjs(), json()], }