Skip to content

Commit

Permalink
feat: complete migration
Browse files Browse the repository at this point in the history
  • Loading branch information
linbudu599 committed Nov 17, 2022
1 parent 1b10c81 commit 94bd227
Show file tree
Hide file tree
Showing 519 changed files with 4,485 additions and 41,958 deletions.
13 changes: 0 additions & 13 deletions .editorconfig

This file was deleted.

37 changes: 0 additions & 37 deletions .eslintrc.json

This file was deleted.

140 changes: 103 additions & 37 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,41 +1,107 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# compiled output
/dist
/tmp
/out-tsc
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
temp
# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# dependencies
node_modules

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings

# System Files
.DS_Store
Thumbs.db
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port


.TODO
16 changes: 1 addition & 15 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@
# deps 2 deps
hoist=true
hoist-pattern=['*']
# modules/packages 2 deps
shamefully-hoist=true
store-dir=~/.pnpm-store
modules-dir=node_modules
node-linker=isolated
lockfile=true
prefer-frozen-lockfile=true
auto-install-peers=false
strict-peer-dependencies=false
recursive-install=true
# registry=https://registry.npmmirror.com
registry=https://registry.npmjs.org
registry=https://registry.npmjs.org/
14 changes: 0 additions & 14 deletions .vscode/extensions.json

This file was deleted.

21 changes: 0 additions & 21 deletions CONTRIBUTING.md

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Linbudu
Copyright (c) 2022 LinbuduLab

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
60 changes: 4 additions & 56 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,7 @@
# Nx Plugins
# esbuild-plugins

[![Netlify Status](https://api.netlify.com/api/v1/badges/cc796664-9625-4023-9390-0ef495e314ec/deploy-status)](https://app.netlify.com/sites/nx-plugins/deploys)
![npm](https://img.shields.io/npm/v/nx?label=nx%20version)
ESBuild Plugins by @LinbuduLab

## Quick Start
Migrating from [nx-plugin](https://github.com/LinbuduLab/nx-plugins).

- [Docs Site](https://nx-plugins.netlify.app/)
- [Learn about Nx](https://nx.dev/)

## Packages

### Nx Plugins

For nx workspace v14, use 2.x version of plugin.

| Package | Version |
| --------------------------------------------------- | :------------------------------------------------------------------------------------------ |
| [ESBuild](packages/nx-plugin-esbuild) | ![plugin esbuild version](https://img.shields.io/npm/v/nx-plugin-esbuild.svg?label=%20) |
| [Vite](packages/nx-plugin-vite) | ![plugin-vite version](https://img.shields.io/npm/v/nx-plugin-vite.svg?label=%20) |
| [nx-plugin-devkit](packages/nx-plugin-devkit) | ![plugin-devkit version](https://img.shields.io/npm/v/nx-plugin-devkit.svg?label=%20) |
| [nx-plugin-workspace](packages/nx-plugin-workspace) | ![plugin-workspace version](https://img.shields.io/npm/v/nx-plugin-workspace.svg?label=%20) |

### Derived Plugins

#### ESBuild Plugins

See [Derived ESBuild Plugin](https://nx-plugins.netlify.app/derived/esbuild.html) for more information.

| Package | Version |
| ---------------------------------------------------------- | :-------------------------------------------------------------------------------------------------- |
| [alias-path](packages/esbuild-plugin-alias-path) | ![alias-path version](https://img.shields.io/npm/v/esbuild-plugin-alias-path.svg?label=%20) |
| [clean](packages/esbuild-plugin-clean) | ![clean version](https://img.shields.io/npm/v/esbuild-plugin-clean.svg?label=%20) |
| [compress](packages/esbuild-plugin-compress) | ![compress version](https://img.shields.io/npm/v/esbuild-plugin-compress.svg?label=%20) |
| [copy](packages/esbuild-plugin-copy) | ![copy version](https://img.shields.io/npm/v/esbuild-plugin-copy.svg?label=%20) |
| [decorator](packages/esbuild-plugin-decorator) | ![decorator version](https://img.shields.io/npm/v/esbuild-plugin-decorator.svg?label=%20) |
| [filesize](packages/esbuild-plugin-filesize) | ![filesize version](https://img.shields.io/npm/v/esbuild-plugin-filesize.svg?label=%20) |
| [ignore](packages/esbuild-plugin-ignore) | ![ignore version](https://img.shields.io/npm/v/esbuild-plugin-ignore.svg?label=%20) |
| [markdown-import](packages/esbuild-plugin-markdown-import) | ![markdown version](https://img.shields.io/npm/v/esbuild-plugin-markdown-import.svg?label=%20) |
| [node-externals](packages/esbuild-plugin-node-externals) | ![node-externals version](https://img.shields.io/npm/v/esbuild-plugin-node-externals.svg?label=%20) |
| [run](packages/esbuild-plugin-run) | ![run version](https://img.shields.io/npm/v/esbuild-plugin-run.svg?label=%20) |

#### Snowpack Plugins

> These plugins are no longer maintained.
See [Derived Snowpack Plugin](https://nx-plugins.netlify.app/derived/snowpack.html) for more information.

| Package | Version |
| ----------------------------------------------------------- | :----------------------------------------------------------------------------------------------------- |
| [assets](packages/snowpack-plugin-assets) | ![assets version](https://img.shields.io/npm/v/snowpack-plugin-assets.svg?label=%20) |
| [compress](packages/snowpack-plugin-compress) | ![compress version](https://img.shields.io/npm/v/snowpack-plugin-compress.svg?label=%20) |
| [execa](packages/snowpack-plugin-execa) | ![execa version](https://img.shields.io/npm/v/snowpack-plugin-execa.svg?label=%20) |
| [markdown-import](packages/snowpack-plugin-markdown-import) | ![markdown-import version](https://img.shields.io/npm/v/snowpack-plugin-markdown-import.svg?label=%20) |
| [serve](packages/snowpack-plugin-serve) | ![serve version](https://img.shields.io/npm/v/snowpack-plugin-serve.svg?label=%20) |

## License

MIT
Plugin docs can be found in [ESBuild Plugins](https://nx-plugins.netlify.app/derived/esbuild.html) now, and will be only kept in package owned README file just like [copy](https://github.com/LinbuduLab/esbuild-plugins/tree/main/packages/esbuild-plugin-copy).
Loading

0 comments on commit 94bd227

Please sign in to comment.