@plugjs/build 0.6.0-beta.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -235,8 +235,8 @@ function tasks(options = {}) {
235
235
  /** Run tests */
236
236
  async test() {
237
237
  if (_coverage && (0, import_plug.isDirectory)(this.coverageDataDir)) await (0, import_plug.rmrf)(this.coverageDataDir);
238
- if (this.cjs === "true") await this.test_cjs();
239
238
  if (this.esm === "true") await this.test_esm();
239
+ if (this.cjs === "true") await this.test_cjs();
240
240
  },
241
241
  /** Ensure tests have run and generate a coverage report */
242
242
  async coverage() {
package/dist/index.mjs CHANGED
@@ -220,8 +220,8 @@ function tasks(options = {}) {
220
220
  /** Run tests */
221
221
  async test() {
222
222
  if (_coverage && isDirectory(this.coverageDataDir)) await rmrf(this.coverageDataDir);
223
- if (this.cjs === "true") await this.test_cjs();
224
223
  if (this.esm === "true") await this.test_esm();
224
+ if (this.cjs === "true") await this.test_cjs();
225
225
  },
226
226
  /** Ensure tests have run and generate a coverage report */
227
227
  async coverage() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plugjs/build",
3
- "version": "0.6.0-beta.1",
3
+ "version": "0.6.0",
4
4
  "description": "Simple shared build using PlugJS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -29,13 +29,13 @@
29
29
  "test": "plug test",
30
30
  "transpile": "plug transpile"
31
31
  },
32
- "dependencies": {
33
- "@plugjs/cov8": "eslintv9",
34
- "@plugjs/eslint": "eslintv9",
35
- "@plugjs/eslint-plugin": "eslintv9",
36
- "@plugjs/expect5": "eslintv9",
37
- "@plugjs/plug": "eslintv9",
38
- "@plugjs/typescript": "eslintv9"
32
+ "peerDependencies": {
33
+ "@plugjs/cov8": "^0.6.0",
34
+ "@plugjs/eslint": "^0.6.0",
35
+ "@plugjs/eslint-plugin": "^0.2.0",
36
+ "@plugjs/expect5": "^0.6.0",
37
+ "@plugjs/plug": "^0.6.0",
38
+ "@plugjs/typescript": "^0.6.0"
39
39
  },
40
40
  "files": [
41
41
  "*.md",
@@ -5,7 +5,6 @@ export default [
5
5
 
6
6
  // ===== DEFINE THE LOCATION OF OUR TSCONFIG.JSON FILES ======================
7
7
  {
8
- files: [ '**/*.ts', '**/*.cts', '**/*.mts' ],
9
8
  languageOptions: {
10
9
  parserOptions: {
11
10
  createDefaultProgram: false,
@@ -31,7 +30,18 @@ export default [
31
30
  },
32
31
  },
33
32
 
34
- // ===== ENSURE THAT OUR MAIN FILES DEPEND ONLY ON PROPER DEPENDENCIES =======
33
+ // ===== PROJECT LOCAL RULES =================================================
34
+ // Add any extra rule not tied to a specific "files" pattern here, e.g.:
35
+ // {
36
+ // rules: {
37
+ // 'camelcase': 'off',
38
+ // },
39
+ // },
40
+
41
+ // ===== IGNORED FILES =======================================================
42
+ // REMEMBER! Ignores *must* be in its own configuration, they can not coexist
43
+ // with "rules", "languageOptions", "files", ... or anything else, otherwise
44
+ // ESLint will blaantly ignore the ignore files!
35
45
  {
36
46
  ignores: [
37
47
  'coverage/',
package/src/index.ts CHANGED
@@ -375,8 +375,8 @@ export function tasks(options: TasksOptions = {}) {
375
375
  async test(): Promise<void> {
376
376
  if (_coverage && isDirectory(this.coverageDataDir)) await rmrf(this.coverageDataDir)
377
377
 
378
- if (this.cjs === 'true') await this.test_cjs()
379
378
  if (this.esm === 'true') await this.test_esm()
379
+ if (this.cjs === 'true') await this.test_cjs()
380
380
  },
381
381
 
382
382
  /** Ensure tests have run and generate a coverage report */