@ceylar/ada 0.0.3 → 0.0.5
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/babel.config.json +9 -0
- package/eslint.config.mjs +1 -1
- package/package.json +2 -3
- package/rollup.config.ts +3 -7
package/eslint.config.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ceylar/ada",
|
|
3
3
|
"description": "CLI to help you initialize projects",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.5",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
|
-
"ada": "
|
|
8
|
+
"ada": "bin/index.js"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"build": "shx rm -rf dist && cross-env NODE_ENV=production rollup -c --bundleConfigAsCjs",
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
27
27
|
"@rollup/plugin-json": "^6.1.0",
|
|
28
28
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
29
|
-
"@rollup/plugin-terser": "^0.4.4",
|
|
30
29
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
31
30
|
"@types/node": "^22.13.4",
|
|
32
31
|
"cross-env": "^7.0.3",
|
package/rollup.config.ts
CHANGED
|
@@ -3,7 +3,6 @@ import babel from '@rollup/plugin-babel';
|
|
|
3
3
|
import commonjs from '@rollup/plugin-commonjs';
|
|
4
4
|
import json from '@rollup/plugin-json';
|
|
5
5
|
import resolve from '@rollup/plugin-node-resolve';
|
|
6
|
-
import terser from '@rollup/plugin-terser';
|
|
7
6
|
import typescript from '@rollup/plugin-typescript';
|
|
8
7
|
|
|
9
8
|
import packageJSON from './package.json';
|
|
@@ -45,15 +44,12 @@ export default [
|
|
|
45
44
|
}),
|
|
46
45
|
babel({
|
|
47
46
|
exclude: /node_modules/,
|
|
48
|
-
extensions: ['.js', '.ts']
|
|
49
|
-
babelHelpers: 'bundled',
|
|
50
|
-
presets: ['@babel/preset-env', '@babel/preset-typescript']
|
|
47
|
+
extensions: ['.js', '.ts']
|
|
51
48
|
}),
|
|
52
49
|
json(),
|
|
53
50
|
copy({
|
|
54
|
-
targets: [{ src: 'resources/*', dest: '
|
|
55
|
-
})
|
|
56
|
-
...(!isDev ? [terser()] : [])
|
|
51
|
+
targets: [{ src: 'resources/*', dest: 'bin/resources' }]
|
|
52
|
+
})
|
|
57
53
|
]
|
|
58
54
|
}
|
|
59
55
|
];
|