create-absolutejs 0.0.1 → 0.0.3
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/eslint.config.mjs +4 -4
- package/package.json +5 -1
package/eslint.config.mjs
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
// eslint.config.mjs
|
|
2
|
-
import { defineConfig } from "eslint/config";
|
|
3
2
|
import { dirname } from 'path'
|
|
4
3
|
import { fileURLToPath } from 'url'
|
|
5
|
-
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
6
|
-
|
|
7
4
|
import pluginJs from '@eslint/js'
|
|
8
5
|
import stylisticTs from '@stylistic/eslint-plugin-ts'
|
|
9
6
|
import tsParser from '@typescript-eslint/parser'
|
|
7
|
+
import { defineConfig } from "eslint/config";
|
|
10
8
|
import absolutePlugin from 'eslint-plugin-absolute'
|
|
11
9
|
import importPlugin from 'eslint-plugin-import'
|
|
12
10
|
import promisePlugin from 'eslint-plugin-promise'
|
|
@@ -14,9 +12,11 @@ import securityPlugin from 'eslint-plugin-security'
|
|
|
14
12
|
import globals from 'globals'
|
|
15
13
|
import tseslint from 'typescript-eslint'
|
|
16
14
|
|
|
15
|
+
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
16
|
+
|
|
17
17
|
export default defineConfig([
|
|
18
18
|
{
|
|
19
|
-
ignores: ['
|
|
19
|
+
ignores: ['dist/**']
|
|
20
20
|
},
|
|
21
21
|
|
|
22
22
|
pluginJs.configs.recommended,
|
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-absolutejs",
|
|
3
3
|
"description": "A CLI tool to create a new AbsoluteJS project",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.3",
|
|
5
5
|
"license": "CC BY-NC 4.0",
|
|
6
6
|
"author": "Alex Kahn",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"bin": {
|
|
10
|
+
"create-absolutejs": "dist/index.js"
|
|
11
|
+
},
|
|
8
12
|
"scripts": {
|
|
9
13
|
"build": "rm -rf dist && bun build index.ts --outdir dist --target=bun --external elysia && tsc --emitDeclarationOnly --project tsconfig.json",
|
|
10
14
|
"test": "echo \"Error: no test specified\" && exit 1",
|