- Update
package.json
, setversion
to a prerelease version, e.g.2.0.0-rc1
,3.1.5-rc4
, ... - Run
npm pack
to create package - Run
npm publish <package>.tgz --tag next
to publish the package under thenext
tag - Run
npm install --save package@next
to install prerelease package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs') | |
const { execSync } = require('child_process') | |
const readline = require('readline') | |
const path = require('path') | |
// Define constants | |
const NODE_VERSION = '22' | |
const DOCKER_IMAGE_TAG = '22' | |
const GITHUB_ACTIONS_DIR = './.github/workflows/' | |
const DOCKERFILE_DIR = './' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mediaJSON = { "categories" : [ { "name" : "Movies", | |
"videos" : [ | |
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
"subtitle" : "By Blender Foundation", | |
"thumb" : "images/BigBuckBunny.jpg", | |
"title" : "Big Buck Bunny" | |
}, | |
{ "description" : "The first Blender Open Movie from 2006", | |
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Chrome", | |
"type": "chrome", | |
"request": "launch", | |
"url": "http://localhost:3000", | |
"webRoot": "${workspaceFolder}/src", | |
"sourceMapPathOverrides": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"eslint.autoFixOnSave": true, | |
"javascript.updateImportsOnFileMove.enabled": "always", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
charset = utf-8 | |
end_of_line = lf | |
insert_final_newline = true | |
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": ["airbnb", "prettier", "prettier/react"], | |
"rules": { | |
"env": { | |
"node": true, | |
"es6": true | |
}, | |
"experimentalDecorators": true, | |
"import/prefer-default-export": "off", | |
"import/no-extraneous-dependencies": "off", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"devDependencies": { | |
"eslint-config-airbnb": "^17.0.0", | |
"eslint-config-equimper": "*", | |
"eslint-config-prettier": "^3.1.0", | |
"eslint-plugin-import": "^2.13.0", | |
"eslint-plugin-jsx-a11y": "^6.1.2", | |
"eslint-plugin-prettier": "^3.0.0", | |
"eslint-plugin-react": "^7.10.0", | |
"prettier": "^1.14.3", | |
} |
- Jake Archibald: In The Loop [35:11]
- Malte Ubl: Designing very large JavaScript application [28:55]
- Ryan Dahl: 10 Things I Regret About Node.js [26:41]
- Mathias Bynens & Benedikt Meurer: JavaScript Engines: The Good Parts™ [23:09]
- Ronen Amiel: Build your own webpack [39:38]
- Addy Osmani: The Cost Of JavaScript [20:07]
NewerOlder