Skip to content

Commit

Permalink
Project update. [p][robotic]
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswrks committed Sep 13, 2023
1 parent 08bd398 commit d6edf78
Show file tree
Hide file tree
Showing 57 changed files with 6,774 additions and 4,274 deletions.
90 changes: 45 additions & 45 deletions .browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#
# Generated using <https://www.npmjs.com/package/browserslist-generator>.
#
# import BLG from 'browserslist-generator';
# console.log( BLG.browsersWithSupportForEcmaVersion( 'es2021' ).join( '\n' ) );
# const BLG = require("browserslist-generator")
# console.log(BLG.browsersWithSupportForEcmaVersion('es2022').join('\n'));
#
# - Review BLG source: <https://o5p.me/4DC1Vq>.
# - Review browserlist report on production config: <https://o5p.me/Fvs3WP>.
Expand All @@ -19,32 +19,32 @@

[production]
last 1 chrome versions
node >= 19.1.0
and_chr >= 85
chrome >= 85
and_ff >= 79
android >= 108
edge >= 85
samsung >= 14.0
safari >= 14
ios_saf >= 14.4
opera >= 71
firefox >= 79
node >= 20.5.1
and_chr >= 92
chrome >= 92
and_ff >= 90
android >= 116
edge >= 92
samsung >= 16.0
safari >= 15.4
ios_saf >= 15.4
opera >= 78
firefox >= 90
not dead

[any]
last 1 chrome versions
node >= 19.1.0
and_chr >= 85
chrome >= 85
and_ff >= 79
android >= 108
edge >= 85
samsung >= 14.0
safari >= 14
ios_saf >= 14.4
opera >= 71
firefox >= 79
node >= 20.5.1
and_chr >= 92
chrome >= 92
and_ff >= 90
android >= 116
edge >= 92
samsung >= 16.0
safari >= 15.4
ios_saf >= 15.4
opera >= 78
firefox >= 90
not dead

[cfp]
Expand All @@ -56,33 +56,33 @@ last 1 chrome versions
not dead

[node]
node >= 19.1.0
node >= 20.5.1
not dead

[web]
and_chr >= 85
chrome >= 85
and_ff >= 79
android >= 108
edge >= 85
samsung >= 14.0
safari >= 14
ios_saf >= 14.4
opera >= 71
firefox >= 79
and_chr >= 92
chrome >= 92
and_ff >= 90
android >= 116
edge >= 92
samsung >= 16.0
safari >= 15.4
ios_saf >= 15.4
opera >= 78
firefox >= 90
not dead

[webw]
and_chr >= 85
chrome >= 85
and_ff >= 79
android >= 108
edge >= 85
samsung >= 14.0
safari >= 14
ios_saf >= 14.4
opera >= 71
firefox >= 79
and_chr >= 92
chrome >= 92
and_ff >= 90
android >= 116
edge >= 92
samsung >= 16.0
safari >= 15.4
ios_saf >= 15.4
opera >= 78
firefox >= 90
not dead

##
Expand Down
22 changes: 10 additions & 12 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,19 @@
# @note CUSTOM EDITS ONLY PLEASE!
# @note In the future this file will be updated automatically.
# @note Only `<custom:start.../custom:end>` will be preserved below.
#
# @see https://editorconfig.org/
##

root = true
#
root=true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = tab
insert_final_newline = true
max_line_length = 180
trim_trailing_whitespace = true

charset=utf-8
end_of_line=lf
indent_size=4
indent_style=tab
insert_final_newline=true
max_line_length=180
trim_trailing_whitespace=true
#
##
# Customizations.
# <custom:start>
Expand Down
19 changes: 0 additions & 19 deletions .eslintignore

This file was deleted.

21 changes: 0 additions & 21 deletions .eslintrc.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
*.code-search
*.code-workspace

# Dists (must exclude).
# Dist (must exclude).
# May contain APP_ env vars.

dist
Expand Down
4 changes: 2 additions & 2 deletions .madrun.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import { $obj } from './node_modules/@clevercanyon/utilities/dist/index.js';
* Customizations.
* <custom:start> */

export default async (madrun) => {
return $obj.mergeDeep({}, await baseConfig(madrun), {
export default async (context) => {
return $obj.mergeDeep({}, await baseConfig(context), {
// 'project:[cmd]': '', // Always prefix project CMDs.
});
};
Expand Down
20 changes: 10 additions & 10 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
*.code-search
*.code-workspace

# Dists (must exclude).
# Dist (must exclude).
# May contain APP_ env vars.

dist
Expand Down Expand Up @@ -205,18 +205,12 @@ Temporary Items
# These are in addition to what we have in `.gitignore`.
##

# VS Code.

.vscode

# Dist (allow).

!dist

# Configs.

.*

*config.*
!dist/**/*config.*

Expand All @@ -228,9 +222,6 @@ wrangler.*

# Uncompiled sources.

src
__src__

*.scss
!dist/**/*.scss

Expand Down Expand Up @@ -267,6 +258,15 @@ __src__
!*.d.mtsx
!dist/**/*.mtsx

# Dots.

.*

# Src.

src
__src__

# Dev.

dev
Expand Down
44 changes: 44 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,50 @@
# @note Only `<custom:start.../custom:end>` will be preserved below.
##

# Dist.

dist

# Yarn.

.yarn

# Vendor.

vendor

# NodeJS.

node_modules

# JSPM.

jspm_packages

# Bower.

bower_components

# VCS.

.git

.svn
_svn
.svnignore

CVS
.cvsignore

.bzr
.bzrignore

.hg
.hgignore

SCCS
RCS

# `.npmrc` unsupported at this time.
# It's a properties file, but prettier chokes on `:` in auth tokens.

Expand Down
8 changes: 6 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

"files.associations": {
".inputrc": "text",
"CODEOWNERS": "ignore",
"**/src/_headers": "text",
"**/src/_redirects": "text",
".env{,.*}": "properties",
Expand Down Expand Up @@ -338,10 +339,13 @@
"eslint.format.enable": true,
"eslint.lintTask.enable": false,
"eslint.codeActionsOnSave.mode": "all",

"eslint.experimental.useFlatConfig": true,
"eslint.workingDirectories": [{ "mode": "auto" }],
"eslint.options": {
"overrideConfigFile": "eslint.config.mjs"
},
"javascript.validate.enable": true,
"typescript.validate.enable": true,
"js/ts.implicitProjectConfig.target": "ES2021",

"[javascript]": {
"editor.codeActionsOnSave": {
Expand Down
2 changes: 1 addition & 1 deletion dev/.files/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ Instead of editing here, please review <https://github.com/clevercanyon/skeleton

## Dotfiles Documentation

- https://github.com/clevercanyon/private/tree/main/docs/skeleton/dev/.files
- https://github.com/clevercanyon/canyon/tree/main/docs/skeleton/dev/.files
8 changes: 3 additions & 5 deletions dev/.files/bin/envs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@
* @note This entire file will be updated automatically.
* @note Instead of editing here, please review <https://github.com/clevercanyon/skeleton>.
*/
/* eslint-env es2021, node */

import fs from 'node:fs';
import path from 'node:path';
import fsp from 'node:fs/promises';

import path from 'node:path';
import { $chalk, $fs, $yargs } from '../../../node_modules/@clevercanyon/utilities.node/dist/index.js';
import u from './includes/utilities.mjs';
import { $fs, $chalk, $yargs } from '../../../node_modules/@clevercanyon/utilities.node/dist/index.js';

const __dirname = $fs.imuDirname(import.meta.url);
const projDir = path.resolve(__dirname, '../../..');
Expand Down Expand Up @@ -472,7 +470,7 @@ class Decrypt {
/**
* Yargs ⛵🏴‍☠.
*/
void (async () => {
await (async () => {
await u.propagateUserEnvVars();
await (
await $yargs.cli({
Expand Down
6 changes: 4 additions & 2 deletions dev/.files/bin/includes/core-projects.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
* @note This entire file will be updated automatically.
* @note Instead of editing here, please review <https://github.com/clevercanyon/skeleton>.
*/
/* eslint-env es2021, node */

/**
* Defines core projects.
*/
export default {
updates: {
ignore: [],
Expand Down Expand Up @@ -41,7 +43,7 @@ export default {
'utilities.*',
'skeleton.*',

'private',
'canyon',
'.github',
],
},
Expand Down
Loading

0 comments on commit d6edf78

Please sign in to comment.