Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: change naming convention to have tool leading first #44

Merged
merged 4 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,25 +24,25 @@ jobs:
strategy:
matrix:
workspace:
- node-js-cjs-esbuild
- node-js-cjs-parcel
- node-js-cjs-rollup
- node-js-cjs-tsc
- node-js-cjs-vite
- node-js-cjs-webpack
- node-js-esm-esbuild
- node-js-esm-parcel
- node-js-esm-rollup
- node-js-esm-tsc
- node-js-esm-vite
- node-js-esm-webpack
- node-ts-esm-esbuild
- node-ts-esm-parcel
- node-ts-esm-rollup
- node-ts-esm-tsc
- node-ts-esm-tsup
- node-ts-esm-vite
- node-ts-esm-webpack
- node-esbuild-js-cjs
- node-esbuild-js-esm
- node-esbuild-ts-esm
- node-parcel-js-cjs
- node-parcel-ts-esm
- node-parcel-ts-esm
- node-rollup-js-cjs
- node-rollup-ts-esm
- node-rollup-js-esm
- node-tsc-js-cjs
- node-tsc-js-esm
- node-tsc-ts-esm
- node-tsup-ts-esm
- node-vite-js-cjs
- node-vite-ts-esm
- node-vite-js-esm
- node-webpack-js-cjs
- node-webpack-js-esm
- node-webpack-ts-esm
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ At the moment, the top-level directories include:
Each subdirectory name in the repository generally follows the naming convention below:

```txt
{{runtime}}-{{module-system}}-{{language}}-{{tools+}}
{{runtime}}-{{tool}}-{{language}}-{{module-system}}
```

- `{{runtime}}`: JavaScript runtime implementation. Choices: `browser`, `node`, `deno`, `bun`
- `{{module-system}}`: JavaScript module resolution strategy. Choices: `esm`, `cjs`, `umd`, `amd`
- `{{tool}}`: build tool (e.g. Vite, Parcel, Webpack, esbuild, Rollup, Babel, etc.). If it does not use a build tool, it will say `native` (pure HTML/CSS/JS).
- `{{language}}`: JavaScript language. Choices: `ts`, `js`
- `{{tools+}}`: 1 or more build tools together (e.g. Vite, Parcel, Webpack, esbuild, Rollup, Babel, etc.). If it does not use a build tool, it will say `native` (pure HTML/CSS/JS).
- `{{module-system}}`: JavaScript module resolution strategy. Choices: `esm`, `cjs`, `umd`, `amd`

## Types of tools

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-js-cjs-esbuild",
"name": "node-esbuild-js-cjs",
"description": "Node, JavaScript (CommonJS), esbuild",
"keywords": [
"node",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-js-esm-esbuild",
"name": "node-esbuild-js-esm",
"description": "Node, JavaScript (ESM), esbuild",
"keywords": [
"node",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-ts-esm-esbuild",
"name": "node-esbuild-ts-esm",
"description": "Node, TypeScript (ESM), esbuild",
"keywords": [
"node",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-js-cjs-parcel",
"name": "node-parcel-js-cjs",
"description": "Node, JavaScript (CommonJS), Parcel",
"keywords": [
"node",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-js-esm-parcel",
"name": "node-parcel-js-esm",
"description": "Node, JavaScript (ESM), Parcel",
"keywords": [
"node",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-ts-esm-parcel",
"name": "node-parcel-ts-esm",
"description": "Node, TypeScript (ESM), Parcel",
"keywords": [
"node",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-js-cjs-rollup",
"name": "node-rollup-js-cjs",
"description": "Node, JavaScript (CommonJS), Rollup",
"keywords": [
"node",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-js-esm-rollup",
"name": "node-rollup-js-esm",
"description": "Node, JavaScript (ESM), Rollup",
"keywords": [
"node",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-ts-esm-rollup",
"name": "node-rollup-ts-esm",
"description": "Node, TypeScript (ESM), Rollup",
"keywords": [
"node",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-js-cjs-tsc",
"name": "node-tsc-js-cjs",
"description": "Node, JavaScript (CommonJS), TypeScript Compiler CLI",
"keywords": [
"node",
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-js-esm-tsc",
"name": "node-tsc-js-esm",
"description": "Node, JavaScript (ESM), TypeScript Compiler CLI",
"keywords": [
"node",
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-ts-esm-tsc",
"name": "node-tsc-ts-esm",
"description": "Node, TypeScript (ESM), TypeScript Compiler CLI",
"keywords": [
"node",
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-ts-esm-tsup",
"name": "node-tsup-ts-esm",
"description": "Node, TypeScript (ESM), tsup",
"keywords": [
"node",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "1.0.0",
"name": "node-js-cjs-vite",
"name": "node-vite-js-cjs",
"description": "Node, JavaScript (CommonJS), Vite",
"keywords": [
"node",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-js-esm-vite",
"name": "node-vite-js-esm",
"description": "Node, JavaScript (ESM), Vite",
"keywords": [
"node",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-ts-esm-vite",
"name": "node-vite-ts-esm",
"description": "Node, TypeScript (ESM), Vite",
"keywords": [
"node",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-js-cjs-webpack",
"name": "node-webpack-js-cjs",
"description": "Node, JavaScript (CommonJS), Webpack",
"keywords": [
"node",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-js-esm-webpack",
"name": "node-webpack-js-esm",
"description": "Node, JavaScript (ESM), Webpack",
"keywords": [
"node",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"version": "1.0.0",
"name": "node-ts-esm-webpack",
"name": "node-webpack-ts-esm",
"description": "Node, TypeScript (ESM), Webpack",
"keywords": [
"node",
Expand Down
Loading