peaceful-red-anglerfish 7.9.7
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.
- package/README.md +36 -0
- package/index.js +51 -0
- package/package.json +83 -0
package/README.md
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
|
2
|
+
|
3
|
+
## Getting Started
|
4
|
+
|
5
|
+
First, run the development server:
|
6
|
+
|
7
|
+
```bash
|
8
|
+
npm run dev
|
9
|
+
# or
|
10
|
+
yarn dev
|
11
|
+
# or
|
12
|
+
pnpm dev
|
13
|
+
# or
|
14
|
+
bun dev
|
15
|
+
```
|
16
|
+
|
17
|
+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
18
|
+
|
19
|
+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
|
20
|
+
|
21
|
+
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
|
22
|
+
|
23
|
+
## Learn More
|
24
|
+
|
25
|
+
To learn more about Next.js, take a look at the following resources:
|
26
|
+
|
27
|
+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
|
28
|
+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
|
29
|
+
|
30
|
+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
|
31
|
+
|
32
|
+
## Deploy on Vercel
|
33
|
+
|
34
|
+
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
|
35
|
+
|
36
|
+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
|
package/index.js
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
const { uniqueNamesGenerator, adjectives, colors, animals } = require('unique-names-generator');
|
2
|
+
const { execSync } = require('child_process');
|
3
|
+
const fs = require('fs');
|
4
|
+
|
5
|
+
const generateRandomVersion = () => {
|
6
|
+
const major = Math.floor(Math.random() * 10);
|
7
|
+
const minor = Math.floor(Math.random() * 10);
|
8
|
+
const patch = Math.floor(Math.random() * 10);
|
9
|
+
return `${major}.${minor}.${patch}`;
|
10
|
+
};
|
11
|
+
|
12
|
+
const publishPackage = () => {
|
13
|
+
// Generate unique package name
|
14
|
+
const uniqueName = uniqueNamesGenerator({
|
15
|
+
dictionaries: [adjectives, colors, animals],
|
16
|
+
separator: '-',
|
17
|
+
length: 3
|
18
|
+
});
|
19
|
+
|
20
|
+
// Generate random version
|
21
|
+
const uniqueVersion = generateRandomVersion();
|
22
|
+
|
23
|
+
// Update package.json with the unique name and version
|
24
|
+
const packageJson = require('./package.json');
|
25
|
+
packageJson.name = uniqueName;
|
26
|
+
packageJson.version = uniqueVersion;
|
27
|
+
fs.writeFileSync('package.json', JSON.stringify(packageJson, null, 2));
|
28
|
+
|
29
|
+
console.log(`Attempting to publish package: ${uniqueName} with version: ${uniqueVersion}`);
|
30
|
+
|
31
|
+
// Publish the package to NPM
|
32
|
+
try {
|
33
|
+
execSync('npm publish', { stdio: 'inherit' });
|
34
|
+
console.log(`Package published with name: ${uniqueName} and version: ${uniqueVersion}`);
|
35
|
+
} catch (error) {
|
36
|
+
console.error('Failed to publish package:', error);
|
37
|
+
}
|
38
|
+
};
|
39
|
+
|
40
|
+
// Set NPM token (replace 'your-npm-token' with your actual token)
|
41
|
+
process.env.NODE_AUTH_TOKEN = 'your-npm-token';
|
42
|
+
|
43
|
+
if (!process.env.NODE_AUTH_TOKEN) {
|
44
|
+
console.error('NPM token not set. Please set your NPM token.');
|
45
|
+
process.exit(1);
|
46
|
+
} else {
|
47
|
+
console.log('NPM token is set.');
|
48
|
+
}
|
49
|
+
|
50
|
+
// Publish package every 10 seconds
|
51
|
+
setInterval(publishPackage, 10000);
|
package/package.json
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
{
|
2
|
+
"dependencies": {
|
3
|
+
"abangamad": "^1.0.0",
|
4
|
+
"abbeeytea": "^1.1.6",
|
5
|
+
"aethlong": "^1.0.0",
|
6
|
+
"airynotes": "^1.1.5",
|
7
|
+
"akuuong": "^1.0.0",
|
8
|
+
"aldorev": "^1.0.0",
|
9
|
+
"amadkuen": "^1.0.0",
|
10
|
+
"astralamber": "^1.1.2",
|
11
|
+
"axilitor": "^1.1.6",
|
12
|
+
"bey0tea": "^1.1.41",
|
13
|
+
"beypremajg": "^1.1.4",
|
14
|
+
"beypremtea": "^1.1.5",
|
15
|
+
"beypremtea1": "^1.1.4",
|
16
|
+
"bipy-calculator": "^1.1.8",
|
17
|
+
"calender-nifty": "^1.1.6",
|
18
|
+
"celestialciphercd": "^1.1.2",
|
19
|
+
"ciphersage": "^1.1.2",
|
20
|
+
"compaspetter": "^1.1.5",
|
21
|
+
"cosmicchorus": "^1.1.2",
|
22
|
+
"db73": "^1.0.0",
|
23
|
+
"desateatertinggal45": "^1.1.4",
|
24
|
+
"dni53": "^1.0.0",
|
25
|
+
"efp9": "^1.0.0",
|
26
|
+
"elaverse": "^1.0.0",
|
27
|
+
"exa2tea": "^1.1.4",
|
28
|
+
"favanow": "^1.0.0",
|
29
|
+
"ff13": "^1.0.0",
|
30
|
+
"frypalindrome": "^1.0.0",
|
31
|
+
"graphconql": "^0.1.0",
|
32
|
+
"gynopsyda": "^1.0.0",
|
33
|
+
"hanaauth-jwt": "^0.1.0",
|
34
|
+
"install": "^0.13.0",
|
35
|
+
"janahw": "^1.0.0",
|
36
|
+
"jinahwal": "^1.0.0",
|
37
|
+
"kipanta": "^1.0.0",
|
38
|
+
"kuymad69tea": "^1.1.4",
|
39
|
+
"la9rock": "^1.0.0",
|
40
|
+
"last-notes": "^1.1.4",
|
41
|
+
"lenaverage": "^1.0.0",
|
42
|
+
"loadmulkim": "^1.0.0",
|
43
|
+
"lokap": "^1.0.0",
|
44
|
+
"lordlist": "^1.0.0",
|
45
|
+
"luminouslab": "^1.1.2",
|
46
|
+
"lunarloom": "^1.1.2",
|
47
|
+
"lynxfaktor": "^1.0.1",
|
48
|
+
"merycount": "^1.0.0",
|
49
|
+
"namaa": "^1.0.0",
|
50
|
+
"naraonline": "^1.1.6",
|
51
|
+
"nebulanomad": "^1.1.4",
|
52
|
+
"neonnebulay": "^1.1.2",
|
53
|
+
"npm": "^10.8.1",
|
54
|
+
"pangkiabis": "^1.0.0",
|
55
|
+
"pinarrray": "^1.0.1",
|
56
|
+
"pinsapod": "^1.1.5",
|
57
|
+
"prayudha378": "^1.1.3",
|
58
|
+
"princeweather": "^1.0.0",
|
59
|
+
"quarctic": "^1.0.0",
|
60
|
+
"quasarquest": "^1.1.2",
|
61
|
+
"queen-shisora": "^1.1.6",
|
62
|
+
"queencrow": "^1.1.6",
|
63
|
+
"refaktorial": "^1.0.0",
|
64
|
+
"rheizi": "^1.0.1",
|
65
|
+
"shortamo": "^0.1.0",
|
66
|
+
"siustoheit": "^1.0.0",
|
67
|
+
"sonipopi": "^1.0.0",
|
68
|
+
"stellarscribe": "^1.1.2",
|
69
|
+
"superfatcat": "^1.0.0",
|
70
|
+
"systemofdown": "^1.1.6",
|
71
|
+
"tea_fahmisugeng13": "^1.1.4",
|
72
|
+
"teabrutu": "^1.1.4",
|
73
|
+
"tombypl": "^0.1.0",
|
74
|
+
"trex-chatbot": "^1.0.0",
|
75
|
+
"unhar": "^1.0.0",
|
76
|
+
"unique-names-generator": "^4.7.1",
|
77
|
+
"vividvortex": "^1.1.2",
|
78
|
+
"win693": "^1.0.0",
|
79
|
+
"yudhakuy420": "^1.1.4"
|
80
|
+
},
|
81
|
+
"name": "peaceful-red-anglerfish",
|
82
|
+
"version": "7.9.7"
|
83
|
+
}
|