vue-ninja 2.0.0-beta.0 → 2.0.0

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.
@@ -0,0 +1,2 @@
1
+ integration
2
+ pnpm-lock.yaml
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/prettierrc",
3
+ "printWidth": 140,
4
+ "singleQuote": true,
5
+ "arrowParens": "avoid",
6
+ "trailingComma": "none",
7
+ "plugins": ["@prettier/plugin-oxc"]
8
+ }
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # vue-ninja
2
2
 
3
- Node module used to compute and submit score to
3
+ Node module used to compute and submit score to
4
4
  [vue-exercises.ninja-squad.com](http://vue-exercises.ninja-squad.com)
5
5
 
6
6
  ## Build
@@ -8,19 +8,19 @@ Node module used to compute and submit score to
8
8
  Run:
9
9
 
10
10
  npm run build
11
-
11
+
12
12
  Lint:
13
13
 
14
14
  npm run lint
15
-
15
+
16
16
  Test:
17
17
 
18
18
  npm run test tests
19
-
19
+
20
20
  Integration test (builds a CLI app and test it with the local vue-ninja build):
21
-
21
+
22
22
  npm run test integration
23
-
23
+
24
24
  ## Test locally
25
25
 
26
26
  To use the current dev version in ponyracer:
@@ -28,12 +28,12 @@ To use the current dev version in ponyracer:
28
28
  rm -rf dist
29
29
  npm run build
30
30
  npm link
31
-
31
+
32
32
  Then in ponyracer:
33
33
 
34
34
  npm link vue-ninja
35
35
  npm run vue-ninja
36
-
36
+
37
37
  ## Release
38
38
 
39
39
  git fetch
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-ninja",
3
- "version": "2.0.0-beta.0",
3
+ "version": "2.0.0",
4
4
  "description": "CLI for the exercises of \"Become a ninja with Vue\"",
5
5
  "main": "dist/vue-ninja.js",
6
6
  "exports": null,
@@ -8,44 +8,38 @@
8
8
  "author": "",
9
9
  "license": "ISC",
10
10
  "dependencies": {
11
- "axios": "1.8.4",
12
- "chalk": "5.4.1",
13
- "glob": "11.0.1",
11
+ "axios": "1.11.0",
12
+ "chalk": "5.6.0",
13
+ "glob": "11.0.3",
14
14
  "prompt": "1.3.0",
15
15
  "rimraf": "6.0.1"
16
16
  },
17
17
  "devDependencies": {
18
- "@eslint/js": "9.24.0",
19
- "@types/node": "22.14.1",
18
+ "@eslint/js": "9.34.0",
19
+ "@prettier/plugin-oxc": "0.0.4",
20
+ "@types/node": "22.18.0",
20
21
  "@types/prompt": "1.1.9",
21
- "create-vue": "3.16.4",
22
- "eslint": "9.24.0",
23
- "eslint-config-prettier": "9.1.0",
24
- "eslint-plugin-import": "2.31.0",
25
- "eslint-plugin-prettier": "5.2.6",
26
- "jiti": "2.4.2",
27
- "prettier": "3.5.3",
28
- "rolldown": "1.0.0-beta.7",
22
+ "create-vue": "3.18.0",
23
+ "eslint": "9.34.0",
24
+ "eslint-plugin-import": "2.32.0",
25
+ "jiti": "2.5.1",
26
+ "prettier": "3.6.2",
27
+ "rolldown": "1.0.0-beta.34",
29
28
  "rollup-plugin-esbuild": "6.2.1",
30
29
  "tslib": "2.8.1",
31
- "typescript": "5.8.3",
32
- "typescript-eslint": "8.29.1",
33
- "vite": "6.2.6",
34
- "vitest": "3.1.1"
30
+ "typescript": "5.9.2",
31
+ "typescript-eslint": "8.40.0",
32
+ "vite": "7.1.3",
33
+ "vitest": "3.2.4"
35
34
  },
36
35
  "bin": {
37
36
  "vue-ninja": "dist/vue-ninja.js"
38
37
  },
39
- "prettier": {
40
- "printWidth": 140,
41
- "singleQuote": true,
42
- "arrowParens": "avoid",
43
- "trailingComma": "none"
44
- },
45
38
  "scripts": {
46
39
  "build": "rolldown --config rolldown.config.ts",
47
40
  "test": "vitest",
48
41
  "lint": "eslint {src,tests}/**/* --ext .ts",
42
+ "format": "prettier --write .",
49
43
  "type-check": "tsc --noEmit"
50
44
  }
51
45
  }
@@ -0,0 +1,2 @@
1
+ ignoredBuiltDependencies:
2
+ - esbuild
@@ -1,13 +0,0 @@
1
- import { defineConfig, RolldownPluginOption } from 'rolldown'
2
- import { minify } from 'rollup-plugin-esbuild'
3
-
4
- export default defineConfig({
5
- platform: 'node',
6
- input: 'src/vue-ninja.ts',
7
- output: {
8
- file: 'dist/vue-ninja.js',
9
- format: 'esm'
10
- },
11
- plugins: [minify() as RolldownPluginOption],
12
- external: ['node:util', 'rimraf', 'axios', 'chalk', 'prompt', 'glob', 'fs', 'crypto', 'child_process', 'util']
13
- });