Skip to content

Commit

Permalink
feat: implement core-initial
Browse files Browse the repository at this point in the history
Nuxt core layer, initial commit
  • Loading branch information
thorwolpert authored Jul 17, 2024
2 parents 1c0ea85 + 6623a32 commit 9448091
Show file tree
Hide file tree
Showing 36 changed files with 13,614 additions and 0 deletions.
23 changes: 23 additions & 0 deletions nuxt/core/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser"
},
"extends": [
"@nuxtjs/eslint-config-typescript",
"plugin:tailwindcss/recommended"
],
"rules": {
"no-console": "off",
"allow-parens": "off",
"vue/multi-word-component-names": "off",
"vue/use-v-on-exact": "off",
"tailwindcss/no-custom-classname": ["warn", {
"whitelist": [
"prose-bcGov"
]
}]
},
"plugins": ["tailwindcss"],
"ignorePatterns": ["**/*.md"]
}
21 changes: 21 additions & 0 deletions nuxt/core/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
node_modules
*.log
.nuxt
nuxt.d.ts
.output
.data
.env
package-lock.json
framework
dist
.DS_Store

# Yarn
.yarn/cache
.yarn/*state*

# Local History
.history

# VSCode
.vscode/
3 changes: 3 additions & 0 deletions nuxt/core/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.playground
scripts
.nuxt
2 changes: 2 additions & 0 deletions nuxt/core/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
shamefully-hoist=true
strict-peer-dependencies=false
1 change: 1 addition & 0 deletions nuxt/core/.nuxtrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
typescript.includeWorkspace = true
5 changes: 5 additions & 0 deletions nuxt/core/.playground/app/app.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default defineAppConfig({
myLayer: {
name: 'My amazing Nuxt layer (overwritten)'
}
})
8 changes: 8 additions & 0 deletions nuxt/core/.playground/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export default defineNuxtConfig({
extends: ['..'],
modules: ["@nuxt/image"],
compatibilityDate: "2024-07-16",
future: {
compatibilityVersion: 4
},
})
5 changes: 5 additions & 0 deletions nuxt/core/.playground/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"devDependencies": {
"@nuxt/image": "^1.7.0"
}
}
Loading

0 comments on commit 9448091

Please sign in to comment.