publish @mcflyjs/config
This commit is contained in:
parent
2385aafb62
commit
8ae570a44f
5 changed files with 42 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
|||
import McFly from "./packages/mcfly.config";
|
||||
import McFly from "@mcflyjs/config";
|
||||
|
||||
//https://nitro.unjs.io/config
|
||||
/**
|
||||
* @see https://nitro.unjs.io/config
|
||||
*/
|
||||
export default defineNitroConfig({
|
||||
extends: McFly,
|
||||
});
|
||||
|
|
13
package-lock.json
generated
13
package-lock.json
generated
|
@ -4,6 +4,9 @@
|
|||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"workspaces": [
|
||||
"packages/config"
|
||||
],
|
||||
"dependencies": {
|
||||
"esprima": "^4.0.1",
|
||||
"nitropack": "^2.7.0",
|
||||
|
@ -432,6 +435,10 @@
|
|||
"node-pre-gyp": "bin/node-pre-gyp"
|
||||
}
|
||||
},
|
||||
"node_modules/@mcflyjs/config": {
|
||||
"resolved": "packages/config",
|
||||
"link": true
|
||||
},
|
||||
"node_modules/@netlify/functions": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-2.3.0.tgz",
|
||||
|
@ -3935,6 +3942,12 @@
|
|||
"engines": {
|
||||
"node": ">= 12.0.0"
|
||||
}
|
||||
},
|
||||
"packages/config": {
|
||||
"name": "@mcflyjs/config",
|
||||
"version": "0.0.1",
|
||||
"license": "MIT",
|
||||
"devDependencies": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,8 +9,12 @@
|
|||
"build:preview": "npm run build && npm run preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mcflyjs/config": "*",
|
||||
"esprima": "^4.0.1",
|
||||
"nitropack": "^2.7.0",
|
||||
"ultrahtml": "^1.5.2"
|
||||
}
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/config"
|
||||
]
|
||||
}
|
||||
|
|
20
packages/config/package.json
Normal file
20
packages/config/package.json
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"name": "@mcflyjs/config",
|
||||
"version": "0.0.1",
|
||||
"description": "Nitro configuration for McFly apps",
|
||||
"main": "index.ts",
|
||||
"devDependencies": {},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/ayoayco/McFly.git"
|
||||
},
|
||||
"author": "Ayo Ayco",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/ayoayco/McFly/issues"
|
||||
},
|
||||
"homepage": "https://github.com/ayoayco/McFly#readme"
|
||||
}
|
Loading…
Reference in a new issue