Comparing version 0.0.6 to 0.0.7
@@ -16,3 +16,2 @@ #!/usr/bin/env node | ||
.option('--ignore', 'The list of Worker names to skip') | ||
.option('--typescript', 'Expect and compile TypeScript') | ||
.action(commands.build) | ||
@@ -19,0 +18,0 @@ |
@@ -161,5 +161,2 @@ var klona = require('klona'); | ||
mainFields: ['worker', 'browser', 'module', 'jsnext', 'main'] | ||
}, | ||
typescript: { | ||
extends: 'cfw' | ||
} | ||
@@ -194,3 +191,2 @@ }; | ||
let isTS = !!opts.typescript; | ||
let items = toWorkers(src, opts); | ||
@@ -222,9 +218,2 @@ | ||
let options$1 = klona(options); | ||
let isTypescript = isTS || !!cfw.typescript; | ||
if (isTypescript) { | ||
Object.assign(options$1.typescript, cfw.typescript); | ||
input = input.replace(/\.[mc]?js$/, '.ts'); | ||
} | ||
let config$1 = { input, ...config }; | ||
@@ -240,4 +229,3 @@ let outdir = path.join(output, opts.single ? '' : name); | ||
config$1.plugins.push( | ||
require('@rollup/plugin-node-resolve').default(options$1.resolve), | ||
isTypescript && require('@rollup/plugin-typescript').default(options$1.typescript), | ||
require('@rollup/plugin-node-resolve').default(options$1.resolve) | ||
); | ||
@@ -244,0 +232,0 @@ |
{ | ||
"name": "cfw", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"repository": "lukeed/cfw", | ||
@@ -27,3 +27,2 @@ "description": "WIP", | ||
"@rollup/plugin-node-resolve": "^8.0.0", | ||
"@rollup/plugin-typescript": "^4.1.2", | ||
"httpie": "^1.1.2", | ||
@@ -30,0 +29,0 @@ "kleur": "^3.0.3", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
7
1
12668
332
- Removed@rollup/plugin-typescript@^4.1.2
- Removed@rollup/plugin-typescript@4.1.2(transitive)
- Removedtslib@2.8.1(transitive)
- Removedtypescript@5.7.2(transitive)