Skip to content

Commit

Permalink
1776: v0.6.11
Browse files Browse the repository at this point in the history
  • Loading branch information
MuTsunTsai committed Jan 25, 2024
2 parents c3a0f38 + 74c15bd commit b807d34
Show file tree
Hide file tree
Showing 88 changed files with 1,583 additions and 1,319 deletions.
6 changes: 4 additions & 2 deletions .mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
],
"timeout": "0",
"require": [
"./test/mocha.env",
"./test/mocha.env.mjs",
"ts-node/register",
"tsconfig-paths/register"
"tsconfig-paths/register",
"./test/utils/line.ts",
"./test/utils/path.ts"
]
}
22 changes: 20 additions & 2 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
{
"check-coverage": true,
"branches": 90,
"branches": 95,
"lines": 95,
"functions": 95,
"statements": 95
"statements": 95,
"watermarks": {
"lines": [
80,
95
],
"functions": [
80,
95
],
"branches": [
80,
95
],
"statements": [
80,
95
]
}
}
4 changes: 2 additions & 2 deletions gulp/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"dest": {
"debug": "build/debug",
"dist": "build/dist",
"test": "build/test"
"tool": "build/tools"
},
"src": {
"app": "src/app",
Expand All @@ -17,6 +17,6 @@
"sw": "src/other/service",
"worker": "src/other/worker",
"shared": "src/shared",
"test": "test/tests"
"tool": "tools"
}
}
24 changes: 0 additions & 24 deletions gulp/tasks/test.js

This file was deleted.

24 changes: 24 additions & 0 deletions gulp/tasks/tool.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
const $ = require("../utils/proxy");
const gulp = require("gulp");

const config = require("../config.json");

gulp.task("toolPolyBoolHTML", () =>
gulp.src(config.src.tool + "/polyBool/index.htm")
.pipe(gulp.dest(config.dest.tool))
);

gulp.task("toolPolyBoolJS", () =>
gulp.src(config.src.tool + "/polyBool/index.ts")
.pipe($.esbuild({
outfile: "index.js",
bundle: true,
treeShaking: true,
sourcemap: "linked",
sourcesContent: false,
sourceRoot: "../../",
}))
.pipe(gulp.dest(config.dest.tool))
);

gulp.task("toolPolyBool", gulp.series("toolPolyBoolHTML", "toolPolyBoolJS"));
51 changes: 26 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "box-pleating-studio",
"version": "0.6.10",
"app_version": "1770",
"version": "0.6.11",
"app_version": "1776",
"description": "Super-complex origami design made easy!",
"main": "./build/dist/bpstudio.js",
"scripts": {
"build": "gulp",
"cov": "nyc --reporter=lcovonly --reporter=text-summary mocha --require mocha-suppress-logs",
"cov:text": "nyc --reporter=lcovonly --reporter=text mocha --require mocha-suppress-logs",
"cov": "nyc -r lcovonly -r text-summary mocha --require mocha-suppress-logs",
"cov:html": "nyc -r lcov mocha --require mocha-suppress-logs",
"cov:text": "nyc -r lcovonly -r text mocha --require mocha-suppress-logs",
"license-check": "pnpx license-checker --exclude \"MIT,Apache-2.0,BSD-2-Clause,ISC\"",
"lint": "eslint src",
"loc": "powershell \"(gci src -include *.ts,*.htm,*.scss,*.vue -recurse | select-string .).Count\"",
Expand All @@ -30,23 +31,23 @@
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
"@intlify/vue-i18n-extensions": "^5.0.1",
"@makeomatic/gulp-wrap-js": "^1.0.2",
"@stylistic/eslint-plugin": "^1.5.3",
"@swc/core": "^1.3.102",
"@stylistic/eslint-plugin": "^1.5.4",
"@swc/core": "^1.3.105",
"@types/bootstrap": "^5.2.10",
"@types/chai": "^4.3.11",
"@types/gtag.js": "^0.0.18",
"@types/gulp": "^4.0.17",
"@types/gulp-load-plugins": "^0.0.37",
"@types/mocha": "^10.0.6",
"@types/node": "^20.10.6",
"@types/node": "^20.11.6",
"@types/wicg-file-system-access": "^2023.10.4",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"@vue/compiler-sfc": "^3.4.4",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@vue/compiler-sfc": "^3.4.15",
"@vue/eslint-config-typescript": "12.0.0",
"chai": "^4.3.10",
"chai": "^5.0.0",
"del": "7.1.0",
"esbuild": "^0.19.11",
"esbuild": "^0.19.12",
"esbuild-ifdef": "^0.2.0",
"esbuild-plugin-vue-next": "npm:@wfrog/esbuild-plugin-vue-next@^0.1.5",
"esbuild-sass-plugin": "^2.16.1",
Expand All @@ -55,11 +56,11 @@
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.0.2",
"eslint-plugin-jsdoc": "^48.0.3",
"eslint-plugin-local-rules": "^2.0.1",
"eslint-plugin-mocha": "^10.2.0",
"eslint-plugin-typescript-compat": "^1.0.2",
"eslint-plugin-vue": "^9.19.2",
"eslint-plugin-vue": "^9.20.1",
"fancy-log": "^2.0.0",
"global-jsdom": "^9.2.0",
"gulp": "^4.0.2",
Expand All @@ -73,7 +74,7 @@
"gulp-if": "^3.0.0",
"gulp-load-plugins": "^2.0.8",
"gulp-newer": "^1.4.0",
"gulp-postcss": "^9.0.1",
"gulp-postcss": "^9.1.0",
"gulp-purgecss": "5.0.0",
"gulp-replace": "^1.1.4",
"gulp-sass": "^5.1.0",
Expand All @@ -83,30 +84,30 @@
"gulp-workbox": "^1.0.6",
"http-server": "^14.1.1",
"inquirer": "^9.2.12",
"jsdom": "^23.0.1",
"jsdom": "^24.0.0",
"lazypipe": "^1.0.2",
"marked": "^11.1.1",
"mocha": "^10.2.0",
"mocha-suppress-logs": "^0.4.1",
"nyc": "^15.1.0",
"postcss": "^8.4.32",
"postcss-html": "^1.5.0",
"postcss": "^8.4.33",
"postcss-html": "^1.6.0",
"postcss-preset-env": "^9.3.0",
"require-dir": "^1.2.0",
"resolve": "^1.22.8",
"sass": "^1.69.7",
"stylelint": "^16.1.0",
"stylelint-config-clean-order": "^5.2.0",
"sass": "^1.70.0",
"stylelint": "^16.2.0",
"stylelint-config-clean-order": "^5.4.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard-scss": "^12.0.0",
"stylelint-config-standard-scss": "^13.0.0",
"stylelint-no-unsupported-browser-features": "^8.0.0",
"through2": "^4.0.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"ttf2woff2": "^5.0.0",
"typescript": "5.3.3",
"vinyl-ftp": "^0.6.1",
"vue-eslint-parser": "^9.3.2",
"vue-eslint-parser": "^9.4.2",
"workbox-build": "^7.0.0",
"yargs": "^17.7.2"
},
Expand All @@ -129,8 +130,8 @@
"idb-keyval": "^6.2.1",
"jszip": "^3.10.1",
"lzma": "^2.3.2",
"vue": "^3.4.4",
"vue-i18n": "^9.8.0",
"vue": "^3.4.15",
"vue-i18n": "^9.9.0",
"vue-slicksort": "^2.0.5",
"workbox-broadcast-update": "^7.0.0",
"workbox-google-analytics": "^7.0.0",
Expand Down
Loading

0 comments on commit b807d34

Please sign in to comment.