@studio-fes/create-fes-app 0.5.2 → 0.6.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.
@@ -1,5 +1,5 @@
1
1
  # Obbligatoria
2
- NUXT_PUBLIC_BACKEND_URL="https://admin.xxx.it"
2
+ NUXT_PUBLIC_BACKEND_URL="https://dev-starter.plcd.nl"
3
3
 
4
4
  # Opzionali
5
5
  NUXT_IMAGE_PROVIDER="cloudflare"
@@ -1,74 +1,8 @@
1
1
  // @ts-check
2
- import antfu from '@antfu/eslint-config'
3
- import graphqlPlugin from '@graphql-eslint/eslint-plugin'
4
- import { globalIgnores } from 'eslint/config'
2
+ import fes from '@studio-fes/eslint-config'
5
3
  import withNuxt from './.nuxt/eslint.config.mjs'
6
4
 
7
- /** export default withNuxt( */
8
5
  export default withNuxt(
6
+ fes({ pnpm: true }),
9
7
  // Your custom configs here
10
- await antfu(
11
- {
12
- formatters: true,
13
- vue: true,
14
- pnpm: false,
15
- unocss: true,
16
- antislop: true,
17
- },
18
- ),
19
- globalIgnores([
20
- 'dist',
21
- 'node_modules',
22
- '.output',
23
- '.nuxt',
24
- '.storybook',
25
- 'storybook-static',
26
- '.github',
27
- 'coverage',
28
- '*.log',
29
- 'nuxt.d.ts',
30
- '.output',
31
- '.DS_Store',
32
- '.vscode',
33
- '*.md',
34
- 'package.json',
35
- 'package-lock.json',
36
- 'babel.config.js',
37
- 'graphql',
38
- 'types.ts',
39
- 'generated',
40
- 'components.d.ts',
41
- 'icons.d.ts',
42
- 'auto.d.ts',
43
- 'src-tauri',
44
- 'auto-imports.d.ts',
45
- 'schema.graphql',
46
- ]),
47
- {
48
- rules: {
49
- 'unocss/order': 'error', // or "error",
50
- },
51
- },
52
- {
53
- files: ['**/*.graphql', '**/*.gql'],
54
- languageOptions: {
55
- parser: graphqlPlugin.parser,
56
- },
57
- plugins: {
58
- '@graphql-eslint': graphqlPlugin,
59
- },
60
- rules: {
61
- '@graphql-eslint/no-anonymous-operations': 'error',
62
- '@graphql-eslint/naming-convention': [
63
- 'error',
64
- {
65
- OperationDefinition: {
66
- style: 'PascalCase',
67
- forbiddenPrefixes: ['Query', 'Mutation', 'Subscription', 'Get'],
68
- forbiddenSuffixes: ['Query', 'Mutation', 'Subscription'],
69
- },
70
- },
71
- ],
72
- },
73
- },
74
8
  )
@@ -7,23 +7,19 @@
7
7
  "dev": "nuxt dev",
8
8
  "generate": "nuxt generate",
9
9
  "preview": "nuxt preview",
10
- "postinstall": "nuxt prepare"
10
+ "postinstall": "nuxt prepare",
11
+ "lint": "eslint .",
12
+ "lint:fix": "eslint . --fix"
11
13
  },
12
14
  "dependencies": {
13
- "@studio-fes/layer-base": "^0.5.2",
14
- "@studio-fes/layer-craft": "^0.5.2",
15
+ "@studio-fes/layer-craft": "^0.6.0",
15
16
  "@studio-fes/nuxt-remote-svg": "0.1.9",
16
- "nuxt": "^4.6.0",
17
+ "nuxt": "^4.6.2",
17
18
  "vue": "^3.5.43",
18
19
  "vue-router": "^5.3.1"
19
20
  },
20
21
  "devDependencies": {
21
- "@antfu/eslint-config": "^9.5.1",
22
- "@graphql-eslint/eslint-plugin": "^4.4.1",
23
- "@unocss/eslint-config": "^66.10.5",
24
- "eslint": "^10.12.0",
25
- "eslint-plugin-format": "^2.0.1",
26
- "eslint-plugin-slop": "^0.1.3",
27
- "eslint-plugin-sonarjs": "^4.2.2"
22
+ "@studio-fes/eslint-config": "^0.6.0",
23
+ "eslint": "^10.12.0"
28
24
  }
29
25
  }
@@ -1,12 +1,16 @@
1
- shamefullyHoist: true
2
- shellEmulator: true
3
-
4
- trustPolicy: off
5
1
  minimumReleaseAge: 0
2
+ minimumReleaseAgeExcludePrune: true
3
+
4
+ trustPolicy: no-downgrade
5
+ trustPolicyExclude:
6
+ - semver@6.3.1
6
7
 
7
8
  autoInstallPeers: true
8
9
  strictPeerDependencies: false
10
+ shamefullyHoist: true
11
+ shellEmulator: true
9
12
  saveExact: true
13
+
10
14
  allowBuilds:
11
15
  '@parcel/watcher': true
12
16
  esbuild: true
@@ -1,74 +1,8 @@
1
1
  // @ts-check
2
- import antfu from '@antfu/eslint-config'
3
- import graphqlPlugin from '@graphql-eslint/eslint-plugin'
4
- import { globalIgnores } from 'eslint/config'
2
+ import fes from '@studio-fes/eslint-config'
5
3
  import withNuxt from './.nuxt/eslint.config.mjs'
6
4
 
7
- /** export default withNuxt( */
8
5
  export default withNuxt(
6
+ fes({ pnpm: true }),
9
7
  // Your custom configs here
10
- antfu(
11
- {
12
- formatters: true,
13
- vue: true,
14
- pnpm: false,
15
- unocss: true,
16
- antislop: true,
17
- },
18
- ),
19
- globalIgnores([
20
- 'dist',
21
- 'node_modules',
22
- '.output',
23
- '.nuxt',
24
- '.storybook',
25
- 'storybook-static',
26
- '.github',
27
- 'coverage',
28
- '*.log',
29
- 'nuxt.d.ts',
30
- '.output',
31
- '.DS_Store',
32
- '.vscode',
33
- '*.md',
34
- 'package.json',
35
- 'package-lock.json',
36
- 'babel.config.js',
37
- 'graphql',
38
- 'types.ts',
39
- 'generated',
40
- 'components.d.ts',
41
- 'icons.d.ts',
42
- 'auto.d.ts',
43
- 'src-tauri',
44
- 'auto-imports.d.ts',
45
- 'schema.graphql',
46
- ]),
47
- {
48
- rules: {
49
- 'unocss/order': 'error', // or "error",
50
- },
51
- },
52
- {
53
- files: ['**/*.graphql', '**/*.gql'],
54
- languageOptions: {
55
- parser: graphqlPlugin.parser,
56
- },
57
- plugins: {
58
- '@graphql-eslint': graphqlPlugin,
59
- },
60
- rules: {
61
- '@graphql-eslint/no-anonymous-operations': 'error',
62
- '@graphql-eslint/naming-convention': [
63
- 'error',
64
- {
65
- OperationDefinition: {
66
- style: 'PascalCase',
67
- forbiddenPrefixes: ['Query', 'Mutation', 'Subscription', 'Get'],
68
- forbiddenSuffixes: ['Query', 'Mutation', 'Subscription'],
69
- },
70
- },
71
- ],
72
- },
73
- },
74
8
  )
@@ -7,13 +7,18 @@
7
7
  "dev": "nuxt dev",
8
8
  "generate": "nuxt generate",
9
9
  "preview": "nuxt preview",
10
- "postinstall": "nuxt prepare"
10
+ "postinstall": "nuxt prepare",
11
+ "lint": "eslint .",
12
+ "lint:fix": "eslint . --fix"
11
13
  },
12
14
  "dependencies": {
13
- "@studio-fes/layer-base": "^0.5.2",
14
- "@studio-fes/layer-strapi": "^0.5.2",
15
- "nuxt": "^4.6.0",
15
+ "@studio-fes/layer-strapi": "^0.6.0",
16
+ "nuxt": "^4.6.2",
16
17
  "vue": "^3.5.43",
17
18
  "vue-router": "^5.3.1"
19
+ },
20
+ "devDependencies": {
21
+ "@studio-fes/eslint-config": "^0.6.0",
22
+ "eslint": "^10.12.0"
18
23
  }
19
24
  }
@@ -1,12 +1,16 @@
1
- shamefullyHoist: true
2
- shellEmulator: true
3
-
4
- trustPolicy: off
5
1
  minimumReleaseAge: 0
2
+ minimumReleaseAgeExcludePrune: true
3
+
4
+ trustPolicy: no-downgrade
5
+ trustPolicyExclude:
6
+ - semver@6.3.1
6
7
 
7
8
  autoInstallPeers: true
8
9
  strictPeerDependencies: false
10
+ shamefullyHoist: true
11
+ shellEmulator: true
9
12
  saveExact: true
13
+
10
14
  allowBuilds:
11
15
  '@parcel/watcher': true
12
16
  esbuild: true
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@studio-fes/create-fes-app",
3
3
  "type": "module",
4
- "version": "0.5.2",
4
+ "version": "0.6.0",
5
5
  "description": "Interactive wizard to scaffold a new project from the studio fes Nuxt layers starters (Craft CMS, Strapi).",
6
6
  "bin": {
7
7
  "create-fes-app": "bin/create-fes-app.mjs"
@@ -10,9 +10,6 @@
10
10
  "bin",
11
11
  "dist"
12
12
  ],
13
- "scripts": {
14
- "prepack": "node scripts/build-templates-for-publish.mjs"
15
- },
16
13
  "dependencies": {
17
14
  "picocolors": "^1.1.1",
18
15
  "prompts": "^2.4.2"
@@ -26,5 +23,6 @@
26
23
  "bugs": {
27
24
  "url": "https://github.com/rondodevs/nuxt-layers/issues"
28
25
  },
29
- "homepage": "https://github.com/rondodevs/nuxt-layers#readme"
30
- }
26
+ "homepage": "https://github.com/rondodevs/nuxt-layers#readme",
27
+ "scripts": {}
28
+ }