Skip to content

Commit 521813d

Browse files
Monorepo + Meta Molt Migration (#150)
* include create-bolt-cep and vite-cep-plugin * removed duplicate panels per framework * framework cleanup * cleanup for new create script * per framework and app conditional comments * fixed framework-specific type files * remove old create script * vite plugin zipPackage and packageSync * vite-plugin cleanup * 2.0.0 bump * yarn lock update * add source-map * 2.0 release * metabolt update
1 parent fe4cd05 commit 521813d

64 files changed

Lines changed: 5923 additions & 887 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
legacy-peer-deps=true

.prettierrc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"overrides": [
3+
{
4+
"files": [
5+
"*.jsonc",
6+
"devcontainer.json",
7+
"jsconfig.json",
8+
"language-configuration.json",
9+
"tsconfig.json"
10+
],
11+
"options": {
12+
"trailingComma": "none"
13+
}
14+
}
15+
]
16+
}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Tools like Rubberhose 3, Klutz GPT, Brevity, and more are powered by Bolt CEP! C
5252

5353
[Built with Bolt CEP](https://hyperbrew.co/resources/bolt-cep/)
5454

55-
<img src="./built-with-bolt-cep.png" alt="Battle Axe" title="Battle Axe" style="border-radius:5px" width="900" />
55+
<img src="src/js/assets/built-with-bolt-cep.png" alt="Battle Axe" title="Battle Axe" style="border-radius:5px" width="900" />
5656

5757
---
5858

@@ -103,7 +103,7 @@ Bolt CEP Info Page Link: https://hyperbrew.co/resources/bolt-cep
103103

104104
<img src="src/js/assets/create-bolt-cep.jpg" alt="Bolt CEP">
105105

106-
<img src="create-bolt-cep--demo.gif" alt="Bolt CEP">
106+
<img src="src/js/assets/create-bolt-cep--demo.gif" alt="Bolt CEP">
107107

108108
`yarn create bolt-cep`
109109

@@ -455,7 +455,7 @@ ReactDOM.render(
455455
<React.StrictMode>
456456
<Router basename={cepBasename}>[...]</Router>
457457
</React.StrictMode>,
458-
document.getElementById("root")
458+
document.getElementById("app")
459459
);
460460
```
461461

cep.config.debug.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

cep.config.ts

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
11
import { CEP_Config } from "vite-cep-plugin";
22
import { version } from "./package.json";
3-
import { debugAll } from "./cep.config.debug"; // BOLT-CEP-DEBUG-ONLY
43

54
const config: CEP_Config = {
65
version,
7-
id: "com.bolt.cep",
8-
displayName: "Bolt CEP",
6+
id: "com.bolt.cep", // BOLT_ID_REPLACE
7+
displayName: "Bolt CEP", // BOLT_DISPLAYNAME_REPLACE
98
symlink: "local",
109
port: 3000,
1110
servePort: 5000,
1211
startingDebugPort: 8860,
1312
extensionManifestVersion: 6.0,
1413
requiredRuntimeVersion: 9.0,
1514
hosts: [
16-
{ name: "AEFT", version: "[0.0,99.9]" },
17-
{ name: "AME", version: "[0.0,99.9]" },
18-
{ name: "AUDT", version: "[0.0,99.9]" },
19-
{ name: "FLPR", version: "[0.0,99.9]" },
20-
{ name: "IDSN", version: "[0.0,99.9]" },
21-
{ name: "ILST", version: "[0.0,99.9]" },
22-
{ name: "KBRG", version: "[0.0,99.9]" },
23-
{ name: "PHXS", version: "[0.0,99.9]" },
24-
{ name: "PPRO", version: "[0.0,99.9]" },
15+
{ name: "AEFT", version: "[0.0,99.9]" }, // BOLT_AEFT_ONLY
16+
{ name: "AME", version: "[0.0,99.9]" }, // BOLT_AME_ONLY
17+
{ name: "FLPR", version: "[0.0,99.9]" }, // BOLT_ANIM_ONLY
18+
{ name: "AUDT", version: "[0.0,99.9]" }, // BOLT_AUDT_ONLY
19+
{ name: "IDSN", version: "[0.0,99.9]" }, // BOLT_IDSN_ONLY
20+
{ name: "ILST", version: "[0.0,99.9]" }, // BOLT_ILST_ONLY
21+
{ name: "KBRG", version: "[0.0,99.9]" }, // BOLT_KBRG_ONLY
22+
{ name: "PHXS", version: "[0.0,99.9]" }, // BOLT_PHXS_ONLY
23+
{ name: "PPRO", version: "[0.0,99.9]" }, // BOLT_PPRO_ONLY
2524
],
2625

2726
type: "Panel",
@@ -37,12 +36,11 @@ const config: CEP_Config = {
3736
{
3837
mainPath: "./main/index.html",
3938
name: "main",
40-
panelDisplayName: "Bolt CEP",
39+
panelDisplayName: "Bolt CEP", // BOLT_DISPLAYNAME_REPLACE
4140
autoVisible: true,
4241
width: 600,
4342
height: 650,
4443
},
45-
...debugAll, // BOLT-CEP-DEBUG-ONLY
4644
],
4745
build: {
4846
jsxBin: "off",
@@ -52,7 +50,7 @@ const config: CEP_Config = {
5250
country: "US",
5351
province: "CA",
5452
org: "Company",
55-
password: "passworddd",
53+
password: "password",
5654
tsa: [
5755
"http://timestamp.digicert.com/", // Windows Only
5856
"http://timestamp.apple.com/ts01", // MacOS Only

create-bolt-cep/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.ts linguist-language=TypeScript

create-bolt-cep/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
dist
3+
test*
4+
.DS_Store
5+
yarn-error.log
6+
.test*
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"prettier.tabWidth": 2,
3+
"prettier.useTabs": false,
4+
"prettier.printWidth": 80
5+
}

create-bolt-cep/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) Hyper Brew LLC
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

create-bolt-cep/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Create Bolt CEP
2+
3+
![npm](https://img.shields.io/npm/v/create-bolt-cep)
4+
[![License](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/hyperbrew/create-bolt-cep/blob/master/LICENSE)
5+
[![Chat](https://img.shields.io/badge/chat-discord-7289da.svg)](https://discord.gg/PC3EvvuRbc)
6+
7+
Generate a new CEP Extension from the Bolt CEP boilerplate
8+
9+
https://github.com/hyperbrew/bolt-cep
10+
11+
Usage Examples:
12+
13+
`yarn create bolt-cep`

0 commit comments

Comments
 (0)