1.24.0 • Published 7 months ago

@-xun/scripts v1.24.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Black Lives Matter! Last commit timestamp Codecov Source license Monthly Downloads NPM version Uses Semantic Release!

Xscripts

AKA: xscripts, Xscripts

Xscripts is a highly-opinionated personal tool for building, linting, and deploying my NPM-based projects. Similar in intent to kcd-scripts, react-scripts, etc.


Install

You can install this package globally:

npm install --global @-xun/scripts

And then execute the CLI:

npx xscripts ...

Alternatively, you can use npx to execute the CLI without pre-installation:

npx @-xun/scripts ...

Usage

TODO

Appendix

Further documentation can be found under docs/.

Published Package Details

This is a CJS2 package with statically-analyzable exports built by Babel for Node.js versions that are not end-of-life. For TypeScript users, this package supports both "Node10" and "Node16" module resolution strategies.

That means both CJS2 (via require(...)) and ESM (via import { ... } from ... or await import(...)) source will load this package from the same entry points when using Node. This has several benefits, the foremost being: less code shipped/smaller package size, avoiding dual package hazard entirely, distributables are not packed/bundled/uglified, a drastically less complex build process, and CJS consumers aren't shafted.

Each entry point (i.e. ENTRY) in package.json's exports[ENTRY] object includes one or more export conditions. These entries may or may not include: an exports[ENTRY].types condition pointing to a type declarations file for TypeScript and IDEs, an exports[ENTRY].module condition pointing to (usually ESM) source for Webpack/Rollup, an exports[ENTRY].node condition pointing to (usually CJS2) source for Node.js require and import, an exports[ENTRY].default condition pointing to source for browsers and other environments, and other conditions not enumerated here. Check the package.json file to see which export conditions are supported.

Though package.json includes { "type": "commonjs" }, note that any ESM-only entry points will be ES module (.mjs) files. Finally, package.json also includes the sideEffects key, which is false for optimal tree shaking where appropriate.

License

See LICENSE.

Contributing and Support

New issues and pull requests are always welcome and greatly appreciated! 🤩 Just as well, you can star 🌟 this project to let me know you found it useful! ✊🏿 Or you could buy me a beer 🥺Thank you!

See CONTRIBUTING.md and SUPPORT.md for more information.

Contributors

All Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

@arethetypeswrong/cli@babel/cli@babel/core@babel/eslint-parser@babel/plugin-proposal-export-default-from@babel/plugin-syntax-typescript@babel/preset-env@babel/preset-react@babel/preset-typescript@black-flag/core@commitlint/cli@commitlint/config-conventional@eslint/compat@eslint/eslintrc@eslint/js@listr2/manager@semantic-release/git@semantic-release/release-notes-generator@types/confusing-browser-globals@types/conventional-changelog-config-spec@types/conventional-changelog-core@types/debug@types/eslint@types/eslint__eslintrc@types/eslint__js@types/jest@types/lodash.camelcase@types/lodash.clone@types/lodash.clonedeepwith@types/lodash.isequal@types/lodash.mergewith@types/node@types/react@types/semver@types/spellchecker@types/validate-npm-package-name@typescript-eslint/utilsall-contributors-cliaskpasswordbabel-jestbabel-plugin-explicit-exports-referencesbabel-plugin-transform-rewrite-importsbrowserslistconfusing-browser-globalsconventional-changelog-corecore-jsdebugdoctocdotenvescape-string-regexp~4eslinteslint-import-resolver-typescripteslint-plugin-importeslint-plugin-jesteslint-plugin-neslint-plugin-unicornexecafind-up~5globglob-gitignoreglobalshuskyjestjest-circusjest-extendedjest-silent-reporterjsonc-parserlint-stagedlistr2lodash.camelcaselodash.clonelodash.clonedeepwithlodash.isequallodash.mergewithmdast-util-to-markdownnamed-app-errorsnode-gypnpm-check-updatesprettierremark-capitalize-headingsremark-cliremark-frontmatterremark-gfmremark-ignoreremark-lintremark-lint-definition-caseremark-lint-fenced-code-flagremark-lint-fenced-code-flag-caseremark-lint-file-extensionremark-lint-final-newlineremark-lint-first-heading-levelremark-lint-hard-break-spacesremark-lint-heading-incrementremark-lint-heading-whitespaceremark-lint-heading-word-lengthremark-lint-list-item-styleremark-lint-no-blockquote-without-markerremark-lint-no-duplicate-defined-urlsremark-lint-no-duplicate-definitionsremark-lint-no-duplicate-headings-in-sectionremark-lint-no-empty-sectionsremark-lint-no-empty-urlremark-lint-no-heading-content-indentremark-lint-no-heading-like-paragraphremark-lint-no-heading-punctuationremark-lint-no-literal-urlsremark-lint-no-multiple-toplevel-headingsremark-lint-no-reference-like-urlremark-lint-no-shell-dollarsremark-lint-no-shortcut-reference-imageremark-lint-no-shortcut-reference-linkremark-lint-no-tabsremark-lint-no-undefined-referencesremark-lint-no-unused-definitionsremark-lint-ordered-list-marker-styleremark-lint-ordered-list-marker-valueremark-lint-strikethrough-markerremark-lint-unordered-list-marker-styleremark-reference-linksremark-remove-unused-definitionsremark-remove-url-trailing-slashremark-renumber-referencesremark-sort-definitionsremark-tight-commentsremark-validate-linksrimrafsemantic-releasesemversimple-gitsort-package-jsonspellcheckersupports-colortext-extensionstoss-expressionturbotype-festtypedoctypedoc-plugin-markdowntypescripttypescript-eslintunified-engineunique-filenamevalidate-npm-package-name
1.24.0

7 months ago

1.23.0

8 months ago

1.22.0

8 months ago

1.21.0

8 months ago

1.20.8

10 months ago

1.20.7

10 months ago

1.20.6

10 months ago

1.20.5

10 months ago

1.20.4

10 months ago

1.20.3

10 months ago

1.20.2

10 months ago

1.20.1

10 months ago

1.20.0

10 months ago

1.19.1

11 months ago

1.19.0

11 months ago

1.18.0

11 months ago

1.17.0

11 months ago

1.16.1

11 months ago

1.16.0

11 months ago

1.15.0

11 months ago

1.14.0

11 months ago

1.13.0

12 months ago

1.12.0

12 months ago

1.11.0

12 months ago

1.10.1

12 months ago

1.10.0

12 months ago

1.9.0

12 months ago

1.8.0

12 months ago

1.7.0

12 months ago

1.6.0

12 months ago

1.5.0

12 months ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago