mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
Remove package.json and package-lock.json to clean up project dependencies; update README with usage instructions for deduplicating and sorting meta.json.
This commit is contained in:
@@ -223,3 +223,6 @@ services:
|
||||
4. Go to your instance, create a new Compose Service, go to Advanced Section -> Scroll Down -> Import Section -> Paste the Base64 Value -> Click on the Import Button
|
||||
5. If everything is correct and set, you should see a modal with all the details (Compose File, Environment Variables, Mounts, Domains, etc)
|
||||
6. Now you can click on the Deploy Button and wait for the deployment to finish, and try to access to the service, if everything is correct you should access to the service and see the template working.
|
||||
|
||||
|
||||
use the command `node dedupe-and-sort-meta.js` to deduplicate and sort the meta.json file.
|
||||
6
package-lock.json
generated
6
package-lock.json
generated
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"name": "templates",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {}
|
||||
}
|
||||
29
package.json
29
package.json
@@ -1,29 +0,0 @@
|
||||
{
|
||||
"name": "template-meta-processor",
|
||||
"version": "1.0.0",
|
||||
"description": "Production scripts for processing meta.json - remove duplicates and sort alphabetically",
|
||||
"main": "build-scripts/process-meta.js",
|
||||
"scripts": {
|
||||
"process-meta": "node dedupe-and-sort-meta.js",
|
||||
"validate-meta": "node build-scripts/process-meta.js --no-backup --verbose",
|
||||
"build": "npm run process-meta",
|
||||
"prebuild": "echo 'Processing meta.json for production build...'",
|
||||
"postbuild": "echo 'Meta.json processing completed!'"
|
||||
},
|
||||
"keywords": [
|
||||
"meta",
|
||||
"json",
|
||||
"dedupe",
|
||||
"sort",
|
||||
"build",
|
||||
"production"
|
||||
],
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=14.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"nodemon": "^3.0.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user