1
0
Fork 0

🔥 Cleanup and reduced log output

This commit is contained in:
Joost De Cock 2019-04-20 19:50:37 +02:00
parent 0461c64b9a
commit 99f1327015
205 changed files with 91 additions and 4059 deletions

1
.gitignore vendored
View file

@ -6,6 +6,7 @@ node_modules
# build # build
dist dist
build
# Mock registry (verdaccio) # Mock registry (verdaccio)
.registry .registry

1
.npmrc Normal file
View file

@ -0,0 +1 @@
loglevel=error

View file

@ -74,7 +74,7 @@ patterns:
"@freesewing/trayvon": "^{{version}}" "@freesewing/trayvon": "^{{version}}"
"@freesewing/wahid": "^{{version}}" "@freesewing/wahid": "^{{version}}"
workbench: workbench:
_: peer:
"@freesewing/core": "^{{version}}" "@freesewing/core": "^{{version}}"
"@freesewing/i18n": "^{{version}}" "@freesewing/i18n": "^{{version}}"
"@freesewing/plugin-theme": "^{{version}}" "@freesewing/plugin-theme": "^{{version}}"

View file

@ -17,7 +17,7 @@ css-theme:
build: "npx node-sass --output-style compressed src/theme.scss ../../dist/css-theme/theme.css" build: "npx node-sass --output-style compressed src/theme.scss ../../dist/css-theme/theme.css"
components: components:
test: "echo \"{{name}}: No tests configured. Perhaps you'd like to do this?\" && exit 0" test: "echo \"{{name}}: No tests configured. Perhaps you'd like to do this?\" && exit 0"
build: "echo \"{{name}}: No build command available.\" && exit 0" build: "./scripts/build.sh"
core: core:
test: "BABEL_ENV=production nyc mocha tests/*.test.js" test: "BABEL_ENV=production nyc mocha tests/*.test.js"
report: "BABEL_ENV=production nyc report --reporter=html mocha --compilers js:babel-core/register tests/*.test.js" report: "BABEL_ENV=production nyc report --reporter=html mocha --compilers js:babel-core/register tests/*.test.js"

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,62 +0,0 @@
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1,2 +0,0 @@
src
.editorconfig

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,62 +0,0 @@
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1,2 +0,0 @@
src
.editorconfig

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,26 +0,0 @@
import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify";
import { name, version, description, author, license } from "./package.json";
export default {
input: "src/index.js",
plugins: [
resolve({ browser: true }),
json(),
babel({ exclude: "node_modules/**" }),
minify({
comments: false,
sourceMap: true,
banner: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
})
],
external: ["freesewing", "@freesewing/plugin-bundle"],
output: {
globals: {
freesewing: "freesewing",
"@freesewing/plugin-bundle": "freesewing.plugins.bundle"
}
}
};

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,62 +0,0 @@
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1,2 +0,0 @@
src
.editorconfig

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,62 +0,0 @@
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1,2 +0,0 @@
src
.editorconfig

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,27 +0,0 @@
import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify";
import path from "path";
import { name, version, description, author, license } from "./package.json";
export default {
input: "src/index.js",
plugins: [
resolve({ browser: true }),
json(),
babel({ exclude: "node_modules/**" }),
minify({
comments: false,
sourceMap: true,
banner: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
})
],
external: ["freesewing", "@freesewing/plugin-bundle"],
output: {
globals: {
freesewing: "freesewing",
"@freesewing/plugin-bundle": "freesewing.plugins.bundle"
}
}
};

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,64 +0,0 @@
*.php
cnf.yml
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1,2 +0,0 @@
src
.editorconfig

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,35 +0,0 @@
import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify";
import { name, version, description, author, license } from "./package.json";
export default {
input: "src/index.js",
plugins: [
resolve({ browser: true }),
json(),
babel({ exclude: "node_modules/**" }),
minify({
comments: false,
sourceMap: true,
banner: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
})
],
external: [
"freesewing",
"@freesewing/carlton",
"@freesewing/plugin-bundle",
"@freesewing/plugin-buttons",
"@freesewing/plugin-bust"
],
output: {
globals: {
freesewing: "freesewing",
"@freesewing/carlton": "freesewing.patterns.carlton",
"@freesewing/plugin-bundle": "freesewing.plugins.bundle",
"@freesewing/plugin-buttons": "freesewing.plugins.buttons",
"@freesewing/plugin-bust": "freesewing.plugins.bust"
}
}
};

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,64 +0,0 @@
*.php
cnf.yml
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1,2 +0,0 @@
src
.editorconfig

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,33 +0,0 @@
import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify";
import { name, version, description, author, license } from "./package.json";
export default {
input: "src/index.js",
plugins: [
resolve({ browser: true }),
json(),
babel({ exclude: "node_modules/**" }),
minify({
comments: false,
sourceMap: true,
banner: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
})
],
external: [
"freesewing",
"@freesewing/bent",
"@freesewing/plugin-bundle",
"@freesewing/plugin-buttons"
],
output: {
globals: {
freesewing: "freesewing",
"@freesewing/bent": "freesewing.patterns.bent",
"@freesewing/plugin-bundle": "freesewing.plugins.bundle",
"@freesewing/plugin-buttons": "freesewing.plugins.buttons"
}
}
};

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,62 +0,0 @@
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1,2 +0,0 @@
src
.editorconfig

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,27 +0,0 @@
import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify";
import path from "path";
import { name, version, description, author, license } from "./package.json";
export default {
input: "src/index.js",
plugins: [
resolve({ browser: true }),
json(),
babel({ exclude: "node_modules/**" }),
minify({
comments: false,
sourceMap: true,
banner: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
})
],
external: ["freesewing", "@freesewing/plugin-bundle"],
output: {
globals: {
freesewing: "freesewing",
"@freesewing/plugin-bundle": "freesewing.plugins.bundle"
}
}
};

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,66 +0,0 @@
# Compiled code
dist
tests/dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
coverage.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1 +0,0 @@
dist/

View file

@ -19,7 +19,7 @@
"clean": "rimraf ../../dist/components", "clean": "rimraf ../../dist/components",
"nodebuild": "BABEL_ENV=production rollup -c -o ../../dist/components/index.js -f cjs", "nodebuild": "BABEL_ENV=production rollup -c -o ../../dist/components/index.js -f cjs",
"modulebuild": "BABEL_ENV=production rollup -c -o ../../dist/components/index.mjs -f es", "modulebuild": "BABEL_ENV=production rollup -c -o ../../dist/components/index.mjs -f es",
"build": "echo \"components: No build command available.\" && exit 0", "build": "./scripts/build.sh",
"test": "echo \"components: No tests configured. Perhaps you'd like to do this?\" && exit 0", "test": "echo \"components: No tests configured. Perhaps you'd like to do this?\" && exit 0",
"pubtest": "npm publish --registry http://localhost:6662" "pubtest": "npm publish --registry http://localhost:6662"
}, },

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,66 +0,0 @@
# Compiled code
dist
tests/dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
coverage.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1 +0,0 @@
dist/

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,9 +0,0 @@
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

View file

@ -1,24 +0,0 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.
# dependencies
node_modules
# builds
build
dist
# misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# temp directories created during testing
my-test-library
nala

View file

@ -1,2 +0,0 @@
!templates/**/*
media

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,62 +0,0 @@
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1,2 +0,0 @@
src
.editorconfig

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,62 +0,0 @@
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1 +0,0 @@
.editorconfig

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,27 +0,0 @@
import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify";
import path from "path";
import { name, version, description, author, license } from "./package.json";
export default {
input: "src/index.js",
plugins: [
resolve({ browser: true }),
json(),
babel({ exclude: "node_modules/**" }),
minify({
comments: false,
sourceMap: true,
banner: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
})
],
external: ["freesewing", "@freesewing/plugin-bundle"],
output: {
globals: {
freesewing: "freesewing",
"@freesewing/plugin-bundle": "freesewing.plugins.bundle"
}
}
};

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,64 +0,0 @@
*.php
cnf.yml
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1,2 +0,0 @@
src
.editorconfig

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,33 +0,0 @@
import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify";
import { name, version, description, author, license } from "./package.json";
export default {
input: "src/index.js",
plugins: [
resolve({ browser: true }),
json(),
babel({ exclude: "node_modules/**" }),
minify({
comments: false,
sourceMap: true,
banner: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
})
],
external: [
"freesewing",
"@freesewing/bent",
"@freesewing/plugin-bundle",
"@freesewing/plugin-buttons"
],
output: {
globals: {
freesewing: "freesewing",
"@freesewing/bent": "freesewing.patterns.bent",
"@freesewing/plugin-bundle": "freesewing.plugins.bundle",
"@freesewing/plugin-buttons": "freesewing.plugins.buttons"
}
}
};

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,62 +0,0 @@
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1,2 +0,0 @@
src
.editorconfig

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,27 +0,0 @@
import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify";
import { name, version, description, author, license } from "./package.json";
export default {
input: "src/index.js",
plugins: [
resolve({ browser: true }),
json(),
babel({ exclude: "node_modules/**" }),
minify({
comments: false,
sourceMap: true,
banner: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
})
],
external: ["freesewing", "@freesewing/brian", "@freesewing/plugin-bundle"],
output: {
globals: {
freesewing: "freesewing",
"@freesewing/brian": "freesewing.patterns.brian",
"@freesewing/plugin-bundle": "freesewing.plugins.bundle"
}
}
};

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,62 +0,0 @@
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1,2 +0,0 @@
src
.editorconfig

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,28 +0,0 @@
import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify";
import path from "path";
import { name, version, description, author, license } from "./package.json";
export default {
input: "src/index.js",
plugins: [
resolve({ browser: true }),
json(),
babel({ exclude: "node_modules/**" }),
minify({
comments: false,
sourceMap: true,
banner: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
})
],
external: ["freesewing", "@freesewing/plugin-bundle", "@freesewing/brian"],
output: {
globals: {
freesewing: "freesewing",
"@freesewing/plugin-bundle": "freesewing.plugins.bundle",
"@freesewing/brian": "freesewing.patterns.brian"
}
}
};

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,66 +0,0 @@
# Compiled code
dist
tests/dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
coverage.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1 +0,0 @@
dist/

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,27 +0,0 @@
import { terser } from "rollup-plugin-terser";
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 yaml from "rollup-plugin-yaml";
import { name, version, description, author, license } from "./package.json";
export default {
input: "src/index.js",
plugins: [
resolve({
browser: true
}),
json(),
yaml(),
commonjs(),
babel({
exclude: "node_modules/**"
}),
terser({
output: {
preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
}
})
]
};

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,62 +0,0 @@
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1,2 +0,0 @@
src
.editorconfig

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,27 +0,0 @@
import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify";
import { name, version, description, author, license } from "./package.json";
export default {
input: "src/index.js",
plugins: [
resolve({ browser: true }),
json(),
babel({ exclude: "node_modules/**" }),
minify({
comments: false,
sourceMap: true,
banner: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
})
],
external: ["freesewing", "@freesewing/bent", "@freesewing/plugin-bundle"],
output: {
globals: {
freesewing: "freesewing",
"@freesewing/bent": "freesewing.patterns.bent",
"@freesewing/plugin-bundle": "freesewing.plugins.bundle"
}
}
};

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,62 +0,0 @@
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1,2 +0,0 @@
.editorconfig
src

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,23 +0,0 @@
import { terser } from "rollup-plugin-terser";
import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json";
import { version, name, description, author, license } from "./package.json";
export default {
input: "src/index.js",
plugins: [
resolve({
browser: true
}),
json(),
babel({
exclude: "node_modules/**"
}),
terser({
output: {
preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
}
})
]
};

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,66 +0,0 @@
# Compiled code
dist
tests/dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
coverage.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1 +0,0 @@
dist/

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,62 +0,0 @@
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1,2 +0,0 @@
src
.editorconfig

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

View file

@ -1,26 +0,0 @@
import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify";
import { name, version, description, author, license } from "./package.json";
export default {
input: "src/index.js",
plugins: [
resolve({ browser: true }),
json(),
babel({ exclude: "node_modules/**" }),
minify({
comments: false,
sourceMap: true,
banner: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
})
],
external: ["freesewing", "@freesewing/plugin-bundle"],
output: {
globals: {
freesewing: "freesewing",
"@freesewing/plugin-bundle": "freesewing.plugins.bundle"
}
}
};

View file

@ -1,13 +0,0 @@
# editorconfig.org
root = true
[*]
indent_size = 2
indent_style = space
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View file

@ -1,62 +0,0 @@
dist
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# next.js build output
.next

View file

@ -1,4 +0,0 @@
src
.editorconfig
rollup.browser.js
rollup.node.js

View file

@ -2,6 +2,7 @@ import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve"; import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json"; import json from "rollup-plugin-json";
import minify from "rollup-plugin-babel-minify"; import minify from "rollup-plugin-babel-minify";
import yaml from "rollup-plugin-yaml";
import peerDepsExternal from "rollup-plugin-peer-deps-external"; import peerDepsExternal from "rollup-plugin-peer-deps-external";
import { name, version, description, author, license } from "./package.json"; import { name, version, description, author, license } from "./package.json";
@ -14,6 +15,7 @@ export default {
peerDepsExternal(), peerDepsExternal(),
resolve({ modulesOnly: true }), resolve({ modulesOnly: true }),
json(), json(),
yaml(),
babel({ babel({
exclude: "node_modules/**", exclude: "node_modules/**",
plugins: ["@babel/plugin-proposal-object-rest-spread"] plugins: ["@babel/plugin-proposal-object-rest-spread"]

Some files were not shown because too many files have changed in this diff Show more